v1alpha1

package
v0.0.0-...-c5d22f3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the secrets v1alpha1 API group +kubebuilder:object:generate=true +groupName=secrets.zncdata.dev

Index

Constants

View Source
const (

	// default values
	CSIPLUGIN_IMAGE_REPOSITORY = "quay.io/zncdata/secret-csi-plugin"
	CSIPLUGIN_IMAGE_TAG        = "v0.0.1"
	CSIPLUGIN_IMAGE_PULLPOLICY = "IfNotPresent"

	NODE_DRIVER_REGISTER_IMAGE_REPOSITORY = "registry.k8s.io/sig-storage/csi-node-driver-registrar"
	NODE_DRIVER_REGISTER_IMAGE_TAG        = "v2.8.0"
	NODE_DRIVER_REGISTER_IMAGE_PULLPOLICY = "IfNotPresent"

	CSI_PROVISIONER_IMAGE_REPOSITORY = "registry.k8s.io/sig-storage/csi-provisioner"
	CSI_PROVISIONER_IMAGE_TAG        = "v3.5.0"
	CSI_PROVISIONER_IMAGE_PULLPOLICY = "IfNotPresent"

	LIVENESS_PROBE_IMAGE_REPOSITORY = "registry.k8s.io/sig-storage/livenessprobe"
	LIVENESS_PROBE_IMAGE_TAG        = "v2.11.0"
	LIVENESS_PROBE_IMAGE_PULLPOLICY = "IfNotPresent"
)

Variables

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

This section is empty.

Types

type AuthTlsSpec

type AuthTlsSpec struct {
	CA *CASpec `json:"ca,omitempty"`
}

func (*AuthTlsSpec) DeepCopy

func (in *AuthTlsSpec) DeepCopy() *AuthTlsSpec

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

func (*AuthTlsSpec) DeepCopyInto

func (in *AuthTlsSpec) DeepCopyInto(out *AuthTlsSpec)

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

type BackendSpec

type BackendSpec struct {
	AutoTls   *AuthTlsSpec   `json:"autoTls,omitempty"`
	K8sSearch *K8sSearchSpec `json:"k8sSearch,omitempty"`
	Kerberos  *KerberosSpec  `json:"kerberos,omitempty"`
}

func (*BackendSpec) DeepCopy

func (in *BackendSpec) DeepCopy() *BackendSpec

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

func (*BackendSpec) DeepCopyInto

func (in *BackendSpec) DeepCopyInto(out *BackendSpec)

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

type CASpec

type CASpec struct {
	AutoGenerated bool `json:"autoGenerated,omitempty"`

	ExistingSecret *ExistingSecretSpec `json:"existingSecret,omitempty"`
}

func (*CASpec) DeepCopy

func (in *CASpec) DeepCopy() *CASpec

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

func (*CASpec) DeepCopyInto

func (in *CASpec) DeepCopyInto(out *CASpec)

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

type CSIPluginSpec

type CSIPluginSpec struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="quay.io/zncdata/secret-csi-plugin"
	Repository string `json:"repository,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="v0.0.1"
	Tag string `json:"tag,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="IfNotPresent"
	// +kubebuilder:validation:Enum=Always;IfNotPresent;Never
	PullPolicy string `json:"pullPolicy,omitempty"`

	// +kubebuilder:validation:Optional
	Logging *LoggingSpec `json:"logging,omitempty"`
}

func (*CSIPluginSpec) DeepCopy

func (in *CSIPluginSpec) DeepCopy() *CSIPluginSpec

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

func (*CSIPluginSpec) DeepCopyInto

func (in *CSIPluginSpec) DeepCopyInto(out *CSIPluginSpec)

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

type CSIProvisionerSpec

type CSIProvisionerSpec struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="registry.k8s.io/sig-storage/csi-provisioner"
	Repository string `json:"repository,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="v3.5.0"
	Tag string `json:"tag,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="IfNotPresent"
	// +kubebuilder:validation:Enum=Always;IfNotPresent;Never
	PullPolicy string `json:"pullPolicy,omitempty"`

	// +kubebuilder:validation:Optional
	Logging *LoggingSpec `json:"logging,omitempty"`
}

func (*CSIProvisionerSpec) DeepCopy

func (in *CSIProvisionerSpec) DeepCopy() *CSIProvisionerSpec

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

func (*CSIProvisionerSpec) DeepCopyInto

func (in *CSIProvisionerSpec) DeepCopyInto(out *CSIProvisionerSpec)

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

type ExistingSecretSpec

type ExistingSecretSpec struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*ExistingSecretSpec) DeepCopy

func (in *ExistingSecretSpec) DeepCopy() *ExistingSecretSpec

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

func (*ExistingSecretSpec) DeepCopyInto

func (in *ExistingSecretSpec) DeepCopyInto(out *ExistingSecretSpec)

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

type K8sSearchSpec

type K8sSearchSpec struct {
	SearchNamespace *SearchNamespaceSpec `json:"searchNamespace,omitempty"`
}

func (*K8sSearchSpec) DeepCopy

func (in *K8sSearchSpec) DeepCopy() *K8sSearchSpec

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

func (*K8sSearchSpec) DeepCopyInto

func (in *K8sSearchSpec) DeepCopyInto(out *K8sSearchSpec)

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

type KerberosSpec

type KerberosSpec struct {
}

TODO implement the KerberosSpec

func (*KerberosSpec) DeepCopy

func (in *KerberosSpec) DeepCopy() *KerberosSpec

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

func (*KerberosSpec) DeepCopyInto

func (in *KerberosSpec) DeepCopyInto(out *KerberosSpec)

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

type LivenessProbeSpec

type LivenessProbeSpec struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="registry.k8s.io/sig-storage/livenessprobe"
	Repository string `json:"repository,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="v2.11.0"
	Tag string `json:"tag,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="IfNotPresent"
	// +kubebuilder:validation:Enum=Always;IfNotPresent;Never
	PullPolicy string `json:"pullPolicy,omitempty"`

	// +kubebuilder:validation:Optional
	Logging *LoggingSpec `json:"logging,omitempty"`
}

func (*LivenessProbeSpec) DeepCopy

func (in *LivenessProbeSpec) DeepCopy() *LivenessProbeSpec

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

func (*LivenessProbeSpec) DeepCopyInto

func (in *LivenessProbeSpec) DeepCopyInto(out *LivenessProbeSpec)

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

type LoggingSpec

type LoggingSpec struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="info"
	Level string `json:"level,omitempty"`
}

func (*LoggingSpec) DeepCopy

func (in *LoggingSpec) DeepCopy() *LoggingSpec

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

func (*LoggingSpec) DeepCopyInto

func (in *LoggingSpec) DeepCopyInto(out *LoggingSpec)

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

type NodeDriverRegisterSpec

type NodeDriverRegisterSpec struct {

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="registry.k8s.io/sig-storage/csi-node-driver-registrar"
	Repository string `json:"repository,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="v2.8.0"
	Tag string `json:"tag,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="IfNotPresent"
	// +kubebuilder:validation:Enum=Always;IfNotPresent;Never
	PullPolicy string `json:"pullPolicy,omitempty"`

	// +kubebuilder:validation:Optional
	Logging *LoggingSpec `json:"logging,omitempty"`
}

func (*NodeDriverRegisterSpec) DeepCopy

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

func (*NodeDriverRegisterSpec) DeepCopyInto

func (in *NodeDriverRegisterSpec) DeepCopyInto(out *NodeDriverRegisterSpec)

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

type PodSpec

type PodSpec struct {
}

func (*PodSpec) DeepCopy

func (in *PodSpec) DeepCopy() *PodSpec

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

func (*PodSpec) DeepCopyInto

func (in *PodSpec) DeepCopyInto(out *PodSpec)

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

type SearchNamespaceSpec

type SearchNamespaceSpec struct {
	Name *string `json:"name,omitempty"`

	Pod *PodSpec `json:"pod,omitempty"`
}

func (*SearchNamespaceSpec) DeepCopy

func (in *SearchNamespaceSpec) DeepCopy() *SearchNamespaceSpec

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

func (*SearchNamespaceSpec) DeepCopyInto

func (in *SearchNamespaceSpec) DeepCopyInto(out *SearchNamespaceSpec)

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

type SecretCSI

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

	Spec   SecretCSISpec   `json:"spec,omitempty"`
	Status SecretCSIStatus `json:"status,omitempty"`
}

SecretCSI is the Schema for the secretcsis API

func (*SecretCSI) DeepCopy

func (in *SecretCSI) DeepCopy() *SecretCSI

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

func (*SecretCSI) DeepCopyInto

func (in *SecretCSI) DeepCopyInto(out *SecretCSI)

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

func (*SecretCSI) DeepCopyObject

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

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

type SecretCSIList

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

SecretCSIList contains a list of SecretCSI

func (*SecretCSIList) DeepCopy

func (in *SecretCSIList) DeepCopy() *SecretCSIList

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

func (*SecretCSIList) DeepCopyInto

func (in *SecretCSIList) DeepCopyInto(out *SecretCSIList)

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

func (*SecretCSIList) DeepCopyObject

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

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

type SecretCSISpec

type SecretCSISpec struct {
	CSIPlugin          *CSIPluginSpec          `json:"csiPlugin,omitempty"`
	NodeDriverRegister *NodeDriverRegisterSpec `json:"nodeDriverRegister,omitempty"`
	CSIProvisioner     *CSIProvisionerSpec     `json:"csiProvisioner,omitempty"`
	LivenessProbe      *LivenessProbeSpec      `json:"livenessProbe,omitempty"`
}

SecretCSISpec defines the desired state of SecretCSI

func (*SecretCSISpec) DeepCopy

func (in *SecretCSISpec) DeepCopy() *SecretCSISpec

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

func (*SecretCSISpec) DeepCopyInto

func (in *SecretCSISpec) DeepCopyInto(out *SecretCSISpec)

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

type SecretCSIStatus

type SecretCSIStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

SecretCSIStatus defines the observed state of SecretCSI

func (*SecretCSIStatus) DeepCopy

func (in *SecretCSIStatus) DeepCopy() *SecretCSIStatus

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

func (*SecretCSIStatus) DeepCopyInto

func (in *SecretCSIStatus) DeepCopyInto(out *SecretCSIStatus)

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

type SecretClass

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

	Spec   SecretClassSpec   `json:"spec,omitempty"`
	Status SecretClassStatus `json:"status,omitempty"`
}

SecretClass is the Schema for the secretclasses API

func (*SecretClass) DeepCopy

func (in *SecretClass) DeepCopy() *SecretClass

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

func (*SecretClass) DeepCopyInto

func (in *SecretClass) DeepCopyInto(out *SecretClass)

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

func (*SecretClass) DeepCopyObject

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

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

type SecretClassList

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

SecretClassList contains a list of SecretClass

func (*SecretClassList) DeepCopy

func (in *SecretClassList) DeepCopy() *SecretClassList

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

func (*SecretClassList) DeepCopyInto

func (in *SecretClassList) DeepCopyInto(out *SecretClassList)

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

func (*SecretClassList) DeepCopyObject

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

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

type SecretClassSpec

type SecretClassSpec struct {
	Backend *BackendSpec `json:"backend,omitempty"`
}

SecretClassSpec defines the desired state of SecretClass

func (*SecretClassSpec) DeepCopy

func (in *SecretClassSpec) DeepCopy() *SecretClassSpec

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

func (*SecretClassSpec) DeepCopyInto

func (in *SecretClassSpec) DeepCopyInto(out *SecretClassSpec)

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

type SecretClassStatus

type SecretClassStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

SecretClassStatus defines the observed state of SecretClass

func (*SecretClassStatus) DeepCopy

func (in *SecretClassStatus) DeepCopy() *SecretClassStatus

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

func (*SecretClassStatus) DeepCopyInto

func (in *SecretClassStatus) DeepCopyInto(out *SecretClassStatus)

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