Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=machine.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BootConfigInitParameters
- type BootConfigObservation
- type BootConfigParameters
- type ConstraintsInitParameters
- type ConstraintsObservation
- type ConstraintsParameters
- type DisksInitParameters
- type DisksListInitParameters
- type DisksListObservation
- type DisksListParameters
- type DisksObservation
- type DisksParameters
- type ImageDiskConstraintsInitParameters
- type ImageDiskConstraintsObservation
- type ImageDiskConstraintsParameters
- type LinksInitParameters
- type LinksObservation
- type LinksParameters
- type Machine
- func (in *Machine) DeepCopy() *Machine
- func (in *Machine) DeepCopyInto(out *Machine)
- func (in *Machine) DeepCopyObject() runtime.Object
- func (mg *Machine) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Machine) GetConnectionDetailsMapping() map[string]string
- func (mg *Machine) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Machine) GetID() string
- func (tr *Machine) GetInitParameters() (map[string]any, error)
- func (mg *Machine) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Machine) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Machine) GetObservation() (map[string]any, error)
- func (tr *Machine) GetParameters() (map[string]any, error)
- func (mg *Machine) GetProviderConfigReference() *xpv1.Reference
- func (mg *Machine) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Machine) GetTerraformResourceType() string
- func (tr *Machine) GetTerraformSchemaVersion() int
- func (mg *Machine) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Machine) Hub()
- func (tr *Machine) LateInitialize(attrs []byte) (bool, error)
- func (mg *Machine) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Machine) SetConditions(c ...xpv1.Condition)
- func (mg *Machine) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Machine) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Machine) SetObservation(obs map[string]any) error
- func (tr *Machine) SetParameters(params map[string]any) error
- func (mg *Machine) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Machine) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Machine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MachineInitParameters
- type MachineList
- type MachineObservation
- type MachineParameters
- type MachineSpec
- type MachineStatus
- type NicsInitParameters
- type NicsObservation
- type NicsParameters
- type TagsInitParameters
- type TagsObservation
- type TagsParameters
Constants ¶
const ( CRDGroup = "machine.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 ( Machine_Kind = "Machine" Machine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Machine_Kind}.String() Machine_KindAPIVersion = Machine_Kind + "." + CRDGroupVersion.String() Machine_GroupVersionKind = CRDGroupVersion.WithKind(Machine_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type BootConfigInitParameters ¶ added in v0.1.0
type BootConfigInitParameters struct { // A valid cloud config data in json-escaped yaml syntax. Content *string `json:"content,omitempty" tf:"content,omitempty"` }
func (*BootConfigInitParameters) DeepCopy ¶ added in v0.1.0
func (in *BootConfigInitParameters) DeepCopy() *BootConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootConfigInitParameters.
func (*BootConfigInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *BootConfigInitParameters) DeepCopyInto(out *BootConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootConfigObservation ¶
type BootConfigObservation struct { // A valid cloud config data in json-escaped yaml syntax. Content *string `json:"content,omitempty" tf:"content,omitempty"` }
func (*BootConfigObservation) DeepCopy ¶
func (in *BootConfigObservation) DeepCopy() *BootConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootConfigObservation.
func (*BootConfigObservation) DeepCopyInto ¶
func (in *BootConfigObservation) DeepCopyInto(out *BootConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootConfigParameters ¶
type BootConfigParameters struct { // A valid cloud config data in json-escaped yaml syntax. // +kubebuilder:validation:Optional Content *string `json:"content,omitempty" tf:"content,omitempty"` }
func (*BootConfigParameters) DeepCopy ¶
func (in *BootConfigParameters) DeepCopy() *BootConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootConfigParameters.
func (*BootConfigParameters) DeepCopyInto ¶
func (in *BootConfigParameters) DeepCopyInto(out *BootConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConstraintsInitParameters ¶ added in v0.1.0
type ConstraintsInitParameters struct { // An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags. Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // Indicates whether this constraint should be strictly enforced or not. Mandatory *bool `json:"mandatory,omitempty" tf:"mandatory,omitempty"` }
func (*ConstraintsInitParameters) DeepCopy ¶ added in v0.1.0
func (in *ConstraintsInitParameters) DeepCopy() *ConstraintsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstraintsInitParameters.
func (*ConstraintsInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *ConstraintsInitParameters) DeepCopyInto(out *ConstraintsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConstraintsObservation ¶
type ConstraintsObservation struct { // An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags. Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // Indicates whether this constraint should be strictly enforced or not. Mandatory *bool `json:"mandatory,omitempty" tf:"mandatory,omitempty"` }
func (*ConstraintsObservation) DeepCopy ¶
func (in *ConstraintsObservation) DeepCopy() *ConstraintsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstraintsObservation.
func (*ConstraintsObservation) DeepCopyInto ¶
func (in *ConstraintsObservation) DeepCopyInto(out *ConstraintsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConstraintsParameters ¶
type ConstraintsParameters struct { // An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags. // +kubebuilder:validation:Optional Expression *string `json:"expression" tf:"expression,omitempty"` // Indicates whether this constraint should be strictly enforced or not. // +kubebuilder:validation:Optional Mandatory *bool `json:"mandatory" tf:"mandatory,omitempty"` }
func (*ConstraintsParameters) DeepCopy ¶
func (in *ConstraintsParameters) DeepCopy() *ConstraintsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstraintsParameters.
func (*ConstraintsParameters) DeepCopyInto ¶
func (in *ConstraintsParameters) DeepCopyInto(out *ConstraintsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DisksInitParameters ¶ added in v0.1.0
type DisksInitParameters struct { // The id of the existing block device. BlockDeviceID *string `json:"blockDeviceId,omitempty" tf:"block_device_id,omitempty"` // A human-friendly description. Description *string `json:"description,omitempty" tf:"description,omitempty"` // A human-friendly block-device name used as an identifier in APIs that support this option. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*DisksInitParameters) DeepCopy ¶ added in v0.1.0
func (in *DisksInitParameters) DeepCopy() *DisksInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisksInitParameters.
func (*DisksInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *DisksInitParameters) DeepCopyInto(out *DisksInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DisksListInitParameters ¶ added in v0.1.0
type DisksListInitParameters struct { }
func (*DisksListInitParameters) DeepCopy ¶ added in v0.1.0
func (in *DisksListInitParameters) DeepCopy() *DisksListInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisksListInitParameters.
func (*DisksListInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *DisksListInitParameters) DeepCopyInto(out *DisksListInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DisksListObservation ¶
type DisksListObservation struct { BlockDeviceID *string `json:"blockDeviceId,omitempty" tf:"block_device_id,omitempty"` Description *string `json:"description,omitempty" tf:"description,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*DisksListObservation) DeepCopy ¶
func (in *DisksListObservation) DeepCopy() *DisksListObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisksListObservation.
func (*DisksListObservation) DeepCopyInto ¶
func (in *DisksListObservation) DeepCopyInto(out *DisksListObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DisksListParameters ¶
type DisksListParameters struct { }
func (*DisksListParameters) DeepCopy ¶
func (in *DisksListParameters) DeepCopy() *DisksListParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisksListParameters.
func (*DisksListParameters) DeepCopyInto ¶
func (in *DisksListParameters) DeepCopyInto(out *DisksListParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DisksObservation ¶
type DisksObservation struct { // The id of the existing block device. BlockDeviceID *string `json:"blockDeviceId,omitempty" tf:"block_device_id,omitempty"` // A human-friendly description. Description *string `json:"description,omitempty" tf:"description,omitempty"` // A human-friendly block-device name used as an identifier in APIs that support this option. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*DisksObservation) DeepCopy ¶
func (in *DisksObservation) DeepCopy() *DisksObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisksObservation.
func (*DisksObservation) DeepCopyInto ¶
func (in *DisksObservation) DeepCopyInto(out *DisksObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DisksParameters ¶
type DisksParameters struct { // The id of the existing block device. // +kubebuilder:validation:Optional BlockDeviceID *string `json:"blockDeviceId" tf:"block_device_id,omitempty"` // A human-friendly description. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // A human-friendly block-device name used as an identifier in APIs that support this option. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*DisksParameters) DeepCopy ¶
func (in *DisksParameters) DeepCopy() *DisksParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisksParameters.
func (*DisksParameters) DeepCopyInto ¶
func (in *DisksParameters) DeepCopyInto(out *DisksParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageDiskConstraintsInitParameters ¶ added in v0.1.0
type ImageDiskConstraintsInitParameters struct { // An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags. Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // Indicates whether this constraint should be strictly enforced or not. Mandatory *bool `json:"mandatory,omitempty" tf:"mandatory,omitempty"` }
func (*ImageDiskConstraintsInitParameters) DeepCopy ¶ added in v0.1.0
func (in *ImageDiskConstraintsInitParameters) DeepCopy() *ImageDiskConstraintsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDiskConstraintsInitParameters.
func (*ImageDiskConstraintsInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *ImageDiskConstraintsInitParameters) DeepCopyInto(out *ImageDiskConstraintsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageDiskConstraintsObservation ¶
type ImageDiskConstraintsObservation struct { // An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags. Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // Indicates whether this constraint should be strictly enforced or not. Mandatory *bool `json:"mandatory,omitempty" tf:"mandatory,omitempty"` }
func (*ImageDiskConstraintsObservation) DeepCopy ¶
func (in *ImageDiskConstraintsObservation) DeepCopy() *ImageDiskConstraintsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDiskConstraintsObservation.
func (*ImageDiskConstraintsObservation) DeepCopyInto ¶
func (in *ImageDiskConstraintsObservation) DeepCopyInto(out *ImageDiskConstraintsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageDiskConstraintsParameters ¶
type ImageDiskConstraintsParameters struct { // An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags. // +kubebuilder:validation:Optional Expression *string `json:"expression" tf:"expression,omitempty"` // Indicates whether this constraint should be strictly enforced or not. // +kubebuilder:validation:Optional Mandatory *bool `json:"mandatory" tf:"mandatory,omitempty"` }
func (*ImageDiskConstraintsParameters) DeepCopy ¶
func (in *ImageDiskConstraintsParameters) DeepCopy() *ImageDiskConstraintsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDiskConstraintsParameters.
func (*ImageDiskConstraintsParameters) DeepCopyInto ¶
func (in *ImageDiskConstraintsParameters) DeepCopyInto(out *ImageDiskConstraintsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinksInitParameters ¶ added in v0.1.0
type LinksInitParameters struct { }
func (*LinksInitParameters) DeepCopy ¶ added in v0.1.0
func (in *LinksInitParameters) DeepCopy() *LinksInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinksInitParameters.
func (*LinksInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *LinksInitParameters) DeepCopyInto(out *LinksInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinksObservation ¶
type LinksObservation struct { Href *string `json:"href,omitempty" tf:"href,omitempty"` // +listType=set Hrefs []*string `json:"hrefs,omitempty" tf:"hrefs,omitempty"` Rel *string `json:"rel,omitempty" tf:"rel,omitempty"` }
func (*LinksObservation) DeepCopy ¶
func (in *LinksObservation) DeepCopy() *LinksObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinksObservation.
func (*LinksObservation) DeepCopyInto ¶
func (in *LinksObservation) DeepCopyInto(out *LinksObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinksParameters ¶
type LinksParameters struct { }
func (*LinksParameters) DeepCopy ¶
func (in *LinksParameters) DeepCopy() *LinksParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinksParameters.
func (*LinksParameters) DeepCopyInto ¶
func (in *LinksParameters) DeepCopyInto(out *LinksParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Machine ¶
type Machine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.flavor) || (has(self.initProvider) && has(self.initProvider.flavor))",message="spec.forProvider.flavor is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec MachineSpec `json:"spec"` Status MachineStatus `json:"status,omitempty"` }
Machine is the Schema for the Machines API. <no value> +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,vra}
func (*Machine) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.
func (*Machine) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Machine) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Machine) GetCondition ¶
func (mg *Machine) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Machine.
func (*Machine) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Machine
func (*Machine) GetDeletionPolicy ¶
func (mg *Machine) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Machine.
func (*Machine) GetInitParameters ¶ added in v0.1.0
GetInitParameters of this Machine
func (*Machine) GetManagementPolicies ¶ added in v0.1.0
func (mg *Machine) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Machine.
func (*Machine) GetMergedParameters ¶ added in v0.1.0
GetInitParameters of this Machine
func (*Machine) GetObservation ¶
GetObservation of this Machine
func (*Machine) GetParameters ¶
GetParameters of this Machine
func (*Machine) GetProviderConfigReference ¶
GetProviderConfigReference of this Machine.
func (*Machine) GetPublishConnectionDetailsTo ¶
func (mg *Machine) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Machine.
func (*Machine) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Machine
func (*Machine) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Machine) GetWriteConnectionSecretToReference ¶
func (mg *Machine) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Machine.
func (*Machine) Hub ¶ added in v0.1.0
func (tr *Machine) Hub()
Hub marks this type as a conversion hub.
func (*Machine) LateInitialize ¶
LateInitialize this Machine using its observed tfState. returns True if there are any spec changes for the resource.
func (*Machine) ResolveReferences ¶
ResolveReferences of this Machine.
func (*Machine) SetConditions ¶
SetConditions of this Machine.
func (*Machine) SetDeletionPolicy ¶
func (mg *Machine) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Machine.
func (*Machine) SetManagementPolicies ¶ added in v0.1.0
func (mg *Machine) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Machine.
func (*Machine) SetObservation ¶
SetObservation for this Machine
func (*Machine) SetParameters ¶
SetParameters for this Machine
func (*Machine) SetProviderConfigReference ¶
SetProviderConfigReference of this Machine.
func (*Machine) SetPublishConnectionDetailsTo ¶
func (mg *Machine) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Machine.
func (*Machine) SetWriteConnectionSecretToReference ¶
func (mg *Machine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Machine.
type MachineInitParameters ¶ added in v0.1.0
type MachineInitParameters struct { // Machine boot config that will be passed to the instance that can be used to perform common automated configuration tasks and even run scripts after the instance starts. BootConfig []BootConfigInitParameters `json:"bootConfig,omitempty" tf:"boot_config,omitempty"` // Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets. Constraints []ConstraintsInitParameters `json:"constraints,omitempty" tf:"constraints,omitempty"` // Additional custom properties that may be used to extend the machine. // +mapType=granular CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"` // The id of the deployment that is associated with this resource. DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"` // Describes machine within the scope of your organization and is not propagated to the cloud. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Specification for attaching/detaching disks to a machine. Disks []DisksInitParameters `json:"disks,omitempty" tf:"disks,omitempty"` Flavor *string `json:"flavor,omitempty" tf:"flavor,omitempty"` // Type of image used for this machine. Image *string `json:"image,omitempty" tf:"image,omitempty"` // Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets. ImageDiskConstraints []ImageDiskConstraintsInitParameters `json:"imageDiskConstraints,omitempty" tf:"image_disk_constraints,omitempty"` ImageRef *string `json:"imageRef,omitempty" tf:"image_ref,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` Nics []NicsInitParameters `json:"nics,omitempty" tf:"nics,omitempty"` // +crossplane:generate:reference:type=github.com/avarei/provider-vra/apis/project/v1alpha1.Project ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // Reference to a Project in project to populate projectId. // +kubebuilder:validation:Optional ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"` // Selector for a Project in project to populate projectId. // +kubebuilder:validation:Optional ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"` Tags []TagsInitParameters `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*MachineInitParameters) DeepCopy ¶ added in v0.1.0
func (in *MachineInitParameters) DeepCopy() *MachineInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInitParameters.
func (*MachineInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *MachineInitParameters) DeepCopyInto(out *MachineInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineList ¶
type MachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Machine `json:"items"` }
MachineList contains a list of Machines
func (*MachineList) DeepCopy ¶
func (in *MachineList) DeepCopy() *MachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList.
func (*MachineList) DeepCopyInto ¶
func (in *MachineList) DeepCopyInto(out *MachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineList) DeepCopyObject ¶
func (in *MachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MachineList) GetItems ¶
func (l *MachineList) GetItems() []resource.Managed
GetItems of this MachineList.
type MachineObservation ¶
type MachineObservation struct { Address *string `json:"address,omitempty" tf:"address,omitempty"` // Machine boot config that will be passed to the instance that can be used to perform common automated configuration tasks and even run scripts after the instance starts. BootConfig []BootConfigObservation `json:"bootConfig,omitempty" tf:"boot_config,omitempty"` // Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets. Constraints []ConstraintsObservation `json:"constraints,omitempty" tf:"constraints,omitempty"` CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"` // Additional custom properties that may be used to extend the machine. // +mapType=granular CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"` // The id of the deployment that is associated with this resource. DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"` // Describes machine within the scope of your organization and is not propagated to the cloud. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Specification for attaching/detaching disks to a machine. Disks []DisksObservation `json:"disks,omitempty" tf:"disks,omitempty"` // List of all disks attached to a machine including boot disk, and additional block devices attached using the disks attribute. DisksList []DisksListObservation `json:"disksList,omitempty" tf:"disks_list,omitempty"` ExternalID *string `json:"externalId,omitempty" tf:"external_id,omitempty"` ExternalRegionID *string `json:"externalRegionId,omitempty" tf:"external_region_id,omitempty"` ExternalZoneID *string `json:"externalZoneId,omitempty" tf:"external_zone_id,omitempty"` Flavor *string `json:"flavor,omitempty" tf:"flavor,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Type of image used for this machine. Image *string `json:"image,omitempty" tf:"image,omitempty"` // Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets. ImageDiskConstraints []ImageDiskConstraintsObservation `json:"imageDiskConstraints,omitempty" tf:"image_disk_constraints,omitempty"` ImageRef *string `json:"imageRef,omitempty" tf:"image_ref,omitempty"` Links []LinksObservation `json:"links,omitempty" tf:"links,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` Nics []NicsObservation `json:"nics,omitempty" tf:"nics,omitempty"` OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"` Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` PowerState *string `json:"powerState,omitempty" tf:"power_state,omitempty"` ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` Tags []TagsObservation `json:"tags,omitempty" tf:"tags,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"` }
func (*MachineObservation) DeepCopy ¶
func (in *MachineObservation) DeepCopy() *MachineObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineObservation.
func (*MachineObservation) DeepCopyInto ¶
func (in *MachineObservation) DeepCopyInto(out *MachineObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineParameters ¶
type MachineParameters struct { // Machine boot config that will be passed to the instance that can be used to perform common automated configuration tasks and even run scripts after the instance starts. // +kubebuilder:validation:Optional BootConfig []BootConfigParameters `json:"bootConfig,omitempty" tf:"boot_config,omitempty"` // Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets. // +kubebuilder:validation:Optional Constraints []ConstraintsParameters `json:"constraints,omitempty" tf:"constraints,omitempty"` // Additional custom properties that may be used to extend the machine. // +kubebuilder:validation:Optional // +mapType=granular CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"` // The id of the deployment that is associated with this resource. // +kubebuilder:validation:Optional DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"` // Describes machine within the scope of your organization and is not propagated to the cloud. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Specification for attaching/detaching disks to a machine. // +kubebuilder:validation:Optional Disks []DisksParameters `json:"disks,omitempty" tf:"disks,omitempty"` // +kubebuilder:validation:Optional Flavor *string `json:"flavor,omitempty" tf:"flavor,omitempty"` // Type of image used for this machine. // +kubebuilder:validation:Optional Image *string `json:"image,omitempty" tf:"image,omitempty"` // Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets. // +kubebuilder:validation:Optional ImageDiskConstraints []ImageDiskConstraintsParameters `json:"imageDiskConstraints,omitempty" tf:"image_disk_constraints,omitempty"` // +kubebuilder:validation:Optional ImageRef *string `json:"imageRef,omitempty" tf:"image_ref,omitempty"` // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional Nics []NicsParameters `json:"nics,omitempty" tf:"nics,omitempty"` // +crossplane:generate:reference:type=github.com/avarei/provider-vra/apis/project/v1alpha1.Project // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // Reference to a Project in project to populate projectId. // +kubebuilder:validation:Optional ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"` // Selector for a Project in project to populate projectId. // +kubebuilder:validation:Optional ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional Tags []TagsParameters `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*MachineParameters) DeepCopy ¶
func (in *MachineParameters) DeepCopy() *MachineParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineParameters.
func (*MachineParameters) DeepCopyInto ¶
func (in *MachineParameters) DeepCopyInto(out *MachineParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpec ¶
type MachineSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MachineParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider MachineInitParameters `json:"initProvider,omitempty"` }
MachineSpec defines the desired state of Machine
func (*MachineSpec) DeepCopy ¶
func (in *MachineSpec) DeepCopy() *MachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.
func (*MachineSpec) DeepCopyInto ¶
func (in *MachineSpec) DeepCopyInto(out *MachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineStatus ¶
type MachineStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MachineObservation `json:"atProvider,omitempty"` }
MachineStatus defines the observed state of Machine.
func (*MachineStatus) DeepCopy ¶
func (in *MachineStatus) DeepCopy() *MachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus.
func (*MachineStatus) DeepCopyInto ¶
func (in *MachineStatus) DeepCopyInto(out *MachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NicsInitParameters ¶ added in v0.1.0
type NicsInitParameters struct { Addresses []*string `json:"addresses,omitempty" tf:"addresses,omitempty"` // +mapType=granular CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"` Description *string `json:"description,omitempty" tf:"description,omitempty"` DeviceIndex *float64 `json:"deviceIndex,omitempty" tf:"device_index,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"` // +listType=set SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` }
func (*NicsInitParameters) DeepCopy ¶ added in v0.1.0
func (in *NicsInitParameters) DeepCopy() *NicsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NicsInitParameters.
func (*NicsInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *NicsInitParameters) DeepCopyInto(out *NicsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NicsObservation ¶
type NicsObservation struct { Addresses []*string `json:"addresses,omitempty" tf:"addresses,omitempty"` // +mapType=granular CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"` Description *string `json:"description,omitempty" tf:"description,omitempty"` DeviceIndex *float64 `json:"deviceIndex,omitempty" tf:"device_index,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"` // +listType=set SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` }
func (*NicsObservation) DeepCopy ¶
func (in *NicsObservation) DeepCopy() *NicsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NicsObservation.
func (*NicsObservation) DeepCopyInto ¶
func (in *NicsObservation) DeepCopyInto(out *NicsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NicsParameters ¶
type NicsParameters struct { // +kubebuilder:validation:Optional Addresses []*string `json:"addresses,omitempty" tf:"addresses,omitempty"` // +kubebuilder:validation:Optional // +mapType=granular CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"` // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // +kubebuilder:validation:Optional DeviceIndex *float64 `json:"deviceIndex,omitempty" tf:"device_index,omitempty"` // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional NetworkID *string `json:"networkId" tf:"network_id,omitempty"` // +kubebuilder:validation:Optional // +listType=set SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` }
func (*NicsParameters) DeepCopy ¶
func (in *NicsParameters) DeepCopy() *NicsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NicsParameters.
func (*NicsParameters) DeepCopyInto ¶
func (in *NicsParameters) DeepCopyInto(out *NicsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagsInitParameters ¶ added in v0.1.0
type TagsInitParameters struct { Key *string `json:"key,omitempty" tf:"key,omitempty"` Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*TagsInitParameters) DeepCopy ¶ added in v0.1.0
func (in *TagsInitParameters) DeepCopy() *TagsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagsInitParameters.
func (*TagsInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *TagsInitParameters) DeepCopyInto(out *TagsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagsObservation ¶
type TagsObservation struct { Key *string `json:"key,omitempty" tf:"key,omitempty"` Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*TagsObservation) DeepCopy ¶
func (in *TagsObservation) DeepCopy() *TagsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagsObservation.
func (*TagsObservation) DeepCopyInto ¶
func (in *TagsObservation) DeepCopyInto(out *TagsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagsParameters ¶
type TagsParameters struct { // +kubebuilder:validation:Optional Key *string `json:"key" tf:"key,omitempty"` // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*TagsParameters) DeepCopy ¶
func (in *TagsParameters) DeepCopy() *TagsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagsParameters.
func (*TagsParameters) DeepCopyInto ¶
func (in *TagsParameters) DeepCopyInto(out *TagsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.