2024-06-26 13:03:25 -04:00
|
|
|
package v0alpha1
|
|
|
|
|
|
2024-07-16 10:02:16 -04:00
|
|
|
import "encoding/json"
|
|
|
|
|
|
2024-06-26 13:03:25 -04:00
|
|
|
// Integration defines model for Integration.
|
|
|
|
|
// +k8s:openapi-gen=true
|
|
|
|
|
type Integration struct {
|
|
|
|
|
DisableResolveMessage *bool `json:"disableResolveMessage,omitempty"`
|
|
|
|
|
// +mapType=atomic
|
|
|
|
|
SecureFields map[string]bool `json:"SecureFields,omitempty"`
|
|
|
|
|
// +listType=atomic
|
2024-07-16 10:02:16 -04:00
|
|
|
Settings json.RawMessage `json:"settings"`
|
|
|
|
|
Type string `json:"type"`
|
|
|
|
|
Uid *string `json:"uid,omitempty"`
|
2024-06-26 13:03:25 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ReceiverSpec defines model for Spec.
|
|
|
|
|
// +k8s:openapi-gen=true
|
|
|
|
|
type ReceiverSpec struct {
|
|
|
|
|
// +listType=atomic
|
|
|
|
|
Integrations []Integration `json:"integrations"`
|
|
|
|
|
Title string `json:"title"`
|
|
|
|
|
}
|