Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the monitoring v1alpha1 API group. +kubebuilder:object:generate=true +groupName=monitoring.giantswarm.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "monitoring.giantswarm.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
IsRegex bool `json:"isRegex,omitempty"`
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"`
}
Silence is the Schema for the silences API. +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster
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,omitempty"`
Items []Silence `json:"items"`
}
SilenceList contains a list of Silence.
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"`
}
SilenceSpec defines the desired state of Silence.
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.