v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+groupName=servicequotas.aws.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: servicequotas.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 ServiceQuota

type ServiceQuota struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceQuotaSpec   `json:"spec,omitempty"`
	Status            ServiceQuotaStatus `json:"status,omitempty"`
}

func (*ServiceQuota) DeepCopy

func (in *ServiceQuota) DeepCopy() *ServiceQuota

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

func (*ServiceQuota) DeepCopyInto

func (in *ServiceQuota) DeepCopyInto(out *ServiceQuota)

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

func (*ServiceQuota) DeepCopyObject

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

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

func (*ServiceQuota) SetupWebhookWithManager

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

func (*ServiceQuota) ValidateCreate

func (r *ServiceQuota) ValidateCreate() error

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

func (*ServiceQuota) ValidateDelete

func (r *ServiceQuota) ValidateDelete() error

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

func (*ServiceQuota) ValidateUpdate

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

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

type ServiceQuotaList

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

ServiceQuotaList is a list of ServiceQuotas

func (*ServiceQuotaList) DeepCopy

func (in *ServiceQuotaList) DeepCopy() *ServiceQuotaList

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

func (*ServiceQuotaList) DeepCopyInto

func (in *ServiceQuotaList) DeepCopyInto(out *ServiceQuotaList)

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

func (*ServiceQuotaList) DeepCopyObject

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

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

type ServiceQuotaSpec

type ServiceQuotaSpec struct {
	State *ServiceQuotaSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServiceQuotaSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*ServiceQuotaSpec) DeepCopy

func (in *ServiceQuotaSpec) DeepCopy() *ServiceQuotaSpec

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

func (*ServiceQuotaSpec) DeepCopyInto

func (in *ServiceQuotaSpec) DeepCopyInto(out *ServiceQuotaSpec)

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

type ServiceQuotaSpecResource

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

	// +optional
	Adjustable *bool `json:"adjustable,omitempty" tf:"adjustable"`
	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	DefaultValue *float64 `json:"defaultValue,omitempty" tf:"default_value"`
	QuotaCode    *string  `json:"quotaCode" tf:"quota_code"`
	// +optional
	QuotaName *string `json:"quotaName,omitempty" tf:"quota_name"`
	// +optional
	RequestID *string `json:"requestID,omitempty" tf:"request_id"`
	// +optional
	RequestStatus *string `json:"requestStatus,omitempty" tf:"request_status"`
	ServiceCode   *string `json:"serviceCode" tf:"service_code"`
	// +optional
	ServiceName *string  `json:"serviceName,omitempty" tf:"service_name"`
	Value       *float64 `json:"value" tf:"value"`
}

func (*ServiceQuotaSpecResource) DeepCopy

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

func (*ServiceQuotaSpecResource) DeepCopyInto

func (in *ServiceQuotaSpecResource) DeepCopyInto(out *ServiceQuotaSpecResource)

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

type ServiceQuotaStatus

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

func (in *ServiceQuotaStatus) DeepCopy() *ServiceQuotaStatus

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

func (*ServiceQuotaStatus) DeepCopyInto

func (in *ServiceQuotaStatus) DeepCopyInto(out *ServiceQuotaStatus)

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