v1beta1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=evs.flexibleengine.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "evs.flexibleengine.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	BlockStorageVolume_Kind             = "BlockStorageVolume"
	BlockStorageVolume_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BlockStorageVolume_Kind}.String()
	BlockStorageVolume_KindAPIVersion   = BlockStorageVolume_Kind + "." + CRDGroupVersion.String()
	BlockStorageVolume_GroupVersionKind = CRDGroupVersion.WithKind(BlockStorageVolume_Kind)
)

Repository type metadata.

View Source
var (
	ComputeVolumeAttach_Kind             = "ComputeVolumeAttach"
	ComputeVolumeAttach_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ComputeVolumeAttach_Kind}.String()
	ComputeVolumeAttach_KindAPIVersion   = ComputeVolumeAttach_Kind + "." + CRDGroupVersion.String()
	ComputeVolumeAttach_GroupVersionKind = CRDGroupVersion.WithKind(ComputeVolumeAttach_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type AttachmentObservation

type AttachmentObservation struct {
	Device *string `json:"device,omitempty" tf:"device,omitempty"`

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

	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`
}

func (*AttachmentObservation) DeepCopy

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

func (*AttachmentObservation) DeepCopyInto

func (in *AttachmentObservation) DeepCopyInto(out *AttachmentObservation)

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

type AttachmentParameters

type AttachmentParameters struct {
}

func (*AttachmentParameters) DeepCopy

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

func (*AttachmentParameters) DeepCopyInto

func (in *AttachmentParameters) DeepCopyInto(out *AttachmentParameters)

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

type BlockStorageVolume

type BlockStorageVolume struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BlockStorageVolumeSpec   `json:"spec"`
	Status            BlockStorageVolumeStatus `json:"status,omitempty"`
}

BlockStorageVolume is the Schema for the BlockStorageVolumes API. ""page_title: "flexibleengine_blockstorage_volume_v2" +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,flexibleengine}

func (*BlockStorageVolume) DeepCopy

func (in *BlockStorageVolume) DeepCopy() *BlockStorageVolume

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

func (*BlockStorageVolume) DeepCopyInto

func (in *BlockStorageVolume) DeepCopyInto(out *BlockStorageVolume)

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

func (*BlockStorageVolume) DeepCopyObject

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

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

func (*BlockStorageVolume) GetCondition

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

GetCondition of this BlockStorageVolume.

func (*BlockStorageVolume) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BlockStorageVolume

func (*BlockStorageVolume) GetDeletionPolicy

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

GetDeletionPolicy of this BlockStorageVolume.

func (*BlockStorageVolume) GetID

func (tr *BlockStorageVolume) GetID() string

GetID returns ID of underlying Terraform resource of this BlockStorageVolume

func (*BlockStorageVolume) GetObservation

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

GetObservation of this BlockStorageVolume

func (*BlockStorageVolume) GetParameters

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

GetParameters of this BlockStorageVolume

func (*BlockStorageVolume) GetProviderConfigReference

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

GetProviderConfigReference of this BlockStorageVolume.

func (*BlockStorageVolume) GetProviderReference

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

GetProviderReference of this BlockStorageVolume. Deprecated: Use GetProviderConfigReference.

func (*BlockStorageVolume) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BlockStorageVolume.

func (*BlockStorageVolume) GetTerraformResourceType

func (mg *BlockStorageVolume) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BlockStorageVolume

func (*BlockStorageVolume) GetTerraformSchemaVersion

func (tr *BlockStorageVolume) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BlockStorageVolume) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BlockStorageVolume.

func (*BlockStorageVolume) LateInitialize

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

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

func (*BlockStorageVolume) ResolveReferences

func (mg *BlockStorageVolume) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this BlockStorageVolume.

func (*BlockStorageVolume) SetConditions

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

SetConditions of this BlockStorageVolume.

func (*BlockStorageVolume) SetDeletionPolicy

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

SetDeletionPolicy of this BlockStorageVolume.

func (*BlockStorageVolume) SetObservation

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

SetObservation for this BlockStorageVolume

func (*BlockStorageVolume) SetParameters

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

SetParameters for this BlockStorageVolume

func (*BlockStorageVolume) SetProviderConfigReference

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

SetProviderConfigReference of this BlockStorageVolume.

func (*BlockStorageVolume) SetProviderReference

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

SetProviderReference of this BlockStorageVolume. Deprecated: Use SetProviderConfigReference.

func (*BlockStorageVolume) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BlockStorageVolume.

func (*BlockStorageVolume) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BlockStorageVolume.

type BlockStorageVolumeList

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

BlockStorageVolumeList contains a list of BlockStorageVolumes

func (*BlockStorageVolumeList) DeepCopy

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

func (*BlockStorageVolumeList) DeepCopyInto

func (in *BlockStorageVolumeList) DeepCopyInto(out *BlockStorageVolumeList)

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

func (*BlockStorageVolumeList) DeepCopyObject

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

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

func (*BlockStorageVolumeList) GetItems

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

GetItems of this BlockStorageVolumeList.

type BlockStorageVolumeObservation

type BlockStorageVolumeObservation struct {

	// If a volume is attached to an instance, this attribute will
	// display the Attachment ID, Instance ID, and the Device as the Instance
	// sees it.
	Attachment []AttachmentObservation `json:"attachment,omitempty" tf:"attachment,omitempty"`

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

func (*BlockStorageVolumeObservation) DeepCopy

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

func (*BlockStorageVolumeObservation) DeepCopyInto

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

type BlockStorageVolumeParameters

type BlockStorageVolumeParameters struct {

	// The availability zone for the volume.
	// Changing this creates a new volume.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// Specifies to delete all snapshots associated with the EVS disk.
	// +kubebuilder:validation:Optional
	Cascade *bool `json:"cascade,omitempty" tf:"cascade,omitempty"`

	// The consistency group to place the volume
	// in.
	// +kubebuilder:validation:Optional
	ConsistencyGroupID *string `json:"consistencyGroupId,omitempty" tf:"consistency_group_id,omitempty"`

	// A description of the volume. Changing this updates
	// the volume's description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The image ID from which to create the volume.
	// Changing this creates a new volume.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ims/v1beta1.Image
	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// Reference to a Image in ims to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDRef *v1.Reference `json:"imageIdRef,omitempty" tf:"-"`

	// Selector for a Image in ims to populate imageId.
	// +kubebuilder:validation:Optional
	ImageIDSelector *v1.Selector `json:"imageIdSelector,omitempty" tf:"-"`

	// Metadata key/value pairs to associate with the volume.
	// Changing this updates the existing volume metadata.
	// The EVS encryption capability with KMS key can be set with the following parameters:
	// +kubebuilder:validation:Optional
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Specifies whether the EVS disk is shareable.
	// +kubebuilder:validation:Optional
	Multiattach *bool `json:"multiattach,omitempty" tf:"multiattach,omitempty"`

	// A unique name for the volume. Changing this updates the
	// volume's name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The region in which to create the volume. If
	// omitted, the region argument of the provider is used. Changing this
	// creates a new volume.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The size of the volume to create (in gigabytes).
	// +kubebuilder:validation:Required
	Size *float64 `json:"size" tf:"size,omitempty"`

	// The snapshot ID from which to create the volume.
	// Changing this creates a new volume.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/csbs/v1beta1.Backup
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Reference to a Backup in csbs to populate snapshotId.
	// +kubebuilder:validation:Optional
	SnapshotIDRef *v1.Reference `json:"snapshotIdRef,omitempty" tf:"-"`

	// Selector for a Backup in csbs to populate snapshotId.
	// +kubebuilder:validation:Optional
	SnapshotIDSelector *v1.Selector `json:"snapshotIdSelector,omitempty" tf:"-"`

	// The volume ID to replicate with.
	// +kubebuilder:validation:Optional
	SourceReplica *string `json:"sourceReplica,omitempty" tf:"source_replica,omitempty"`

	// The volume ID from which to create the volume.
	// Changing this creates a new volume.
	// +kubebuilder:validation:Optional
	SourceVolID *string `json:"sourceVolId,omitempty" tf:"source_vol_id,omitempty"`

	// The key/value pairs to associate with the volume.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of volume to create.
	// Changing this creates a new volume.
	// +kubebuilder:validation:Optional
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*BlockStorageVolumeParameters) DeepCopy

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

func (*BlockStorageVolumeParameters) DeepCopyInto

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

type BlockStorageVolumeSpec

type BlockStorageVolumeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BlockStorageVolumeParameters `json:"forProvider"`
}

BlockStorageVolumeSpec defines the desired state of BlockStorageVolume

func (*BlockStorageVolumeSpec) DeepCopy

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

func (*BlockStorageVolumeSpec) DeepCopyInto

func (in *BlockStorageVolumeSpec) DeepCopyInto(out *BlockStorageVolumeSpec)

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

type BlockStorageVolumeStatus

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

BlockStorageVolumeStatus defines the observed state of BlockStorageVolume.

func (*BlockStorageVolumeStatus) DeepCopy

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

func (*BlockStorageVolumeStatus) DeepCopyInto

func (in *BlockStorageVolumeStatus) DeepCopyInto(out *BlockStorageVolumeStatus)

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

type ComputeVolumeAttach

type ComputeVolumeAttach struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ComputeVolumeAttachSpec   `json:"spec"`
	Status            ComputeVolumeAttachStatus `json:"status,omitempty"`
}

ComputeVolumeAttach is the Schema for the ComputeVolumeAttachs API. ""page_title: "flexibleengine_compute_volume_attach_v2" +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,flexibleengine}

func (*ComputeVolumeAttach) DeepCopy

func (in *ComputeVolumeAttach) DeepCopy() *ComputeVolumeAttach

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

func (*ComputeVolumeAttach) DeepCopyInto

func (in *ComputeVolumeAttach) DeepCopyInto(out *ComputeVolumeAttach)

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

func (*ComputeVolumeAttach) DeepCopyObject

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

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

func (*ComputeVolumeAttach) GetCondition

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

GetCondition of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ComputeVolumeAttach

func (*ComputeVolumeAttach) GetDeletionPolicy

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

GetDeletionPolicy of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) GetID

func (tr *ComputeVolumeAttach) GetID() string

GetID returns ID of underlying Terraform resource of this ComputeVolumeAttach

func (*ComputeVolumeAttach) GetObservation

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

GetObservation of this ComputeVolumeAttach

func (*ComputeVolumeAttach) GetParameters

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

GetParameters of this ComputeVolumeAttach

func (*ComputeVolumeAttach) GetProviderConfigReference

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

GetProviderConfigReference of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) GetProviderReference

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

GetProviderReference of this ComputeVolumeAttach. Deprecated: Use GetProviderConfigReference.

func (*ComputeVolumeAttach) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) GetTerraformResourceType

func (mg *ComputeVolumeAttach) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ComputeVolumeAttach

func (*ComputeVolumeAttach) GetTerraformSchemaVersion

func (tr *ComputeVolumeAttach) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ComputeVolumeAttach) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) LateInitialize

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

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

func (*ComputeVolumeAttach) ResolveReferences

func (mg *ComputeVolumeAttach) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) SetConditions

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

SetConditions of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) SetDeletionPolicy

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

SetDeletionPolicy of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) SetObservation

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

SetObservation for this ComputeVolumeAttach

func (*ComputeVolumeAttach) SetParameters

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

SetParameters for this ComputeVolumeAttach

func (*ComputeVolumeAttach) SetProviderConfigReference

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

SetProviderConfigReference of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) SetProviderReference

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

SetProviderReference of this ComputeVolumeAttach. Deprecated: Use SetProviderConfigReference.

func (*ComputeVolumeAttach) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ComputeVolumeAttach.

func (*ComputeVolumeAttach) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ComputeVolumeAttach.

type ComputeVolumeAttachList

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

ComputeVolumeAttachList contains a list of ComputeVolumeAttachs

func (*ComputeVolumeAttachList) DeepCopy

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

func (*ComputeVolumeAttachList) DeepCopyInto

func (in *ComputeVolumeAttachList) DeepCopyInto(out *ComputeVolumeAttachList)

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

func (*ComputeVolumeAttachList) DeepCopyObject

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

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

func (*ComputeVolumeAttachList) GetItems

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

GetItems of this ComputeVolumeAttachList.

type ComputeVolumeAttachObservation

type ComputeVolumeAttachObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ComputeVolumeAttachObservation) DeepCopy

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

func (*ComputeVolumeAttachObservation) DeepCopyInto

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

type ComputeVolumeAttachParameters

type ComputeVolumeAttachParameters struct {

	// The device of the volume attachment (ex: /dev/vdc).
	// Being able to specify a device is dependent upon the hypervisor in use. Please use with caution.
	// +kubebuilder:validation:Optional
	Device *string `json:"device,omitempty" tf:"device,omitempty"`

	// The ID of the Instance to attach the Volume to.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.Instance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// Reference to a Instance in ecs to populate instanceId.
	// +kubebuilder:validation:Optional
	InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"`

	// Selector for a Instance in ecs to populate instanceId.
	// +kubebuilder:validation:Optional
	InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"`

	// The region in which to obtain the V2 Compute client.
	// A Compute client is needed to create a volume attachment. If omitted, the
	// region argument of the provider is used. Changing this creates a
	// new volume attachment.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The ID of the Volume to attach to an Instance.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/evs/v1beta1.BlockStorageVolume
	// +kubebuilder:validation:Optional
	VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`

	// Reference to a BlockStorageVolume in evs to populate volumeId.
	// +kubebuilder:validation:Optional
	VolumeIDRef *v1.Reference `json:"volumeIdRef,omitempty" tf:"-"`

	// Selector for a BlockStorageVolume in evs to populate volumeId.
	// +kubebuilder:validation:Optional
	VolumeIDSelector *v1.Selector `json:"volumeIdSelector,omitempty" tf:"-"`
}

func (*ComputeVolumeAttachParameters) DeepCopy

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

func (*ComputeVolumeAttachParameters) DeepCopyInto

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

type ComputeVolumeAttachSpec

type ComputeVolumeAttachSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ComputeVolumeAttachParameters `json:"forProvider"`
}

ComputeVolumeAttachSpec defines the desired state of ComputeVolumeAttach

func (*ComputeVolumeAttachSpec) DeepCopy

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

func (*ComputeVolumeAttachSpec) DeepCopyInto

func (in *ComputeVolumeAttachSpec) DeepCopyInto(out *ComputeVolumeAttachSpec)

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

type ComputeVolumeAttachStatus

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

ComputeVolumeAttachStatus defines the observed state of ComputeVolumeAttach.

func (*ComputeVolumeAttachStatus) DeepCopy

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

func (*ComputeVolumeAttachStatus) DeepCopyInto

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