mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* remove nonnamespaced paths * use common.Unstructed for Intergration.Settings * update codeowners to include alerting * fix json name of secure fields to start with lower case
25 lines
726 B
Go
25 lines
726 B
Go
package v0alpha1
|
|
|
|
import (
|
|
common "github.com/grafana/grafana/pkg/apimachinery/apis/common/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"`
|
|
Settings common.Unstructured `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"`
|
|
}
|