v1alpha1

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// AddToScheme is used for schema registrations in the controller package
	// and also in the generated kube code
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: apis.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

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

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

func (in *Request) DeepCopy() *Request

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Request.

func (*Request) DeepCopyInto

func (in *Request) DeepCopyInto(out *Request)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretReference

type SecretReference struct {
	Name string
	Key  string
}

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.

type Type

type Type string

Type defines the type of the generated secret

const (
	Password    Type = "password"
	Certificate Type = "certificate"
	SSHKey      Type = "ssh"
	RSAKey      Type = "rsa"
)

Valid values for ref types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL