Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the csi v1 API group +kubebuilder:object:generate=true +groupName=csi.kloudlite.io
Index ¶
- Variables
- type Driver
- func (in *Driver) DeepCopy() *Driver
- func (in *Driver) DeepCopyInto(out *Driver)
- func (in *Driver) DeepCopyObject() runtime.Object
- func (d *Driver) EnsureGVK()
- func (d *Driver) GetEnsuredAnnotations() map[string]string
- func (d *Driver) GetEnsuredLabels() map[string]string
- func (d *Driver) GetStatus() *rApi.Status
- type DriverList
- type DriverSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "csi.kloudlite.io", 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 Driver ¶
type Driver struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DriverSpec `json:"spec"` Status rApi.Status `json:"status,omitempty"` }
Driver is the Schema for the drivers API
func (*Driver) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Driver.
func (*Driver) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Driver) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Driver) GetEnsuredAnnotations ¶
func (*Driver) GetEnsuredLabels ¶
type DriverList ¶
type DriverList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Driver `json:"items"` }
DriverList contains a list of Driver
func (*DriverList) DeepCopy ¶
func (in *DriverList) DeepCopy() *DriverList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverList.
func (*DriverList) DeepCopyInto ¶
func (in *DriverList) DeepCopyInto(out *DriverList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DriverList) DeepCopyObject ¶
func (in *DriverList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DriverSpec ¶
type DriverSpec struct { // +kubebuilder:validation:Enum=do;aws;gcp;azure;k3s-local Provider string `json:"provider"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` SecretRef string `json:"secretRef"` }
DriverSpec defines the desired state of Driver
func (*DriverSpec) DeepCopy ¶
func (in *DriverSpec) DeepCopy() *DriverSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverSpec.
func (*DriverSpec) DeepCopyInto ¶
func (in *DriverSpec) DeepCopyInto(out *DriverSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.