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: 16 Imported by: 2

Documentation

Overview

+groupName=open.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: open.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 SearchAppGroup

type SearchAppGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SearchAppGroupSpec   `json:"spec,omitempty"`
	Status            SearchAppGroupStatus `json:"status,omitempty"`
}

func (*SearchAppGroup) DeepCopy

func (in *SearchAppGroup) DeepCopy() *SearchAppGroup

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

func (*SearchAppGroup) DeepCopyInto

func (in *SearchAppGroup) DeepCopyInto(out *SearchAppGroup)

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

func (*SearchAppGroup) DeepCopyObject

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

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

func (*SearchAppGroup) SetupWebhookWithManager

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

func (*SearchAppGroup) ValidateCreate

func (r *SearchAppGroup) ValidateCreate() error

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

func (*SearchAppGroup) ValidateDelete

func (r *SearchAppGroup) ValidateDelete() error

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

func (*SearchAppGroup) ValidateUpdate

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

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

type SearchAppGroupList

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

SearchAppGroupList is a list of SearchAppGroups

func (*SearchAppGroupList) DeepCopy

func (in *SearchAppGroupList) DeepCopy() *SearchAppGroupList

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

func (*SearchAppGroupList) DeepCopyInto

func (in *SearchAppGroupList) DeepCopyInto(out *SearchAppGroupList)

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

func (*SearchAppGroupList) DeepCopyObject

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

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

type SearchAppGroupSpec

type SearchAppGroupSpec struct {
	State *SearchAppGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource SearchAppGroupSpecResource `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 (*SearchAppGroupSpec) DeepCopy

func (in *SearchAppGroupSpec) DeepCopy() *SearchAppGroupSpec

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

func (*SearchAppGroupSpec) DeepCopyInto

func (in *SearchAppGroupSpec) DeepCopyInto(out *SearchAppGroupSpec)

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

type SearchAppGroupSpecOrder

type SearchAppGroupSpecOrder struct {
	// +optional
	AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew"`
	// +optional
	Duration *int64 `json:"duration,omitempty" tf:"duration"`
	// +optional
	PricingCycle *string `json:"pricingCycle,omitempty" tf:"pricing_cycle"`
}

func (*SearchAppGroupSpecOrder) DeepCopy

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

func (*SearchAppGroupSpecOrder) DeepCopyInto

func (in *SearchAppGroupSpecOrder) DeepCopyInto(out *SearchAppGroupSpecOrder)

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

type SearchAppGroupSpecQuota

type SearchAppGroupSpecQuota struct {
	ComputeResource *int64 `json:"computeResource" tf:"compute_resource"`
	DocSize         *int64 `json:"docSize" tf:"doc_size"`
	// +optional
	Qps  *int64  `json:"qps,omitempty" tf:"qps"`
	Spec *string `json:"spec" tf:"spec"`
}

func (*SearchAppGroupSpecQuota) DeepCopy

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

func (*SearchAppGroupSpecQuota) DeepCopyInto

func (in *SearchAppGroupSpecQuota) DeepCopyInto(out *SearchAppGroupSpecQuota)

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

type SearchAppGroupSpecQuotaCodec

type SearchAppGroupSpecQuotaCodec struct {
}

+k8s:deepcopy-gen=false

func (SearchAppGroupSpecQuotaCodec) Decode

func (SearchAppGroupSpecQuotaCodec) Encode

func (SearchAppGroupSpecQuotaCodec) IsEmpty

type SearchAppGroupSpecResource

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

	AppGroupName *string `json:"appGroupName" tf:"app_group_name"`
	// +optional
	ChargeWay *string `json:"chargeWay,omitempty" tf:"charge_way"`
	// +optional
	CurrentVersion *string `json:"currentVersion,omitempty" tf:"current_version"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Order []SearchAppGroupSpecOrder `json:"order,omitempty" tf:"order"`
	// +optional
	OrderType   *string                  `json:"orderType,omitempty" tf:"order_type"`
	PaymentType *string                  `json:"paymentType" tf:"payment_type"`
	Quota       *SearchAppGroupSpecQuota `json:"quota" tf:"quota"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	Type   *string `json:"type" tf:"type"`
}

func (*SearchAppGroupSpecResource) DeepCopy

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

func (*SearchAppGroupSpecResource) DeepCopyInto

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

type SearchAppGroupStatus

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

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

func (*SearchAppGroupStatus) DeepCopyInto

func (in *SearchAppGroupStatus) DeepCopyInto(out *SearchAppGroupStatus)

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