v1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the secrets v1 API group +kubebuilder:object:generate=true +groupName=secrets.masonwr.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "secrets.masonwr.dev", Version: "v1"}

	// 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 CloudSecret

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

	Spec   CloudSecretSpec   `json:"spec,omitempty"`
	Status CloudSecretStatus `json:"status,omitempty"`
}

CloudSecret is the Schema for the cloudsecrets API

func (*CloudSecret) DeepCopy

func (in *CloudSecret) DeepCopy() *CloudSecret

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

func (*CloudSecret) DeepCopyInto

func (in *CloudSecret) DeepCopyInto(out *CloudSecret)

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

func (*CloudSecret) DeepCopyObject

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

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

func (*CloudSecret) GetChildSecretKey

func (c *CloudSecret) GetChildSecretKey() types.NamespacedName

GetChildSecretKey returns a key suitable for searching for a child secret

func (*CloudSecret) InitChildSecret

func (c *CloudSecret) InitChildSecret() corev1.Secret

InitChildSecret initializes a new k8s secret with *this* cloud secret set as its owner

type CloudSecretList

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

CloudSecretList contains a list of CloudSecret

func (*CloudSecretList) DeepCopy

func (in *CloudSecretList) DeepCopy() *CloudSecretList

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

func (*CloudSecretList) DeepCopyInto

func (in *CloudSecretList) DeepCopyInto(out *CloudSecretList)

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

func (*CloudSecretList) DeepCopyObject

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

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

type CloudSecretSpec

type CloudSecretSpec struct {

	// Data key secret path mapping
	Data map[string]string `json:"data,omitempty"`

	// SyncPeriod defines in seconds the delay before
	// the secret is again reconciled, in essense the
	// polling interval.
	SyncPeriod uint64 `json:"syncPeriod,omitempty"`
}

CloudSecretSpec defines the desired state of CloudSecret

func (*CloudSecretSpec) DeepCopy

func (in *CloudSecretSpec) DeepCopy() *CloudSecretSpec

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

func (*CloudSecretSpec) DeepCopyInto

func (in *CloudSecretSpec) DeepCopyInto(out *CloudSecretSpec)

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

type CloudSecretStatus

type CloudSecretStatus struct {

	// SecretResolution map the state of each secret, either RESOLVED or FAILED
	SecretResolution map[string]string `json:"secretResolution,omitempty"`
}

CloudSecretStatus defines the observed state of CloudSecret

func (*CloudSecretStatus) DeepCopy

func (in *CloudSecretStatus) DeepCopy() *CloudSecretStatus

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

func (*CloudSecretStatus) DeepCopyInto

func (in *CloudSecretStatus) DeepCopyInto(out *CloudSecretStatus)

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