Documentation ¶
Overview ¶
Package sgcrd contains API Schema definitions for the StorageGroup v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersionStorageGroup is group version used to register these objects GroupVersionStorageGroup = schema.GroupVersion{Group: v1.CSICRsGroupVersion, Version: v1.Version} // SchemeBuilderStorageGroup is used to add go types to the GroupVersionKind scheme SchemeBuilderStorageGroup = &crScheme.Builder{GroupVersion: GroupVersionStorageGroup} // AddToSchemeStorageGroup adds the types in this group-version to the given scheme. AddToSchemeStorageGroup = SchemeBuilderStorageGroup.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type StorageGroup ¶
type StorageGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="updates to storagegroup spec are forbidden" Spec api.StorageGroupSpec `json:"spec,omitempty"` Status api.StorageGroupStatus `json:"status,omitempty"` }
StorageGroup is the Schema for the StorageGroups API +kubebuilder:resource:scope=Cluster,shortName={sg,sgs} +kubebuilder:printcolumn:name="DRIVES_PER_NODE",type="string",JSONPath=".spec.driveSelector.numberDrivesPerNode",description="numberDrivesPerNode of StorageGroup's DriveSelector" +kubebuilder:printcolumn:name="DRIVE_FIELDS",type="string",JSONPath=".spec.driveSelector.matchFields",description="Match Fields of StorageGroup's DriveSelector to Select Drives on Field Values" +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.phase",description="status of StorageGroup"
func (*StorageGroup) DeepCopy ¶
func (in *StorageGroup) DeepCopy() *StorageGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageGroup.
func (*StorageGroup) DeepCopyInto ¶
func (in *StorageGroup) DeepCopyInto(out *StorageGroup)
func (*StorageGroup) DeepCopyObject ¶
func (in *StorageGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StorageGroupList ¶
type StorageGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []StorageGroup `json:"items"` }
StorageGroupList contains a list of StorageGroup +kubebuilder:object:generate=true
func (*StorageGroupList) DeepCopy ¶
func (in *StorageGroupList) DeepCopy() *StorageGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageGroupList.
func (*StorageGroupList) DeepCopyInto ¶
func (in *StorageGroupList) DeepCopyInto(out *StorageGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageGroupList) DeepCopyObject ¶
func (in *StorageGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.