Documentation ¶
Overview ¶
Package v1beta contains API Schema definitions for the config v1 API group +kubebuilder:object:generate=true +groupName=config.k8ssandra.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "config.k8ssandra.io", 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 ClientConfig ¶
type ClientConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClientConfigSpec `json:"spec,omitempty"` }
ClientConfig is the Schema for the kubeconfigs API
func (*ClientConfig) DeepCopy ¶
func (in *ClientConfig) DeepCopy() *ClientConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfig.
func (*ClientConfig) DeepCopyInto ¶
func (in *ClientConfig) DeepCopyInto(out *ClientConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClientConfig) DeepCopyObject ¶
func (in *ClientConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClientConfig) GetContextName ¶
func (c *ClientConfig) GetContextName() string
type ClientConfigList ¶
type ClientConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClientConfig `json:"items"` }
ClientConfigList contains a list of KubeConfig
func (*ClientConfigList) DeepCopy ¶
func (in *ClientConfigList) DeepCopy() *ClientConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfigList.
func (*ClientConfigList) DeepCopyInto ¶
func (in *ClientConfigList) DeepCopyInto(out *ClientConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClientConfigList) DeepCopyObject ¶
func (in *ClientConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClientConfigSpec ¶
type ClientConfigSpec struct { // ContextName allows to override the object name for context-name. If not set, the ClientConfig.Name is used as context name // +kubebuilder:validation:optional ContextName string `json:"contextName,omitempty"` // KubeConfigSecret should reference an existing secret; the actual configuration will be read from // this secret's "kubeconfig" key. KubeConfigSecret corev1.LocalObjectReference `json:"kubeConfigSecret,omitempty"` }
ClientConfigSpec defines the desired state of KubeConfig
func (*ClientConfigSpec) DeepCopy ¶
func (in *ClientConfigSpec) DeepCopy() *ClientConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfigSpec.
func (*ClientConfigSpec) DeepCopyInto ¶
func (in *ClientConfigSpec) DeepCopyInto(out *ClientConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.