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 ¶
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 ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
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 ¶
func (in *GoalertIntegrationList) DeepCopy() *GoalertIntegrationList
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 ¶
func (in *GoalertIntegrationSpec) DeepCopy() *GoalertIntegrationSpec
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 ¶
func (in *GoalertIntegrationStatus) DeepCopy() *GoalertIntegrationStatus
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.