Documentation ¶
Overview ¶
Package apis v1alpha1 contains API Schema definitions for the cns v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=cns.vmware.com
Index ¶
Constants ¶
const ( // AttributeFirstClassDiskUUID is the SCSI Disk Identifier AttributeFirstClassDiskUUID = "diskUUID" // AttributeCnsVolumeID represents the volume ID in CNS. AttributeCnsVolumeID = "cnsVolumeId" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cns.vmware.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type CnsNodeVmAttachment ¶
type CnsNodeVmAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CnsNodeVmAttachmentSpec `json:"spec,omitempty"` Status CnsNodeVmAttachmentStatus `json:"status,omitempty"` }
CnsNodeVmAttachment is the Schema for the cnsnodevmattachments API
func (*CnsNodeVmAttachment) DeepCopy ¶
func (in *CnsNodeVmAttachment) DeepCopy() *CnsNodeVmAttachment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnsNodeVmAttachment.
func (*CnsNodeVmAttachment) DeepCopyInto ¶
func (in *CnsNodeVmAttachment) DeepCopyInto(out *CnsNodeVmAttachment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CnsNodeVmAttachment) DeepCopyObject ¶
func (in *CnsNodeVmAttachment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CnsNodeVmAttachmentList ¶
type CnsNodeVmAttachmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CnsNodeVmAttachment `json:"items"` }
CnsNodeVmAttachmentList contains a list of CnsNodeVmAttachment
func (*CnsNodeVmAttachmentList) DeepCopy ¶
func (in *CnsNodeVmAttachmentList) DeepCopy() *CnsNodeVmAttachmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnsNodeVmAttachmentList.
func (*CnsNodeVmAttachmentList) DeepCopyInto ¶
func (in *CnsNodeVmAttachmentList) DeepCopyInto(out *CnsNodeVmAttachmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CnsNodeVmAttachmentList) DeepCopyObject ¶
func (in *CnsNodeVmAttachmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CnsNodeVmAttachmentSpec ¶
type CnsNodeVmAttachmentSpec struct { // NodeUUID indicates the UUID of the node where the volume needs to be attached to. // Here NodeUUID is the bios UUID of the node. NodeUUID string `json:"nodeuuid"` // VolumeName indicates the name of the volume on the supervisor Cluster. // This is guaranteed to be unique in Supervisor cluster. VolumeName string `json:"volumename"` }
CnsNodeVmAttachmentSpec defines the desired state of CnsNodeVmAttachment +k8s:openapi-gen=true
func (*CnsNodeVmAttachmentSpec) DeepCopy ¶
func (in *CnsNodeVmAttachmentSpec) DeepCopy() *CnsNodeVmAttachmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnsNodeVmAttachmentSpec.
func (*CnsNodeVmAttachmentSpec) DeepCopyInto ¶
func (in *CnsNodeVmAttachmentSpec) DeepCopyInto(out *CnsNodeVmAttachmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CnsNodeVmAttachmentStatus ¶
type CnsNodeVmAttachmentStatus struct { // Indicates the volume is successfully attached. // This field must only be set by the entity completing the attach // operation, i.e. the CNS Operator. Attached bool `json:"attached"` // Before successful attach, this field is populated with CNS volume ID. // Upon successful attach, this field is populated with any information // returned by the attach operation. This field must only be set by the entity // completing the attach operation, i.e. the CNS Operator AttachmentMetadata map[string]string `json:"metadata,omitempty"` // The last error encountered during attach/detach operation, if any. // This field must only be set by the entity completing the attach // operation, i.e. the CNS Operator. // +optional Error string `json:"error,omitempty"` }
CnsNodeVmAttachmentStatus defines the observed state of CnsNodeVmAttachment +k8s:openapi-gen=true
func (*CnsNodeVmAttachmentStatus) DeepCopy ¶
func (in *CnsNodeVmAttachmentStatus) DeepCopy() *CnsNodeVmAttachmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnsNodeVmAttachmentStatus.
func (*CnsNodeVmAttachmentStatus) DeepCopyInto ¶
func (in *CnsNodeVmAttachmentStatus) DeepCopyInto(out *CnsNodeVmAttachmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.