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=alidns.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: alidns.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 AccessStrategy added in v0.5.0

type AccessStrategy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccessStrategySpec   `json:"spec,omitempty"`
	Status            AccessStrategyStatus `json:"status,omitempty"`
}

func (*AccessStrategy) DeepCopy added in v0.5.0

func (in *AccessStrategy) DeepCopy() *AccessStrategy

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

func (*AccessStrategy) DeepCopyInto added in v0.5.0

func (in *AccessStrategy) DeepCopyInto(out *AccessStrategy)

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

func (*AccessStrategy) DeepCopyObject added in v0.5.0

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

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

func (*AccessStrategy) SetupWebhookWithManager added in v0.5.0

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

func (*AccessStrategy) ValidateCreate added in v0.5.0

func (r *AccessStrategy) ValidateCreate() error

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

func (*AccessStrategy) ValidateDelete added in v0.5.0

func (r *AccessStrategy) ValidateDelete() error

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

func (*AccessStrategy) ValidateUpdate added in v0.5.0

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

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

type AccessStrategyList added in v0.5.0

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

AccessStrategyList is a list of AccessStrategys

func (*AccessStrategyList) DeepCopy added in v0.5.0

func (in *AccessStrategyList) DeepCopy() *AccessStrategyList

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

func (*AccessStrategyList) DeepCopyInto added in v0.5.0

func (in *AccessStrategyList) DeepCopyInto(out *AccessStrategyList)

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

func (*AccessStrategyList) DeepCopyObject added in v0.5.0

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

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

type AccessStrategySpec added in v0.5.0

type AccessStrategySpec struct {
	State *AccessStrategySpecResource `json:"state,omitempty" tf:"-"`

	Resource AccessStrategySpecResource `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 (*AccessStrategySpec) DeepCopy added in v0.5.0

func (in *AccessStrategySpec) DeepCopy() *AccessStrategySpec

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

func (*AccessStrategySpec) DeepCopyInto added in v0.5.0

func (in *AccessStrategySpec) DeepCopyInto(out *AccessStrategySpec)

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

type AccessStrategySpecDefaultAddrPools added in v0.5.0

type AccessStrategySpecDefaultAddrPools struct {
	AddrPoolID *string `json:"addrPoolID" tf:"addr_pool_id"`
	// +optional
	LbaWeight *int64 `json:"lbaWeight,omitempty" tf:"lba_weight"`
}

func (*AccessStrategySpecDefaultAddrPools) DeepCopy added in v0.5.0

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

func (*AccessStrategySpecDefaultAddrPools) DeepCopyInto added in v0.5.0

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

type AccessStrategySpecFailoverAddrPools added in v0.5.0

type AccessStrategySpecFailoverAddrPools struct {
	// +optional
	AddrPoolID *string `json:"addrPoolID,omitempty" tf:"addr_pool_id"`
	// +optional
	LbaWeight *int64 `json:"lbaWeight,omitempty" tf:"lba_weight"`
}

func (*AccessStrategySpecFailoverAddrPools) DeepCopy added in v0.5.0

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

func (*AccessStrategySpecFailoverAddrPools) DeepCopyInto added in v0.5.0

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

type AccessStrategySpecLines added in v0.5.0

type AccessStrategySpecLines struct {
	// +optional
	LineCode *string `json:"lineCode,omitempty" tf:"line_code"`
}

func (*AccessStrategySpecLines) DeepCopy added in v0.5.0

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

func (*AccessStrategySpecLines) DeepCopyInto added in v0.5.0

func (in *AccessStrategySpecLines) DeepCopyInto(out *AccessStrategySpecLines)

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

type AccessStrategySpecResource added in v0.5.0

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

	// +optional
	AccessMode          *string                              `json:"accessMode,omitempty" tf:"access_mode"`
	DefaultAddrPoolType *string                              `json:"defaultAddrPoolType" tf:"default_addr_pool_type"`
	DefaultAddrPools    []AccessStrategySpecDefaultAddrPools `json:"defaultAddrPools" tf:"default_addr_pools"`
	// +optional
	DefaultLatencyOptimization *string `json:"defaultLatencyOptimization,omitempty" tf:"default_latency_optimization"`
	// +optional
	DefaultLbaStrategy *string `json:"defaultLbaStrategy,omitempty" tf:"default_lba_strategy"`
	// +optional
	DefaultMaxReturnAddrNum    *int64 `json:"defaultMaxReturnAddrNum,omitempty" tf:"default_max_return_addr_num"`
	DefaultMinAvailableAddrNum *int64 `json:"defaultMinAvailableAddrNum" tf:"default_min_available_addr_num"`
	// +optional
	FailoverAddrPoolType *string `json:"failoverAddrPoolType,omitempty" tf:"failover_addr_pool_type"`
	// +optional
	FailoverAddrPools []AccessStrategySpecFailoverAddrPools `json:"failoverAddrPools,omitempty" tf:"failover_addr_pools"`
	// +optional
	FailoverLatencyOptimization *string `json:"failoverLatencyOptimization,omitempty" tf:"failover_latency_optimization"`
	// +optional
	FailoverLbaStrategy *string `json:"failoverLbaStrategy,omitempty" tf:"failover_lba_strategy"`
	// +optional
	FailoverMaxReturnAddrNum *int64 `json:"failoverMaxReturnAddrNum,omitempty" tf:"failover_max_return_addr_num"`
	// +optional
	FailoverMinAvailableAddrNum *int64  `json:"failoverMinAvailableAddrNum,omitempty" tf:"failover_min_available_addr_num"`
	InstanceID                  *string `json:"instanceID" tf:"instance_id"`
	// +optional
	Lang *string `json:"lang,omitempty" tf:"lang"`
	// +optional
	Lines        []AccessStrategySpecLines `json:"lines,omitempty" tf:"lines"`
	StrategyMode *string                   `json:"strategyMode" tf:"strategy_mode"`
	StrategyName *string                   `json:"strategyName" tf:"strategy_name"`
}

func (*AccessStrategySpecResource) DeepCopy added in v0.5.0

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

func (*AccessStrategySpecResource) DeepCopyInto added in v0.5.0

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

type AccessStrategyStatus added in v0.5.0

type AccessStrategyStatus 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 (*AccessStrategyStatus) DeepCopy added in v0.5.0

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

func (*AccessStrategyStatus) DeepCopyInto added in v0.5.0

func (in *AccessStrategyStatus) DeepCopyInto(out *AccessStrategyStatus)

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

type AddressPool added in v0.5.0

type AddressPool struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AddressPoolSpec   `json:"spec,omitempty"`
	Status            AddressPoolStatus `json:"status,omitempty"`
}

func (*AddressPool) DeepCopy added in v0.5.0

func (in *AddressPool) DeepCopy() *AddressPool

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

func (*AddressPool) DeepCopyInto added in v0.5.0

func (in *AddressPool) DeepCopyInto(out *AddressPool)

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

func (*AddressPool) DeepCopyObject added in v0.5.0

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

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

func (*AddressPool) SetupWebhookWithManager added in v0.5.0

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

func (*AddressPool) ValidateCreate added in v0.5.0

func (r *AddressPool) ValidateCreate() error

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

func (*AddressPool) ValidateDelete added in v0.5.0

func (r *AddressPool) ValidateDelete() error

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

func (*AddressPool) ValidateUpdate added in v0.5.0

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

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

type AddressPoolList added in v0.5.0

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

AddressPoolList is a list of AddressPools

func (*AddressPoolList) DeepCopy added in v0.5.0

func (in *AddressPoolList) DeepCopy() *AddressPoolList

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

func (*AddressPoolList) DeepCopyInto added in v0.5.0

func (in *AddressPoolList) DeepCopyInto(out *AddressPoolList)

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

func (*AddressPoolList) DeepCopyObject added in v0.5.0

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

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

type AddressPoolSpec added in v0.5.0

type AddressPoolSpec struct {
	State *AddressPoolSpecResource `json:"state,omitempty" tf:"-"`

	Resource AddressPoolSpecResource `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 (*AddressPoolSpec) DeepCopy added in v0.5.0

func (in *AddressPoolSpec) DeepCopy() *AddressPoolSpec

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

func (*AddressPoolSpec) DeepCopyInto added in v0.5.0

func (in *AddressPoolSpec) DeepCopyInto(out *AddressPoolSpec)

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

type AddressPoolSpecAddress added in v0.5.0

type AddressPoolSpecAddress struct {
	Address       *string `json:"address" tf:"address"`
	AttributeInfo *string `json:"attributeInfo" tf:"attribute_info"`
	// +optional
	LbaWeight *int64  `json:"lbaWeight,omitempty" tf:"lba_weight"`
	Mode      *string `json:"mode" tf:"mode"`
	// +optional
	Remark *string `json:"remark,omitempty" tf:"remark"`
}

func (*AddressPoolSpecAddress) DeepCopy added in v0.5.0

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

func (*AddressPoolSpecAddress) DeepCopyInto added in v0.5.0

func (in *AddressPoolSpecAddress) DeepCopyInto(out *AddressPoolSpecAddress)

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

type AddressPoolSpecResource added in v0.5.0

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

	// +kubebuilder:validation:MaxItems=20
	// +kubebuilder:validation:MinItems=1
	Address         []AddressPoolSpecAddress `json:"address" tf:"address"`
	AddressPoolName *string                  `json:"addressPoolName" tf:"address_pool_name"`
	InstanceID      *string                  `json:"instanceID" tf:"instance_id"`
	LbaStrategy     *string                  `json:"lbaStrategy" tf:"lba_strategy"`
	Type            *string                  `json:"type" tf:"type"`
}

func (*AddressPoolSpecResource) DeepCopy added in v0.5.0

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

func (*AddressPoolSpecResource) DeepCopyInto added in v0.5.0

func (in *AddressPoolSpecResource) DeepCopyInto(out *AddressPoolSpecResource)

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

type AddressPoolStatus added in v0.5.0

type AddressPoolStatus 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 (*AddressPoolStatus) DeepCopy added in v0.5.0

func (in *AddressPoolStatus) DeepCopy() *AddressPoolStatus

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

func (*AddressPoolStatus) DeepCopyInto added in v0.5.0

func (in *AddressPoolStatus) DeepCopyInto(out *AddressPoolStatus)

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

type CustomLine added in v0.5.0

type CustomLine struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CustomLineSpec   `json:"spec,omitempty"`
	Status            CustomLineStatus `json:"status,omitempty"`
}

func (*CustomLine) DeepCopy added in v0.5.0

func (in *CustomLine) DeepCopy() *CustomLine

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

func (*CustomLine) DeepCopyInto added in v0.5.0

func (in *CustomLine) DeepCopyInto(out *CustomLine)

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

func (*CustomLine) DeepCopyObject added in v0.5.0

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

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

func (*CustomLine) SetupWebhookWithManager added in v0.5.0

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

func (*CustomLine) ValidateCreate added in v0.5.0

func (r *CustomLine) ValidateCreate() error

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

func (*CustomLine) ValidateDelete added in v0.5.0

func (r *CustomLine) ValidateDelete() error

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

func (*CustomLine) ValidateUpdate added in v0.5.0

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

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

type CustomLineList added in v0.5.0

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

CustomLineList is a list of CustomLines

func (*CustomLineList) DeepCopy added in v0.5.0

func (in *CustomLineList) DeepCopy() *CustomLineList

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

func (*CustomLineList) DeepCopyInto added in v0.5.0

func (in *CustomLineList) DeepCopyInto(out *CustomLineList)

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

func (*CustomLineList) DeepCopyObject added in v0.5.0

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

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

type CustomLineSpec added in v0.5.0

type CustomLineSpec struct {
	State *CustomLineSpecResource `json:"state,omitempty" tf:"-"`

	Resource CustomLineSpecResource `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 (*CustomLineSpec) DeepCopy added in v0.5.0

func (in *CustomLineSpec) DeepCopy() *CustomLineSpec

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

func (*CustomLineSpec) DeepCopyInto added in v0.5.0

func (in *CustomLineSpec) DeepCopyInto(out *CustomLineSpec)

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

type CustomLineSpecIpSegmentList added in v0.5.0

type CustomLineSpecIpSegmentList struct {
	EndIP   *string `json:"endIP" tf:"end_ip"`
	StartIP *string `json:"startIP" tf:"start_ip"`
}

func (*CustomLineSpecIpSegmentList) DeepCopy added in v0.5.0

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

func (*CustomLineSpecIpSegmentList) DeepCopyInto added in v0.5.0

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

type CustomLineSpecResource added in v0.5.0

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

	CustomLineName *string                       `json:"customLineName" tf:"custom_line_name"`
	DomainName     *string                       `json:"domainName" tf:"domain_name"`
	IpSegmentList  []CustomLineSpecIpSegmentList `json:"ipSegmentList" tf:"ip_segment_list"`
	// +optional
	Lang *string `json:"lang,omitempty" tf:"lang"`
}

func (*CustomLineSpecResource) DeepCopy added in v0.5.0

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

func (*CustomLineSpecResource) DeepCopyInto added in v0.5.0

func (in *CustomLineSpecResource) DeepCopyInto(out *CustomLineSpecResource)

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

type CustomLineStatus added in v0.5.0

type CustomLineStatus 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 (*CustomLineStatus) DeepCopy added in v0.5.0

func (in *CustomLineStatus) DeepCopy() *CustomLineStatus

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

func (*CustomLineStatus) DeepCopyInto added in v0.5.0

func (in *CustomLineStatus) DeepCopyInto(out *CustomLineStatus)

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

type Domain

type Domain struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainSpec   `json:"spec,omitempty"`
	Status            DomainStatus `json:"status,omitempty"`
}

func (*Domain) DeepCopy

func (in *Domain) DeepCopy() *Domain

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

func (*Domain) DeepCopyInto

func (in *Domain) DeepCopyInto(out *Domain)

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

func (*Domain) DeepCopyObject

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

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

func (*Domain) SetupWebhookWithManager

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

func (*Domain) ValidateCreate

func (r *Domain) ValidateCreate() error

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

func (*Domain) ValidateDelete

func (r *Domain) ValidateDelete() error

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

func (*Domain) ValidateUpdate

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

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

type DomainAttachment

type DomainAttachment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainAttachmentSpec   `json:"spec,omitempty"`
	Status            DomainAttachmentStatus `json:"status,omitempty"`
}

func (*DomainAttachment) DeepCopy

func (in *DomainAttachment) DeepCopy() *DomainAttachment

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

func (*DomainAttachment) DeepCopyInto

func (in *DomainAttachment) DeepCopyInto(out *DomainAttachment)

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

func (*DomainAttachment) DeepCopyObject

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

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

func (*DomainAttachment) SetupWebhookWithManager

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

func (*DomainAttachment) ValidateCreate

func (r *DomainAttachment) ValidateCreate() error

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

func (*DomainAttachment) ValidateDelete

func (r *DomainAttachment) ValidateDelete() error

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

func (*DomainAttachment) ValidateUpdate

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

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

type DomainAttachmentList

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

DomainAttachmentList is a list of DomainAttachments

func (*DomainAttachmentList) DeepCopy

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

func (*DomainAttachmentList) DeepCopyInto

func (in *DomainAttachmentList) DeepCopyInto(out *DomainAttachmentList)

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

func (*DomainAttachmentList) DeepCopyObject

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

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

type DomainAttachmentSpec

type DomainAttachmentSpec struct {
	State *DomainAttachmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainAttachmentSpecResource `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 (*DomainAttachmentSpec) DeepCopy

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

func (*DomainAttachmentSpec) DeepCopyInto

func (in *DomainAttachmentSpec) DeepCopyInto(out *DomainAttachmentSpec)

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

type DomainAttachmentSpecResource

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

	DomainNames []string `json:"domainNames" tf:"domain_names"`
	InstanceID  *string  `json:"instanceID" tf:"instance_id"`
}

func (*DomainAttachmentSpecResource) DeepCopy

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

func (*DomainAttachmentSpecResource) DeepCopyInto

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

type DomainAttachmentStatus

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

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

func (*DomainAttachmentStatus) DeepCopyInto

func (in *DomainAttachmentStatus) DeepCopyInto(out *DomainAttachmentStatus)

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

type DomainGroup

type DomainGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainGroupSpec   `json:"spec,omitempty"`
	Status            DomainGroupStatus `json:"status,omitempty"`
}

func (*DomainGroup) DeepCopy

func (in *DomainGroup) DeepCopy() *DomainGroup

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

func (*DomainGroup) DeepCopyInto

func (in *DomainGroup) DeepCopyInto(out *DomainGroup)

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

func (*DomainGroup) DeepCopyObject

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

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

func (*DomainGroup) SetupWebhookWithManager

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

func (*DomainGroup) ValidateCreate

func (r *DomainGroup) ValidateCreate() error

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

func (*DomainGroup) ValidateDelete

func (r *DomainGroup) ValidateDelete() error

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

func (*DomainGroup) ValidateUpdate

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

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

type DomainGroupList

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

DomainGroupList is a list of DomainGroups

func (*DomainGroupList) DeepCopy

func (in *DomainGroupList) DeepCopy() *DomainGroupList

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

func (*DomainGroupList) DeepCopyInto

func (in *DomainGroupList) DeepCopyInto(out *DomainGroupList)

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

func (*DomainGroupList) DeepCopyObject

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

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

type DomainGroupSpec

type DomainGroupSpec struct {
	State *DomainGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainGroupSpecResource `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 (*DomainGroupSpec) DeepCopy

func (in *DomainGroupSpec) DeepCopy() *DomainGroupSpec

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

func (*DomainGroupSpec) DeepCopyInto

func (in *DomainGroupSpec) DeepCopyInto(out *DomainGroupSpec)

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

type DomainGroupSpecResource

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

	// +optional
	DomainGroupName *string `json:"domainGroupName,omitempty" tf:"domain_group_name"`
	// +optional
	// Deprecated
	GroupName *string `json:"groupName,omitempty" tf:"group_name"`
	// +optional
	Lang *string `json:"lang,omitempty" tf:"lang"`
}

func (*DomainGroupSpecResource) DeepCopy

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

func (*DomainGroupSpecResource) DeepCopyInto

func (in *DomainGroupSpecResource) DeepCopyInto(out *DomainGroupSpecResource)

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

type DomainGroupStatus

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

func (in *DomainGroupStatus) DeepCopy() *DomainGroupStatus

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

func (*DomainGroupStatus) DeepCopyInto

func (in *DomainGroupStatus) DeepCopyInto(out *DomainGroupStatus)

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

type DomainList

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

DomainList is a list of Domains

func (*DomainList) DeepCopy

func (in *DomainList) DeepCopy() *DomainList

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

func (*DomainList) DeepCopyInto

func (in *DomainList) DeepCopyInto(out *DomainList)

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

func (*DomainList) DeepCopyObject

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

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

type DomainSpec

type DomainSpec struct {
	State *DomainSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainSpecResource `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 (*DomainSpec) DeepCopy

func (in *DomainSpec) DeepCopy() *DomainSpec

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

func (*DomainSpec) DeepCopyInto

func (in *DomainSpec) DeepCopyInto(out *DomainSpec)

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

type DomainSpecResource

type DomainSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	DnsServers []string `json:"dnsServers,omitempty" tf:"dns_servers"`
	// +optional
	DomainID   *string `json:"domainID,omitempty" tf:"domain_id"`
	DomainName *string `json:"domainName" tf:"domain_name"`
	// +optional
	GroupID *string `json:"groupID,omitempty" tf:"group_id"`
	// +optional
	GroupName *string `json:"groupName,omitempty" tf:"group_name"`
	// +optional
	Lang *string `json:"lang,omitempty" tf:"lang"`
	// +optional
	PunyCode *string `json:"punyCode,omitempty" tf:"puny_code"`
	// +optional
	Remark *string `json:"remark,omitempty" tf:"remark"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*DomainSpecResource) DeepCopy

func (in *DomainSpecResource) DeepCopy() *DomainSpecResource

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

func (*DomainSpecResource) DeepCopyInto

func (in *DomainSpecResource) DeepCopyInto(out *DomainSpecResource)

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

type DomainStatus

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

func (in *DomainStatus) DeepCopy() *DomainStatus

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

func (*DomainStatus) DeepCopyInto

func (in *DomainStatus) DeepCopyInto(out *DomainStatus)

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

type GtmInstance added in v0.5.0

type GtmInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GtmInstanceSpec   `json:"spec,omitempty"`
	Status            GtmInstanceStatus `json:"status,omitempty"`
}

func (*GtmInstance) DeepCopy added in v0.5.0

func (in *GtmInstance) DeepCopy() *GtmInstance

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

func (*GtmInstance) DeepCopyInto added in v0.5.0

func (in *GtmInstance) DeepCopyInto(out *GtmInstance)

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

func (*GtmInstance) DeepCopyObject added in v0.5.0

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

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

func (*GtmInstance) SetupWebhookWithManager added in v0.5.0

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

func (*GtmInstance) ValidateCreate added in v0.5.0

func (r *GtmInstance) ValidateCreate() error

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

func (*GtmInstance) ValidateDelete added in v0.5.0

func (r *GtmInstance) ValidateDelete() error

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

func (*GtmInstance) ValidateUpdate added in v0.5.0

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

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

type GtmInstanceList added in v0.5.0

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

GtmInstanceList is a list of GtmInstances

func (*GtmInstanceList) DeepCopy added in v0.5.0

func (in *GtmInstanceList) DeepCopy() *GtmInstanceList

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

func (*GtmInstanceList) DeepCopyInto added in v0.5.0

func (in *GtmInstanceList) DeepCopyInto(out *GtmInstanceList)

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

func (*GtmInstanceList) DeepCopyObject added in v0.5.0

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

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

type GtmInstanceSpec added in v0.5.0

type GtmInstanceSpec struct {
	State *GtmInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource GtmInstanceSpecResource `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 (*GtmInstanceSpec) DeepCopy added in v0.5.0

func (in *GtmInstanceSpec) DeepCopy() *GtmInstanceSpec

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

func (*GtmInstanceSpec) DeepCopyInto added in v0.5.0

func (in *GtmInstanceSpec) DeepCopyInto(out *GtmInstanceSpec)

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

type GtmInstanceSpecAlertConfig added in v0.5.0

type GtmInstanceSpecAlertConfig struct {
	// +optional
	DingtalkNotice *bool `json:"dingtalkNotice,omitempty" tf:"dingtalk_notice"`
	// +optional
	EmailNotice *bool `json:"emailNotice,omitempty" tf:"email_notice"`
	// +optional
	NoticeType *string `json:"noticeType,omitempty" tf:"notice_type"`
	// +optional
	SmsNotice *bool `json:"smsNotice,omitempty" tf:"sms_notice"`
}

func (*GtmInstanceSpecAlertConfig) DeepCopy added in v0.5.0

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

func (*GtmInstanceSpecAlertConfig) DeepCopyInto added in v0.5.0

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

type GtmInstanceSpecResource added in v0.5.0

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

	// +optional
	AlertConfig []GtmInstanceSpecAlertConfig `json:"alertConfig,omitempty" tf:"alert_config"`
	// +optional
	AlertGroup []string `json:"alertGroup,omitempty" tf:"alert_group"`
	// +optional
	CnameType *string `json:"cnameType,omitempty" tf:"cname_type"`
	// +optional
	ForceUpdate          *bool   `json:"forceUpdate,omitempty" tf:"force_update"`
	HealthCheckTaskCount *int64  `json:"healthCheckTaskCount" tf:"health_check_task_count"`
	InstanceName         *string `json:"instanceName" tf:"instance_name"`
	// +optional
	Lang           *string `json:"lang,omitempty" tf:"lang"`
	PackageEdition *string `json:"packageEdition" tf:"package_edition"`
	PaymentType    *string `json:"paymentType" tf:"payment_type"`
	Period         *int64  `json:"period" tf:"period"`
	// +optional
	PublicCnameMode *string `json:"publicCnameMode,omitempty" tf:"public_cname_mode"`
	// +optional
	PublicRr *string `json:"publicRr,omitempty" tf:"public_rr"`
	// +optional
	PublicUserDomainName *string `json:"publicUserDomainName,omitempty" tf:"public_user_domain_name"`
	// +optional
	PublicZoneName *string `json:"publicZoneName,omitempty" tf:"public_zone_name"`
	// +optional
	RenewPeriod *int64 `json:"renewPeriod,omitempty" tf:"renew_period"`
	// +optional
	RenewalStatus *string `json:"renewalStatus,omitempty" tf:"renewal_status"`
	// +optional
	ResourceGroupID      *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	SmsNotificationCount *int64  `json:"smsNotificationCount" tf:"sms_notification_count"`
	// +optional
	StrategyMode *string `json:"strategyMode,omitempty" tf:"strategy_mode"`
	// +optional
	Ttl *int64 `json:"ttl,omitempty" tf:"ttl"`
}

func (*GtmInstanceSpecResource) DeepCopy added in v0.5.0

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

func (*GtmInstanceSpecResource) DeepCopyInto added in v0.5.0

func (in *GtmInstanceSpecResource) DeepCopyInto(out *GtmInstanceSpecResource)

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

type GtmInstanceStatus added in v0.5.0

type GtmInstanceStatus 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 (*GtmInstanceStatus) DeepCopy added in v0.5.0

func (in *GtmInstanceStatus) DeepCopy() *GtmInstanceStatus

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

func (*GtmInstanceStatus) DeepCopyInto added in v0.5.0

func (in *GtmInstanceStatus) DeepCopyInto(out *GtmInstanceStatus)

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"`

	DnsSecurity   *string `json:"dnsSecurity" tf:"dns_security"`
	DomainNumbers *string `json:"domainNumbers" tf:"domain_numbers"`
	// +optional
	PaymentType *string `json:"paymentType,omitempty" tf:"payment_type"`
	// +optional
	Period *int64 `json:"period,omitempty" tf:"period"`
	// +optional
	RenewPeriod *int64 `json:"renewPeriod,omitempty" tf:"renew_period"`
	// +optional
	RenewalStatus *string `json:"renewalStatus,omitempty" tf:"renewal_status"`
	VersionCode   *string `json:"versionCode" tf:"version_code"`
	// +optional
	VersionName *string `json:"versionName,omitempty" tf:"version_name"`
}

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 MonitorConfig added in v0.5.0

type MonitorConfig struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MonitorConfigSpec   `json:"spec,omitempty"`
	Status            MonitorConfigStatus `json:"status,omitempty"`
}

func (*MonitorConfig) DeepCopy added in v0.5.0

func (in *MonitorConfig) DeepCopy() *MonitorConfig

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

func (*MonitorConfig) DeepCopyInto added in v0.5.0

func (in *MonitorConfig) DeepCopyInto(out *MonitorConfig)

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

func (*MonitorConfig) DeepCopyObject added in v0.5.0

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

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

func (*MonitorConfig) SetupWebhookWithManager added in v0.5.0

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

func (*MonitorConfig) ValidateCreate added in v0.5.0

func (r *MonitorConfig) ValidateCreate() error

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

func (*MonitorConfig) ValidateDelete added in v0.5.0

func (r *MonitorConfig) ValidateDelete() error

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

func (*MonitorConfig) ValidateUpdate added in v0.5.0

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

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

type MonitorConfigList added in v0.5.0

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

MonitorConfigList is a list of MonitorConfigs

func (*MonitorConfigList) DeepCopy added in v0.5.0

func (in *MonitorConfigList) DeepCopy() *MonitorConfigList

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

func (*MonitorConfigList) DeepCopyInto added in v0.5.0

func (in *MonitorConfigList) DeepCopyInto(out *MonitorConfigList)

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

func (*MonitorConfigList) DeepCopyObject added in v0.5.0

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

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

type MonitorConfigSpec added in v0.5.0

type MonitorConfigSpec struct {
	State *MonitorConfigSpecResource `json:"state,omitempty" tf:"-"`

	Resource MonitorConfigSpecResource `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 (*MonitorConfigSpec) DeepCopy added in v0.5.0

func (in *MonitorConfigSpec) DeepCopy() *MonitorConfigSpec

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

func (*MonitorConfigSpec) DeepCopyInto added in v0.5.0

func (in *MonitorConfigSpec) DeepCopyInto(out *MonitorConfigSpec)

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

type MonitorConfigSpecIspCityNode added in v0.5.0

type MonitorConfigSpecIspCityNode struct {
	CityCode *string `json:"cityCode" tf:"city_code"`
	IspCode  *string `json:"ispCode" tf:"isp_code"`
}

func (*MonitorConfigSpecIspCityNode) DeepCopy added in v0.5.0

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

func (*MonitorConfigSpecIspCityNode) DeepCopyInto added in v0.5.0

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

type MonitorConfigSpecResource added in v0.5.0

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

	AddrPoolID      *string                        `json:"addrPoolID" tf:"addr_pool_id"`
	EvaluationCount *int64                         `json:"evaluationCount" tf:"evaluation_count"`
	Interval        *int64                         `json:"interval" tf:"interval"`
	IspCityNode     []MonitorConfigSpecIspCityNode `json:"ispCityNode" tf:"isp_city_node"`
	// +optional
	Lang              *string `json:"lang,omitempty" tf:"lang"`
	MonitorExtendInfo *string `json:"monitorExtendInfo" tf:"monitor_extend_info"`
	ProtocolType      *string `json:"protocolType" tf:"protocol_type"`
	Timeout           *int64  `json:"timeout" tf:"timeout"`
}

func (*MonitorConfigSpecResource) DeepCopy added in v0.5.0

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

func (*MonitorConfigSpecResource) DeepCopyInto added in v0.5.0

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

type MonitorConfigStatus added in v0.5.0

type MonitorConfigStatus 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 (*MonitorConfigStatus) DeepCopy added in v0.5.0

func (in *MonitorConfigStatus) DeepCopy() *MonitorConfigStatus

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

func (*MonitorConfigStatus) DeepCopyInto added in v0.5.0

func (in *MonitorConfigStatus) DeepCopyInto(out *MonitorConfigStatus)

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

type Record

type Record struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RecordSpec   `json:"spec,omitempty"`
	Status            RecordStatus `json:"status,omitempty"`
}

func (*Record) DeepCopy

func (in *Record) DeepCopy() *Record

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

func (*Record) DeepCopyInto

func (in *Record) DeepCopyInto(out *Record)

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

func (*Record) DeepCopyObject

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

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

func (*Record) SetupWebhookWithManager

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

func (*Record) ValidateCreate

func (r *Record) ValidateCreate() error

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

func (*Record) ValidateDelete

func (r *Record) ValidateDelete() error

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

func (*Record) ValidateUpdate

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

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

type RecordList

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

RecordList is a list of Records

func (*RecordList) DeepCopy

func (in *RecordList) DeepCopy() *RecordList

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

func (*RecordList) DeepCopyInto

func (in *RecordList) DeepCopyInto(out *RecordList)

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

func (*RecordList) DeepCopyObject

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

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

type RecordSpec

type RecordSpec struct {
	State *RecordSpecResource `json:"state,omitempty" tf:"-"`

	Resource RecordSpecResource `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 (*RecordSpec) DeepCopy

func (in *RecordSpec) DeepCopy() *RecordSpec

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

func (*RecordSpec) DeepCopyInto

func (in *RecordSpec) DeepCopyInto(out *RecordSpec)

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

type RecordSpecResource

type RecordSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	DomainName *string `json:"domainName" tf:"domain_name"`
	// +optional
	Lang *string `json:"lang,omitempty" tf:"lang"`
	// +optional
	Line *string `json:"line,omitempty" tf:"line"`
	// +optional
	Priority *int64 `json:"priority,omitempty" tf:"priority"`
	// +optional
	Remark *string `json:"remark,omitempty" tf:"remark"`
	Rr     *string `json:"rr" tf:"rr"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Ttl  *int64  `json:"ttl,omitempty" tf:"ttl"`
	Type *string `json:"type" tf:"type"`
	// +optional
	UserClientIP *string `json:"userClientIP,omitempty" tf:"user_client_ip"`
	Value        *string `json:"value" tf:"value"`
}

func (*RecordSpecResource) DeepCopy

func (in *RecordSpecResource) DeepCopy() *RecordSpecResource

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

func (*RecordSpecResource) DeepCopyInto

func (in *RecordSpecResource) DeepCopyInto(out *RecordSpecResource)

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

type RecordStatus

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

func (in *RecordStatus) DeepCopy() *RecordStatus

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

func (*RecordStatus) DeepCopyInto

func (in *RecordStatus) DeepCopyInto(out *RecordStatus)

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