Documentation ¶
Overview ¶
+groupName=monitoring.giantswarm.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
// AddToScheme is used by the generated client.
AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{
Group: group,
Version: version,
}
SchemeGroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct { IsRegex bool `json:"isRegex"` IsEqual *bool `json:"isEqual,omitempty"` Name string `json:"name"` Value string `json:"value"` }
func (*Matcher) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Matcher.
func (*Matcher) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Silence ¶
type Silence struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec SilenceSpec `json:"spec"` }
+genclient +genclient:noStatus +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:scope=Cluster,categories=common;giantswarm +kubebuilder:storageversion +k8s:openapi-gen=true Silence represents schema for managed silences in Alertmanager. Reconciled by silence-operator.
func (*Silence) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Silence.
func (*Silence) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Silence) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SilenceList ¶
type SilenceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Silence `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*SilenceList) DeepCopy ¶
func (in *SilenceList) DeepCopy() *SilenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SilenceList.
func (*SilenceList) DeepCopyInto ¶
func (in *SilenceList) DeepCopyInto(out *SilenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SilenceList) DeepCopyObject ¶
func (in *SilenceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SilenceSpec ¶
type SilenceSpec struct { TargetTags []TargetTag `json:"targetTags,omitempty"` Matchers []Matcher `json:"matchers"` // Owner is GitHub username of a person who created and/or owns the silence. Owner string `json:"owner,omitempty"` // PostmortemURL is a link to a document describing the problem. // Deprecated: Use IssueURL instead. PostmortemURL *string `json:"postmortem_url,omitempty"` // IssueURL is a link to a GitHub issue describing the problem. IssueURL string `json:"issue_url,omitempty"` }
+k8s:openapi-gen=true
func (*SilenceSpec) DeepCopy ¶
func (in *SilenceSpec) DeepCopy() *SilenceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SilenceSpec.
func (*SilenceSpec) DeepCopyInto ¶
func (in *SilenceSpec) DeepCopyInto(out *SilenceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.