Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.phillebaba.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.phillebaba.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 ¶
This section is empty.
Types ¶
type CharacterOption ¶ added in v0.2.0
type CharacterOption string
CharacterOption represents filtering options for a generated string. +kubebuilder:validation:Enum=Uppercase;Lowercase;Numbers;Symbols
const ( Uppercase CharacterOption = "Uppercase" Lowercase CharacterOption = "Lowercase" Numbers CharacterOption = "Numbers" Symbols CharacterOption = "Symbols" )
func (CharacterOption) Regex ¶ added in v0.2.0
func (c CharacterOption) Regex() string
Regex returns filter used for each CharacterOption.
type GeneratedSecret ¶
type GeneratedSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GeneratedSecretSpec `json:"spec,omitempty"` Status GeneratedSecretStatus `json:"status,omitempty"` }
GeneratedSecret is the Schema for the generatedsecrets API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*GeneratedSecret) DeepCopy ¶
func (in *GeneratedSecret) DeepCopy() *GeneratedSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedSecret.
func (*GeneratedSecret) DeepCopyInto ¶
func (in *GeneratedSecret) DeepCopyInto(out *GeneratedSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GeneratedSecret) DeepCopyObject ¶
func (in *GeneratedSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GeneratedSecretData ¶
type GeneratedSecretData struct { // Key of the secret Key string `json:"key"` // Wanted length of the secret value // +optional // +kubebuilder:validation:Minimum=1 Length *int `json:"length,omitempty"` // List of characters to exclude from the secret value // +optional Exclude []CharacterOption `json:"exclude,uniqueItems,omitempty"` }
GeneratedSecretData defines the configuration of the secret.
func (*GeneratedSecretData) DeepCopy ¶
func (in *GeneratedSecretData) DeepCopy() *GeneratedSecretData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedSecretData.
func (*GeneratedSecretData) DeepCopyInto ¶
func (in *GeneratedSecretData) DeepCopyInto(out *GeneratedSecretData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GeneratedSecretList ¶
type GeneratedSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GeneratedSecret `json:"items"` }
GeneratedSecretList contains a list of GeneratedSecret +kubebuilder:object:root=true
func (*GeneratedSecretList) DeepCopy ¶
func (in *GeneratedSecretList) DeepCopy() *GeneratedSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedSecretList.
func (*GeneratedSecretList) DeepCopyInto ¶
func (in *GeneratedSecretList) DeepCopyInto(out *GeneratedSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GeneratedSecretList) DeepCopyObject ¶
func (in *GeneratedSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GeneratedSecretSpec ¶
type GeneratedSecretSpec struct { // Addtional metadata to add to the generated secret. // +optional SecretMeta metav1.ObjectMeta `json:"secretMetadata,omitempty"` // Data configuration of the secret DataList []GeneratedSecretData `json:"data"` }
GeneratedSecretSpec defines the desired state of GeneratedSecret +kubebuilder:subresource:data
func (*GeneratedSecretSpec) DeepCopy ¶
func (in *GeneratedSecretSpec) DeepCopy() *GeneratedSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedSecretSpec.
func (*GeneratedSecretSpec) DeepCopyInto ¶
func (in *GeneratedSecretSpec) DeepCopyInto(out *GeneratedSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GeneratedSecretState ¶ added in v0.2.0
type GeneratedSecretState string
GeneratedSecretState represents the current state of a GeneratedSecret. +kubebuilder:validation:Enum=Generating;Generated;Failed;Conflict
const ( Generating GeneratedSecretState = "Generating" Generated GeneratedSecretState = "Generated" Failed GeneratedSecretState = "Failed" Conflict GeneratedSecretState = "Conflict" )
type GeneratedSecretStatus ¶ added in v0.2.0
type GeneratedSecretStatus struct {
State GeneratedSecretState `json:"state"`
}
GeneratedSecretStatus defines the status of GeneratedSecret
func (*GeneratedSecretStatus) DeepCopy ¶ added in v0.2.0
func (in *GeneratedSecretStatus) DeepCopy() *GeneratedSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedSecretStatus.
func (*GeneratedSecretStatus) DeepCopyInto ¶ added in v0.2.0
func (in *GeneratedSecretStatus) DeepCopyInto(out *GeneratedSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.