v1alpha1

package
v0.0.0-...-abba864 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the goalert v1alpha1 API group +kubebuilder:object:generate=true +groupName=goalert.managed.openshift.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "goalert.managed.openshift.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

Types

type GoalertIntegration

type GoalertIntegration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GoalertIntegrationSpec   `json:"spec,omitempty"`
	Status GoalertIntegrationStatus `json:"status,omitempty"`
}

GoalertIntegration is the Schema for the goalertintegrations API

func (*GoalertIntegration) DeepCopy

func (in *GoalertIntegration) DeepCopy() *GoalertIntegration

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

func (*GoalertIntegration) DeepCopyInto

func (in *GoalertIntegration) DeepCopyInto(out *GoalertIntegration)

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

func (*GoalertIntegration) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoalertIntegrationList

type GoalertIntegrationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GoalertIntegration `json:"items"`
}

GoalertIntegrationList contains a list of GoalertIntegration

func (*GoalertIntegrationList) DeepCopy

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

func (*GoalertIntegrationList) DeepCopyInto

func (in *GoalertIntegrationList) DeepCopyInto(out *GoalertIntegrationList)

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

func (*GoalertIntegrationList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoalertIntegrationSpec

type GoalertIntegrationSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	// A label selector used to find which clusterdeployment CRs receive a
	// Goalert integration based on this configuration.
	ClusterDeploymentSelector metav1.LabelSelector `json:"clusterDeploymentSelector"`
	// Name and namespace in the target cluster where the secret is synced.
	TargetSecretRef corev1.SecretReference `json:"targetSecretRef"`
	// ID of a High Escalation Policy in Goalert.
	HighEscalationPolicy string `json:"highEscalationPolicy"`
	// ID of a Low Escalation Policy in Goalert.
	LowEscalationPolicy string `json:"lowEscalationPolicy"`
	// Prefix to set on the Goalert Service name.
	ServicePrefix string `json:"servicePrefix"`
	// Reference to the secret containing Goalert cred
	GoalertCredsSecretRef corev1.SecretReference `json:"goalertCredsSecretRef"`
}

GoalertIntegrationSpec defines the desired state of GoalertIntegration

func (*GoalertIntegrationSpec) DeepCopy

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

func (*GoalertIntegrationSpec) DeepCopyInto

func (in *GoalertIntegrationSpec) DeepCopyInto(out *GoalertIntegrationSpec)

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

type GoalertIntegrationStatus

type GoalertIntegrationStatus struct {
}

GoalertIntegrationStatus defines the observed state of GoalertIntegration

func (*GoalertIntegrationStatus) DeepCopy

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

func (*GoalertIntegrationStatus) DeepCopyInto

func (in *GoalertIntegrationStatus) DeepCopyInto(out *GoalertIntegrationStatus)

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