v1alpha1

package
v0.0.0-...-ba85247 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=vm.proxmox.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "vm.proxmox.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
var (
	Qemu_Kind             = "Qemu"
	Qemu_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Qemu_Kind}.String()
	Qemu_KindAPIVersion   = Qemu_Kind + "." + CRDGroupVersion.String()
	Qemu_GroupVersionKind = CRDGroupVersion.WithKind(Qemu_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DiskObservation

type DiskObservation struct {
	Aio *string `json:"aio,omitempty" tf:"aio,omitempty"`

	Backup *bool `json:"backup,omitempty" tf:"backup,omitempty"`

	Cache *string `json:"cache,omitempty" tf:"cache,omitempty"`

	Discard *string `json:"discard,omitempty" tf:"discard,omitempty"`

	File *string `json:"file,omitempty" tf:"file,omitempty"`

	Format *string `json:"format,omitempty" tf:"format,omitempty"`

	Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`

	IopsMax *float64 `json:"iopsMax,omitempty" tf:"iops_max,omitempty"`

	IopsMaxLength *float64 `json:"iopsMaxLength,omitempty" tf:"iops_max_length,omitempty"`

	IopsRd *float64 `json:"iopsRd,omitempty" tf:"iops_rd,omitempty"`

	IopsRdMax *float64 `json:"iopsRdMax,omitempty" tf:"iops_rd_max,omitempty"`

	IopsRdMaxLength *float64 `json:"iopsRdMaxLength,omitempty" tf:"iops_rd_max_length,omitempty"`

	IopsWr *float64 `json:"iopsWr,omitempty" tf:"iops_wr,omitempty"`

	IopsWrMax *float64 `json:"iopsWrMax,omitempty" tf:"iops_wr_max,omitempty"`

	IopsWrMaxLength *float64 `json:"iopsWrMaxLength,omitempty" tf:"iops_wr_max_length,omitempty"`

	Iothread *float64 `json:"iothread,omitempty" tf:"iothread,omitempty"`

	Mbps *float64 `json:"mbps,omitempty" tf:"mbps,omitempty"`

	MbpsRd *float64 `json:"mbpsRd,omitempty" tf:"mbps_rd,omitempty"`

	MbpsRdMax *float64 `json:"mbpsRdMax,omitempty" tf:"mbps_rd_max,omitempty"`

	MbpsWr *float64 `json:"mbpsWr,omitempty" tf:"mbps_wr,omitempty"`

	MbpsWrMax *float64 `json:"mbpsWrMax,omitempty" tf:"mbps_wr_max,omitempty"`

	Media *string `json:"media,omitempty" tf:"media,omitempty"`

	Replicate *float64 `json:"replicate,omitempty" tf:"replicate,omitempty"`

	Size *string `json:"size,omitempty" tf:"size,omitempty"`

	Slot *float64 `json:"slot,omitempty" tf:"slot,omitempty"`

	Ssd *float64 `json:"ssd,omitempty" tf:"ssd,omitempty"`

	Storage *string `json:"storage,omitempty" tf:"storage,omitempty"`

	StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	Volume *string `json:"volume,omitempty" tf:"volume,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
	Aio *string `json:"aio,omitempty" tf:"aio,omitempty"`

	// +kubebuilder:validation:Optional
	Backup *bool `json:"backup,omitempty" tf:"backup,omitempty"`

	// +kubebuilder:validation:Optional
	Cache *string `json:"cache,omitempty" tf:"cache,omitempty"`

	// +kubebuilder:validation:Optional
	Discard *string `json:"discard,omitempty" tf:"discard,omitempty"`

	// +kubebuilder:validation:Optional
	File *string `json:"file,omitempty" tf:"file,omitempty"`

	// +kubebuilder:validation:Optional
	Format *string `json:"format,omitempty" tf:"format,omitempty"`

	// +kubebuilder:validation:Optional
	Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// +kubebuilder:validation:Optional
	IopsMax *float64 `json:"iopsMax,omitempty" tf:"iops_max,omitempty"`

	// +kubebuilder:validation:Optional
	IopsMaxLength *float64 `json:"iopsMaxLength,omitempty" tf:"iops_max_length,omitempty"`

	// +kubebuilder:validation:Optional
	IopsRd *float64 `json:"iopsRd,omitempty" tf:"iops_rd,omitempty"`

	// +kubebuilder:validation:Optional
	IopsRdMax *float64 `json:"iopsRdMax,omitempty" tf:"iops_rd_max,omitempty"`

	// +kubebuilder:validation:Optional
	IopsRdMaxLength *float64 `json:"iopsRdMaxLength,omitempty" tf:"iops_rd_max_length,omitempty"`

	// +kubebuilder:validation:Optional
	IopsWr *float64 `json:"iopsWr,omitempty" tf:"iops_wr,omitempty"`

	// +kubebuilder:validation:Optional
	IopsWrMax *float64 `json:"iopsWrMax,omitempty" tf:"iops_wr_max,omitempty"`

	// +kubebuilder:validation:Optional
	IopsWrMaxLength *float64 `json:"iopsWrMaxLength,omitempty" tf:"iops_wr_max_length,omitempty"`

	// +kubebuilder:validation:Optional
	Iothread *float64 `json:"iothread,omitempty" tf:"iothread,omitempty"`

	// +kubebuilder:validation:Optional
	Mbps *float64 `json:"mbps,omitempty" tf:"mbps,omitempty"`

	// +kubebuilder:validation:Optional
	MbpsRd *float64 `json:"mbpsRd,omitempty" tf:"mbps_rd,omitempty"`

	// +kubebuilder:validation:Optional
	MbpsRdMax *float64 `json:"mbpsRdMax,omitempty" tf:"mbps_rd_max,omitempty"`

	// +kubebuilder:validation:Optional
	MbpsWr *float64 `json:"mbpsWr,omitempty" tf:"mbps_wr,omitempty"`

	// +kubebuilder:validation:Optional
	MbpsWrMax *float64 `json:"mbpsWrMax,omitempty" tf:"mbps_wr_max,omitempty"`

	// +kubebuilder:validation:Optional
	Media *string `json:"media,omitempty" tf:"media,omitempty"`

	// +kubebuilder:validation:Optional
	Replicate *float64 `json:"replicate,omitempty" tf:"replicate,omitempty"`

	// +kubebuilder:validation:Required
	Size *string `json:"size" tf:"size,omitempty"`

	// +kubebuilder:validation:Optional
	Slot *float64 `json:"slot,omitempty" tf:"slot,omitempty"`

	// +kubebuilder:validation:Optional
	Ssd *float64 `json:"ssd,omitempty" tf:"ssd,omitempty"`

	// +kubebuilder:validation:Required
	Storage *string `json:"storage" tf:"storage,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// +kubebuilder:validation:Optional
	Volume *string `json:"volume,omitempty" tf:"volume,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 HostpciObservation

type HostpciObservation struct {
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	Pcie *float64 `json:"pcie,omitempty" tf:"pcie,omitempty"`

	Rombar *float64 `json:"rombar,omitempty" tf:"rombar,omitempty"`
}

func (*HostpciObservation) DeepCopy

func (in *HostpciObservation) DeepCopy() *HostpciObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostpciObservation.

func (*HostpciObservation) DeepCopyInto

func (in *HostpciObservation) DeepCopyInto(out *HostpciObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HostpciParameters

type HostpciParameters struct {

	// +kubebuilder:validation:Optional
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// +kubebuilder:validation:Optional
	Pcie *float64 `json:"pcie,omitempty" tf:"pcie,omitempty"`

	// +kubebuilder:validation:Optional
	Rombar *float64 `json:"rombar,omitempty" tf:"rombar,omitempty"`
}

func (*HostpciParameters) DeepCopy

func (in *HostpciParameters) DeepCopy() *HostpciParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostpciParameters.

func (*HostpciParameters) DeepCopyInto

func (in *HostpciParameters) DeepCopyInto(out *HostpciParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkObservation

type NetworkObservation struct {
	Bridge *string `json:"bridge,omitempty" tf:"bridge,omitempty"`

	Firewall *bool `json:"firewall,omitempty" tf:"firewall,omitempty"`

	LinkDown *bool `json:"linkDown,omitempty" tf:"link_down,omitempty"`

	Macaddr *string `json:"macaddr,omitempty" tf:"macaddr,omitempty"`

	Model *string `json:"model,omitempty" tf:"model,omitempty"`

	Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"`

	Queues *float64 `json:"queues,omitempty" tf:"queues,omitempty"`

	Rate *float64 `json:"rate,omitempty" tf:"rate,omitempty"`

	// VLAN tag.
	Tag *float64 `json:"tag,omitempty" tf:"tag,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
	Bridge *string `json:"bridge,omitempty" tf:"bridge,omitempty"`

	// +kubebuilder:validation:Optional
	Firewall *bool `json:"firewall,omitempty" tf:"firewall,omitempty"`

	// +kubebuilder:validation:Optional
	LinkDown *bool `json:"linkDown,omitempty" tf:"link_down,omitempty"`

	// +kubebuilder:validation:Optional
	Macaddr *string `json:"macaddr,omitempty" tf:"macaddr,omitempty"`

	// +kubebuilder:validation:Required
	Model *string `json:"model" tf:"model,omitempty"`

	// +kubebuilder:validation:Optional
	Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"`

	// +kubebuilder:validation:Optional
	Queues *float64 `json:"queues,omitempty" tf:"queues,omitempty"`

	// +kubebuilder:validation:Optional
	Rate *float64 `json:"rate,omitempty" tf:"rate,omitempty"`

	// VLAN tag.
	// +kubebuilder:validation:Optional
	Tag *float64 `json:"tag,omitempty" tf:"tag,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 Qemu

type Qemu struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QemuSpec   `json:"spec"`
	Status            QemuStatus `json:"status,omitempty"`
}

Qemu is the Schema for the Qemus API. Creates and manages a Proxmox VM Qemu container +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,proxmox}

func (*Qemu) DeepCopy

func (in *Qemu) DeepCopy() *Qemu

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Qemu.

func (*Qemu) DeepCopyInto

func (in *Qemu) DeepCopyInto(out *Qemu)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Qemu) DeepCopyObject

func (in *Qemu) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Qemu) GetCondition

func (mg *Qemu) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Qemu.

func (*Qemu) GetConnectionDetailsMapping

func (tr *Qemu) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Qemu

func (*Qemu) GetDeletionPolicy

func (mg *Qemu) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Qemu.

func (*Qemu) GetID

func (tr *Qemu) GetID() string

GetID returns ID of underlying Terraform resource of this Qemu

func (*Qemu) GetManagementPolicy

func (mg *Qemu) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Qemu.

func (*Qemu) GetObservation

func (tr *Qemu) GetObservation() (map[string]any, error)

GetObservation of this Qemu

func (*Qemu) GetParameters

func (tr *Qemu) GetParameters() (map[string]any, error)

GetParameters of this Qemu

func (*Qemu) GetProviderConfigReference

func (mg *Qemu) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Qemu.

func (*Qemu) GetProviderReference

func (mg *Qemu) GetProviderReference() *xpv1.Reference

GetProviderReference of this Qemu. Deprecated: Use GetProviderConfigReference.

func (*Qemu) GetPublishConnectionDetailsTo

func (mg *Qemu) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Qemu.

func (*Qemu) GetTerraformResourceType

func (mg *Qemu) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Qemu

func (*Qemu) GetTerraformSchemaVersion

func (tr *Qemu) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Qemu) GetWriteConnectionSecretToReference

func (mg *Qemu) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Qemu.

func (*Qemu) LateInitialize

func (tr *Qemu) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Qemu using its observed tfState. returns True if there are any spec changes for the resource.

func (*Qemu) SetConditions

func (mg *Qemu) SetConditions(c ...xpv1.Condition)

SetConditions of this Qemu.

func (*Qemu) SetDeletionPolicy

func (mg *Qemu) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Qemu.

func (*Qemu) SetManagementPolicy

func (mg *Qemu) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Qemu.

func (*Qemu) SetObservation

func (tr *Qemu) SetObservation(obs map[string]any) error

SetObservation for this Qemu

func (*Qemu) SetParameters

func (tr *Qemu) SetParameters(params map[string]any) error

SetParameters for this Qemu

func (*Qemu) SetProviderConfigReference

func (mg *Qemu) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Qemu.

func (*Qemu) SetProviderReference

func (mg *Qemu) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Qemu. Deprecated: Use SetProviderConfigReference.

func (*Qemu) SetPublishConnectionDetailsTo

func (mg *Qemu) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Qemu.

func (*Qemu) SetWriteConnectionSecretToReference

func (mg *Qemu) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Qemu.

type QemuList

type QemuList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Qemu `json:"items"`
}

QemuList contains a list of Qemus

func (*QemuList) DeepCopy

func (in *QemuList) DeepCopy() *QemuList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QemuList.

func (*QemuList) DeepCopyInto

func (in *QemuList) DeepCopyInto(out *QemuList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*QemuList) DeepCopyObject

func (in *QemuList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*QemuList) GetItems

func (l *QemuList) GetItems() []resource.Managed

GetItems of this QemuList.

type QemuObservation

type QemuObservation struct {

	// (do not use, api should manage timeouts)
	// value in second to wait after some operations, useful if system is not fast or during i/o intensive parallel Upbound official provider tasks
	AdditionalWait *float64 `json:"additionalWait,omitempty" tf:"additional_wait,omitempty"`

	Agent *float64 `json:"agent,omitempty" tf:"agent,omitempty"`

	Args *string `json:"args,omitempty" tf:"args,omitempty"`

	// : a valid boot order must be specified with Network type included (eg order=net0;scsi0)
	// Automatically reboot the VM if any of the modified parameters requires a reboot to take effect.
	AutomaticReboot *bool `json:"automaticReboot,omitempty" tf:"automatic_reboot,omitempty"`

	Balloon *float64 `json:"balloon,omitempty" tf:"balloon,omitempty"`

	// The VM bios, it can be seabios or ovmf
	Bios *string `json:"bios,omitempty" tf:"bios,omitempty"`

	// : a valid boot order must be specified with Network type included (eg order=net0;scsi0)
	// Boot order of the VM
	Boot *string `json:"boot,omitempty" tf:"boot,omitempty"`

	Bootdisk *string `json:"bootdisk,omitempty" tf:"bootdisk,omitempty"`

	CPU *string `json:"cpu,omitempty" tf:"cpu,omitempty"`

	CiWait *float64 `json:"ciWait,omitempty" tf:"ci_wait,omitempty"`

	Cicustom *string `json:"cicustom,omitempty" tf:"cicustom,omitempty"`

	Ciuser *string `json:"ciuser,omitempty" tf:"ciuser,omitempty"`

	Clone *string `json:"clone,omitempty" tf:"clone,omitempty"`

	// (do not use, api should manage timeouts)
	// value in second to wait after a vm has been cloned, useful if system is not fast or during i/o intensive parallel Upbound official provider tasks
	CloneWait *float64 `json:"cloneWait,omitempty" tf:"clone_wait,omitempty"`

	CloudinitCdromStorage *string `json:"cloudinitCdromStorage,omitempty" tf:"cloudinit_cdrom_storage,omitempty"`

	Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"`

	// Use to track vm ipv4 address
	DefaultIPv4Address *string `json:"defaultIpv4Address,omitempty" tf:"default_ipv4_address,omitempty"`

	// By default define SSH for provisioner info
	DefineConnectionInfo *bool `json:"defineConnectionInfo,omitempty" tf:"define_connection_info,omitempty"`

	// The VM description
	Desc *string `json:"desc,omitempty" tf:"desc,omitempty"`

	Disk []DiskObservation `json:"disk,omitempty" tf:"disk,omitempty"`

	ForceCreate *bool `json:"forceCreate,omitempty" tf:"force_create,omitempty"`

	ForceRecreateOnChangeOf *string `json:"forceRecreateOnChangeOf,omitempty" tf:"force_recreate_on_change_of,omitempty"`

	FullClone *bool `json:"fullClone,omitempty" tf:"full_clone,omitempty"`

	Hagroup *string `json:"hagroup,omitempty" tf:"hagroup,omitempty"`

	Hastate *string `json:"hastate,omitempty" tf:"hastate,omitempty"`

	Hostpci []HostpciObservation `json:"hostpci,omitempty" tf:"hostpci,omitempty"`

	Hotplug *string `json:"hotplug,omitempty" tf:"hotplug,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Ipconfig0 *string `json:"ipconfig0,omitempty" tf:"ipconfig0,omitempty"`

	Ipconfig1 *string `json:"ipconfig1,omitempty" tf:"ipconfig1,omitempty"`

	Ipconfig10 *string `json:"ipconfig10,omitempty" tf:"ipconfig10,omitempty"`

	Ipconfig11 *string `json:"ipconfig11,omitempty" tf:"ipconfig11,omitempty"`

	Ipconfig12 *string `json:"ipconfig12,omitempty" tf:"ipconfig12,omitempty"`

	Ipconfig13 *string `json:"ipconfig13,omitempty" tf:"ipconfig13,omitempty"`

	Ipconfig14 *string `json:"ipconfig14,omitempty" tf:"ipconfig14,omitempty"`

	Ipconfig15 *string `json:"ipconfig15,omitempty" tf:"ipconfig15,omitempty"`

	Ipconfig2 *string `json:"ipconfig2,omitempty" tf:"ipconfig2,omitempty"`

	Ipconfig3 *string `json:"ipconfig3,omitempty" tf:"ipconfig3,omitempty"`

	Ipconfig4 *string `json:"ipconfig4,omitempty" tf:"ipconfig4,omitempty"`

	Ipconfig5 *string `json:"ipconfig5,omitempty" tf:"ipconfig5,omitempty"`

	Ipconfig6 *string `json:"ipconfig6,omitempty" tf:"ipconfig6,omitempty"`

	Ipconfig7 *string `json:"ipconfig7,omitempty" tf:"ipconfig7,omitempty"`

	Ipconfig8 *string `json:"ipconfig8,omitempty" tf:"ipconfig8,omitempty"`

	Ipconfig9 *string `json:"ipconfig9,omitempty" tf:"ipconfig9,omitempty"`

	Iso *string `json:"iso,omitempty" tf:"iso,omitempty"`

	Kvm *bool `json:"kvm,omitempty" tf:"kvm,omitempty"`

	// Specifies the Qemu machine type.
	Machine *string `json:"machine,omitempty" tf:"machine,omitempty"`

	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

	Nameserver *string `json:"nameserver,omitempty" tf:"nameserver,omitempty"`

	Network []NetworkObservation `json:"network,omitempty" tf:"network,omitempty"`

	Numa *bool `json:"numa,omitempty" tf:"numa,omitempty"`

	// : a valid boot order must be specified with Network type included (eg order=net0;scsi0)
	// VM autostart on boot
	Onboot *bool `json:"onboot,omitempty" tf:"onboot,omitempty"`

	// The state of the VM (running or stopped)
	VMstate *string `json:"vm_state,omitempty" tf:"vm_state,omitempty"`

	OsNetworkConfig *string `json:"osNetworkConfig,omitempty" tf:"os_network_config,omitempty"`

	OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"`

	Pool *string `json:"pool,omitempty" tf:"pool,omitempty"`

	Pxe *bool `json:"pxe,omitempty" tf:"pxe,omitempty"`

	QemuOs *string `json:"qemuOs,omitempty" tf:"qemu_os,omitempty"`

	// Internal variable, true if any of the modified parameters requires a reboot to take effect.
	RebootRequired *bool `json:"rebootRequired,omitempty" tf:"reboot_required,omitempty"`

	// Use to pass instance ip address, redundant
	SSHForwardIP *string `json:"sshForwardIp,omitempty" tf:"ssh_forward_ip,omitempty"`

	SSHHost *string `json:"sshHost,omitempty" tf:"ssh_host,omitempty"`

	SSHPort *string `json:"sshPort,omitempty" tf:"ssh_port,omitempty"`

	SSHUser *string `json:"sshUser,omitempty" tf:"ssh_user,omitempty"`

	Scsihw *string `json:"scsihw,omitempty" tf:"scsihw,omitempty"`

	Searchdomain *string `json:"searchdomain,omitempty" tf:"searchdomain,omitempty"`

	Serial []SerialObservation `json:"serial,omitempty" tf:"serial,omitempty"`

	Sockets *float64 `json:"sockets,omitempty" tf:"sockets,omitempty"`

	Sshkeys *string `json:"sshkeys,omitempty" tf:"sshkeys,omitempty"`

	// Startup order of the VM
	Startup *string `json:"startup,omitempty" tf:"startup,omitempty"`

	// Enable tablet mode in the VM
	Tablet *bool `json:"tablet,omitempty" tf:"tablet,omitempty"`

	Tags *string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The node where VM goes to
	TargetNode *string `json:"targetNode,omitempty" tf:"target_node,omitempty"`

	// Record unused disks in proxmox. This is intended to be read-only for now.
	UnusedDisk []UnusedDiskObservation `json:"unusedDisk,omitempty" tf:"unused_disk,omitempty"`

	Usb []UsbObservation `json:"usb,omitempty" tf:"usb,omitempty"`

	Vcpus *float64 `json:"vcpus,omitempty" tf:"vcpus,omitempty"`

	Vga []VgaObservation `json:"vga,omitempty" tf:"vga,omitempty"`

	// The VM identifier in proxmox (100-999999999)
	Vmid *float64 `json:"vmid,omitempty" tf:"vmid,omitempty"`
}

func (*QemuObservation) DeepCopy

func (in *QemuObservation) DeepCopy() *QemuObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QemuObservation.

func (*QemuObservation) DeepCopyInto

func (in *QemuObservation) DeepCopyInto(out *QemuObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type QemuParameters

type QemuParameters struct {

	// (do not use, api should manage timeouts)
	// value in second to wait after some operations, useful if system is not fast or during i/o intensive parallel Upbound official provider tasks
	// +kubebuilder:validation:Optional
	AdditionalWait *float64 `json:"additionalWait,omitempty" tf:"additional_wait,omitempty"`

	// +kubebuilder:validation:Optional
	Agent *float64 `json:"agent,omitempty" tf:"agent,omitempty"`

	// +kubebuilder:validation:Optional
	Args *string `json:"args,omitempty" tf:"args,omitempty"`

	// : a valid boot order must be specified with Network type included (eg order=net0;scsi0)
	// Automatically reboot the VM if any of the modified parameters requires a reboot to take effect.
	// +kubebuilder:validation:Optional
	AutomaticReboot *bool `json:"automaticReboot,omitempty" tf:"automatic_reboot,omitempty"`

	// +kubebuilder:validation:Optional
	Balloon *float64 `json:"balloon,omitempty" tf:"balloon,omitempty"`

	// The VM bios, it can be seabios or ovmf
	// +kubebuilder:validation:Optional
	Bios *string `json:"bios,omitempty" tf:"bios,omitempty"`

	// : a valid boot order must be specified with Network type included (eg order=net0;scsi0)
	// Boot order of the VM
	// +kubebuilder:validation:Optional
	Boot *string `json:"boot,omitempty" tf:"boot,omitempty"`

	// +kubebuilder:validation:Optional
	Bootdisk *string `json:"bootdisk,omitempty" tf:"bootdisk,omitempty"`

	// +kubebuilder:validation:Optional
	CPU *string `json:"cpu,omitempty" tf:"cpu,omitempty"`

	// +kubebuilder:validation:Optional
	CiWait *float64 `json:"ciWait,omitempty" tf:"ci_wait,omitempty"`

	// +kubebuilder:validation:Optional
	Cicustom *string `json:"cicustom,omitempty" tf:"cicustom,omitempty"`

	// +kubebuilder:validation:Optional
	CipasswordSecretRef *v1.SecretKeySelector `json:"cipasswordSecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Ciuser *string `json:"ciuser,omitempty" tf:"ciuser,omitempty"`

	// +kubebuilder:validation:Optional
	Clone *string `json:"clone,omitempty" tf:"clone,omitempty"`

	// (do not use, api should manage timeouts)
	// value in second to wait after a vm has been cloned, useful if system is not fast or during i/o intensive parallel Upbound official provider tasks
	// +kubebuilder:validation:Optional
	CloneWait *float64 `json:"cloneWait,omitempty" tf:"clone_wait,omitempty"`

	// +kubebuilder:validation:Optional
	CloudinitCdromStorage *string `json:"cloudinitCdromStorage,omitempty" tf:"cloudinit_cdrom_storage,omitempty"`

	// +kubebuilder:validation:Optional
	Cores *float64 `json:"cores,omitempty" tf:"cores,omitempty"`

	// By default define SSH for provisioner info
	// +kubebuilder:validation:Optional
	DefineConnectionInfo *bool `json:"defineConnectionInfo,omitempty" tf:"define_connection_info,omitempty"`

	// The VM description
	// +kubebuilder:validation:Optional
	Desc *string `json:"desc,omitempty" tf:"desc,omitempty"`

	// +kubebuilder:validation:Optional
	Disk []DiskParameters `json:"disk,omitempty" tf:"disk,omitempty"`

	// +kubebuilder:validation:Optional
	ForceCreate *bool `json:"forceCreate,omitempty" tf:"force_create,omitempty"`

	// +kubebuilder:validation:Optional
	ForceRecreateOnChangeOf *string `json:"forceRecreateOnChangeOf,omitempty" tf:"force_recreate_on_change_of,omitempty"`

	// +kubebuilder:validation:Optional
	FullClone *bool `json:"fullClone,omitempty" tf:"full_clone,omitempty"`

	// +kubebuilder:validation:Optional
	Hagroup *string `json:"hagroup,omitempty" tf:"hagroup,omitempty"`

	// +kubebuilder:validation:Optional
	Hastate *string `json:"hastate,omitempty" tf:"hastate,omitempty"`

	// +kubebuilder:validation:Optional
	Hostpci []HostpciParameters `json:"hostpci,omitempty" tf:"hostpci,omitempty"`

	// +kubebuilder:validation:Optional
	Hotplug *string `json:"hotplug,omitempty" tf:"hotplug,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig0 *string `json:"ipconfig0,omitempty" tf:"ipconfig0,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig1 *string `json:"ipconfig1,omitempty" tf:"ipconfig1,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig10 *string `json:"ipconfig10,omitempty" tf:"ipconfig10,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig11 *string `json:"ipconfig11,omitempty" tf:"ipconfig11,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig12 *string `json:"ipconfig12,omitempty" tf:"ipconfig12,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig13 *string `json:"ipconfig13,omitempty" tf:"ipconfig13,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig14 *string `json:"ipconfig14,omitempty" tf:"ipconfig14,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig15 *string `json:"ipconfig15,omitempty" tf:"ipconfig15,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig2 *string `json:"ipconfig2,omitempty" tf:"ipconfig2,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig3 *string `json:"ipconfig3,omitempty" tf:"ipconfig3,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig4 *string `json:"ipconfig4,omitempty" tf:"ipconfig4,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig5 *string `json:"ipconfig5,omitempty" tf:"ipconfig5,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig6 *string `json:"ipconfig6,omitempty" tf:"ipconfig6,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig7 *string `json:"ipconfig7,omitempty" tf:"ipconfig7,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig8 *string `json:"ipconfig8,omitempty" tf:"ipconfig8,omitempty"`

	// +kubebuilder:validation:Optional
	Ipconfig9 *string `json:"ipconfig9,omitempty" tf:"ipconfig9,omitempty"`

	// +kubebuilder:validation:Optional
	Iso *string `json:"iso,omitempty" tf:"iso,omitempty"`

	// +kubebuilder:validation:Optional
	Kvm *bool `json:"kvm,omitempty" tf:"kvm,omitempty"`

	// Specifies the Qemu machine type.
	// +kubebuilder:validation:Optional
	Machine *string `json:"machine,omitempty" tf:"machine,omitempty"`

	// +kubebuilder:validation:Optional
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

	// +kubebuilder:validation:Optional
	Nameserver *string `json:"nameserver,omitempty" tf:"nameserver,omitempty"`

	// +kubebuilder:validation:Optional
	Network []NetworkParameters `json:"network,omitempty" tf:"network,omitempty"`

	// +kubebuilder:validation:Optional
	Numa *bool `json:"numa,omitempty" tf:"numa,omitempty"`

	// : a valid boot order must be specified with Network type included (eg order=net0;scsi0)
	// VM autostart on boot
	// +kubebuilder:validation:Optional
	Onboot *bool `json:"onboot,omitempty" tf:"onboot,omitempty"`

	// The state of the VM (running or stopped)
	// +kubebuilder:validation:Optional
	VMstate *string `json:"vm_state,omitempty" tf:"vm_state,omitempty"`

	// +kubebuilder:validation:Optional
	OsNetworkConfig *string `json:"osNetworkConfig,omitempty" tf:"os_network_config,omitempty"`

	// +kubebuilder:validation:Optional
	OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"`

	// +kubebuilder:validation:Optional
	Pool *string `json:"pool,omitempty" tf:"pool,omitempty"`

	// +kubebuilder:validation:Optional
	Pxe *bool `json:"pxe,omitempty" tf:"pxe,omitempty"`

	// +kubebuilder:validation:Optional
	QemuOs *string `json:"qemuOs,omitempty" tf:"qemu_os,omitempty"`

	// Use to pass instance ip address, redundant
	// +kubebuilder:validation:Optional
	SSHForwardIP *string `json:"sshForwardIp,omitempty" tf:"ssh_forward_ip,omitempty"`

	// +kubebuilder:validation:Optional
	SSHPrivateKeySecretRef *v1.SecretKeySelector `json:"sshPrivateKeySecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SSHUser *string `json:"sshUser,omitempty" tf:"ssh_user,omitempty"`

	// +kubebuilder:validation:Optional
	Scsihw *string `json:"scsihw,omitempty" tf:"scsihw,omitempty"`

	// +kubebuilder:validation:Optional
	Searchdomain *string `json:"searchdomain,omitempty" tf:"searchdomain,omitempty"`

	// +kubebuilder:validation:Optional
	Serial []SerialParameters `json:"serial,omitempty" tf:"serial,omitempty"`

	// +kubebuilder:validation:Optional
	Sockets *float64 `json:"sockets,omitempty" tf:"sockets,omitempty"`

	// +kubebuilder:validation:Optional
	Sshkeys *string `json:"sshkeys,omitempty" tf:"sshkeys,omitempty"`

	// Startup order of the VM
	// +kubebuilder:validation:Optional
	Startup *string `json:"startup,omitempty" tf:"startup,omitempty"`

	// Enable tablet mode in the VM
	// +kubebuilder:validation:Optional
	Tablet *bool `json:"tablet,omitempty" tf:"tablet,omitempty"`

	// +kubebuilder:validation:Optional
	Tags *string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The node where VM goes to
	// +kubebuilder:validation:Optional
	TargetNode *string `json:"targetNode,omitempty" tf:"target_node,omitempty"`

	// +kubebuilder:validation:Optional
	Usb []UsbParameters `json:"usb,omitempty" tf:"usb,omitempty"`

	// +kubebuilder:validation:Optional
	Vcpus *float64 `json:"vcpus,omitempty" tf:"vcpus,omitempty"`

	// +kubebuilder:validation:Optional
	Vga []VgaParameters `json:"vga,omitempty" tf:"vga,omitempty"`

	// The VM identifier in proxmox (100-999999999)
	// +kubebuilder:validation:Optional
	Vmid *float64 `json:"vmid,omitempty" tf:"vmid,omitempty"`
}

func (*QemuParameters) DeepCopy

func (in *QemuParameters) DeepCopy() *QemuParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QemuParameters.

func (*QemuParameters) DeepCopyInto

func (in *QemuParameters) DeepCopyInto(out *QemuParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type QemuSpec

type QemuSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     QemuParameters `json:"forProvider"`
}

QemuSpec defines the desired state of Qemu

func (*QemuSpec) DeepCopy

func (in *QemuSpec) DeepCopy() *QemuSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QemuSpec.

func (*QemuSpec) DeepCopyInto

func (in *QemuSpec) DeepCopyInto(out *QemuSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type QemuStatus

type QemuStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        QemuObservation `json:"atProvider,omitempty"`
}

QemuStatus defines the observed state of Qemu.

func (*QemuStatus) DeepCopy

func (in *QemuStatus) DeepCopy() *QemuStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QemuStatus.

func (*QemuStatus) DeepCopyInto

func (in *QemuStatus) DeepCopyInto(out *QemuStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SerialObservation

type SerialObservation struct {
	ID *float64 `json:"id,omitempty" tf:"id,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SerialObservation) DeepCopy

func (in *SerialObservation) DeepCopy() *SerialObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialObservation.

func (*SerialObservation) DeepCopyInto

func (in *SerialObservation) DeepCopyInto(out *SerialObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SerialParameters

type SerialParameters struct {

	// +kubebuilder:validation:Required
	ID *float64 `json:"id" tf:"id,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*SerialParameters) DeepCopy

func (in *SerialParameters) DeepCopy() *SerialParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialParameters.

func (*SerialParameters) DeepCopyInto

func (in *SerialParameters) DeepCopyInto(out *SerialParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UnusedDiskObservation

type UnusedDiskObservation struct {
	File *string `json:"file,omitempty" tf:"file,omitempty"`

	Slot *float64 `json:"slot,omitempty" tf:"slot,omitempty"`

	Storage *string `json:"storage,omitempty" tf:"storage,omitempty"`
}

func (*UnusedDiskObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnusedDiskObservation.

func (*UnusedDiskObservation) DeepCopyInto

func (in *UnusedDiskObservation) DeepCopyInto(out *UnusedDiskObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UnusedDiskParameters

type UnusedDiskParameters struct {
}

func (*UnusedDiskParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnusedDiskParameters.

func (*UnusedDiskParameters) DeepCopyInto

func (in *UnusedDiskParameters) DeepCopyInto(out *UnusedDiskParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UsbObservation

type UsbObservation struct {
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	Usb3 *bool `json:"usb3,omitempty" tf:"usb3,omitempty"`
}

func (*UsbObservation) DeepCopy

func (in *UsbObservation) DeepCopy() *UsbObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsbObservation.

func (*UsbObservation) DeepCopyInto

func (in *UsbObservation) DeepCopyInto(out *UsbObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UsbParameters

type UsbParameters struct {

	// +kubebuilder:validation:Required
	Host *string `json:"host" tf:"host,omitempty"`

	// +kubebuilder:validation:Optional
	Usb3 *bool `json:"usb3,omitempty" tf:"usb3,omitempty"`
}

func (*UsbParameters) DeepCopy

func (in *UsbParameters) DeepCopy() *UsbParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsbParameters.

func (*UsbParameters) DeepCopyInto

func (in *UsbParameters) DeepCopyInto(out *UsbParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VgaObservation

type VgaObservation struct {
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*VgaObservation) DeepCopy

func (in *VgaObservation) DeepCopy() *VgaObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VgaObservation.

func (*VgaObservation) DeepCopyInto

func (in *VgaObservation) DeepCopyInto(out *VgaObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VgaParameters

type VgaParameters struct {

	// +kubebuilder:validation:Optional
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*VgaParameters) DeepCopy

func (in *VgaParameters) DeepCopy() *VgaParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VgaParameters.

func (*VgaParameters) DeepCopyInto

func (in *VgaParameters) DeepCopyInto(out *VgaParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL