v1alpha1

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=craftypath.github.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "craftypath.github.io", 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 SopsSecret

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

	Spec   SopsSecretSpec   `json:"spec,omitempty"`
	Status SopsSecretStatus `json:"status,omitempty"`
}

SopsSecret is the Schema for the sopssecrets API

func (*SopsSecret) DeepCopy

func (in *SopsSecret) DeepCopy() *SopsSecret

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

func (*SopsSecret) DeepCopyInto

func (in *SopsSecret) DeepCopyInto(out *SopsSecret)

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

func (*SopsSecret) DeepCopyObject

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

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

type SopsSecretList

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

SopsSecretList contains a list of SopsSecret

func (*SopsSecretList) DeepCopy

func (in *SopsSecretList) DeepCopy() *SopsSecretList

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

func (*SopsSecretList) DeepCopyInto

func (in *SopsSecretList) DeepCopyInto(out *SopsSecretList)

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

func (*SopsSecretList) DeepCopyObject

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

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

type SopsSecretObjectMeta

type SopsSecretObjectMeta struct {
	// Annotations allows adding annotations to generated Secrets.
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// Labels allows adding labels to generated Secrets.
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
}

SopsSecretObjectMeta defines metadata for generated Secrets.

type SopsSecretSpec

type SopsSecretSpec struct {
	// Metadata allows adding labels and annotations to generated Secrets.
	// +optional
	Metadata SopsSecretObjectMeta `json:"metadata,omitempty"`

	// StringData allows specifying Sops-encrypted secret data in string form.
	// +optional
	StringData map[string]string `json:"stringData,omitempty"`

	// Type specifies the type of the secret.
	// +optional
	Type corev1.SecretType `json:"type,omitempty"`
}

SopsSecretSpec defines the desired state of SopsSecret.

func (*SopsSecretSpec) DeepCopy

func (in *SopsSecretSpec) DeepCopy() *SopsSecretSpec

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

func (*SopsSecretSpec) DeepCopyInto

func (in *SopsSecretSpec) DeepCopyInto(out *SopsSecretSpec)

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

type SopsSecretStatus

type SopsSecretStatus struct {
	LastUpdate metav1.Time `json:"lastUpdate,omitempty"`
	Reason     string      `json:"reason,omitempty"`
	Status     string      `json:"status,omitempty"`
}

SopsSecretStatus defines the observed state of SopsSecret.

func (*SopsSecretStatus) DeepCopy

func (in *SopsSecretStatus) DeepCopy() *SopsSecretStatus

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

func (*SopsSecretStatus) DeepCopyInto

func (in *SopsSecretStatus) DeepCopyInto(out *SopsSecretStatus)

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