Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=volume.openstack.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AttachmentObservation
- type AttachmentParameters
- type SchedulerHintsObservation
- type SchedulerHintsParameters
- type VolumeV3
- func (in *VolumeV3) DeepCopy() *VolumeV3
- func (in *VolumeV3) DeepCopyInto(out *VolumeV3)
- func (in *VolumeV3) DeepCopyObject() runtime.Object
- func (mg *VolumeV3) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *VolumeV3) GetConnectionDetailsMapping() map[string]string
- func (mg *VolumeV3) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *VolumeV3) GetID() string
- func (tr *VolumeV3) GetObservation() (map[string]any, error)
- func (tr *VolumeV3) GetParameters() (map[string]any, error)
- func (mg *VolumeV3) GetProviderConfigReference() *xpv1.Reference
- func (mg *VolumeV3) GetProviderReference() *xpv1.Reference
- func (mg *VolumeV3) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *VolumeV3) GetTerraformResourceType() string
- func (tr *VolumeV3) GetTerraformSchemaVersion() int
- func (mg *VolumeV3) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *VolumeV3) LateInitialize(attrs []byte) (bool, error)
- func (mg *VolumeV3) SetConditions(c ...xpv1.Condition)
- func (mg *VolumeV3) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *VolumeV3) SetObservation(obs map[string]any) error
- func (tr *VolumeV3) SetParameters(params map[string]any) error
- func (mg *VolumeV3) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VolumeV3) SetProviderReference(r *xpv1.Reference)
- func (mg *VolumeV3) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *VolumeV3) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VolumeV3List
- type VolumeV3Observation
- type VolumeV3Parameters
- type VolumeV3Spec
- type VolumeV3Status
Constants ¶
const ( CRDGroup = "volume.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 ( VolumeV3_Kind = "VolumeV3" VolumeV3_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VolumeV3_Kind}.String() VolumeV3_KindAPIVersion = VolumeV3_Kind + "." + CRDGroupVersion.String() VolumeV3_GroupVersionKind = CRDGroupVersion.WithKind(VolumeV3_Kind) )
Repository type metadata.
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 ¶
func (in *AttachmentObservation) DeepCopy() *AttachmentObservation
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 ¶
func (in *AttachmentParameters) DeepCopy() *AttachmentParameters
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 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"` // The volume should be scheduled on a // different host from the set of volumes specified in the list provided. // +kubebuilder:validation:Optional DifferentHost []*string `json:"differentHost,omitempty" tf:"different_host,omitempty"` // An instance UUID. The volume should be // scheduled on the same host as the instance. // +kubebuilder:validation:Optional LocalToInstance *string `json:"localToInstance,omitempty" tf:"local_to_instance,omitempty"` // A conditional query that a back-end must pass in // order to host a volume. 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 volume UUIDs. The volume should be // scheduled on the same host as another volume specified in the list provided. // +kubebuilder:validation:Optional SameHost []*string `json:"sameHost,omitempty" tf:"same_host,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 VolumeV3 ¶
type VolumeV3 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VolumeV3Spec `json:"spec"` Status VolumeV3Status `json:"status,omitempty"` }
VolumeV3 is the Schema for the VolumeV3s API. Manages a V3 volume 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 (*VolumeV3) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeV3.
func (*VolumeV3) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeV3) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VolumeV3) GetCondition ¶
func (mg *VolumeV3) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this VolumeV3.
func (*VolumeV3) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this VolumeV3
func (*VolumeV3) GetDeletionPolicy ¶
func (mg *VolumeV3) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this VolumeV3.
func (*VolumeV3) GetObservation ¶
GetObservation of this VolumeV3
func (*VolumeV3) GetParameters ¶
GetParameters of this VolumeV3
func (*VolumeV3) GetProviderConfigReference ¶
GetProviderConfigReference of this VolumeV3.
func (*VolumeV3) GetProviderReference ¶
GetProviderReference of this VolumeV3. Deprecated: Use GetProviderConfigReference.
func (*VolumeV3) GetPublishConnectionDetailsTo ¶
func (mg *VolumeV3) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this VolumeV3.
func (*VolumeV3) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this VolumeV3
func (*VolumeV3) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*VolumeV3) GetWriteConnectionSecretToReference ¶
func (mg *VolumeV3) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this VolumeV3.
func (*VolumeV3) LateInitialize ¶
LateInitialize this VolumeV3 using its observed tfState. returns True if there are any spec changes for the resource.
func (*VolumeV3) SetConditions ¶
SetConditions of this VolumeV3.
func (*VolumeV3) SetDeletionPolicy ¶
func (mg *VolumeV3) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this VolumeV3.
func (*VolumeV3) SetObservation ¶
SetObservation for this VolumeV3
func (*VolumeV3) SetParameters ¶
SetParameters for this VolumeV3
func (*VolumeV3) SetProviderConfigReference ¶
SetProviderConfigReference of this VolumeV3.
func (*VolumeV3) SetProviderReference ¶
SetProviderReference of this VolumeV3. Deprecated: Use SetProviderConfigReference.
func (*VolumeV3) SetPublishConnectionDetailsTo ¶
func (mg *VolumeV3) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this VolumeV3.
func (*VolumeV3) SetWriteConnectionSecretToReference ¶
func (mg *VolumeV3) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this VolumeV3.
type VolumeV3List ¶
type VolumeV3List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VolumeV3 `json:"items"` }
VolumeV3List contains a list of VolumeV3s
func (*VolumeV3List) DeepCopy ¶
func (in *VolumeV3List) DeepCopy() *VolumeV3List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeV3List.
func (*VolumeV3List) DeepCopyInto ¶
func (in *VolumeV3List) DeepCopyInto(out *VolumeV3List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeV3List) DeepCopyObject ¶
func (in *VolumeV3List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VolumeV3List) GetItems ¶
func (l *VolumeV3List) GetItems() []resource.Managed
GetItems of this VolumeV3List.
type VolumeV3Observation ¶
type VolumeV3Observation 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 (*VolumeV3Observation) DeepCopy ¶
func (in *VolumeV3Observation) DeepCopy() *VolumeV3Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeV3Observation.
func (*VolumeV3Observation) DeepCopyInto ¶
func (in *VolumeV3Observation) DeepCopyInto(out *VolumeV3Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeV3Parameters ¶
type VolumeV3Parameters 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"` // 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"` // When this option is set it allows extending // attached volumes. Note: updating size of an attached volume requires Cinder // support for version 3.42 and a compatible storage driver. // +kubebuilder:validation:Optional EnableOnlineResize *bool `json:"enableOnlineResize,omitempty" tf:"enable_online_resize,omitempty"` // The image ID from which to create the volume. // Changing this creates a new volume. // +kubebuilder:validation:Optional ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"` // Metadata key/value pairs to associate with the volume. // Changing this updates the existing volume metadata. // +kubebuilder:validation:Optional Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // Allow the volume to be attached to more than one Compute instance. // +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"` // Provide the Cinder scheduler with hints on where // to instantiate a volume in the OpenStack cloud. The available hints are described below. // +kubebuilder:validation:Optional SchedulerHints []SchedulerHintsParameters `json:"schedulerHints,omitempty" tf:"scheduler_hints,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. // +kubebuilder:validation:Optional SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"` // 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 type of volume to create. // Changing this creates a new volume. // +kubebuilder:validation:Optional VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"` }
func (*VolumeV3Parameters) DeepCopy ¶
func (in *VolumeV3Parameters) DeepCopy() *VolumeV3Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeV3Parameters.
func (*VolumeV3Parameters) DeepCopyInto ¶
func (in *VolumeV3Parameters) DeepCopyInto(out *VolumeV3Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeV3Spec ¶
type VolumeV3Spec struct { v1.ResourceSpec `json:",inline"` ForProvider VolumeV3Parameters `json:"forProvider"` }
VolumeV3Spec defines the desired state of VolumeV3
func (*VolumeV3Spec) DeepCopy ¶
func (in *VolumeV3Spec) DeepCopy() *VolumeV3Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeV3Spec.
func (*VolumeV3Spec) DeepCopyInto ¶
func (in *VolumeV3Spec) DeepCopyInto(out *VolumeV3Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeV3Status ¶
type VolumeV3Status struct { v1.ResourceStatus `json:",inline"` AtProvider VolumeV3Observation `json:"atProvider,omitempty"` }
VolumeV3Status defines the observed state of VolumeV3.
func (*VolumeV3Status) DeepCopy ¶
func (in *VolumeV3Status) DeepCopy() *VolumeV3Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeV3Status.
func (*VolumeV3Status) DeepCopyInto ¶
func (in *VolumeV3Status) DeepCopyInto(out *VolumeV3Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.