v1alpha1

package
v3.0.2-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 CnsVSphereVolumeMigration

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

	Spec CnsVSphereVolumeMigrationSpec `json:"spec,omitempty"`
}

CnsVSphereVolumeMigration is the Schema for the cnsvspherevolumemigrations API

func (*CnsVSphereVolumeMigration) DeepCopy

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

func (*CnsVSphereVolumeMigration) DeepCopyInto

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

func (*CnsVSphereVolumeMigration) DeepCopyObject

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

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

type CnsVSphereVolumeMigrationList

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

CnsVSphereVolumeMigrationList contains a list of CnsVSphereVolumeMigration

func (*CnsVSphereVolumeMigrationList) DeepCopy

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

func (*CnsVSphereVolumeMigrationList) DeepCopyInto

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

func (*CnsVSphereVolumeMigrationList) DeepCopyObject

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

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

type CnsVSphereVolumeMigrationSpec

type CnsVSphereVolumeMigrationSpec struct {
	// VolumePath is the vmdk path of the vSphere Volume
	VolumePath string `json:"volumepath"`
	// VolumeID is the FCD ID obtained after register volume with CNS.
	VolumeID string `json:"volumeid"`
	// ProtectVolumeFromVMDelete true means migrated volumes is protected from Node VM deletion
	ProtectVolumeFromVMDelete bool `json:"protectvolumefromvmdelete"`
}

CnsVSphereVolumeMigrationSpec defines the desired state of CnsVSphereVolumeMigration

func (*CnsVSphereVolumeMigrationSpec) DeepCopy

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

func (*CnsVSphereVolumeMigrationSpec) DeepCopyInto

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