mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
22 lines
608 B
Go
22 lines
608 B
Go
|
|
package v0alpha1
|
||
|
|
|
||
|
|
// 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 []byte `json:"settings"`
|
||
|
|
Type string `json:"type"`
|
||
|
|
Uid *string `json:"uid,omitempty"`
|
||
|
|
}
|
||
|
|
|
||
|
|
// ReceiverSpec defines model for Spec.
|
||
|
|
// +k8s:openapi-gen=true
|
||
|
|
type ReceiverSpec struct {
|
||
|
|
// +listType=atomic
|
||
|
|
Integrations []Integration `json:"integrations"`
|
||
|
|
Title string `json:"title"`
|
||
|
|
}
|