Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=vm.xenorchestra.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CdromObservation
- type CdromParameters
- type DiskObservation
- type DiskParameters
- type NetworkObservation
- type NetworkParameters
- type VM
- func (in *VM) DeepCopy() *VM
- func (in *VM) DeepCopyInto(out *VM)
- func (in *VM) DeepCopyObject() runtime.Object
- func (mg *VM) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *VM) GetConnectionDetailsMapping() map[string]string
- func (mg *VM) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *VM) GetID() string
- func (tr *VM) GetObservation() (map[string]interface{}, error)
- func (tr *VM) GetParameters() (map[string]interface{}, error)
- func (mg *VM) GetProviderConfigReference() *xpv1.Reference
- func (mg *VM) GetProviderReference() *xpv1.Reference
- func (mg *VM) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *VM) GetTerraformResourceType() string
- func (tr *VM) GetTerraformSchemaVersion() int
- func (mg *VM) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *VM) LateInitialize(attrs []byte) (bool, error)
- func (mg *VM) SetConditions(c ...xpv1.Condition)
- func (mg *VM) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *VM) SetObservation(obs map[string]interface{}) error
- func (tr *VM) SetParameters(params map[string]interface{}) error
- func (mg *VM) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VM) SetProviderReference(r *xpv1.Reference)
- func (mg *VM) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *VM) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VMList
- type VMObservation
- type VMParameters
- type VMSpec
- type VMStatus
Constants ¶
const ( CRDGroup = "vm.xenorchestra.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( VM_Kind = "VM" VM_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VM_Kind}.String() VM_KindAPIVersion = VM_Kind + "." + CRDGroupVersion.String() VM_GroupVersionKind = CRDGroupVersion.WithKind(VM_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type CdromObservation ¶
type CdromObservation struct { }
func (*CdromObservation) DeepCopy ¶
func (in *CdromObservation) DeepCopy() *CdromObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CdromObservation.
func (*CdromObservation) DeepCopyInto ¶
func (in *CdromObservation) DeepCopyInto(out *CdromObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CdromParameters ¶
type CdromParameters struct { // +kubebuilder:validation:Required ID *string `json:"id" tf:"id,omitempty"` }
func (*CdromParameters) DeepCopy ¶
func (in *CdromParameters) DeepCopy() *CdromParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CdromParameters.
func (*CdromParameters) DeepCopyInto ¶
func (in *CdromParameters) DeepCopyInto(out *CdromParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskObservation ¶
type DiskObservation struct { Position *string `json:"position,omitempty" tf:"position,omitempty"` VbdID *string `json:"vbdId,omitempty" tf:"vbd_id,omitempty"` VdiID *string `json:"vdiId,omitempty" tf:"vdi_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 { // +kubebuilder:validation:Optional Attached *bool `json:"attached,omitempty" tf:"attached,omitempty"` // +kubebuilder:validation:Optional NameDescription *string `json:"nameDescription,omitempty" tf:"name_description,omitempty"` // +kubebuilder:validation:Required NameLabel *string `json:"nameLabel" tf:"name_label,omitempty"` // +kubebuilder:validation:Required Size *float64 `json:"size" tf:"size,omitempty"` // +kubebuilder:validation:Required SrID *string `json:"srId" tf:"sr_id,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 NetworkObservation ¶
type NetworkObservation struct { Device *string `json:"device,omitempty" tf:"device,omitempty"` IPv4Addresses []*string `json:"ipv4Addresses,omitempty" tf:"ipv4_addresses,omitempty"` IPv6Addresses []*string `json:"ipv6Addresses,omitempty" tf:"ipv6_addresses,omitempty"` }
func (*NetworkObservation) DeepCopy ¶
func (in *NetworkObservation) DeepCopy() *NetworkObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkObservation.
func (*NetworkObservation) DeepCopyInto ¶
func (in *NetworkObservation) DeepCopyInto(out *NetworkObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkParameters ¶
type NetworkParameters struct { // +kubebuilder:validation:Optional Attached *bool `json:"attached,omitempty" tf:"attached,omitempty"` // +kubebuilder:validation:Optional MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` // +kubebuilder:validation:Required NetworkID *string `json:"networkId" tf:"network_id,omitempty"` }
func (*NetworkParameters) DeepCopy ¶
func (in *NetworkParameters) DeepCopy() *NetworkParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkParameters.
func (*NetworkParameters) DeepCopyInto ¶
func (in *NetworkParameters) DeepCopyInto(out *NetworkParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VM ¶
type VM struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VMSpec `json:"spec"` Status VMStatus `json:"status,omitempty"` }
VM is the Schema for the VMs API +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,xenorchestrajet}
func (*VM) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VM.
func (*VM) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VM) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VM) GetCondition ¶
func (mg *VM) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this VM.
func (*VM) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this VM
func (*VM) GetDeletionPolicy ¶
func (mg *VM) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this VM.
func (*VM) GetObservation ¶
GetObservation of this VM
func (*VM) GetParameters ¶
GetParameters of this VM
func (*VM) GetProviderConfigReference ¶
GetProviderConfigReference of this VM.
func (*VM) GetProviderReference ¶
GetProviderReference of this VM. Deprecated: Use GetProviderConfigReference.
func (*VM) GetPublishConnectionDetailsTo ¶
func (mg *VM) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this VM.
func (*VM) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this VM
func (*VM) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*VM) GetWriteConnectionSecretToReference ¶
func (mg *VM) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this VM.
func (*VM) LateInitialize ¶
LateInitialize this VM using its observed tfState. returns True if there are any spec changes for the resource.
func (*VM) SetConditions ¶
SetConditions of this VM.
func (*VM) SetDeletionPolicy ¶
func (mg *VM) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this VM.
func (*VM) SetObservation ¶
SetObservation for this VM
func (*VM) SetParameters ¶
SetParameters for this VM
func (*VM) SetProviderConfigReference ¶
SetProviderConfigReference of this VM.
func (*VM) SetProviderReference ¶
SetProviderReference of this VM. Deprecated: Use SetProviderConfigReference.
func (*VM) SetPublishConnectionDetailsTo ¶
func (mg *VM) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this VM.
func (*VM) SetWriteConnectionSecretToReference ¶
func (mg *VM) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this VM.
type VMList ¶
type VMList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VM `json:"items"` }
VMList contains a list of VMs
func (*VMList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMList.
func (*VMList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VMList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VMObservation ¶
type VMObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` IPv4Addresses []*string `json:"ipv4Addresses,omitempty" tf:"ipv4_addresses,omitempty"` IPv6Addresses []*string `json:"ipv6Addresses,omitempty" tf:"ipv6_addresses,omitempty"` PowerState *string `json:"powerState,omitempty" tf:"power_state,omitempty"` }
func (*VMObservation) DeepCopy ¶
func (in *VMObservation) DeepCopy() *VMObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMObservation.
func (*VMObservation) DeepCopyInto ¶
func (in *VMObservation) DeepCopyInto(out *VMObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMParameters ¶
type VMParameters struct { // +kubebuilder:validation:Optional AffinityHost *string `json:"affinityHost,omitempty" tf:"affinity_host,omitempty"` // +kubebuilder:validation:Optional AutoPoweron *bool `json:"autoPoweron,omitempty" tf:"auto_poweron,omitempty"` // +kubebuilder:validation:Optional BlockedOperations []*string `json:"blockedOperations,omitempty" tf:"blocked_operations,omitempty"` // +kubebuilder:validation:Optional CPUCap *float64 `json:"cpuCap,omitempty" tf:"cpu_cap,omitempty"` // +kubebuilder:validation:Optional CPUWeight *float64 `json:"cpuWeight,omitempty" tf:"cpu_weight,omitempty"` // +kubebuilder:validation:Optional Cdrom []CdromParameters `json:"cdrom,omitempty" tf:"cdrom,omitempty"` // +kubebuilder:validation:Optional CloudConfig *string `json:"cloudConfig,omitempty" tf:"cloud_config,omitempty"` // +kubebuilder:validation:Optional CloudNetworkConfig *string `json:"cloudNetworkConfig,omitempty" tf:"cloud_network_config,omitempty"` // +kubebuilder:validation:Optional CoreOs *bool `json:"coreOs,omitempty" tf:"core_os,omitempty"` // +kubebuilder:validation:Required Cpus *float64 `json:"cpus" tf:"cpus,omitempty"` // +kubebuilder:validation:Required Disk []DiskParameters `json:"disk" tf:"disk,omitempty"` // +kubebuilder:validation:Optional ExpNestedHvm *bool `json:"expNestedHvm,omitempty" tf:"exp_nested_hvm,omitempty"` // +kubebuilder:validation:Optional HighAvailability *string `json:"highAvailability,omitempty" tf:"high_availability,omitempty"` // +kubebuilder:validation:Optional Host *string `json:"host,omitempty" tf:"host,omitempty"` // +kubebuilder:validation:Optional HvmBootFirmware *string `json:"hvmBootFirmware,omitempty" tf:"hvm_boot_firmware,omitempty"` // +kubebuilder:validation:Optional InstallationMethod *string `json:"installationMethod,omitempty" tf:"installation_method,omitempty"` // +kubebuilder:validation:Required MemoryMax *float64 `json:"memoryMax" tf:"memory_max,omitempty"` // +kubebuilder:validation:Optional NameDescription *string `json:"nameDescription,omitempty" tf:"name_description,omitempty"` // +kubebuilder:validation:Required NameLabel *string `json:"nameLabel" tf:"name_label,omitempty"` // +kubebuilder:validation:Required Network []NetworkParameters `json:"network" tf:"network,omitempty"` // +kubebuilder:validation:Optional ResourceSet *string `json:"resourceSet,omitempty" tf:"resource_set,omitempty"` // +kubebuilder:validation:Optional StartDelay *float64 `json:"startDelay,omitempty" tf:"start_delay,omitempty"` // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // +kubebuilder:validation:Required Template *string `json:"template" tf:"template,omitempty"` // +kubebuilder:validation:Optional Vga *string `json:"vga,omitempty" tf:"vga,omitempty"` // +kubebuilder:validation:Optional Videoram *float64 `json:"videoram,omitempty" tf:"videoram,omitempty"` // +kubebuilder:validation:Optional WaitForIP *bool `json:"waitForIp,omitempty" tf:"wait_for_ip,omitempty"` }
func (*VMParameters) DeepCopy ¶
func (in *VMParameters) DeepCopy() *VMParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMParameters.
func (*VMParameters) DeepCopyInto ¶
func (in *VMParameters) DeepCopyInto(out *VMParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMSpec ¶
type VMSpec struct { v1.ResourceSpec `json:",inline"` ForProvider VMParameters `json:"forProvider"` }
VMSpec defines the desired state of VM
func (*VMSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSpec.
func (*VMSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMStatus ¶
type VMStatus struct { v1.ResourceStatus `json:",inline"` AtProvider VMObservation `json:"atProvider,omitempty"` }
VMStatus defines the observed state of VM.
func (*VMStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMStatus.
func (*VMStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.