v1alpha1

package
v0.0.0-...-c864fc6 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the key v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=key.levigross.com

Package v1alpha1 contains API Schema definitions for the key v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=key.levigross.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "key.levigross.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

Types

type EncryptionKey

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

	Spec   EncryptionKeySpec   `json:"spec,omitempty"`
	Status EncryptionKeyStatus `json:"status,omitempty"`
}

EncryptionKey is the Schema for the encryptionkeys API +kubebuilder:subresource:status +kubebuilder:resource:path=encryptionkeys,scope=Namespaced

func (*EncryptionKey) DeepCopy

func (in *EncryptionKey) DeepCopy() *EncryptionKey

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

func (*EncryptionKey) DeepCopyInto

func (in *EncryptionKey) DeepCopyInto(out *EncryptionKey)

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

func (*EncryptionKey) DeepCopyObject

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

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

type EncryptionKeyList

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

EncryptionKeyList contains a list of EncryptionKey

func (*EncryptionKeyList) DeepCopy

func (in *EncryptionKeyList) DeepCopy() *EncryptionKeyList

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

func (*EncryptionKeyList) DeepCopyInto

func (in *EncryptionKeyList) DeepCopyInto(out *EncryptionKeyList)

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

func (*EncryptionKeyList) DeepCopyObject

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

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

type EncryptionKeySpec

type EncryptionKeySpec struct {

	// The type of encryption key that you used to encrypt the data
	// +kubebuilder:validation:Enum=GPG;SSH
	Type string `json:"type"`

	PrivateEncryptionKey []byte `json:"privateEncryptionKey"`

	// PublicEncryptionKey should be used if you want to validate that the private key
	// matches the public key
	PublicEncryptionKey []byte `json:"privateEncryptionKey,omitempty"`

	// If you supply an encrypted key, we can decrypt it when using it.
	// *Note* we may no effort to scrub this value from memory afterwards.
	Passphrase string `json:"passphrase,omitempty"`
}

EncryptionKeySpec defines the desired state of EncryptionKey

func (*EncryptionKeySpec) DeepCopy

func (in *EncryptionKeySpec) DeepCopy() *EncryptionKeySpec

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

func (*EncryptionKeySpec) DeepCopyInto

func (in *EncryptionKeySpec) DeepCopyInto(out *EncryptionKeySpec)

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

type EncryptionKeyStatus

type EncryptionKeyStatus struct {
	KeyStatus []status.KeyStatus `json:"keyStatus"`
}

EncryptionKeyStatus defines the observed state of EncryptionKey

func (*EncryptionKeyStatus) DeepCopy

func (in *EncryptionKeyStatus) DeepCopy() *EncryptionKeyStatus

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

func (*EncryptionKeyStatus) DeepCopyInto

func (in *EncryptionKeyStatus) DeepCopyInto(out *EncryptionKeyStatus)

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