Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=virtualdisk.vsphere.upbound.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 (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 (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
Constants ¶
const ( CRDGroup = "virtualdisk.vsphere.upbound.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"` Spec DiskSpec `json:"spec"` Status DiskStatus `json:"status,omitempty"` }
Disk is the Schema for the Disks API. Provides a vSphere virtual disk resource. This can be used to create and delete virtual 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,vsphere}
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) 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) 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 {
ID *string `json:"id,omitempty" tf:"id,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 { // The adapter type for this virtual disk. Can be // one of ide, lsiLogic, or busLogic. Default: lsiLogic. // +kubebuilder:validation:Optional AdapterType *string `json:"adapterType,omitempty" tf:"adapter_type,omitempty"` // Tells the resource to create any // directories that are a part of the vmdk_path parameter if they are missing. // Default: false. // +kubebuilder:validation:Optional CreateDirectories *bool `json:"createDirectories,omitempty" tf:"create_directories,omitempty"` // The name of the datacenter in which to create the // disk. Can be omitted when when ESXi or if there is only one datacenter in // your infrastructure. // +kubebuilder:validation:Optional Datacenter *string `json:"datacenter,omitempty" tf:"datacenter,omitempty"` // The name of the datastore in which to create the // disk. // +kubebuilder:validation:Required Datastore *string `json:"datastore" tf:"datastore,omitempty"` // Size of the disk (in GB). // +kubebuilder:validation:Required Size *float64 `json:"size" tf:"size,omitempty"` // The type of disk to create. Can be one of // eagerZeroedThick, lazy, or thin. Default: eagerZeroedThick. For // information on what each kind of disk provisioning policy means, click // here. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,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.