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
- Variables
- func Resource(resource string) schema.GroupResource
- type ByPodStatus
- type Provider
- type SecretObject
- type SecretObjectData
- type SecretProviderClass
- type SecretProviderClassList
- type SecretProviderClassObject
- type SecretProviderClassPodStatus
- type SecretProviderClassPodStatusList
- type SecretProviderClassPodStatusStatus
- type SecretProviderClassSpec
- type SecretProviderClassStatus
Constants ¶
const GroupName = "secrets-store.csi.x-k8s.io"
GroupName specifies the group name used to register the objects.
const (
// InternalNodeLabel used for setting the node name spc pod status belongs to
InternalNodeLabel = "internal.secrets-store.csi.k8s.io/node-name"
)
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Depreciated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1"}
GroupVersion specifies the group and the version used to register the objects.
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 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 ¶
func (in *SecretProviderClassList) DeepCopy() *SecretProviderClassList
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 ¶
func (in *SecretProviderClassObject) DeepCopy() *SecretProviderClassObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProviderClassObject.
func (*SecretProviderClassObject) DeepCopyInto ¶
func (in *SecretProviderClassObject) DeepCopyInto(out *SecretProviderClassObject)
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 ¶
func (in *SecretProviderClassPodStatus) DeepCopy() *SecretProviderClassPodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProviderClassPodStatus.
func (*SecretProviderClassPodStatus) DeepCopyInto ¶
func (in *SecretProviderClassPodStatus) DeepCopyInto(out *SecretProviderClassPodStatus)
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 ¶
func (in *SecretProviderClassPodStatusList) DeepCopy() *SecretProviderClassPodStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProviderClassPodStatusList.
func (*SecretProviderClassPodStatusList) DeepCopyInto ¶
func (in *SecretProviderClassPodStatusList) DeepCopyInto(out *SecretProviderClassPodStatusList)
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 ¶
func (in *SecretProviderClassPodStatusStatus) DeepCopy() *SecretProviderClassPodStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProviderClassPodStatusStatus.
func (*SecretProviderClassPodStatusStatus) DeepCopyInto ¶
func (in *SecretProviderClassPodStatusStatus) DeepCopyInto(out *SecretProviderClassPodStatusStatus)
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 ¶
func (in *SecretProviderClassSpec) DeepCopy() *SecretProviderClassSpec
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 ¶
func (in *SecretProviderClassStatus) DeepCopy() *SecretProviderClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProviderClassStatus.
func (*SecretProviderClassStatus) DeepCopyInto ¶
func (in *SecretProviderClassStatus) DeepCopyInto(out *SecretProviderClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.