Documentation ¶
Index ¶
Constants ¶
const (
// GeneratedSecretKind is the kind of generated secret
GeneratedSecretKind = "generated"
)
Variables ¶
var ( // AddToScheme is used for schema registrations in the controller package // and also in the generated kube code AddToScheme = schemeBuilder.AddToScheme )
var ( // LabelKind is the label key for secret kind LabelKind = fmt.Sprintf("%s/secret-kind", apis.GroupName) )
var SchemeGroupVersion = schema.GroupVersion{Group: apis.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Kind ¶
Kind takes an unqualified kind and returns back a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CertificateRequest ¶
type CertificateRequest struct { CommonName string `json:"commonName"` AlternativeNames []string `json:"alternativeNames"` IsCA bool `json:"isCA"` CARef SecretReference `json:"CARef"` CAKeyRef SecretReference `json:"CAKeyRef"` }
CertificateRequest specifies the details for the certificate generation
func (*CertificateRequest) DeepCopy ¶
func (in *CertificateRequest) DeepCopy() *CertificateRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRequest.
func (*CertificateRequest) DeepCopyInto ¶
func (in *CertificateRequest) DeepCopyInto(out *CertificateRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtendedSecret ¶
type ExtendedSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ExtendedSecretSpec `json:"spec,omitempty"` Status ExtendedSecretStatus `json:"status,omitempty"` }
ExtendedSecret is the Schema for the ExtendedSecrets API +k8s:openapi-gen=true
func (*ExtendedSecret) DeepCopy ¶
func (in *ExtendedSecret) DeepCopy() *ExtendedSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedSecret.
func (*ExtendedSecret) DeepCopyInto ¶
func (in *ExtendedSecret) DeepCopyInto(out *ExtendedSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtendedSecret) DeepCopyObject ¶
func (in *ExtendedSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExtendedSecretList ¶
type ExtendedSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ExtendedSecret `json:"items"` }
ExtendedSecretList contains a list of ExtendedSecret
func (*ExtendedSecretList) DeepCopy ¶
func (in *ExtendedSecretList) DeepCopy() *ExtendedSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedSecretList.
func (*ExtendedSecretList) DeepCopyInto ¶
func (in *ExtendedSecretList) DeepCopyInto(out *ExtendedSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtendedSecretList) DeepCopyObject ¶
func (in *ExtendedSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExtendedSecretSpec ¶
type ExtendedSecretSpec struct { Type Type `json:"type"` Request Request `json:"request"` SecretName string `json:"secretName"` }
ExtendedSecretSpec defines the desired state of ExtendedSecret
func (*ExtendedSecretSpec) DeepCopy ¶
func (in *ExtendedSecretSpec) DeepCopy() *ExtendedSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedSecretSpec.
func (*ExtendedSecretSpec) DeepCopyInto ¶
func (in *ExtendedSecretSpec) DeepCopyInto(out *ExtendedSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtendedSecretStatus ¶
type ExtendedSecretStatus struct {
SecretStatus []string `json:"secretStatus"`
}
ExtendedSecretStatus defines the observed state of ExtendedSecret
func (*ExtendedSecretStatus) DeepCopy ¶
func (in *ExtendedSecretStatus) DeepCopy() *ExtendedSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedSecretStatus.
func (*ExtendedSecretStatus) DeepCopyInto ¶
func (in *ExtendedSecretStatus) DeepCopyInto(out *ExtendedSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Request ¶
type Request struct {
CertificateRequest CertificateRequest `json:"certificate"`
}
Request specifies details for the secret generation
func (*Request) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Request.
type SecretReference ¶
SecretReference specifies a reference to another secret
func (*SecretReference) DeepCopy ¶
func (in *SecretReference) DeepCopy() *SecretReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
func (*SecretReference) DeepCopyInto ¶
func (in *SecretReference) DeepCopyInto(out *SecretReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.