Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the deadmanssnitch.managed.openshift.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=deadmanssnitch.managed.openshift.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "deadmanssnitch.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 ClusterDeploymentAnnotationsToSkip ¶
type ClusterDeploymentAnnotationsToSkip struct { Name string `json:"name"` Value string `json:"value"` }
ClusterDeploymentAnnotationsToSkip contains a list of annotation keys and values The operator will skip the cluster deployment if it has the same annotations set
func (*ClusterDeploymentAnnotationsToSkip) DeepCopy ¶
func (in *ClusterDeploymentAnnotationsToSkip) DeepCopy() *ClusterDeploymentAnnotationsToSkip
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDeploymentAnnotationsToSkip.
func (*ClusterDeploymentAnnotationsToSkip) DeepCopyInto ¶
func (in *ClusterDeploymentAnnotationsToSkip) DeepCopyInto(out *ClusterDeploymentAnnotationsToSkip)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeadmansSnitchIntegration ¶
type DeadmansSnitchIntegration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeadmansSnitchIntegrationSpec `json:"spec"` Status DeadmansSnitchIntegrationStatus `json:"status,omitempty"` }
DeadmansSnitchIntegration is the Schema for the deadmanssnitchintegrations API
func (*DeadmansSnitchIntegration) DeepCopy ¶
func (in *DeadmansSnitchIntegration) DeepCopy() *DeadmansSnitchIntegration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadmansSnitchIntegration.
func (*DeadmansSnitchIntegration) DeepCopyInto ¶
func (in *DeadmansSnitchIntegration) DeepCopyInto(out *DeadmansSnitchIntegration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeadmansSnitchIntegration) DeepCopyObject ¶
func (in *DeadmansSnitchIntegration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeadmansSnitchIntegrationList ¶
type DeadmansSnitchIntegrationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeadmansSnitchIntegration `json:"items"` }
DeadmansSnitchIntegrationList contains a list of DeadmansSnitchIntegration
func (*DeadmansSnitchIntegrationList) DeepCopy ¶
func (in *DeadmansSnitchIntegrationList) DeepCopy() *DeadmansSnitchIntegrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadmansSnitchIntegrationList.
func (*DeadmansSnitchIntegrationList) DeepCopyInto ¶
func (in *DeadmansSnitchIntegrationList) DeepCopyInto(out *DeadmansSnitchIntegrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeadmansSnitchIntegrationList) DeepCopyObject ¶
func (in *DeadmansSnitchIntegrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeadmansSnitchIntegrationSpec ¶
type DeadmansSnitchIntegrationSpec struct { //reference to the secret containing deadmanssnitch-api-key DmsAPIKeySecretRef corev1.SecretReference `json:"dmsAPIKeySecretRef"` //a label selector used to find which clusterdeployment CRs receive a DMS integration based on this configuration ClusterDeploymentSelector metav1.LabelSelector `json:"clusterDeploymentSelector"` //a list of annotations the operator to skip ClusterDeploymentAnnotationsToSkip []ClusterDeploymentAnnotationsToSkip `json:"clusterDeploymentAnnotationsToSkip,omitempty"` //name and namespace in the target cluster where the secret is synced TargetSecretRef corev1.SecretReference `json:"targetSecretRef"` //Array of strings that are applied to the service created in DMS Tags []string `json:"tags,omitempty"` //The postfix to append to any snitches managed by this integration. I.e. "osd" or "rhmi" SnitchNamePostFix string `json:"snitchNamePostFix,omitempty"` }
DeadmansSnitchIntegrationSpec defines the desired state of DeadmansSnitchIntegration
func (*DeadmansSnitchIntegrationSpec) DeepCopy ¶
func (in *DeadmansSnitchIntegrationSpec) DeepCopy() *DeadmansSnitchIntegrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadmansSnitchIntegrationSpec.
func (*DeadmansSnitchIntegrationSpec) DeepCopyInto ¶
func (in *DeadmansSnitchIntegrationSpec) DeepCopyInto(out *DeadmansSnitchIntegrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeadmansSnitchIntegrationStatus ¶
type DeadmansSnitchIntegrationStatus struct { }
DeadmansSnitchIntegrationStatus defines the observed state of DeadmansSnitchIntegration
func (*DeadmansSnitchIntegrationStatus) DeepCopy ¶
func (in *DeadmansSnitchIntegrationStatus) DeepCopy() *DeadmansSnitchIntegrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadmansSnitchIntegrationStatus.
func (*DeadmansSnitchIntegrationStatus) DeepCopyInto ¶
func (in *DeadmansSnitchIntegrationStatus) DeepCopyInto(out *DeadmansSnitchIntegrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.