v1alpha1

package
v0.1.9 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=blockstorage.openstack.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "blockstorage.openstack.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	QuotasetV3_Kind             = "QuotasetV3"
	QuotasetV3_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: QuotasetV3_Kind}.String()
	QuotasetV3_KindAPIVersion   = QuotasetV3_Kind + "." + CRDGroupVersion.String()
	QuotasetV3_GroupVersionKind = CRDGroupVersion.WithKind(QuotasetV3_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type QuotasetV3

type QuotasetV3 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QuotasetV3Spec   `json:"spec"`
	Status            QuotasetV3Status `json:"status,omitempty"`
}

QuotasetV3 is the Schema for the QuotasetV3s API. Manages a V3 quotaset 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 (*QuotasetV3) DeepCopy

func (in *QuotasetV3) DeepCopy() *QuotasetV3

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

func (*QuotasetV3) DeepCopyInto

func (in *QuotasetV3) DeepCopyInto(out *QuotasetV3)

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

func (*QuotasetV3) DeepCopyObject

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

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

func (*QuotasetV3) GetCondition

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

GetCondition of this QuotasetV3.

func (*QuotasetV3) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this QuotasetV3

func (*QuotasetV3) GetDeletionPolicy

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

GetDeletionPolicy of this QuotasetV3.

func (*QuotasetV3) GetID

func (tr *QuotasetV3) GetID() string

GetID returns ID of underlying Terraform resource of this QuotasetV3

func (*QuotasetV3) GetObservation

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

GetObservation of this QuotasetV3

func (*QuotasetV3) GetParameters

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

GetParameters of this QuotasetV3

func (*QuotasetV3) GetProviderConfigReference

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

GetProviderConfigReference of this QuotasetV3.

func (*QuotasetV3) GetProviderReference

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

GetProviderReference of this QuotasetV3. Deprecated: Use GetProviderConfigReference.

func (*QuotasetV3) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this QuotasetV3.

func (*QuotasetV3) GetTerraformResourceType

func (mg *QuotasetV3) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this QuotasetV3

func (*QuotasetV3) GetTerraformSchemaVersion

func (tr *QuotasetV3) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*QuotasetV3) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this QuotasetV3.

func (*QuotasetV3) LateInitialize

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

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

func (*QuotasetV3) ResolveReferences

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

ResolveReferences of this QuotasetV3.

func (*QuotasetV3) SetConditions

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

SetConditions of this QuotasetV3.

func (*QuotasetV3) SetDeletionPolicy

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

SetDeletionPolicy of this QuotasetV3.

func (*QuotasetV3) SetObservation

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

SetObservation for this QuotasetV3

func (*QuotasetV3) SetParameters

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

SetParameters for this QuotasetV3

func (*QuotasetV3) SetProviderConfigReference

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

SetProviderConfigReference of this QuotasetV3.

func (*QuotasetV3) SetProviderReference

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

SetProviderReference of this QuotasetV3. Deprecated: Use SetProviderConfigReference.

func (*QuotasetV3) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this QuotasetV3.

func (*QuotasetV3) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this QuotasetV3.

type QuotasetV3List

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

QuotasetV3List contains a list of QuotasetV3s

func (*QuotasetV3List) DeepCopy

func (in *QuotasetV3List) DeepCopy() *QuotasetV3List

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

func (*QuotasetV3List) DeepCopyInto

func (in *QuotasetV3List) DeepCopyInto(out *QuotasetV3List)

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

func (*QuotasetV3List) DeepCopyObject

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

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

func (*QuotasetV3List) GetItems

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

GetItems of this QuotasetV3List.

type QuotasetV3Observation

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

func (*QuotasetV3Observation) DeepCopy

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

func (*QuotasetV3Observation) DeepCopyInto

func (in *QuotasetV3Observation) DeepCopyInto(out *QuotasetV3Observation)

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

type QuotasetV3Parameters

type QuotasetV3Parameters struct {

	// Quota value for backup gigabytes. Changing
	// this updates the existing quotaset.
	// +kubebuilder:validation:Optional
	BackupGigabytes *float64 `json:"backupGigabytes,omitempty" tf:"backup_gigabytes,omitempty"`

	// Quota value for backups. Changing this updates the
	// existing quotaset.
	// +kubebuilder:validation:Optional
	Backups *float64 `json:"backups,omitempty" tf:"backups,omitempty"`

	// Quota value for gigabytes. Changing this updates the
	// existing quotaset.
	// +kubebuilder:validation:Optional
	Gigabytes *float64 `json:"gigabytes,omitempty" tf:"gigabytes,omitempty"`

	// Quota value for groups. Changing this updates the
	// existing quotaset.
	// +kubebuilder:validation:Optional
	Groups *float64 `json:"groups,omitempty" tf:"groups,omitempty"`

	// Quota value for gigabytes per volume .
	// Changing this updates the existing quotaset.
	// +kubebuilder:validation:Optional
	PerVolumeGigabytes *float64 `json:"perVolumeGigabytes,omitempty" tf:"per_volume_gigabytes,omitempty"`

	// ID of the project to manage quotas. Changing this
	// creates a new quotaset.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-openstack/apis/identity/v1alpha1.ProjectV3
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a ProjectV3 in identity to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a ProjectV3 in identity to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

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

	// Quota value for snapshots. Changing this updates the
	// existing quotaset.
	// +kubebuilder:validation:Optional
	Snapshots *float64 `json:"snapshots,omitempty" tf:"snapshots,omitempty"`

	// Key/Value pairs for setting quota for
	// volumes types. Possible keys are snapshots_<volume_type_name>,
	// volumes_<volume_type_name> and gigabytes_<volume_type_name>.
	// +kubebuilder:validation:Optional
	VolumeTypeQuota map[string]*string `json:"volumeTypeQuota,omitempty" tf:"volume_type_quota,omitempty"`

	// Quota value for volumes. Changing this updates the
	// existing quotaset.
	// +kubebuilder:validation:Optional
	Volumes *float64 `json:"volumes,omitempty" tf:"volumes,omitempty"`
}

func (*QuotasetV3Parameters) DeepCopy

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

func (*QuotasetV3Parameters) DeepCopyInto

func (in *QuotasetV3Parameters) DeepCopyInto(out *QuotasetV3Parameters)

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

type QuotasetV3Spec

type QuotasetV3Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     QuotasetV3Parameters `json:"forProvider"`
}

QuotasetV3Spec defines the desired state of QuotasetV3

func (*QuotasetV3Spec) DeepCopy

func (in *QuotasetV3Spec) DeepCopy() *QuotasetV3Spec

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

func (*QuotasetV3Spec) DeepCopyInto

func (in *QuotasetV3Spec) DeepCopyInto(out *QuotasetV3Spec)

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

type QuotasetV3Status

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

QuotasetV3Status defines the observed state of QuotasetV3.

func (*QuotasetV3Status) DeepCopy

func (in *QuotasetV3Status) DeepCopy() *QuotasetV3Status

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

func (*QuotasetV3Status) DeepCopyInto

func (in *QuotasetV3Status) DeepCopyInto(out *QuotasetV3Status)

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