lvgcrd

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

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

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

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.

Jump to

Keyboard shortcuts

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