v1alpha1

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

+groupName=monitoring.giantswarm.io

Index

Constants

This section is empty.

Variables

View Source
var (

	// AddToScheme is used by the generated client.
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
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

func (in *Matcher) DeepCopy() *Matcher

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Matcher.

func (*Matcher) DeepCopyInto

func (in *Matcher) DeepCopyInto(out *Matcher)

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

func (in *Silence) DeepCopy() *Silence

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Silence.

func (*Silence) DeepCopyInto

func (in *Silence) DeepCopyInto(out *Silence)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Silence) DeepCopyObject

func (in *Silence) DeepCopyObject() runtime.Object

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.

type TargetTag

type TargetTag struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func (*TargetTag) DeepCopy

func (in *TargetTag) DeepCopy() *TargetTag

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetTag.

func (*TargetTag) DeepCopyInto

func (in *TargetTag) DeepCopyInto(out *TargetTag)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL