Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the secrets v1alpha1 API group +kubebuilder:object:generate=true +groupName=secrets.kubedoop.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "secrets.kubedoop.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 AdminServerSpec ¶
type AdminServerSpec struct {
MIT *MITSpec `json:"mit"`
}
func (*AdminServerSpec) DeepCopy ¶
func (in *AdminServerSpec) DeepCopy() *AdminServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminServerSpec.
func (*AdminServerSpec) DeepCopyInto ¶
func (in *AdminServerSpec) DeepCopyInto(out *AdminServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutoTlsSpec ¶
type AutoTlsSpec struct { CA *CASpec `json:"ca"` // Use time.ParseDuration to parse the string // Default is 360h (15 days) // +kubebuilder:validation:Optional // +kubebuilder:default="360h" MaxCertificateLifeTime string `json:"maxCertificateLifeTime,omitempty"` }
func (*AutoTlsSpec) DeepCopy ¶
func (in *AutoTlsSpec) DeepCopy() *AutoTlsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoTlsSpec.
func (*AutoTlsSpec) DeepCopyInto ¶
func (in *AutoTlsSpec) DeepCopyInto(out *AutoTlsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendSpec ¶
type BackendSpec struct { // +kubebuilder:validation:Optional AutoTls *AutoTlsSpec `json:"autoTls,omitempty"` // +kubebuilder:validation:Optional K8sSearch *K8sSearchSpec `json:"k8sSearch,omitempty"` // +kubebuilder:validation:Optional KerberosKeytab *KerberosKeytabSpec `json:"kerberosKeytab,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 { // +kubebuilder:validation:Optional // +kubebuilder:default=false AutoGenerated bool `json:"autoGenerated,omitempty"` // Use time.ParseDuration to parse the string // Default is 8760h (1 year) // +kubebuilder:validation:Optional // +kubebuilder:default="8760h" CACertificateLifeTime string `json:"caCertificateLifeTime,omitempty"` // +kubebuilder:validation:Required Secret *SecretSpec `json:"secret,omitempty"` }
func (*CASpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CASpec.
func (*CASpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type K8sSearchSpec ¶
type K8sSearchSpec struct { // +kubebuilder:validation:Required SearchNamespace *SearchNamespaceSpec `json:"searchNamespace"` }
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 KerberosKeytabSpec ¶
type KerberosKeytabSpec struct { AdminServer *AdminServerSpec `json:"adminServer"` AdminPrincipal string `json:"adminPrincipal"` AdminKeytabSecret *KeytabSecretSpec `json:"adminKeytabSecret"` KDC string `json:"kdc"` Realm string `json:"realm"` }
func (*KerberosKeytabSpec) DeepCopy ¶
func (in *KerberosKeytabSpec) DeepCopy() *KerberosKeytabSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KerberosKeytabSpec.
func (*KerberosKeytabSpec) DeepCopyInto ¶
func (in *KerberosKeytabSpec) DeepCopyInto(out *KerberosKeytabSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeytabSecretSpec ¶
type KeytabSecretSpec struct { // +kubebuilder:validation:Required // Contains the `keytab` name of the secret Name string `json:"name"` Namespace string `json:"namespace"` }
func (*KeytabSecretSpec) DeepCopy ¶
func (in *KeytabSecretSpec) DeepCopy() *KeytabSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeytabSecretSpec.
func (*KeytabSecretSpec) DeepCopyInto ¶
func (in *KeytabSecretSpec) DeepCopyInto(out *KeytabSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MITSpec ¶
type MITSpec struct {
KadminServer string `json:"kadminServer"`
}
func (*MITSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MITSpec.
func (*MITSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
func (*PodSpec) DeepCopyInto ¶
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 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 ¶
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.
type SecretSpec ¶
type SecretSpec struct { // +kubebuilder:validation:Required Name string `json:"name"` // +kubebuilder:validation:Required Namespace string `json:"namespace"` }
func (*SecretSpec) DeepCopy ¶
func (in *SecretSpec) DeepCopy() *SecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.
func (*SecretSpec) DeepCopyInto ¶
func (in *SecretSpec) DeepCopyInto(out *SecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.