Documentation ¶
Index ¶
Constants ¶
const (
DefaultLength = 12
)
Variables ¶
var ( SchemeGroupVersion = schema.GroupVersion{Group: "mkm.pub", Version: "v1alpha1"} SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type GeneratedSecret ¶
type GeneratedSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GeneratedSecretSpec `json:"spec"` // +optional Status *GeneratedSecretStatus `json:"status,omitempty"` }
GeneratedSecret is a blueprint for a generated secret
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 GeneratedSecretKey ¶
type GeneratedSecretKey struct { Length int `json:"length,omitempty"` Alphabet string `json:"alphabet,omitempty"` Binary bool `json:"binary,omitempty"` TTL string `json:"ttl,omitempty"` }
func (*GeneratedSecretKey) DeepCopy ¶
func (in *GeneratedSecretKey) DeepCopy() *GeneratedSecretKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedSecretKey.
func (*GeneratedSecretKey) DeepCopyInto ¶
func (in *GeneratedSecretKey) DeepCopyInto(out *GeneratedSecretKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GeneratedSecretKey) GetAlphabet ¶
func (k *GeneratedSecretKey) GetAlphabet() string
type GeneratedSecretList ¶
type GeneratedSecretList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []GeneratedSecret `json:"items"` }
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 { Data map[string]GeneratedSecretKey `json:"data,omitempty"` Default *GeneratedSecretKey `json:"default,omitempty"` // +optional Template *GeneratedSecretTemplate `json:"template,omitempty"` }
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 GeneratedSecretStatus ¶
type GeneratedSecretStatus struct { // ObservedGeneration reflects the generation most recently observed by the generatedgroups controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"` }
func (*GeneratedSecretStatus) DeepCopy ¶
func (in *GeneratedSecretStatus) DeepCopy() *GeneratedSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedSecretStatus.
func (*GeneratedSecretStatus) DeepCopyInto ¶
func (in *GeneratedSecretStatus) DeepCopyInto(out *GeneratedSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GeneratedSecretTemplate ¶
type GeneratedSecretTemplate struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` }
func (*GeneratedSecretTemplate) DeepCopy ¶
func (in *GeneratedSecretTemplate) DeepCopy() *GeneratedSecretTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedSecretTemplate.
func (*GeneratedSecretTemplate) DeepCopyInto ¶
func (in *GeneratedSecretTemplate) DeepCopyInto(out *GeneratedSecretTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.