v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Overview

+groupName=quotas.alicloud.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: quotas.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ApplicationInfo

type ApplicationInfo struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationInfoSpec   `json:"spec,omitempty"`
	Status            ApplicationInfoStatus `json:"status,omitempty"`
}

func (*ApplicationInfo) DeepCopy

func (in *ApplicationInfo) DeepCopy() *ApplicationInfo

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

func (*ApplicationInfo) DeepCopyInto

func (in *ApplicationInfo) DeepCopyInto(out *ApplicationInfo)

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

func (*ApplicationInfo) DeepCopyObject

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

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

func (*ApplicationInfo) SetupWebhookWithManager

func (r *ApplicationInfo) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ApplicationInfo) ValidateCreate

func (r *ApplicationInfo) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ApplicationInfo) ValidateDelete

func (r *ApplicationInfo) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ApplicationInfo) ValidateUpdate

func (r *ApplicationInfo) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ApplicationInfoList

type ApplicationInfoList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ApplicationInfo CRD objects
	Items []ApplicationInfo `json:"items,omitempty"`
}

ApplicationInfoList is a list of ApplicationInfos

func (*ApplicationInfoList) DeepCopy

func (in *ApplicationInfoList) DeepCopy() *ApplicationInfoList

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

func (*ApplicationInfoList) DeepCopyInto

func (in *ApplicationInfoList) DeepCopyInto(out *ApplicationInfoList)

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

func (*ApplicationInfoList) DeepCopyObject

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

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

type ApplicationInfoSpec

type ApplicationInfoSpec struct {
	State *ApplicationInfoSpecResource `json:"state,omitempty" tf:"-"`

	Resource ApplicationInfoSpecResource `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 (*ApplicationInfoSpec) DeepCopy

func (in *ApplicationInfoSpec) DeepCopy() *ApplicationInfoSpec

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

func (*ApplicationInfoSpec) DeepCopyInto

func (in *ApplicationInfoSpec) DeepCopyInto(out *ApplicationInfoSpec)

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

type ApplicationInfoSpecDimensions

type ApplicationInfoSpecDimensions struct {
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ApplicationInfoSpecDimensions) DeepCopy

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

func (*ApplicationInfoSpecDimensions) DeepCopyInto

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

type ApplicationInfoSpecResource

type ApplicationInfoSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	ApproveValue *string `json:"approveValue,omitempty" tf:"approve_value"`
	// +optional
	AuditMode *string `json:"auditMode,omitempty" tf:"audit_mode"`
	// +optional
	AuditReason *string  `json:"auditReason,omitempty" tf:"audit_reason"`
	DesireValue *float64 `json:"desireValue" tf:"desire_value"`
	// +optional
	Dimensions []ApplicationInfoSpecDimensions `json:"dimensions,omitempty" tf:"dimensions"`
	// +optional
	EffectiveTime *string `json:"effectiveTime,omitempty" tf:"effective_time"`
	// +optional
	ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time"`
	// +optional
	NoticeType      *int64  `json:"noticeType,omitempty" tf:"notice_type"`
	ProductCode     *string `json:"productCode" tf:"product_code"`
	QuotaActionCode *string `json:"quotaActionCode" tf:"quota_action_code"`
	// +optional
	QuotaCategory *string `json:"quotaCategory,omitempty" tf:"quota_category"`
	// +optional
	QuotaDescription *string `json:"quotaDescription,omitempty" tf:"quota_description"`
	// +optional
	QuotaName *string `json:"quotaName,omitempty" tf:"quota_name"`
	// +optional
	QuotaUnit *string `json:"quotaUnit,omitempty" tf:"quota_unit"`
	Reason    *string `json:"reason" tf:"reason"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*ApplicationInfoSpecResource) DeepCopy

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

func (*ApplicationInfoSpecResource) DeepCopyInto

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

type ApplicationInfoStatus

type ApplicationInfoStatus 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 (*ApplicationInfoStatus) DeepCopy

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

func (*ApplicationInfoStatus) DeepCopyInto

func (in *ApplicationInfoStatus) DeepCopyInto(out *ApplicationInfoStatus)

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

type QuotaAlarm

type QuotaAlarm struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QuotaAlarmSpec   `json:"spec,omitempty"`
	Status            QuotaAlarmStatus `json:"status,omitempty"`
}

func (*QuotaAlarm) DeepCopy

func (in *QuotaAlarm) DeepCopy() *QuotaAlarm

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

func (*QuotaAlarm) DeepCopyInto

func (in *QuotaAlarm) DeepCopyInto(out *QuotaAlarm)

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

func (*QuotaAlarm) DeepCopyObject

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

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

func (*QuotaAlarm) SetupWebhookWithManager

func (r *QuotaAlarm) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*QuotaAlarm) ValidateCreate

func (r *QuotaAlarm) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*QuotaAlarm) ValidateDelete

func (r *QuotaAlarm) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*QuotaAlarm) ValidateUpdate

func (r *QuotaAlarm) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type QuotaAlarmList

type QuotaAlarmList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of QuotaAlarm CRD objects
	Items []QuotaAlarm `json:"items,omitempty"`
}

QuotaAlarmList is a list of QuotaAlarms

func (*QuotaAlarmList) DeepCopy

func (in *QuotaAlarmList) DeepCopy() *QuotaAlarmList

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

func (*QuotaAlarmList) DeepCopyInto

func (in *QuotaAlarmList) DeepCopyInto(out *QuotaAlarmList)

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

func (*QuotaAlarmList) DeepCopyObject

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

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

type QuotaAlarmSpec

type QuotaAlarmSpec struct {
	State *QuotaAlarmSpecResource `json:"state,omitempty" tf:"-"`

	Resource QuotaAlarmSpecResource `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 (*QuotaAlarmSpec) DeepCopy

func (in *QuotaAlarmSpec) DeepCopy() *QuotaAlarmSpec

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

func (*QuotaAlarmSpec) DeepCopyInto

func (in *QuotaAlarmSpec) DeepCopyInto(out *QuotaAlarmSpec)

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

type QuotaAlarmSpecQuotaDimensions

type QuotaAlarmSpecQuotaDimensions struct {
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*QuotaAlarmSpecQuotaDimensions) DeepCopy

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

func (*QuotaAlarmSpecQuotaDimensions) DeepCopyInto

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

type QuotaAlarmSpecResource

type QuotaAlarmSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	ProductCode     *string `json:"productCode" tf:"product_code"`
	QuotaActionCode *string `json:"quotaActionCode" tf:"quota_action_code"`
	QuotaAlarmName  *string `json:"quotaAlarmName" tf:"quota_alarm_name"`
	// +optional
	QuotaDimensions []QuotaAlarmSpecQuotaDimensions `json:"quotaDimensions,omitempty" tf:"quota_dimensions"`
	// +optional
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold"`
	// +optional
	ThresholdPercent *float64 `json:"thresholdPercent,omitempty" tf:"threshold_percent"`
	// +optional
	WebHook *string `json:"webHook,omitempty" tf:"web_hook"`
}

func (*QuotaAlarmSpecResource) DeepCopy

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

func (*QuotaAlarmSpecResource) DeepCopyInto

func (in *QuotaAlarmSpecResource) DeepCopyInto(out *QuotaAlarmSpecResource)

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

type QuotaAlarmStatus

type QuotaAlarmStatus 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 (*QuotaAlarmStatus) DeepCopy

func (in *QuotaAlarmStatus) DeepCopy() *QuotaAlarmStatus

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

func (*QuotaAlarmStatus) DeepCopyInto

func (in *QuotaAlarmStatus) DeepCopyInto(out *QuotaAlarmStatus)

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

type QuotaApplication

type QuotaApplication struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QuotaApplicationSpec   `json:"spec,omitempty"`
	Status            QuotaApplicationStatus `json:"status,omitempty"`
}

func (*QuotaApplication) DeepCopy

func (in *QuotaApplication) DeepCopy() *QuotaApplication

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

func (*QuotaApplication) DeepCopyInto

func (in *QuotaApplication) DeepCopyInto(out *QuotaApplication)

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

func (*QuotaApplication) DeepCopyObject

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

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

func (*QuotaApplication) SetupWebhookWithManager

func (r *QuotaApplication) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*QuotaApplication) ValidateCreate

func (r *QuotaApplication) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*QuotaApplication) ValidateDelete

func (r *QuotaApplication) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*QuotaApplication) ValidateUpdate

func (r *QuotaApplication) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type QuotaApplicationList

type QuotaApplicationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of QuotaApplication CRD objects
	Items []QuotaApplication `json:"items,omitempty"`
}

QuotaApplicationList is a list of QuotaApplications

func (*QuotaApplicationList) DeepCopy

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

func (*QuotaApplicationList) DeepCopyInto

func (in *QuotaApplicationList) DeepCopyInto(out *QuotaApplicationList)

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

func (*QuotaApplicationList) DeepCopyObject

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

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

type QuotaApplicationSpec

type QuotaApplicationSpec struct {
	State *QuotaApplicationSpecResource `json:"state,omitempty" tf:"-"`

	Resource QuotaApplicationSpecResource `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 (*QuotaApplicationSpec) DeepCopy

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

func (*QuotaApplicationSpec) DeepCopyInto

func (in *QuotaApplicationSpec) DeepCopyInto(out *QuotaApplicationSpec)

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

type QuotaApplicationSpecDimensions

type QuotaApplicationSpecDimensions struct {
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*QuotaApplicationSpecDimensions) DeepCopy

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

func (*QuotaApplicationSpecDimensions) DeepCopyInto

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

type QuotaApplicationSpecResource

type QuotaApplicationSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	ApproveValue *string `json:"approveValue,omitempty" tf:"approve_value"`
	// +optional
	AuditMode *string `json:"auditMode,omitempty" tf:"audit_mode"`
	// +optional
	AuditReason *string  `json:"auditReason,omitempty" tf:"audit_reason"`
	DesireValue *float64 `json:"desireValue" tf:"desire_value"`
	// +optional
	Dimensions []QuotaApplicationSpecDimensions `json:"dimensions,omitempty" tf:"dimensions"`
	// +optional
	EffectiveTime *string `json:"effectiveTime,omitempty" tf:"effective_time"`
	// +optional
	ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time"`
	// +optional
	NoticeType      *int64  `json:"noticeType,omitempty" tf:"notice_type"`
	ProductCode     *string `json:"productCode" tf:"product_code"`
	QuotaActionCode *string `json:"quotaActionCode" tf:"quota_action_code"`
	// +optional
	QuotaCategory *string `json:"quotaCategory,omitempty" tf:"quota_category"`
	// +optional
	QuotaDescription *string `json:"quotaDescription,omitempty" tf:"quota_description"`
	// +optional
	QuotaName *string `json:"quotaName,omitempty" tf:"quota_name"`
	// +optional
	QuotaUnit *string `json:"quotaUnit,omitempty" tf:"quota_unit"`
	Reason    *string `json:"reason" tf:"reason"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*QuotaApplicationSpecResource) DeepCopy

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

func (*QuotaApplicationSpecResource) DeepCopyInto

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

type QuotaApplicationStatus

type QuotaApplicationStatus 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 (*QuotaApplicationStatus) DeepCopy

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

func (*QuotaApplicationStatus) DeepCopyInto

func (in *QuotaApplicationStatus) DeepCopyInto(out *QuotaApplicationStatus)

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