Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the secrets v1alpha1 API group +kubebuilder:object:generate=true +groupName=secrets.esg.jkulzer.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "secrets.esg.jkulzer.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 Secret ¶
type Secret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecretSpec `json:"spec,omitempty"` Status SecretStatus `json:"status,omitempty"` }
Secret is the Schema for the secrets API
func (*Secret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Secret) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretGenerator ¶
type SecretGenerator struct { Name string `json:"name"` Type string `json:"type"` Length int `json:"length"` Charset string `json:"charset,omitempty"` HashName string `json:"hashName,omitempty"` }
+kubebuilder:validation:Required
func (*SecretGenerator) DeepCopy ¶
func (in *SecretGenerator) DeepCopy() *SecretGenerator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretGenerator.
func (*SecretGenerator) DeepCopyInto ¶
func (in *SecretGenerator) DeepCopyInto(out *SecretGenerator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretKeysList ¶
type SecretKeysList struct { Key string `json:"key"` TemplateString string `json:"templateString"` }
+kubebuilder:validation:Required
func (*SecretKeysList) DeepCopy ¶
func (in *SecretKeysList) DeepCopy() *SecretKeysList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeysList.
func (*SecretKeysList) DeepCopyInto ¶
func (in *SecretKeysList) DeepCopyInto(out *SecretKeysList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretList ¶
type SecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Secret `json:"items"` }
SecretList contains a list of Secret
func (*SecretList) DeepCopy ¶
func (in *SecretList) DeepCopy() *SecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.
func (*SecretList) DeepCopyInto ¶
func (in *SecretList) DeepCopyInto(out *SecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretList) DeepCopyObject ¶
func (in *SecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretResource ¶
type SecretResource struct { Name string `json:"name"` Namespace string `json:"namespace"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` }
+kubebuilder:validation:Required
func (*SecretResource) DeepCopy ¶
func (in *SecretResource) DeepCopy() *SecretResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretResource.
func (*SecretResource) DeepCopyInto ¶
func (in *SecretResource) DeepCopyInto(out *SecretResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretSpec ¶
type SecretSpec struct { Secret SecretResource `json:"secret"` Keys []SecretKeysList `json:"keys"` Generators []SecretGenerator `json:"generators"` }
SecretSpec defines the desired state of Secret +kubebuilder:validation:Required
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.
type SecretStatus ¶
type SecretStatus struct { }
SecretStatus defines the observed state of Secret
func (*SecretStatus) DeepCopy ¶
func (in *SecretStatus) DeepCopy() *SecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStatus.
func (*SecretStatus) DeepCopyInto ¶
func (in *SecretStatus) DeepCopyInto(out *SecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.