Documentation ¶
Overview ¶
Package volumecrd contains API Schema definitions for the volume v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: v1.CSICRsGroupVersion, Version: v1.Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &crScheme.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 Volume ¶
type Volume struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec api.Volume `json:"spec,omitempty"` }
Volume is the Schema for the volumes API +kubebuilder:resource:scope=Namespaced +kubebuilder:printcolumn:name="SIZE",type="string",JSONPath=".spec.Size",description="Volume allocated size" +kubebuilder:printcolumn:name="STORAGE CLASS",type="string",JSONPath=".spec.StorageClass",description="Volume storage class" +kubebuilder:printcolumn:name="HEALTH",type="string",JSONPath=".spec.Health",description="Volume health status" +kubebuilder:printcolumn:name="CSI_STATUS",type="string",JSONPath=".spec.CSIStatus",description="Volume internal CSI status" +kubebuilder:printcolumn:name="OP_STATUS",type="string",JSONPath=".spec.OperationalStatus",description="Volume operational status",priority=1 +kubebuilder:printcolumn:name="USAGE",type="string",JSONPath=".spec.Usage",description="Volume usage status",priority=1 +kubebuilder:printcolumn:name="TYPE",type="string",JSONPath=".spec.Type",description="Volume fs type",priority=1 +kubebuilder:printcolumn:name="LOCATION",type="string",JSONPath=".spec.Location",description="Volume LVG or drive location" +kubebuilder:printcolumn:name="NODE",type="string",JSONPath=".spec.NodeId",description="Volume node location"
func (*Volume) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
Need to declare this method because api.Volume doesn't have DeepCopyInto
func (*Volume) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeList ¶
type VolumeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Volume `json:"items"` }
VolumeList contains a list of Volume +kubebuilder:object:generate=true
func (*VolumeList) DeepCopy ¶
func (in *VolumeList) DeepCopy() *VolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeList.
func (*VolumeList) DeepCopyInto ¶
func (in *VolumeList) DeepCopyInto(out *VolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeList) DeepCopyObject ¶
func (in *VolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.