v1

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 26

Documentation

Overview

Package v1 contains API Schema definitions for the secrets-store v1 API group +kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +groupName=secrets-store.csi.x-k8s.io

Index

Constants

View Source
const GroupName = "secrets-store.csi.x-k8s.io"

GroupName specifies the group name used to register the objects.

View Source
const (
	// InternalNodeLabel used for setting the node name spc pod status belongs to
	InternalNodeLabel = "internal.secrets-store.csi.k8s.io/node-name"
)

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ByPodStatus

type ByPodStatus struct {
	// id of the pod that wrote the status
	ID string `json:"id,omitempty"`
	// namespace of the pod that wrote the status
	Namespace string `json:"namespace,omitempty"`
}

ByPodStatus defines the state of SecretProviderClass as seen by an individual controller

func (*ByPodStatus) DeepCopy

func (in *ByPodStatus) DeepCopy() *ByPodStatus

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

func (*ByPodStatus) DeepCopyInto

func (in *ByPodStatus) DeepCopyInto(out *ByPodStatus)

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

type Provider

type Provider string

Provider enum for all the provider names

type SecretObject

type SecretObject struct {
	// name of the K8s secret object
	SecretName string `json:"secretName,omitempty"`
	// type of K8s secret object
	Type string `json:"type,omitempty"`
	// labels of K8s secret object
	Labels map[string]string `json:"labels,omitempty"`
	// annotations of k8s secret object
	Annotations map[string]string   `json:"annotations,omitempty"`
	Data        []*SecretObjectData `json:"data,omitempty"`
}

SecretObject defines the desired state of synced K8s secret objects

func (*SecretObject) DeepCopy

func (in *SecretObject) DeepCopy() *SecretObject

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

func (*SecretObject) DeepCopyInto

func (in *SecretObject) DeepCopyInto(out *SecretObject)

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

type SecretObjectData

type SecretObjectData struct {
	// name of the object to sync
	ObjectName string `json:"objectName,omitempty"`
	// data field to populate
	Key string `json:"key,omitempty"`
}

SecretObjectData defines the desired state of synced K8s secret object data

func (*SecretObjectData) DeepCopy

func (in *SecretObjectData) DeepCopy() *SecretObjectData

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

func (*SecretObjectData) DeepCopyInto

func (in *SecretObjectData) DeepCopyInto(out *SecretObjectData)

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

type SecretProviderClass

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

	Spec   SecretProviderClassSpec   `json:"spec,omitempty"`
	Status SecretProviderClassStatus `json:"status,omitempty"`
}

SecretProviderClass is the Schema for the secretproviderclasses API

func (*SecretProviderClass) DeepCopy

func (in *SecretProviderClass) DeepCopy() *SecretProviderClass

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

func (*SecretProviderClass) DeepCopyInto

func (in *SecretProviderClass) DeepCopyInto(out *SecretProviderClass)

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

func (*SecretProviderClass) DeepCopyObject

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

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

type SecretProviderClassList

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

SecretProviderClassList contains a list of SecretProviderClass

func (*SecretProviderClassList) DeepCopy

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

func (*SecretProviderClassList) DeepCopyInto

func (in *SecretProviderClassList) DeepCopyInto(out *SecretProviderClassList)

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

func (*SecretProviderClassList) DeepCopyObject

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

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

type SecretProviderClassObject

type SecretProviderClassObject struct {
	ID      string `json:"id,omitempty"`
	Version string `json:"version,omitempty"`
}

SecretProviderClassObject defines the object fetched from external secrets store

func (*SecretProviderClassObject) DeepCopy

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

func (*SecretProviderClassObject) DeepCopyInto

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

type SecretProviderClassPodStatus

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

	Status SecretProviderClassPodStatusStatus `json:"status,omitempty"`
}

SecretProviderClassPodStatus is the Schema for the secretproviderclassespodstatus API

func (*SecretProviderClassPodStatus) DeepCopy

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

func (*SecretProviderClassPodStatus) DeepCopyInto

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

func (*SecretProviderClassPodStatus) DeepCopyObject

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

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

type SecretProviderClassPodStatusList

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

SecretProviderClassPodStatusList contains a list of SecretProviderClassPodStatus

func (*SecretProviderClassPodStatusList) DeepCopy

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

func (*SecretProviderClassPodStatusList) DeepCopyInto

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

func (*SecretProviderClassPodStatusList) DeepCopyObject

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

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

type SecretProviderClassPodStatusStatus

type SecretProviderClassPodStatusStatus struct {
	PodName                 string                      `json:"podName,omitempty"`
	SecretProviderClassName string                      `json:"secretProviderClassName,omitempty"`
	Mounted                 bool                        `json:"mounted,omitempty"`
	TargetPath              string                      `json:"targetPath,omitempty"`
	Objects                 []SecretProviderClassObject `json:"objects,omitempty"`
}

SecretProviderClassPodStatusStatus defines the observed state of SecretProviderClassPodStatus

func (*SecretProviderClassPodStatusStatus) DeepCopy

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

func (*SecretProviderClassPodStatusStatus) DeepCopyInto

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

type SecretProviderClassSpec

type SecretProviderClassSpec struct {
	// Configuration for provider name
	Provider Provider `json:"provider,omitempty"`
	// Configuration for specific provider
	Parameters    map[string]string `json:"parameters,omitempty"`
	SecretObjects []*SecretObject   `json:"secretObjects,omitempty"`
}

SecretProviderClassSpec defines the desired state of SecretProviderClass

func (*SecretProviderClassSpec) DeepCopy

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

func (*SecretProviderClassSpec) DeepCopyInto

func (in *SecretProviderClassSpec) DeepCopyInto(out *SecretProviderClassSpec)

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

type SecretProviderClassStatus

type SecretProviderClassStatus struct {
	ByPod []*ByPodStatus `json:"byPod,omitempty"`
}

SecretProviderClassStatus defines the observed state of SecretProviderClass

func (*SecretProviderClassStatus) DeepCopy

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

func (*SecretProviderClassStatus) DeepCopyInto

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