v1alpha1

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "lb.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 (
	QuotaV2_Kind             = "QuotaV2"
	QuotaV2_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: QuotaV2_Kind}.String()
	QuotaV2_KindAPIVersion   = QuotaV2_Kind + "." + CRDGroupVersion.String()
	QuotaV2_GroupVersionKind = CRDGroupVersion.WithKind(QuotaV2_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type QuotaV2

type QuotaV2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QuotaV2Spec   `json:"spec"`
	Status            QuotaV2Status `json:"status,omitempty"`
}

QuotaV2 is the Schema for the QuotaV2s API. Manages a V2 quota 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 (*QuotaV2) DeepCopy

func (in *QuotaV2) DeepCopy() *QuotaV2

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

func (*QuotaV2) DeepCopyInto

func (in *QuotaV2) DeepCopyInto(out *QuotaV2)

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

func (*QuotaV2) DeepCopyObject

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

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

func (*QuotaV2) GetCondition

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

GetCondition of this QuotaV2.

func (*QuotaV2) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this QuotaV2

func (*QuotaV2) GetDeletionPolicy

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

GetDeletionPolicy of this QuotaV2.

func (*QuotaV2) GetID

func (tr *QuotaV2) GetID() string

GetID returns ID of underlying Terraform resource of this QuotaV2

func (*QuotaV2) GetManagementPolicy added in v0.2.0

func (mg *QuotaV2) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this QuotaV2.

func (*QuotaV2) GetObservation

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

GetObservation of this QuotaV2

func (*QuotaV2) GetParameters

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

GetParameters of this QuotaV2

func (*QuotaV2) GetProviderConfigReference

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

GetProviderConfigReference of this QuotaV2.

func (*QuotaV2) GetProviderReference

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

GetProviderReference of this QuotaV2. Deprecated: Use GetProviderConfigReference.

func (*QuotaV2) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this QuotaV2.

func (*QuotaV2) GetTerraformResourceType

func (mg *QuotaV2) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this QuotaV2

func (*QuotaV2) GetTerraformSchemaVersion

func (tr *QuotaV2) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*QuotaV2) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this QuotaV2.

func (*QuotaV2) LateInitialize

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

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

func (*QuotaV2) ResolveReferences

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

ResolveReferences of this QuotaV2.

func (*QuotaV2) SetConditions

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

SetConditions of this QuotaV2.

func (*QuotaV2) SetDeletionPolicy

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

SetDeletionPolicy of this QuotaV2.

func (*QuotaV2) SetManagementPolicy added in v0.2.0

func (mg *QuotaV2) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this QuotaV2.

func (*QuotaV2) SetObservation

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

SetObservation for this QuotaV2

func (*QuotaV2) SetParameters

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

SetParameters for this QuotaV2

func (*QuotaV2) SetProviderConfigReference

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

SetProviderConfigReference of this QuotaV2.

func (*QuotaV2) SetProviderReference

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

SetProviderReference of this QuotaV2. Deprecated: Use SetProviderConfigReference.

func (*QuotaV2) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this QuotaV2.

func (*QuotaV2) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this QuotaV2.

type QuotaV2List

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

QuotaV2List contains a list of QuotaV2s

func (*QuotaV2List) DeepCopy

func (in *QuotaV2List) DeepCopy() *QuotaV2List

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

func (*QuotaV2List) DeepCopyInto

func (in *QuotaV2List) DeepCopyInto(out *QuotaV2List)

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

func (*QuotaV2List) DeepCopyObject

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

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

func (*QuotaV2List) GetItems

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

GetItems of this QuotaV2List.

type QuotaV2Observation

type QuotaV2Observation struct {

	// Quota value for health_monitors. Changing
	// this updates the existing quota. Omitting it sets it to 0.
	HealthMonitor *float64 `json:"healthMonitor,omitempty" tf:"health_monitor,omitempty"`

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

	// Quota value for l7_policies. Changing this
	// updates the existing quota. Omitting it sets it to 0. Available in
	// Octavia minor version 2.19.
	L7Policy *float64 `json:"l7Policy,omitempty" tf:"l7_policy,omitempty"`

	// Quota value for l7_rules. Changing this
	// updates the existing quota. Omitting it sets it to 0. Available in
	// Octavia minor version 2.19.
	L7Rule *float64 `json:"l7Rule,omitempty" tf:"l7_rule,omitempty"`

	// Quota value for listeners. Changing this updates
	// the existing quota. Omitting it sets it to 0.
	Listener *float64 `json:"listener,omitempty" tf:"listener,omitempty"`

	// Quota value for loadbalancers. Changing this
	// updates the existing quota. Omitting it sets it to 0.
	Loadbalancer *float64 `json:"loadbalancer,omitempty" tf:"loadbalancer,omitempty"`

	// Quota value for members. Changing this updates
	// the existing quota. Omitting it sets it to 0.
	Member *float64 `json:"member,omitempty" tf:"member,omitempty"`

	// Quota value for pools. Changing this updates the
	// the existing quota. Omitting it sets it to 0.
	Pool *float64 `json:"pool,omitempty" tf:"pool,omitempty"`

	// ID of the project to manage quotas. Changing this
	// creates a new quota.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Region in which to manage quotas. Changing this
	// creates a new quota. If ommited, the region of the credentials is used.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*QuotaV2Observation) DeepCopy

func (in *QuotaV2Observation) DeepCopy() *QuotaV2Observation

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

func (*QuotaV2Observation) DeepCopyInto

func (in *QuotaV2Observation) DeepCopyInto(out *QuotaV2Observation)

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

type QuotaV2Parameters

type QuotaV2Parameters struct {

	// Quota value for health_monitors. Changing
	// this updates the existing quota. Omitting it sets it to 0.
	// +kubebuilder:validation:Optional
	HealthMonitor *float64 `json:"healthMonitor,omitempty" tf:"health_monitor,omitempty"`

	// Quota value for l7_policies. Changing this
	// updates the existing quota. Omitting it sets it to 0. Available in
	// Octavia minor version 2.19.
	// +kubebuilder:validation:Optional
	L7Policy *float64 `json:"l7Policy,omitempty" tf:"l7_policy,omitempty"`

	// Quota value for l7_rules. Changing this
	// updates the existing quota. Omitting it sets it to 0. Available in
	// Octavia minor version 2.19.
	// +kubebuilder:validation:Optional
	L7Rule *float64 `json:"l7Rule,omitempty" tf:"l7_rule,omitempty"`

	// Quota value for listeners. Changing this updates
	// the existing quota. Omitting it sets it to 0.
	// +kubebuilder:validation:Optional
	Listener *float64 `json:"listener,omitempty" tf:"listener,omitempty"`

	// Quota value for loadbalancers. Changing this
	// updates the existing quota. Omitting it sets it to 0.
	// +kubebuilder:validation:Optional
	Loadbalancer *float64 `json:"loadbalancer,omitempty" tf:"loadbalancer,omitempty"`

	// Quota value for members. Changing this updates
	// the existing quota. Omitting it sets it to 0.
	// +kubebuilder:validation:Optional
	Member *float64 `json:"member,omitempty" tf:"member,omitempty"`

	// Quota value for pools. Changing this updates the
	// the existing quota. Omitting it sets it to 0.
	// +kubebuilder:validation:Optional
	Pool *float64 `json:"pool,omitempty" tf:"pool,omitempty"`

	// ID of the project to manage quotas. Changing this
	// creates a new quota.
	// +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:"-"`

	// Region in which to manage quotas. Changing this
	// creates a new quota. If ommited, the region of the credentials is used.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*QuotaV2Parameters) DeepCopy

func (in *QuotaV2Parameters) DeepCopy() *QuotaV2Parameters

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

func (*QuotaV2Parameters) DeepCopyInto

func (in *QuotaV2Parameters) DeepCopyInto(out *QuotaV2Parameters)

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

type QuotaV2Spec

type QuotaV2Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     QuotaV2Parameters `json:"forProvider"`
}

QuotaV2Spec defines the desired state of QuotaV2

func (*QuotaV2Spec) DeepCopy

func (in *QuotaV2Spec) DeepCopy() *QuotaV2Spec

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

func (*QuotaV2Spec) DeepCopyInto

func (in *QuotaV2Spec) DeepCopyInto(out *QuotaV2Spec)

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

type QuotaV2Status

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

QuotaV2Status defines the observed state of QuotaV2.

func (*QuotaV2Status) DeepCopy

func (in *QuotaV2Status) DeepCopy() *QuotaV2Status

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

func (*QuotaV2Status) DeepCopyInto

func (in *QuotaV2Status) DeepCopyInto(out *QuotaV2Status)

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