v1alpha1

package
v3.3.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CRDSingular represents the singular name of CNSVolumeInfo CRD.
	CRDSingular = "cnsvolumeinfo"
)

Variables

View Source
var (

	// AddToScheme helps add all the stored functions to the scheme
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   "cns.vmware.com",
	Version: "v1alpha1",
}

SchemeGroupVersion define schema Group and version

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type CNSVolumeInfo

type CNSVolumeInfo struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec CNSVolumeInfoSpec `json:"spec"`
}

CNSVolumeInfo is the Schema for the cnsvolumeinfoes API

func (*CNSVolumeInfo) DeepCopy

func (in *CNSVolumeInfo) DeepCopy() *CNSVolumeInfo

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

func (*CNSVolumeInfo) DeepCopyInto

func (in *CNSVolumeInfo) DeepCopyInto(out *CNSVolumeInfo)

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

func (*CNSVolumeInfo) DeepCopyObject

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

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

type CNSVolumeInfoList

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

CNSVolumeInfoList contains a list of CNSVolumeInfo

func (*CNSVolumeInfoList) DeepCopy

func (in *CNSVolumeInfoList) DeepCopy() *CNSVolumeInfoList

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

func (*CNSVolumeInfoList) DeepCopyInto

func (in *CNSVolumeInfoList) DeepCopyInto(out *CNSVolumeInfoList)

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

func (*CNSVolumeInfoList) DeepCopyObject

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

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

type CNSVolumeInfoSpec

type CNSVolumeInfoSpec struct {

	// VolumeID is the FCD ID obtained from creating volume using CNS API.
	VolumeID string `json:"volumeID"`

	// Namespace of the PersistentVolumeClaim.
	Namespace string `json:"namespace,omitempty"`

	// vCenterServer is the IP/FQDN of the vCenter host on which the CNS volume is accessible.
	VCenterServer string `json:"vCenterServer"`

	// ID of the storage policy
	StoragePolicyID string `json:"storagePolicyID,omitempty"`

	// Name of the storage class
	StorageClassName string `json:"storageClassName,omitempty"`

	// Capacity stores the current capacity of the PersistentVolume this volume represents.
	Capacity *resource.Quantity `json:"capacity,omitempty"`
}

CNSVolumeInfoSpec defines the desired state of CNSVolumeInfo

func (*CNSVolumeInfoSpec) DeepCopy

func (in *CNSVolumeInfoSpec) DeepCopy() *CNSVolumeInfoSpec

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

func (*CNSVolumeInfoSpec) DeepCopyInto

func (in *CNSVolumeInfoSpec) DeepCopyInto(out *CNSVolumeInfoSpec)

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

Jump to

Keyboard shortcuts

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