sgcrd

package
v1.5.0-659.f45d675 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL