v1alpha1

package
v0.0.0-...-fb3823d Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +kubebuilder:object:generate=true +groupName=k8s.basilfx.net

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "k8s.basilfx.net", 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 PartialObjectMeta

type PartialObjectMeta struct {
	// Name must be unique within a namespace. Is required when creating resources, although
	// some resources may allow a client to request the generation of an appropriate name
	// automatically. Name is primarily intended for creation idempotence and configuration
	// definition.
	// Cannot be updated.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	// +kubebuilder:validation:Optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,4,rep,name=labels"`

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +kubebuilder:validation:Optional
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,5,rep,name=annotations"`
}

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. Necessary until https://github.com/kubernetes-sigs/controller-tools/pull/539 is merged.

func (*PartialObjectMeta) DeepCopy

func (in *PartialObjectMeta) DeepCopy() *PartialObjectMeta

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

func (*PartialObjectMeta) DeepCopyInto

func (in *PartialObjectMeta) DeepCopyInto(out *PartialObjectMeta)

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

type SecretTemplateSpec

type SecretTemplateSpec struct {
	// Standard object's metadata.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +kubebuilder:validation:Optional
	ObjectMeta PartialObjectMeta `json:"metadata,omitempty"`

	// Used to facilitate programmatic handling of secret data.
	// +kubebuilder:validation:Optional
	Type apiv1.SecretType `json:"type,omitempty"`
}

SecretTemplateSpec defines the structure a Secret should have when created from a template

func (*SecretTemplateSpec) DeepCopy

func (in *SecretTemplateSpec) DeepCopy() *SecretTemplateSpec

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

func (*SecretTemplateSpec) DeepCopyInto

func (in *SecretTemplateSpec) DeepCopyInto(out *SecretTemplateSpec)

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

type TemplatedSecret

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

	Spec   TemplatedSecretSpec   `json:"spec,omitempty"`
	Status TemplatedSecretStatus `json:"status,omitempty"`
}

TemplatedSecret is the Schema for the templatedsecrets API

func (*TemplatedSecret) DeepCopy

func (in *TemplatedSecret) DeepCopy() *TemplatedSecret

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

func (*TemplatedSecret) DeepCopyInto

func (in *TemplatedSecret) DeepCopyInto(out *TemplatedSecret)

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

func (*TemplatedSecret) DeepCopyObject

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

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

type TemplatedSecretList

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

TemplatedSecretList contains a list of TemplatedSecret

func (*TemplatedSecretList) DeepCopy

func (in *TemplatedSecretList) DeepCopy() *TemplatedSecretList

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

func (*TemplatedSecretList) DeepCopyInto

func (in *TemplatedSecretList) DeepCopyInto(out *TemplatedSecretList)

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

func (*TemplatedSecretList) DeepCopyObject

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

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

type TemplatedSecretSpec

type TemplatedSecretSpec struct {
	// +kubebuilder:validation:Optional
	Template SecretTemplateSpec `json:"template,omitempty"`
	Data     map[string]string  `json:"data"`
}

TemplatedSecretSpec defines the desired state of TemplatedSecret

func (*TemplatedSecretSpec) DeepCopy

func (in *TemplatedSecretSpec) DeepCopy() *TemplatedSecretSpec

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

func (*TemplatedSecretSpec) DeepCopyInto

func (in *TemplatedSecretSpec) DeepCopyInto(out *TemplatedSecretSpec)

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

type TemplatedSecretStatus

type TemplatedSecretStatus struct {
	Message string `json:"message"`
}

TemplatedSecretStatus defines the observed state of TemplatedSecret

func (*TemplatedSecretStatus) DeepCopy

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

func (*TemplatedSecretStatus) DeepCopyInto

func (in *TemplatedSecretStatus) DeepCopyInto(out *TemplatedSecretStatus)

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