Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=compute.openstack.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BlockDeviceObservation
- type BlockDeviceParameters
- type InstanceV2
- func (in *InstanceV2) DeepCopy() *InstanceV2
- func (in *InstanceV2) DeepCopyInto(out *InstanceV2)
- func (in *InstanceV2) DeepCopyObject() runtime.Object
- func (mg *InstanceV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *InstanceV2) GetConnectionDetailsMapping() map[string]string
- func (mg *InstanceV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *InstanceV2) GetID() string
- func (mg *InstanceV2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *InstanceV2) GetObservation() (map[string]any, error)
- func (tr *InstanceV2) GetParameters() (map[string]any, error)
- func (mg *InstanceV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *InstanceV2) GetProviderReference() *xpv1.Reference
- func (mg *InstanceV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *InstanceV2) GetTerraformResourceType() string
- func (tr *InstanceV2) GetTerraformSchemaVersion() int
- func (mg *InstanceV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *InstanceV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *InstanceV2) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *InstanceV2) SetConditions(c ...xpv1.Condition)
- func (mg *InstanceV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *InstanceV2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *InstanceV2) SetObservation(obs map[string]any) error
- func (tr *InstanceV2) SetParameters(params map[string]any) error
- func (mg *InstanceV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *InstanceV2) SetProviderReference(r *xpv1.Reference)
- func (mg *InstanceV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *InstanceV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InstanceV2List
- type InstanceV2Observation
- type InstanceV2Parameters
- type InstanceV2Spec
- type InstanceV2Status
- type KeypairV2
- func (in *KeypairV2) DeepCopy() *KeypairV2
- func (in *KeypairV2) DeepCopyInto(out *KeypairV2)
- func (in *KeypairV2) DeepCopyObject() runtime.Object
- func (mg *KeypairV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *KeypairV2) GetConnectionDetailsMapping() map[string]string
- func (mg *KeypairV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *KeypairV2) GetID() string
- func (mg *KeypairV2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *KeypairV2) GetObservation() (map[string]any, error)
- func (tr *KeypairV2) GetParameters() (map[string]any, error)
- func (mg *KeypairV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *KeypairV2) GetProviderReference() *xpv1.Reference
- func (mg *KeypairV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *KeypairV2) GetTerraformResourceType() string
- func (tr *KeypairV2) GetTerraformSchemaVersion() int
- func (mg *KeypairV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *KeypairV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *KeypairV2) SetConditions(c ...xpv1.Condition)
- func (mg *KeypairV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *KeypairV2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *KeypairV2) SetObservation(obs map[string]any) error
- func (tr *KeypairV2) SetParameters(params map[string]any) error
- func (mg *KeypairV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *KeypairV2) SetProviderReference(r *xpv1.Reference)
- func (mg *KeypairV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *KeypairV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type KeypairV2List
- type KeypairV2Observation
- type KeypairV2Parameters
- type KeypairV2Spec
- type KeypairV2Status
- type NetworkObservation
- type NetworkParameters
- type PersonalityObservation
- type PersonalityParameters
- type SchedulerHintsObservation
- type SchedulerHintsParameters
- type VendorOptionsObservation
- type VendorOptionsParameters
- type VolumeObservation
- type VolumeParameters
Constants ¶
const ( CRDGroup = "compute.openstack.upbound.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 ( InstanceV2_Kind = "InstanceV2" InstanceV2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InstanceV2_Kind}.String() InstanceV2_KindAPIVersion = InstanceV2_Kind + "." + CRDGroupVersion.String() InstanceV2_GroupVersionKind = CRDGroupVersion.WithKind(InstanceV2_Kind) )
Repository type metadata.
var ( KeypairV2_Kind = "KeypairV2" KeypairV2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: KeypairV2_Kind}.String() KeypairV2_KindAPIVersion = KeypairV2_Kind + "." + CRDGroupVersion.String() KeypairV2_GroupVersionKind = CRDGroupVersion.WithKind(KeypairV2_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type BlockDeviceObservation ¶
type BlockDeviceObservation struct { }
func (*BlockDeviceObservation) DeepCopy ¶
func (in *BlockDeviceObservation) DeepCopy() *BlockDeviceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceObservation.
func (*BlockDeviceObservation) DeepCopyInto ¶
func (in *BlockDeviceObservation) DeepCopyInto(out *BlockDeviceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlockDeviceParameters ¶
type BlockDeviceParameters struct { // The boot index of the volume. It defaults to 0. // Changing this creates a new server. // +kubebuilder:validation:Optional BootIndex *float64 `json:"bootIndex,omitempty" tf:"boot_index,omitempty"` // Delete the volume / block device upon // termination of the instance. Defaults to false. Changing this creates a // new server. // +kubebuilder:validation:Optional DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"` // The type that gets created. Possible values // are "volume" and "local". Changing this creates a new server. // +kubebuilder:validation:Optional DestinationType *string `json:"destinationType,omitempty" tf:"destination_type,omitempty"` // The low-level device type that will be used. Most // common thing is to leave this empty. Changing this creates a new server. // +kubebuilder:validation:Optional DeviceType *string `json:"deviceType,omitempty" tf:"device_type,omitempty"` // The low-level disk bus that will be used. Most common // thing is to leave this empty. Changing this creates a new server. // +kubebuilder:validation:Optional DiskBus *string `json:"diskBus,omitempty" tf:"disk_bus,omitempty"` // Specifies the guest server disk file system format, // such as ext2, ext3, ext4, xfs or swap. Swap block device mappings // have the following restrictions: source_type must be blank and destination_type // must be local and only one swap disk per server and the size of the swap disk // must be less than or equal to the swap size of the flavor. Changing this // creates a new server. // +kubebuilder:validation:Optional GuestFormat *string `json:"guestFormat,omitempty" tf:"guest_format,omitempty"` // The source type of the device. Must be one of // "blank", "image", "volume", or "snapshot". Changing this creates a new // server. // +kubebuilder:validation:Required SourceType *string `json:"sourceType" tf:"source_type,omitempty"` // The UUID of // the image, volume, or snapshot. Changing this creates a new server. // +kubebuilder:validation:Optional UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"` // The size of the volume to create (in gigabytes). Required // in the following combinations: source=image and destination=volume, // source=blank and destination=local, and source=blank and destination=volume. // Changing this creates a new server. // +kubebuilder:validation:Optional VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"` // The volume type that will be used, for example SSD // or HDD storage. The available options depend on how your specific OpenStack // cloud is configured and what classes of storage are provided. Changing this // creates a new server. // +kubebuilder:validation:Optional VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"` }
func (*BlockDeviceParameters) DeepCopy ¶
func (in *BlockDeviceParameters) DeepCopy() *BlockDeviceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceParameters.
func (*BlockDeviceParameters) DeepCopyInto ¶
func (in *BlockDeviceParameters) DeepCopyInto(out *BlockDeviceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceV2 ¶
type InstanceV2 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceV2Spec `json:"spec"` Status InstanceV2Status `json:"status,omitempty"` }
InstanceV2 is the Schema for the InstanceV2s API. Manages a V2 VM instance resource within OpenStack. +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,openstack}
func (*InstanceV2) DeepCopy ¶
func (in *InstanceV2) DeepCopy() *InstanceV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceV2.
func (*InstanceV2) DeepCopyInto ¶
func (in *InstanceV2) DeepCopyInto(out *InstanceV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceV2) DeepCopyObject ¶
func (in *InstanceV2) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceV2) GetCondition ¶
func (mg *InstanceV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this InstanceV2.
func (*InstanceV2) GetConnectionDetailsMapping ¶
func (tr *InstanceV2) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this InstanceV2
func (*InstanceV2) GetDeletionPolicy ¶
func (mg *InstanceV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this InstanceV2.
func (*InstanceV2) GetID ¶
func (tr *InstanceV2) GetID() string
GetID returns ID of underlying Terraform resource of this InstanceV2
func (*InstanceV2) GetManagementPolicies ¶
func (mg *InstanceV2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this InstanceV2.
func (*InstanceV2) GetObservation ¶
func (tr *InstanceV2) GetObservation() (map[string]any, error)
GetObservation of this InstanceV2
func (*InstanceV2) GetParameters ¶
func (tr *InstanceV2) GetParameters() (map[string]any, error)
GetParameters of this InstanceV2
func (*InstanceV2) GetProviderConfigReference ¶
func (mg *InstanceV2) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this InstanceV2.
func (*InstanceV2) GetProviderReference ¶
func (mg *InstanceV2) GetProviderReference() *xpv1.Reference
GetProviderReference of this InstanceV2. Deprecated: Use GetProviderConfigReference.
func (*InstanceV2) GetPublishConnectionDetailsTo ¶
func (mg *InstanceV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this InstanceV2.
func (*InstanceV2) GetTerraformResourceType ¶
func (mg *InstanceV2) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this InstanceV2
func (*InstanceV2) GetTerraformSchemaVersion ¶
func (tr *InstanceV2) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*InstanceV2) GetWriteConnectionSecretToReference ¶
func (mg *InstanceV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this InstanceV2.
func (*InstanceV2) LateInitialize ¶
func (tr *InstanceV2) LateInitialize(attrs []byte) (bool, error)
LateInitialize this InstanceV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*InstanceV2) ResolveReferences ¶
ResolveReferences of this InstanceV2.
func (*InstanceV2) SetConditions ¶
func (mg *InstanceV2) SetConditions(c ...xpv1.Condition)
SetConditions of this InstanceV2.
func (*InstanceV2) SetDeletionPolicy ¶
func (mg *InstanceV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this InstanceV2.
func (*InstanceV2) SetManagementPolicies ¶
func (mg *InstanceV2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this InstanceV2.
func (*InstanceV2) SetObservation ¶
func (tr *InstanceV2) SetObservation(obs map[string]any) error
SetObservation for this InstanceV2
func (*InstanceV2) SetParameters ¶
func (tr *InstanceV2) SetParameters(params map[string]any) error
SetParameters for this InstanceV2
func (*InstanceV2) SetProviderConfigReference ¶
func (mg *InstanceV2) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this InstanceV2.
func (*InstanceV2) SetProviderReference ¶
func (mg *InstanceV2) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this InstanceV2. Deprecated: Use SetProviderConfigReference.
func (*InstanceV2) SetPublishConnectionDetailsTo ¶
func (mg *InstanceV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this InstanceV2.
func (*InstanceV2) SetWriteConnectionSecretToReference ¶
func (mg *InstanceV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this InstanceV2.
type InstanceV2List ¶
type InstanceV2List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InstanceV2 `json:"items"` }
InstanceV2List contains a list of InstanceV2s
func (*InstanceV2List) DeepCopy ¶
func (in *InstanceV2List) DeepCopy() *InstanceV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceV2List.
func (*InstanceV2List) DeepCopyInto ¶
func (in *InstanceV2List) DeepCopyInto(out *InstanceV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceV2List) DeepCopyObject ¶
func (in *InstanceV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceV2List) GetItems ¶
func (l *InstanceV2List) GetItems() []resource.Managed
GetItems of this InstanceV2List.
type InstanceV2Observation ¶
type InstanceV2Observation struct { AllMetadata map[string]*string `json:"allMetadata,omitempty" tf:"all_metadata,omitempty"` // The collection of tags assigned on the instance, which have // been explicitly and implicitly added. AllTags []*string `json:"allTags,omitempty" tf:"all_tags,omitempty"` // The creation time of the instance. Created *string `json:"created,omitempty" tf:"created,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // An array of one or more networks to attach to the // instance. The network object structure is documented below. Changing this // creates a new server. // +kubebuilder:validation:Optional Network []NetworkObservation `json:"network,omitempty" tf:"network,omitempty"` // The time when the instance was last updated. Updated *string `json:"updated,omitempty" tf:"updated,omitempty"` }
func (*InstanceV2Observation) DeepCopy ¶
func (in *InstanceV2Observation) DeepCopy() *InstanceV2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceV2Observation.
func (*InstanceV2Observation) DeepCopyInto ¶
func (in *InstanceV2Observation) DeepCopyInto(out *InstanceV2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceV2Parameters ¶
type InstanceV2Parameters struct { // The first detected Fixed IPv4 address. // +kubebuilder:validation:Optional AccessIPV4 *string `json:"accessIpV4,omitempty" tf:"access_ip_v4,omitempty"` // The first detected Fixed IPv6 address. // +kubebuilder:validation:Optional AccessIPV6 *string `json:"accessIpV6,omitempty" tf:"access_ip_v6,omitempty"` // The administrative password to assign to the server. // Changing this changes the root password on the existing server. // +kubebuilder:validation:Optional AdminPassSecretRef *v1.SecretKeySelector `json:"adminPassSecretRef,omitempty" tf:"-"` // The availability zone in which to create // the server. Conflicts with availability_zone_hints. Changing this creates // a new server. // +kubebuilder:validation:Optional AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` // The availability zone in which to // create the server. This argument is preferred to availability_zone, when // scheduling the server on a // particular // host or node. Conflicts with availability_zone. Changing this creates a // new server. // +kubebuilder:validation:Optional AvailabilityZoneHints *string `json:"availabilityZoneHints,omitempty" tf:"availability_zone_hints,omitempty"` // Configuration of block devices. The block_device // structure is documented below. Changing this creates a new server. // You can specify multiple block devices which will create an instance with // multiple disks. This configuration is very flexible, so please see the // following reference // for more information. // +kubebuilder:validation:Optional BlockDevice []BlockDeviceParameters `json:"blockDevice,omitempty" tf:"block_device,omitempty"` // Whether to use the config_drive feature to // configure the instance. Changing this creates a new server. // +kubebuilder:validation:Optional ConfigDrive *bool `json:"configDrive,omitempty" tf:"config_drive,omitempty"` // The flavor ID of // the desired flavor for the server. Changing this resizes the existing server. // +kubebuilder:validation:Optional FlavorID *string `json:"flavorId,omitempty" tf:"flavor_id,omitempty"` // The name of the // desired flavor for the server. Changing this resizes the existing server. // +kubebuilder:validation:Optional FlavorName *string `json:"flavorName,omitempty" tf:"flavor_name,omitempty"` // +kubebuilder:validation:Optional FloatingIP *string `json:"floatingIp,omitempty" tf:"floating_ip,omitempty"` // Whether to force the OpenStack instance to be // forcefully deleted. This is useful for environments that have reclaim / soft // deletion enabled. // +kubebuilder:validation:Optional ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"` // The image ID of // the desired image for the server. Changing this rebuilds the existing // server. // +kubebuilder:validation:Optional ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"` // The name of the // desired image for the server. Changing this rebuilds the existing server. // +kubebuilder:validation:Optional ImageName *string `json:"imageName,omitempty" tf:"image_name,omitempty"` // The name of a key pair to put on the server. The key // pair must already be created and associated with the tenant's account. // Changing this creates a new server. // +crossplane:generate:reference:type=KeypairV2 // +kubebuilder:validation:Optional KeyPair *string `json:"keyPair,omitempty" tf:"key_pair,omitempty"` // Reference to a KeypairV2 to populate keyPair. // +kubebuilder:validation:Optional KeyPairRef *v1.Reference `json:"keyPairRef,omitempty" tf:"-"` // Selector for a KeypairV2 to populate keyPair. // +kubebuilder:validation:Optional KeyPairSelector *v1.Selector `json:"keyPairSelector,omitempty" tf:"-"` // Metadata key/value pairs to make available from // within the instance. Changing this updates the existing server metadata. // +kubebuilder:validation:Optional Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // A unique name for the resource. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // An array of one or more networks to attach to the // instance. The network object structure is documented below. Changing this // creates a new server. // +kubebuilder:validation:Optional Network []NetworkParameters `json:"network,omitempty" tf:"network,omitempty"` // Special string for network option to create // the server. network_mode can be "auto" or "none". // Please see the following reference for more information. Conflicts with network. // +kubebuilder:validation:Optional NetworkMode *string `json:"networkMode,omitempty" tf:"network_mode,omitempty"` // Customize the personality of an instance by // defining one or more files and their contents. The personality structure // is described below. Changing this rebuilds the existing server. // +kubebuilder:validation:Optional Personality []PersonalityParameters `json:"personality,omitempty" tf:"personality,omitempty"` // Provide the VM state. Only 'active' and 'shutoff' // are supported values. Note: If the initial power_state is the shutoff // the VM will be stopped immediately after build and the provisioners like // remote-exec or files are not supported. // +kubebuilder:validation:Optional PowerState *string `json:"powerState,omitempty" tf:"power_state,omitempty"` // The region in which to create the server instance. If // omitted, the region argument of the provider is used. Changing this // creates a new server. // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // Provide the Nova scheduler with hints on how // the instance should be launched. The available hints are described below. // +kubebuilder:validation:Optional SchedulerHints []SchedulerHintsParameters `json:"schedulerHints,omitempty" tf:"scheduler_hints,omitempty"` // An array of one or more security group names // to associate with the server. Changing this results in adding/removing // security groups from the existing server. Note: When attaching the // instance to networks using Ports, place the security groups on the Port // and not the instance. Note: Names should be used and not ids, as ids // trigger unnecessary updates. // +kubebuilder:validation:Optional SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` // Whether to try stop instance gracefully // before destroying it, thus giving chance for guest OS daemons to stop correctly. // If instance doesn't stop within timeout, it will be destroyed anyway. // +kubebuilder:validation:Optional StopBeforeDestroy *bool `json:"stopBeforeDestroy,omitempty" tf:"stop_before_destroy,omitempty"` // A set of string tags for the instance. Changing this // updates the existing instance tags. // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // The user data to provide when launching the instance. // Changing this creates a new server. // +kubebuilder:validation:Optional UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"` // Map of additional vendor-specific options. // Supported options are described below. // +kubebuilder:validation:Optional VendorOptions []VendorOptionsParameters `json:"vendorOptions,omitempty" tf:"vendor_options,omitempty"` // +kubebuilder:validation:Optional Volume []VolumeParameters `json:"volume,omitempty" tf:"volume,omitempty"` }
func (*InstanceV2Parameters) DeepCopy ¶
func (in *InstanceV2Parameters) DeepCopy() *InstanceV2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceV2Parameters.
func (*InstanceV2Parameters) DeepCopyInto ¶
func (in *InstanceV2Parameters) DeepCopyInto(out *InstanceV2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceV2Spec ¶
type InstanceV2Spec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceV2Parameters `json:"forProvider"` }
InstanceV2Spec defines the desired state of InstanceV2
func (*InstanceV2Spec) DeepCopy ¶
func (in *InstanceV2Spec) DeepCopy() *InstanceV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceV2Spec.
func (*InstanceV2Spec) DeepCopyInto ¶
func (in *InstanceV2Spec) DeepCopyInto(out *InstanceV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceV2Status ¶
type InstanceV2Status struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceV2Observation `json:"atProvider,omitempty"` }
InstanceV2Status defines the observed state of InstanceV2.
func (*InstanceV2Status) DeepCopy ¶
func (in *InstanceV2Status) DeepCopy() *InstanceV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceV2Status.
func (*InstanceV2Status) DeepCopyInto ¶
func (in *InstanceV2Status) DeepCopyInto(out *InstanceV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeypairV2 ¶
type KeypairV2 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeypairV2Spec `json:"spec"` Status KeypairV2Status `json:"status,omitempty"` }
KeypairV2 is the Schema for the KeypairV2s API. Manages a V2 keypair resource within OpenStack. +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,openstack}
func (*KeypairV2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeypairV2.
func (*KeypairV2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeypairV2) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KeypairV2) GetCondition ¶
func (mg *KeypairV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this KeypairV2.
func (*KeypairV2) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this KeypairV2
func (*KeypairV2) GetDeletionPolicy ¶
func (mg *KeypairV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this KeypairV2.
func (*KeypairV2) GetManagementPolicies ¶
func (mg *KeypairV2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this KeypairV2.
func (*KeypairV2) GetObservation ¶
GetObservation of this KeypairV2
func (*KeypairV2) GetParameters ¶
GetParameters of this KeypairV2
func (*KeypairV2) GetProviderConfigReference ¶
GetProviderConfigReference of this KeypairV2.
func (*KeypairV2) GetProviderReference ¶
GetProviderReference of this KeypairV2. Deprecated: Use GetProviderConfigReference.
func (*KeypairV2) GetPublishConnectionDetailsTo ¶
func (mg *KeypairV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this KeypairV2.
func (*KeypairV2) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this KeypairV2
func (*KeypairV2) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*KeypairV2) GetWriteConnectionSecretToReference ¶
func (mg *KeypairV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this KeypairV2.
func (*KeypairV2) LateInitialize ¶
LateInitialize this KeypairV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*KeypairV2) SetConditions ¶
SetConditions of this KeypairV2.
func (*KeypairV2) SetDeletionPolicy ¶
func (mg *KeypairV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this KeypairV2.
func (*KeypairV2) SetManagementPolicies ¶
func (mg *KeypairV2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this KeypairV2.
func (*KeypairV2) SetObservation ¶
SetObservation for this KeypairV2
func (*KeypairV2) SetParameters ¶
SetParameters for this KeypairV2
func (*KeypairV2) SetProviderConfigReference ¶
SetProviderConfigReference of this KeypairV2.
func (*KeypairV2) SetProviderReference ¶
SetProviderReference of this KeypairV2. Deprecated: Use SetProviderConfigReference.
func (*KeypairV2) SetPublishConnectionDetailsTo ¶
func (mg *KeypairV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this KeypairV2.
func (*KeypairV2) SetWriteConnectionSecretToReference ¶
func (mg *KeypairV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this KeypairV2.
type KeypairV2List ¶
type KeypairV2List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KeypairV2 `json:"items"` }
KeypairV2List contains a list of KeypairV2s
func (*KeypairV2List) DeepCopy ¶
func (in *KeypairV2List) DeepCopy() *KeypairV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeypairV2List.
func (*KeypairV2List) DeepCopyInto ¶
func (in *KeypairV2List) DeepCopyInto(out *KeypairV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeypairV2List) DeepCopyObject ¶
func (in *KeypairV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KeypairV2List) GetItems ¶
func (l *KeypairV2List) GetItems() []resource.Managed
GetItems of this KeypairV2List.
type KeypairV2Observation ¶
type KeypairV2Observation struct { // The fingerprint of the public key. Fingerprint *string `json:"fingerprint,omitempty" tf:"fingerprint,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The generated private key when no public key is specified. PrivateKey *string `json:"privateKey,omitempty" tf:"private_key,omitempty"` }
func (*KeypairV2Observation) DeepCopy ¶
func (in *KeypairV2Observation) DeepCopy() *KeypairV2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeypairV2Observation.
func (*KeypairV2Observation) DeepCopyInto ¶
func (in *KeypairV2Observation) DeepCopyInto(out *KeypairV2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeypairV2Parameters ¶
type KeypairV2Parameters struct { // A unique name for the keypair. Changing this creates a new // keypair. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // A pregenerated OpenSSH-formatted public key. // Changing this creates a new keypair. If a public key is not specified, then // a public/private key pair will be automatically generated. If a pair is // created, then destroying this resource means you will lose access to that // keypair forever. // +kubebuilder:validation:Optional PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"` // The region in which to obtain the V2 Compute client. // Keypairs are associated with accounts, but a Compute client is needed to // create one. If omitted, the region argument of the provider is used. // Changing this creates a new keypair. // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // This allows administrative users to operate key-pairs // of specified user ID. For this feature your need to have openstack microversion // 2.10 (Liberty) or later. // +kubebuilder:validation:Optional UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` // Map of additional options. // +kubebuilder:validation:Optional ValueSpecs map[string]*string `json:"valueSpecs,omitempty" tf:"value_specs,omitempty"` }
func (*KeypairV2Parameters) DeepCopy ¶
func (in *KeypairV2Parameters) DeepCopy() *KeypairV2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeypairV2Parameters.
func (*KeypairV2Parameters) DeepCopyInto ¶
func (in *KeypairV2Parameters) DeepCopyInto(out *KeypairV2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeypairV2Spec ¶
type KeypairV2Spec struct { v1.ResourceSpec `json:",inline"` ForProvider KeypairV2Parameters `json:"forProvider"` }
KeypairV2Spec defines the desired state of KeypairV2
func (*KeypairV2Spec) DeepCopy ¶
func (in *KeypairV2Spec) DeepCopy() *KeypairV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeypairV2Spec.
func (*KeypairV2Spec) DeepCopyInto ¶
func (in *KeypairV2Spec) DeepCopyInto(out *KeypairV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeypairV2Status ¶
type KeypairV2Status struct { v1.ResourceStatus `json:",inline"` AtProvider KeypairV2Observation `json:"atProvider,omitempty"` }
KeypairV2Status defines the observed state of KeypairV2.
func (*KeypairV2Status) DeepCopy ¶
func (in *KeypairV2Status) DeepCopy() *KeypairV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeypairV2Status.
func (*KeypairV2Status) DeepCopyInto ¶
func (in *KeypairV2Status) DeepCopyInto(out *KeypairV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkObservation ¶
type NetworkObservation struct {
Mac *string `json:"mac,omitempty" tf:"mac,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 { // Specifies if this network should be used for // provisioning access. Accepts true or false. Defaults to false. // +kubebuilder:validation:Optional AccessNetwork *bool `json:"accessNetwork,omitempty" tf:"access_network,omitempty"` // Specifies a fixed IPv4 address to be used on this // network. Changing this creates a new server. // +kubebuilder:validation:Optional FixedIPV4 *string `json:"fixedIpV4,omitempty" tf:"fixed_ip_v4,omitempty"` // +kubebuilder:validation:Optional FixedIPV6 *string `json:"fixedIpV6,omitempty" tf:"fixed_ip_v6,omitempty"` // +kubebuilder:validation:Optional FloatingIP *string `json:"floatingIp,omitempty" tf:"floating_ip,omitempty"` // The human-readable // name of the network. Changing this creates a new server. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The port UUID of a // network to attach to the server. Changing this creates a new server. // +kubebuilder:validation:Optional Port *string `json:"port,omitempty" tf:"port,omitempty"` // The network UUID to // attach to the server. Changing this creates a new server. // +kubebuilder:validation:Optional UUID *string `json:"uuid,omitempty" tf:"uuid,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 PersonalityObservation ¶
type PersonalityObservation struct { }
func (*PersonalityObservation) DeepCopy ¶
func (in *PersonalityObservation) DeepCopy() *PersonalityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersonalityObservation.
func (*PersonalityObservation) DeepCopyInto ¶
func (in *PersonalityObservation) DeepCopyInto(out *PersonalityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersonalityParameters ¶
type PersonalityParameters struct { // The contents of the file. Limited to 255 bytes. // +kubebuilder:validation:Required Content *string `json:"content" tf:"content,omitempty"` // The absolute path of the destination file. // +kubebuilder:validation:Required File *string `json:"file" tf:"file,omitempty"` }
func (*PersonalityParameters) DeepCopy ¶
func (in *PersonalityParameters) DeepCopy() *PersonalityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersonalityParameters.
func (*PersonalityParameters) DeepCopyInto ¶
func (in *PersonalityParameters) DeepCopyInto(out *PersonalityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulerHintsObservation ¶
type SchedulerHintsObservation struct { }
func (*SchedulerHintsObservation) DeepCopy ¶
func (in *SchedulerHintsObservation) DeepCopy() *SchedulerHintsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerHintsObservation.
func (*SchedulerHintsObservation) DeepCopyInto ¶
func (in *SchedulerHintsObservation) DeepCopyInto(out *SchedulerHintsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulerHintsParameters ¶
type SchedulerHintsParameters struct { // Arbitrary key/value pairs of additional // properties to pass to the scheduler. // +kubebuilder:validation:Optional AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` // An IP Address in CIDR form. The instance // will be placed on a compute node that is in the same subnet. // +kubebuilder:validation:Optional BuildNearHostIP *string `json:"buildNearHostIp,omitempty" tf:"build_near_host_ip,omitempty"` // The names of cells where not to build the instance. // +kubebuilder:validation:Optional DifferentCell []*string `json:"differentCell,omitempty" tf:"different_cell,omitempty"` // A list of instance UUIDs. The instance will // be scheduled on a different host than all other instances. // +kubebuilder:validation:Optional DifferentHost []*string `json:"differentHost,omitempty" tf:"different_host,omitempty"` // A UUID of a Server Group. The instance will be placed // into that group. // +kubebuilder:validation:Optional Group *string `json:"group,omitempty" tf:"group,omitempty"` // A conditional query that a compute node must pass in // order to host an instance. The query must use the JsonFilter syntax // which is described // here. // At this time, only simple queries are supported. Compound queries using // and, or, or not are not supported. An example of a simple query is: // +kubebuilder:validation:Optional Query []*string `json:"query,omitempty" tf:"query,omitempty"` // A list of instance UUIDs. The instance will be // scheduled on the same host of those specified. // +kubebuilder:validation:Optional SameHost []*string `json:"sameHost,omitempty" tf:"same_host,omitempty"` // The name of a cell to host the instance. // +kubebuilder:validation:Optional TargetCell *string `json:"targetCell,omitempty" tf:"target_cell,omitempty"` }
func (*SchedulerHintsParameters) DeepCopy ¶
func (in *SchedulerHintsParameters) DeepCopy() *SchedulerHintsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerHintsParameters.
func (*SchedulerHintsParameters) DeepCopyInto ¶
func (in *SchedulerHintsParameters) DeepCopyInto(out *SchedulerHintsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VendorOptionsObservation ¶
type VendorOptionsObservation struct { }
func (*VendorOptionsObservation) DeepCopy ¶
func (in *VendorOptionsObservation) DeepCopy() *VendorOptionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VendorOptionsObservation.
func (*VendorOptionsObservation) DeepCopyInto ¶
func (in *VendorOptionsObservation) DeepCopyInto(out *VendorOptionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VendorOptionsParameters ¶
type VendorOptionsParameters struct { // Whether to try to detach all attached // ports to the vm before destroying it to make sure the port state is correct // after the vm destruction. This is helpful when the port is not deleted. // +kubebuilder:validation:Optional DetachPortsBeforeDestroy *bool `json:"detachPortsBeforeDestroy,omitempty" tf:"detach_ports_before_destroy,omitempty"` // Boolean to control whether // to ignore manual confirmation of the instance resizing. This can be helpful // to work with some OpenStack clouds which automatically confirm resizing of // instances after some timeout. // +kubebuilder:validation:Optional IgnoreResizeConfirmation *bool `json:"ignoreResizeConfirmation,omitempty" tf:"ignore_resize_confirmation,omitempty"` }
func (*VendorOptionsParameters) DeepCopy ¶
func (in *VendorOptionsParameters) DeepCopy() *VendorOptionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VendorOptionsParameters.
func (*VendorOptionsParameters) DeepCopyInto ¶
func (in *VendorOptionsParameters) DeepCopyInto(out *VendorOptionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeObservation ¶
type VolumeObservation struct { }
func (*VolumeObservation) DeepCopy ¶
func (in *VolumeObservation) DeepCopy() *VolumeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeObservation.
func (*VolumeObservation) DeepCopyInto ¶
func (in *VolumeObservation) DeepCopyInto(out *VolumeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeParameters ¶
type VolumeParameters struct { // +kubebuilder:validation:Optional Device *string `json:"device,omitempty" tf:"device,omitempty"` // +kubebuilder:validation:Optional ID *string `json:"id,omitempty" tf:"id,omitempty"` // +kubebuilder:validation:Required VolumeID *string `json:"volumeId" tf:"volume_id,omitempty"` }
func (*VolumeParameters) DeepCopy ¶
func (in *VolumeParameters) DeepCopy() *VolumeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeParameters.
func (*VolumeParameters) DeepCopyInto ¶
func (in *VolumeParameters) DeepCopyInto(out *VolumeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.