Documentation ¶
Overview ¶
Package lvgcrd contains API Schema definitions for the LogicalVolumeGroup v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersionLVG is group version used to register these objects GroupVersionLVG = schema.GroupVersion{Group: v1.CSICRsGroupVersion, Version: v1.Version} // SchemeBuilderLVG is used to add go types to the GroupVersionKind scheme SchemeBuilderLVG = &crScheme.Builder{GroupVersion: GroupVersionLVG} // AddToSchemeLVG adds the types in this group-version to the given scheme. AddToSchemeLVG = SchemeBuilderLVG.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type LogicalVolumeGroup ¶
type LogicalVolumeGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec api.LogicalVolumeGroup `json:"spec,omitempty"` }
LogicalVolumeGroup is the Schema for the LVGs API +kubebuilder:resource:scope=Cluster,shortName={lvg,lvgs} +kubebuilder:printcolumn:name="SIZE",type="string",JSONPath=".spec.Size",description="Size of Logical volume group" +kubebuilder:printcolumn:name="HEALTH",type="string",JSONPath=".spec.Health",description="LVG health" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".spec.Status",description="LVG status",priority=1 +kubebuilder:printcolumn:name="LOCATIONS",type="string",JSONPath=".spec.Locations",description="LVG drives locations list" +kubebuilder:printcolumn:name="NODE",type="string",JSONPath=".spec.Node",description="LVG node location" +kubebuilder:printcolumn:name="VOLUMES",type="string",JSONPath=".spec.VolumeRefs",description="Volume references",priority=1
func (*LogicalVolumeGroup) DeepCopy ¶
func (in *LogicalVolumeGroup) DeepCopy() *LogicalVolumeGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalVolumeGroup.
func (*LogicalVolumeGroup) DeepCopyInto ¶
func (in *LogicalVolumeGroup) DeepCopyInto(out *LogicalVolumeGroup)
Need to declare this method because api.LogicalVolumeGroup doesn't have DeepCopyInto
func (*LogicalVolumeGroup) DeepCopyObject ¶
func (in *LogicalVolumeGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogicalVolumeGroupList ¶
type LogicalVolumeGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogicalVolumeGroup `json:"items"` }
LogicalVolumeGroupList contains a list of LogicalVolumeGroup +kubebuilder:object:generate=true
func (*LogicalVolumeGroupList) DeepCopy ¶
func (in *LogicalVolumeGroupList) DeepCopy() *LogicalVolumeGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalVolumeGroupList.
func (*LogicalVolumeGroupList) DeepCopyInto ¶
func (in *LogicalVolumeGroupList) DeepCopyInto(out *LogicalVolumeGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalVolumeGroupList) DeepCopyObject ¶
func (in *LogicalVolumeGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.