Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=lb.openstack.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type QuotaV2
- func (in *QuotaV2) DeepCopy() *QuotaV2
- func (in *QuotaV2) DeepCopyInto(out *QuotaV2)
- func (in *QuotaV2) DeepCopyObject() runtime.Object
- func (mg *QuotaV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *QuotaV2) GetConnectionDetailsMapping() map[string]string
- func (mg *QuotaV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *QuotaV2) GetID() string
- func (mg *QuotaV2) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *QuotaV2) GetObservation() (map[string]any, error)
- func (tr *QuotaV2) GetParameters() (map[string]any, error)
- func (mg *QuotaV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *QuotaV2) GetProviderReference() *xpv1.Reference
- func (mg *QuotaV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *QuotaV2) GetTerraformResourceType() string
- func (tr *QuotaV2) GetTerraformSchemaVersion() int
- func (mg *QuotaV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *QuotaV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *QuotaV2) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *QuotaV2) SetConditions(c ...xpv1.Condition)
- func (mg *QuotaV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *QuotaV2) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *QuotaV2) SetObservation(obs map[string]any) error
- func (tr *QuotaV2) SetParameters(params map[string]any) error
- func (mg *QuotaV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *QuotaV2) SetProviderReference(r *xpv1.Reference)
- func (mg *QuotaV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *QuotaV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type QuotaV2List
- type QuotaV2Observation
- type QuotaV2Parameters
- type QuotaV2Spec
- type QuotaV2Status
Constants ¶
const ( CRDGroup = "lb.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 ( 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuotaV2.
func (*QuotaV2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QuotaV2) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this QuotaV2
func (*QuotaV2) GetDeletionPolicy ¶
func (mg *QuotaV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this QuotaV2.
func (*QuotaV2) GetManagementPolicy ¶ added in v0.2.0
func (mg *QuotaV2) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this QuotaV2.
func (*QuotaV2) GetObservation ¶
GetObservation of this QuotaV2
func (*QuotaV2) GetParameters ¶
GetParameters of this QuotaV2
func (*QuotaV2) GetProviderConfigReference ¶
GetProviderConfigReference of this QuotaV2.
func (*QuotaV2) GetProviderReference ¶
GetProviderReference of this QuotaV2. Deprecated: Use GetProviderConfigReference.
func (*QuotaV2) GetPublishConnectionDetailsTo ¶
func (mg *QuotaV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this QuotaV2.
func (*QuotaV2) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this QuotaV2
func (*QuotaV2) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*QuotaV2) GetWriteConnectionSecretToReference ¶
func (mg *QuotaV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this QuotaV2.
func (*QuotaV2) LateInitialize ¶
LateInitialize this QuotaV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*QuotaV2) ResolveReferences ¶
ResolveReferences of this QuotaV2.
func (*QuotaV2) SetConditions ¶
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 ¶
SetObservation for this QuotaV2
func (*QuotaV2) SetParameters ¶
SetParameters for this QuotaV2
func (*QuotaV2) SetProviderConfigReference ¶
SetProviderConfigReference of this QuotaV2.
func (*QuotaV2) SetProviderReference ¶
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.