2024-06-26 13:03:25 -04:00
|
|
|
package v0alpha1
|
|
|
|
|
|
2024-08-02 13:02:58 -04:00
|
|
|
import (
|
|
|
|
|
common "github.com/grafana/grafana/pkg/apimachinery/apis/common/v0alpha1"
|
|
|
|
|
)
|
2024-07-16 10:02:16 -04:00
|
|
|
|
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
|
2024-08-02 13:02:58 -04:00
|
|
|
SecureFields map[string]bool `json:"secureFields,omitempty"`
|
|
|
|
|
Settings common.Unstructured `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"`
|
|
|
|
|
}
|