v1alpha1

package
Version: v0.0.0-...-0558bf3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the deadmanssnitch v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=deadmanssnitch.managed.openshift.io

Package v1alpha1 contains API Schema definitions for the deadmanssnitch v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=deadmanssnitch.managed.openshift.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "deadmanssnitch.managed.openshift.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

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

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

func (*ClusterDeploymentAnnotationsToSkip) DeepCopyInto

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 +kubebuilder:subresource:status +kubebuilder:resource:path=deadmanssnitchintegrations,shortName=dmsi,scope=Namespaced

func (*DeadmansSnitchIntegration) DeepCopy

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

func (*DeadmansSnitchIntegration) DeepCopyInto

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

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

func (*DeadmansSnitchIntegrationList) DeepCopyInto

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

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

func (*DeadmansSnitchIntegrationSpec) DeepCopyInto

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

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

func (*DeadmansSnitchIntegrationStatus) DeepCopyInto

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL