Documentation ¶
Overview ¶
+groupName=limits.oci.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Quota
- func (in *Quota) DeepCopy() *Quota
- func (in *Quota) DeepCopyInto(out *Quota)
- func (in *Quota) DeepCopyObject() runtime.Object
- func (r *Quota) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Quota) ValidateCreate() error
- func (r *Quota) ValidateDelete() error
- func (r *Quota) ValidateUpdate(old runtime.Object) error
- type QuotaList
- type QuotaSpec
- type QuotaSpecResource
- type QuotaStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: limits.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Quota ¶
type Quota struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec QuotaSpec `json:"spec,omitempty"` Status QuotaStatus `json:"status,omitempty"` }
func (*Quota) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Quota.
func (*Quota) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Quota) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Quota) SetupWebhookWithManager ¶
func (*Quota) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Quota) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type QuotaList ¶
type QuotaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Quota CRD objects Items []Quota `json:"items,omitempty"` }
QuotaList is a list of Quotas
func (*QuotaList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuotaList.
func (*QuotaList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QuotaList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QuotaSpec ¶
type QuotaSpec struct { State *QuotaSpecResource `json:"state,omitempty" tf:"-"` Resource QuotaSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*QuotaSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuotaSpec.
func (*QuotaSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QuotaSpecResource ¶
type QuotaSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` CompartmentID *string `json:"compartmentID" tf:"compartment_id"` // +optional DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"` Description *string `json:"description" tf:"description"` // +optional FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"` Name *string `json:"name" tf:"name"` // +optional State *string `json:"state,omitempty" tf:"state"` Statements []string `json:"statements" tf:"statements"` // +optional TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"` }
func (*QuotaSpecResource) DeepCopy ¶
func (in *QuotaSpecResource) DeepCopy() *QuotaSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuotaSpecResource.
func (*QuotaSpecResource) DeepCopyInto ¶
func (in *QuotaSpecResource) DeepCopyInto(out *QuotaSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QuotaStatus ¶
type QuotaStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*QuotaStatus) DeepCopy ¶
func (in *QuotaStatus) DeepCopy() *QuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuotaStatus.
func (*QuotaStatus) DeepCopyInto ¶
func (in *QuotaStatus) DeepCopyInto(out *QuotaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.