Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=independent.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Disk
- func (in *Disk) DeepCopy() *Disk
- func (in *Disk) DeepCopyInto(out *Disk)
- func (in *Disk) DeepCopyObject() runtime.Object
- func (mg *Disk) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Disk) GetConnectionDetailsMapping() map[string]string
- func (mg *Disk) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Disk) GetID() string
- func (mg *Disk) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Disk) GetObservation() (map[string]any, error)
- func (tr *Disk) GetParameters() (map[string]any, error)
- func (mg *Disk) GetProviderConfigReference() *xpv1.Reference
- func (mg *Disk) GetProviderReference() *xpv1.Reference
- func (mg *Disk) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Disk) GetTerraformResourceType() string
- func (tr *Disk) GetTerraformSchemaVersion() int
- func (mg *Disk) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Disk) LateInitialize(attrs []byte) (bool, error)
- func (mg *Disk) SetConditions(c ...xpv1.Condition)
- func (mg *Disk) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Disk) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Disk) SetObservation(obs map[string]any) error
- func (tr *Disk) SetParameters(params map[string]any) error
- func (mg *Disk) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Disk) SetProviderReference(r *xpv1.Reference)
- func (mg *Disk) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Disk) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DiskList
- type DiskObservation
- type DiskParameters
- type DiskSpec
- type DiskStatus
- type MetadataEntryObservation
- type MetadataEntryParameters
Constants ¶
const ( CRDGroup = "independent.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Disk_Kind = "Disk" Disk_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Disk_Kind}.String() Disk_KindAPIVersion = Disk_Kind + "." + CRDGroupVersion.String() Disk_GroupVersionKind = CRDGroupVersion.WithKind(Disk_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Disk ¶
type Disk struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.sizeInMb)",message="sizeInMb is a required parameter" Spec DiskSpec `json:"spec"` Status DiskStatus `json:"status,omitempty"` }
Disk is the Schema for the Disks API. Provides a VMware Cloud Director independent disk resource. This can be used to create and delete independent disks. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vcd}
func (*Disk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Disk.
func (*Disk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Disk) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Disk) GetCondition ¶
func (mg *Disk) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Disk.
func (*Disk) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Disk
func (*Disk) GetDeletionPolicy ¶
func (mg *Disk) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Disk.
func (*Disk) GetManagementPolicy ¶
func (mg *Disk) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Disk.
func (*Disk) GetObservation ¶
GetObservation of this Disk
func (*Disk) GetParameters ¶
GetParameters of this Disk
func (*Disk) GetProviderConfigReference ¶
GetProviderConfigReference of this Disk.
func (*Disk) GetProviderReference ¶
GetProviderReference of this Disk. Deprecated: Use GetProviderConfigReference.
func (*Disk) GetPublishConnectionDetailsTo ¶
func (mg *Disk) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Disk.
func (*Disk) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Disk
func (*Disk) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Disk) GetWriteConnectionSecretToReference ¶
func (mg *Disk) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Disk.
func (*Disk) LateInitialize ¶
LateInitialize this Disk using its observed tfState. returns True if there are any spec changes for the resource.
func (*Disk) SetConditions ¶
SetConditions of this Disk.
func (*Disk) SetDeletionPolicy ¶
func (mg *Disk) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Disk.
func (*Disk) SetManagementPolicy ¶
func (mg *Disk) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Disk.
func (*Disk) SetObservation ¶
SetObservation for this Disk
func (*Disk) SetParameters ¶
SetParameters for this Disk
func (*Disk) SetProviderConfigReference ¶
SetProviderConfigReference of this Disk.
func (*Disk) SetProviderReference ¶
SetProviderReference of this Disk. Deprecated: Use SetProviderConfigReference.
func (*Disk) SetPublishConnectionDetailsTo ¶
func (mg *Disk) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Disk.
func (*Disk) SetWriteConnectionSecretToReference ¶
func (mg *Disk) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Disk.
type DiskList ¶
type DiskList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Disk `json:"items"` }
DiskList contains a list of Disks
func (*DiskList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskList.
func (*DiskList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiskList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DiskObservation ¶
type DiskObservation struct { // (Computed, v3.6+) IDs of VM which are using the disk // Set of VM IDs which are using the disk AttachedVMIds []*string `json:"attachedVmIds,omitempty" tf:"attached_vm_ids,omitempty"` // Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME BusSubType *string `json:"busSubType,omitempty" tf:"bus_sub_type,omitempty"` // Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off BusType *string `json:"busType,omitempty" tf:"bus_type,omitempty"` // (Computed) Data store name. Readable only for system user. // Datastore name DatastoreName *string `json:"datastoreName,omitempty" tf:"datastore_name,omitempty"` // independent disk description Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted // True if disk is encrypted Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Computed) IOPS request for the created disk // IOPS request for the created disk Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"` // (Computed) True if the disk is already attached // True if the disk is already attached IsAttached *bool `json:"isAttached,omitempty" tf:"is_attached,omitempty"` // (Deprecated; v3.6+) Use metadata_entry instead. Key value map of metadata to assign to this independent disk. // Key value map of metadata to assign to this disk. Key and value can be any string. Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // A set of metadata entries to assign. See Metadata section for details. // Metadata entries for the given Disk MetadataEntry []MetadataEntryObservation `json:"metadataEntry,omitempty" tf:"metadata_entry,omitempty"` // Disk name Name *string `json:"name,omitempty" tf:"name,omitempty"` // The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations // The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations Org *string `json:"org,omitempty" tf:"org,omitempty"` // (Computed) The owner name of the disk // The owner name of the disk OwnerName *string `json:"ownerName,omitempty" tf:"owner_name,omitempty"` // This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None // This is the sharing type. This attribute can only have values defined one of: `DiskSharing`,`ControllerSharing`, `None` SharingType *string `json:"sharingType,omitempty" tf:"sharing_type,omitempty"` // Size of disk in MB. // size in MB SizeInMb *float64 `json:"sizeInMb,omitempty" tf:"size_in_mb,omitempty"` // The name of storage profile where disk will be created StorageProfile *string `json:"storageProfile,omitempty" tf:"storage_profile,omitempty"` // (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing // The UUID of this named disk's device backing UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"` // The name of VDC to use, optional if defined at provider level // The name of VDC to use, optional if defined at provider level Vdc *string `json:"vdc,omitempty" tf:"vdc,omitempty"` }
func (*DiskObservation) DeepCopy ¶
func (in *DiskObservation) DeepCopy() *DiskObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskObservation.
func (*DiskObservation) DeepCopyInto ¶
func (in *DiskObservation) DeepCopyInto(out *DiskObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskParameters ¶
type DiskParameters struct { // Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME // +kubebuilder:validation:Optional BusSubType *string `json:"busSubType,omitempty" tf:"bus_sub_type,omitempty"` // Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off // +kubebuilder:validation:Optional BusType *string `json:"busType,omitempty" tf:"bus_type,omitempty"` // independent disk description // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Deprecated; v3.6+) Use metadata_entry instead. Key value map of metadata to assign to this independent disk. // Key value map of metadata to assign to this disk. Key and value can be any string. // +kubebuilder:validation:Optional Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // A set of metadata entries to assign. See Metadata section for details. // Metadata entries for the given Disk // +kubebuilder:validation:Optional MetadataEntry []MetadataEntryParameters `json:"metadataEntry,omitempty" tf:"metadata_entry,omitempty"` // Disk name // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations // The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations // +kubebuilder:validation:Optional Org *string `json:"org,omitempty" tf:"org,omitempty"` // This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None // This is the sharing type. This attribute can only have values defined one of: `DiskSharing`,`ControllerSharing`, `None` // +kubebuilder:validation:Optional SharingType *string `json:"sharingType,omitempty" tf:"sharing_type,omitempty"` // Size of disk in MB. // size in MB // +kubebuilder:validation:Optional SizeInMb *float64 `json:"sizeInMb,omitempty" tf:"size_in_mb,omitempty"` // The name of storage profile where disk will be created // +kubebuilder:validation:Optional StorageProfile *string `json:"storageProfile,omitempty" tf:"storage_profile,omitempty"` // The name of VDC to use, optional if defined at provider level // The name of VDC to use, optional if defined at provider level // +kubebuilder:validation:Optional Vdc *string `json:"vdc,omitempty" tf:"vdc,omitempty"` }
func (*DiskParameters) DeepCopy ¶
func (in *DiskParameters) DeepCopy() *DiskParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskParameters.
func (*DiskParameters) DeepCopyInto ¶
func (in *DiskParameters) DeepCopyInto(out *DiskParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskSpec ¶
type DiskSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DiskParameters `json:"forProvider"` }
DiskSpec defines the desired state of Disk
func (*DiskSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSpec.
func (*DiskSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskStatus ¶
type DiskStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DiskObservation `json:"atProvider,omitempty"` }
DiskStatus defines the observed state of Disk.
func (*DiskStatus) DeepCopy ¶
func (in *DiskStatus) DeepCopy() *DiskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskStatus.
func (*DiskStatus) DeepCopyInto ¶
func (in *DiskStatus) DeepCopyInto(out *DiskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataEntryObservation ¶
type MetadataEntryObservation struct { // Domain for this metadata entry. true if it belongs to SYSTEM, false if it belongs to GENERAL. // Domain for this metadata entry. true if it belongs to SYSTEM, false if it belongs to GENERAL IsSystem *bool `json:"isSystem,omitempty" tf:"is_system,omitempty"` // Key of this metadata entry. // Key of this metadata entry. Required if the metadata entry is not empty Key *string `json:"key,omitempty" tf:"key,omitempty"` // Type of this metadata entry. One of: MetadataStringValue, MetadataNumberValue, MetadataDateTimeValue, MetadataBooleanValue. // Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue' Type *string `json:"type,omitempty" tf:"type,omitempty"` // User access level for this metadata entry. One of: PRIVATE (hidden), READONLY (read only), READWRITE (read/write). // User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE' UserAccess *string `json:"userAccess,omitempty" tf:"user_access,omitempty"` // Value of this metadata entry. // Value of this metadata entry. Required if the metadata entry is not empty Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*MetadataEntryObservation) DeepCopy ¶
func (in *MetadataEntryObservation) DeepCopy() *MetadataEntryObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataEntryObservation.
func (*MetadataEntryObservation) DeepCopyInto ¶
func (in *MetadataEntryObservation) DeepCopyInto(out *MetadataEntryObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataEntryParameters ¶
type MetadataEntryParameters struct { // Domain for this metadata entry. true if it belongs to SYSTEM, false if it belongs to GENERAL. // Domain for this metadata entry. true if it belongs to SYSTEM, false if it belongs to GENERAL // +kubebuilder:validation:Optional IsSystem *bool `json:"isSystem,omitempty" tf:"is_system,omitempty"` // Key of this metadata entry. // Key of this metadata entry. Required if the metadata entry is not empty // +kubebuilder:validation:Optional Key *string `json:"key,omitempty" tf:"key,omitempty"` // Type of this metadata entry. One of: MetadataStringValue, MetadataNumberValue, MetadataDateTimeValue, MetadataBooleanValue. // Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue' // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` // User access level for this metadata entry. One of: PRIVATE (hidden), READONLY (read only), READWRITE (read/write). // User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE' // +kubebuilder:validation:Optional UserAccess *string `json:"userAccess,omitempty" tf:"user_access,omitempty"` // Value of this metadata entry. // Value of this metadata entry. Required if the metadata entry is not empty // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*MetadataEntryParameters) DeepCopy ¶
func (in *MetadataEntryParameters) DeepCopy() *MetadataEntryParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataEntryParameters.
func (*MetadataEntryParameters) DeepCopyInto ¶
func (in *MetadataEntryParameters) DeepCopyInto(out *MetadataEntryParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.