Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
// AddToScheme helps add all the stored functions to the scheme
AddToScheme = localSchemeBuilder.AddToScheme
)
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 ¶
func (in *CnsVSphereVolumeMigration) DeepCopy() *CnsVSphereVolumeMigration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnsVSphereVolumeMigration.
func (*CnsVSphereVolumeMigration) DeepCopyInto ¶
func (in *CnsVSphereVolumeMigration) DeepCopyInto(out *CnsVSphereVolumeMigration)
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 ¶
func (in *CnsVSphereVolumeMigrationList) DeepCopy() *CnsVSphereVolumeMigrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnsVSphereVolumeMigrationList.
func (*CnsVSphereVolumeMigrationList) DeepCopyInto ¶
func (in *CnsVSphereVolumeMigrationList) DeepCopyInto(out *CnsVSphereVolumeMigrationList)
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 ¶
func (in *CnsVSphereVolumeMigrationSpec) DeepCopy() *CnsVSphereVolumeMigrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnsVSphereVolumeMigrationSpec.
func (*CnsVSphereVolumeMigrationSpec) DeepCopyInto ¶
func (in *CnsVSphereVolumeMigrationSpec) DeepCopyInto(out *CnsVSphereVolumeMigrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.