Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the kconfigcontroller v1beta1 API group +kubebuilder:object:generate=true +groupName=kconfigcontroller.atteg.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kconfigcontroller.atteg.com", Version: "v1beta1"} // 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 EnvConfig ¶
type EnvConfig struct { // Type should be immutable // +kubebuilder:validation:Optional Type string `json:"type"` Key string `json:"key"` // +kubebuilder:validation:Optional Value *string `json:"value,omitempty"` // +kubebuilder:validation:Optional ConfigMapKeyRef *v1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"` // +kubebuilder:validation:Optional SecretKeyRef *v1.SecretKeySelector `json:"secretKeyRef,omitempty" protobuf:"bytes,4,opt,name=secretKeyRef"` // +kubebuilder:validation:Optional FieldRef *v1.ObjectFieldSelector `json:"fieldRef,omitempty" protobuf:"bytes,4,opt,name=fieldRef"` // +kubebuilder:validation:Optional ResourceFieldRef *v1.ResourceFieldSelector `json:"resourceFieldRef,omitempty" protobuf:"bytes,4,opt,name=resourceFieldRef"` }
EnvConfig represents a single environment variable configuration
func (*EnvConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvConfig.
func (*EnvConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Kconfig ¶
type Kconfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KconfigSpec `json:"spec,omitempty"` Status KconfigStatus `json:"status,omitempty"` }
Kconfig is the Schema for the kconfigs API
func (*Kconfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kconfig.
func (*Kconfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Kconfig) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KconfigBinding ¶
type KconfigBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KconfigBindingSpec `json:"spec,omitempty"` Status KconfigBindingStatus `json:"status,omitempty"` }
KconfigBinding is the Schema for the kconfigbindings API
func (*KconfigBinding) DeepCopy ¶
func (in *KconfigBinding) DeepCopy() *KconfigBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KconfigBinding.
func (*KconfigBinding) DeepCopyInto ¶
func (in *KconfigBinding) DeepCopyInto(out *KconfigBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KconfigBinding) DeepCopyObject ¶
func (in *KconfigBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KconfigBindingList ¶
type KconfigBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KconfigBinding `json:"items"` }
KconfigBindingList contains a list of KconfigBinding
func (*KconfigBindingList) DeepCopy ¶
func (in *KconfigBindingList) DeepCopy() *KconfigBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KconfigBindingList.
func (*KconfigBindingList) DeepCopyInto ¶
func (in *KconfigBindingList) DeepCopyInto(out *KconfigBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KconfigBindingList) DeepCopyObject ¶
func (in *KconfigBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KconfigBindingSpec ¶
type KconfigBindingSpec struct { Level int `json:"level"` Envs []v1.EnvVar `json:"envs"` // +kubebuilder:validation:Optional Selector metav1.LabelSelector `json:"selector"` }
KconfigBindingSpec defines the desired state of KconfigBinding
func (*KconfigBindingSpec) DeepCopy ¶
func (in *KconfigBindingSpec) DeepCopy() *KconfigBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KconfigBindingSpec.
func (*KconfigBindingSpec) DeepCopyInto ¶
func (in *KconfigBindingSpec) DeepCopyInto(out *KconfigBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KconfigBindingStatus ¶
type KconfigBindingStatus struct {
ObservedGeneration int64 `json:"observedGeneration"`
}
KconfigBindingStatus defines the observed state of KconfigBinding
func (*KconfigBindingStatus) DeepCopy ¶
func (in *KconfigBindingStatus) DeepCopy() *KconfigBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KconfigBindingStatus.
func (*KconfigBindingStatus) DeepCopyInto ¶
func (in *KconfigBindingStatus) DeepCopyInto(out *KconfigBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KconfigList ¶
type KconfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Kconfig `json:"items"` }
KconfigList contains a list of Kconfig
func (*KconfigList) DeepCopy ¶
func (in *KconfigList) DeepCopy() *KconfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KconfigList.
func (*KconfigList) DeepCopyInto ¶
func (in *KconfigList) DeepCopyInto(out *KconfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KconfigList) DeepCopyObject ¶
func (in *KconfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KconfigSpec ¶
type KconfigSpec struct { Level int `json:"level"` // +kubebuilder:validation:Optional Selector metav1.LabelSelector `json:"selector"` EnvConfigs []EnvConfig `json:"envConfigs"` }
KconfigSpec defines the desired state of Kconfig
func (*KconfigSpec) DeepCopy ¶
func (in *KconfigSpec) DeepCopy() *KconfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KconfigSpec.
func (*KconfigSpec) DeepCopyInto ¶
func (in *KconfigSpec) DeepCopyInto(out *KconfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KconfigStatus ¶
type KconfigStatus struct { }
KconfigStatus defines the observed state of Kconfig
func (*KconfigStatus) DeepCopy ¶
func (in *KconfigStatus) DeepCopy() *KconfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KconfigStatus.
func (*KconfigStatus) DeepCopyInto ¶
func (in *KconfigStatus) DeepCopyInto(out *KconfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.