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=ddoscoo.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: ddoscoo.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 DomainResource

type DomainResource struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainResourceSpec   `json:"spec,omitempty"`
	Status            DomainResourceStatus `json:"status,omitempty"`
}

func (*DomainResource) DeepCopy

func (in *DomainResource) DeepCopy() *DomainResource

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

func (*DomainResource) DeepCopyInto

func (in *DomainResource) DeepCopyInto(out *DomainResource)

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

func (*DomainResource) DeepCopyObject

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

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

func (*DomainResource) SetupWebhookWithManager

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

func (*DomainResource) ValidateCreate

func (r *DomainResource) ValidateCreate() error

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

func (*DomainResource) ValidateDelete

func (r *DomainResource) ValidateDelete() error

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

func (*DomainResource) ValidateUpdate

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

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

type DomainResourceList

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

DomainResourceList is a list of DomainResources

func (*DomainResourceList) DeepCopy

func (in *DomainResourceList) DeepCopy() *DomainResourceList

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

func (*DomainResourceList) DeepCopyInto

func (in *DomainResourceList) DeepCopyInto(out *DomainResourceList)

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

func (*DomainResourceList) DeepCopyObject

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

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

type DomainResourceSpec

type DomainResourceSpec struct {
	State *DomainResourceSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainResourceSpecResource `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 (*DomainResourceSpec) DeepCopy

func (in *DomainResourceSpec) DeepCopy() *DomainResourceSpec

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

func (*DomainResourceSpec) DeepCopyInto

func (in *DomainResourceSpec) DeepCopyInto(out *DomainResourceSpec)

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

type DomainResourceSpecProxyTypes

type DomainResourceSpecProxyTypes struct {
	// +optional
	ProxyPorts []int64 `json:"proxyPorts,omitempty" tf:"proxy_ports"`
	// +optional
	ProxyType *string `json:"proxyType,omitempty" tf:"proxy_type"`
}

func (*DomainResourceSpecProxyTypes) DeepCopy

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

func (*DomainResourceSpecProxyTypes) DeepCopyInto

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

type DomainResourceSpecResource

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

	Domain *string `json:"domain" tf:"domain"`
	// +optional
	HttpsExt    *string                        `json:"httpsExt,omitempty" tf:"https_ext"`
	InstanceIDS []string                       `json:"instanceIDS" tf:"instance_ids"`
	ProxyTypes  []DomainResourceSpecProxyTypes `json:"proxyTypes" tf:"proxy_types"`
	RealServers []string                       `json:"realServers" tf:"real_servers"`
	RsType      *int64                         `json:"rsType" tf:"rs_type"`
}

func (*DomainResourceSpecResource) DeepCopy

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

func (*DomainResourceSpecResource) DeepCopyInto

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

type DomainResourceStatus

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

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

func (*DomainResourceStatus) DeepCopyInto

func (in *DomainResourceStatus) DeepCopyInto(out *DomainResourceStatus)

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

type Instance

type Instance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstanceSpec   `json:"spec,omitempty"`
	Status            InstanceStatus `json:"status,omitempty"`
}

func (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

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

func (*Instance) DeepCopyObject

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

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

func (*Instance) SetupWebhookWithManager

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

func (*Instance) ValidateCreate

func (r *Instance) ValidateCreate() error

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

func (*Instance) ValidateDelete

func (r *Instance) ValidateDelete() error

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

func (*Instance) ValidateUpdate

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

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

type InstanceList

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

InstanceList is a list of Instances

func (*InstanceList) DeepCopy

func (in *InstanceList) DeepCopy() *InstanceList

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

func (*InstanceList) DeepCopyInto

func (in *InstanceList) DeepCopyInto(out *InstanceList)

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

func (*InstanceList) DeepCopyObject

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

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

type InstanceSpec

type InstanceSpec struct {
	State *InstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource InstanceSpecResource `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 (*InstanceSpec) DeepCopy

func (in *InstanceSpec) DeepCopy() *InstanceSpec

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

func (*InstanceSpec) DeepCopyInto

func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)

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

type InstanceSpecResource

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

	Bandwidth     *string `json:"bandwidth" tf:"bandwidth"`
	BaseBandwidth *string `json:"baseBandwidth" tf:"base_bandwidth"`
	DomainCount   *string `json:"domainCount" tf:"domain_count"`
	Name          *string `json:"name" tf:"name"`
	// +optional
	Period    *int64  `json:"period,omitempty" tf:"period"`
	PortCount *string `json:"portCount" tf:"port_count"`
	// +optional
	ProductType      *string `json:"productType,omitempty" tf:"product_type"`
	ServiceBandwidth *string `json:"serviceBandwidth" tf:"service_bandwidth"`
}

func (*InstanceSpecResource) DeepCopy

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

func (*InstanceSpecResource) DeepCopyInto

func (in *InstanceSpecResource) DeepCopyInto(out *InstanceSpecResource)

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

type InstanceStatus

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

func (in *InstanceStatus) DeepCopy() *InstanceStatus

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

func (*InstanceStatus) DeepCopyInto

func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)

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

type Port

type Port struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PortSpec   `json:"spec,omitempty"`
	Status            PortStatus `json:"status,omitempty"`
}

func (*Port) DeepCopy

func (in *Port) DeepCopy() *Port

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

func (*Port) DeepCopyInto

func (in *Port) DeepCopyInto(out *Port)

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

func (*Port) DeepCopyObject

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

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

func (*Port) SetupWebhookWithManager

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

func (*Port) ValidateCreate

func (r *Port) ValidateCreate() error

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

func (*Port) ValidateDelete

func (r *Port) ValidateDelete() error

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

func (*Port) ValidateUpdate

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

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

type PortList

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

PortList is a list of Ports

func (*PortList) DeepCopy

func (in *PortList) DeepCopy() *PortList

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

func (*PortList) DeepCopyInto

func (in *PortList) DeepCopyInto(out *PortList)

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

func (*PortList) DeepCopyObject

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

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

type PortSpec

type PortSpec struct {
	State *PortSpecResource `json:"state,omitempty" tf:"-"`

	Resource PortSpecResource `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 (*PortSpec) DeepCopy

func (in *PortSpec) DeepCopy() *PortSpec

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

func (*PortSpec) DeepCopyInto

func (in *PortSpec) DeepCopyInto(out *PortSpec)

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

type PortSpecResource

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

	// +optional
	BackendPort      *string  `json:"backendPort,omitempty" tf:"backend_port"`
	FrontendPort     *string  `json:"frontendPort" tf:"frontend_port"`
	FrontendProtocol *string  `json:"frontendProtocol" tf:"frontend_protocol"`
	InstanceID       *string  `json:"instanceID" tf:"instance_id"`
	RealServers      []string `json:"realServers" tf:"real_servers"`
}

func (*PortSpecResource) DeepCopy

func (in *PortSpecResource) DeepCopy() *PortSpecResource

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

func (*PortSpecResource) DeepCopyInto

func (in *PortSpecResource) DeepCopyInto(out *PortSpecResource)

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

type PortStatus

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

func (in *PortStatus) DeepCopy() *PortStatus

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

func (*PortStatus) DeepCopyInto

func (in *PortStatus) DeepCopyInto(out *PortStatus)

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

type SchedulerRule

type SchedulerRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SchedulerRuleSpec   `json:"spec,omitempty"`
	Status            SchedulerRuleStatus `json:"status,omitempty"`
}

func (*SchedulerRule) DeepCopy

func (in *SchedulerRule) DeepCopy() *SchedulerRule

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

func (*SchedulerRule) DeepCopyInto

func (in *SchedulerRule) DeepCopyInto(out *SchedulerRule)

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

func (*SchedulerRule) DeepCopyObject

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

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

func (*SchedulerRule) SetupWebhookWithManager

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

func (*SchedulerRule) ValidateCreate

func (r *SchedulerRule) ValidateCreate() error

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

func (*SchedulerRule) ValidateDelete

func (r *SchedulerRule) ValidateDelete() error

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

func (*SchedulerRule) ValidateUpdate

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

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

type SchedulerRuleList

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

SchedulerRuleList is a list of SchedulerRules

func (*SchedulerRuleList) DeepCopy

func (in *SchedulerRuleList) DeepCopy() *SchedulerRuleList

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

func (*SchedulerRuleList) DeepCopyInto

func (in *SchedulerRuleList) DeepCopyInto(out *SchedulerRuleList)

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

func (*SchedulerRuleList) DeepCopyObject

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

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

type SchedulerRuleSpec

type SchedulerRuleSpec struct {
	State *SchedulerRuleSpecResource `json:"state,omitempty" tf:"-"`

	Resource SchedulerRuleSpecResource `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 (*SchedulerRuleSpec) DeepCopy

func (in *SchedulerRuleSpec) DeepCopy() *SchedulerRuleSpec

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

func (*SchedulerRuleSpec) DeepCopyInto

func (in *SchedulerRuleSpec) DeepCopyInto(out *SchedulerRuleSpec)

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

type SchedulerRuleSpecResource

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

	// +optional
	Cname *string `json:"cname,omitempty" tf:"cname"`
	// +optional
	Param *string `json:"param,omitempty" tf:"param"`
	// +optional
	ResourceGroupID *string                  `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	RuleName        *string                  `json:"ruleName" tf:"rule_name"`
	RuleType        *int64                   `json:"ruleType" tf:"rule_type"`
	Rules           []SchedulerRuleSpecRules `json:"rules" tf:"rules"`
}

func (*SchedulerRuleSpecResource) DeepCopy

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

func (*SchedulerRuleSpecResource) DeepCopyInto

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

type SchedulerRuleSpecRules

type SchedulerRuleSpecRules struct {
	// +optional
	Priority *int64 `json:"priority,omitempty" tf:"priority"`
	// +optional
	RegionID *string `json:"regionID,omitempty" tf:"region_id"`
	// +optional
	Status *int64 `json:"status,omitempty" tf:"status"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
	// +optional
	ValueType *int64 `json:"valueType,omitempty" tf:"value_type"`
}

func (*SchedulerRuleSpecRules) DeepCopy

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

func (*SchedulerRuleSpecRules) DeepCopyInto

func (in *SchedulerRuleSpecRules) DeepCopyInto(out *SchedulerRuleSpecRules)

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

type SchedulerRuleStatus

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

func (in *SchedulerRuleStatus) DeepCopy() *SchedulerRuleStatus

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

func (*SchedulerRuleStatus) DeepCopyInto

func (in *SchedulerRuleStatus) DeepCopyInto(out *SchedulerRuleStatus)

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