Files
grafana/pkg/apis/alerting_notifications/v0alpha1/receiver_spec.go

24 lines
656 B
Go
Raw Normal View History

2024-06-26 13:03:25 -04:00
package v0alpha1
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
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"`
}