v1alpha1

package
v0.11.0-alpha-2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the kcertifier v1alpha1 API group +kubebuilder:object:generate=true +groupName=kcertifier.atteg.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "kcertifier.atteg.com", 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 Import

type Import struct {
	// +kubebuilder:validation:Optional
	Namespace string `json:"namespace,omitempty"`
	// +kubebuilder:validation:Required
	SecretName string `json:"secretName,omitempty"`
	// +kubebuilder:validation:Optional
	SourceKey string `json:"sourceKey"`
	// +kubebuilder:validation:Required
	TargetKey string `json:"targetKey"`
}

Import defines data to copy from another secret into the package

func (*Import) DeepCopy

func (in *Import) DeepCopy() *Import

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

func (*Import) DeepCopyInto

func (in *Import) DeepCopyInto(out *Import)

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

type Kcertifier

type Kcertifier struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KcertifierSpec   `json:"spec,omitempty"`
	Status KcertifierStatus `json:"status,omitempty"`
}

Kcertifier is the Schema for the kcertifiers API

func (*Kcertifier) DeepCopy

func (in *Kcertifier) DeepCopy() *Kcertifier

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

func (*Kcertifier) DeepCopyInto

func (in *Kcertifier) DeepCopyInto(out *Kcertifier)

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

func (*Kcertifier) DeepCopyObject

func (in *Kcertifier) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KcertifierList

type KcertifierList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Kcertifier `json:"items"`
}

KcertifierList contains a list of Kcertifier

func (*KcertifierList) DeepCopy

func (in *KcertifierList) DeepCopy() *KcertifierList

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

func (*KcertifierList) DeepCopyInto

func (in *KcertifierList) DeepCopyInto(out *KcertifierList)

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

func (*KcertifierList) DeepCopyObject

func (in *KcertifierList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KcertifierSpec

type KcertifierSpec struct {
	// Important: Run "make" to regenerate code after modifying this file
	// +kubebuilder:validation:Optional
	KeyLength int `json:"keyLength,omitempty"`
	// +kubebuilder:validation:Required
	Subject Subject `json:"subject,omitempty"`
	// +kubebuilder:validation:Optional
	Sans []string `json:"sans,omitempty"`
	// +kubebuilder:validation:Required
	Packages []Package `json:"packages,omitempty"`
}

KcertifierSpec defines the desired state of Kcertifier

func (*KcertifierSpec) DeepCopy

func (in *KcertifierSpec) DeepCopy() *KcertifierSpec

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

func (*KcertifierSpec) DeepCopyInto

func (in *KcertifierSpec) DeepCopyInto(out *KcertifierSpec)

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

type KcertifierStatus

type KcertifierStatus struct {
	// Important: Run "make" to regenerate code after modifying this fileKcertifierSpecHash string            `json:"kcertifierSpecHash"`
	KcertifierSpecHash string `json:"kcertifierSpecHash"`
	CurrentPackageHash string `json:"currentPackageHash"`
	KeySecretName      string `json:"keySecretName,omitempty"`
	CsrName            string `json:"csrName,omitempty"`
	CsrStatus          string `json:"csrStatus,omitempty"`
}

KcertifierStatus defines the observed state of Kcertifier

func (*KcertifierStatus) DeepCopy

func (in *KcertifierStatus) DeepCopy() *KcertifierStatus

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

func (*KcertifierStatus) DeepCopyInto

func (in *KcertifierStatus) DeepCopyInto(out *KcertifierStatus)

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

type Package

type Package struct {
	// +kubebuilder:validation:Required
	Type string `json:"type,omitempty"`
	// +kubebuilder:validation:Required
	Options map[string]string `json:"options,omitempty"`
	// +kubebuilder:validation:Required
	SecretName string `json:"secretName,omitempty"`
	// +kubebuilder:validation:Optional
	Imports []Import `json:"imports,omitempty"`
	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels,omitempty"`
	// +kubebuilder:validation:Optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

Package defines output secret parameters

func (*Package) DeepCopy

func (in *Package) DeepCopy() *Package

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

func (*Package) DeepCopyInto

func (in *Package) DeepCopyInto(out *Package)

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

type Subject

type Subject struct {
	// +kubebuilder:validation:Required
	CommonName string `json:"commonName,omitempty"`
	// +kubebuilder:validation:Optional
	Country string `json:"country,omitempty"`
	// +kubebuilder:validation:Optional
	StateOrProvince string `json:"stateOrProvince,omitempty"`
	// +kubebuilder:validation:Optional
	Locality string `json:"locality,omitempty"`
	// +kubebuilder:validation:Optional
	Organization string `json:"organization,omitempty"`
	// +kubebuilder:validation:Optional
	OrganizationalUnit string `json:"organizationalUnit,omitempty"`
}

Subject x509 certificate subject information

func (*Subject) DeepCopy

func (in *Subject) DeepCopy() *Subject

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

func (*Subject) DeepCopyInto

func (in *Subject) DeepCopyInto(out *Subject)

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

Jump to

Keyboard shortcuts

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