Documentation
¶
Index ¶
- func GenerateCreateOrUpdate(spec v1alpha1.OrgQuotaParameters) *resource.OrganizationQuotaCreateOrUpdate
- func GenerateObservation(o *resource.OrganizationQuota) v1alpha1.OrgQuotaObservation
- func LateInitialize(spec *v1alpha1.OrgQuotaParameters, from *resource.OrganizationQuota) bool
- func NeedsReconciliation(orgQuota *v1alpha1.OrgQuota) bool
- type OrgQuota
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCreateOrUpdate ¶
func GenerateCreateOrUpdate(spec v1alpha1.OrgQuotaParameters) *resource.OrganizationQuotaCreateOrUpdate
GenerateCreate generates the OrgazationQuotaCreateOrUpdate from OrgQuotaParameters. The float64 fields of spec with negative or nil values indicate unset values.
func GenerateObservation ¶
func GenerateObservation(o *resource.OrganizationQuota) v1alpha1.OrgQuotaObservation
GenerateObservation function takes an OrganizationQuota resource and returns an OrgQuotaObservation.
func LateInitialize ¶
func LateInitialize(spec *v1alpha1.OrgQuotaParameters, from *resource.OrganizationQuota) bool
LateInitialize fills the unassigned fields with values from a OrganizationQuota resource.
func NeedsReconciliation ¶
NeedsReconciliation function investigates a managed OrgQuota resource. It compares the Spec.ForProvider object with the Status.AtProvider.
Types ¶
type OrgQuota ¶
type OrgQuota interface {
Get(ctx context.Context, guid string) (*resource.OrganizationQuota, error)
Create(ctx context.Context, res *resource.OrganizationQuotaCreateOrUpdate) (*resource.OrganizationQuota, error)
Update(ctx context.Context, guid string, r *resource.OrganizationQuotaCreateOrUpdate) (*resource.OrganizationQuota, error)
Delete(ctx context.Context, guid string) (string, error)
}
OrgQuota is the interface that defines the methods that a OrgQuota client should implement.
Click to show internal directories.
Click to hide internal directories.