accrd

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: 2

Documentation

Overview

Package accrd contains API Schema definitions for the available capacity v1 API group +groupName=csi-baremetal.dell.com +versionName=v1

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersionAvailableCapacity is group version used to register these objects
	GroupVersionAvailableCapacity = schema.GroupVersion{Group: v1.CSICRsGroupVersion, Version: v1.Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilderAvailableCapacity = &crScheme.Builder{GroupVersion: GroupVersionAvailableCapacity}

	// AddToSchemeAvailableCapacity adds the types in this group-version to the given scheme.
	AddToSchemeAvailableCapacity = SchemeBuilderAvailableCapacity.AddToScheme
)

Functions

This section is empty.

Types

type AvailableCapacity

type AvailableCapacity struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              api.AvailableCapacity `json:"spec,omitempty"`
}

AvailableCapacity is the Schema for the availablecapacities API +kubebuilder:resource:scope=Cluster,shortName={ac,acs} +kubebuilder:printcolumn:name="SIZE",type="string",JSONPath=".spec.Size",description="Size of AvailableCapacity" +kubebuilder:printcolumn:name="STORAGE CLASS",type="string",JSONPath=".spec.storageClass",description="StorageClass of AvailableCapacity" +kubebuilder:printcolumn:name="LOCATION",type="string",JSONPath=".spec.Location",description="Drive/LVG UUID used by AvailableCapacity" +kubebuilder:printcolumn:name="NODE",type="string",JSONPath=".spec.NodeId",description="Node id of Available Capacity"

func (*AvailableCapacity) DeepCopy

func (in *AvailableCapacity) DeepCopy() *AvailableCapacity

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableCapacity.

func (*AvailableCapacity) DeepCopyInto

func (in *AvailableCapacity) DeepCopyInto(out *AvailableCapacity)

func (*AvailableCapacity) DeepCopyObject

func (in *AvailableCapacity) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AvailableCapacityList

type AvailableCapacityList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AvailableCapacity `json:"items"`
}

AvailableCapacityList contains a list of AvailableCapacity +kubebuilder:object:generate=true

func (*AvailableCapacityList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableCapacityList.

func (*AvailableCapacityList) DeepCopyInto

func (in *AvailableCapacityList) DeepCopyInto(out *AvailableCapacityList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AvailableCapacityList) DeepCopyObject

func (in *AvailableCapacityList) 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