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=cdn.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: cdn.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 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 DomainConfig

type DomainConfig struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainConfigSpec   `json:"spec,omitempty"`
	Status            DomainConfigStatus `json:"status,omitempty"`
}

func (*DomainConfig) DeepCopy

func (in *DomainConfig) DeepCopy() *DomainConfig

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

func (*DomainConfig) DeepCopyInto

func (in *DomainConfig) DeepCopyInto(out *DomainConfig)

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

func (*DomainConfig) DeepCopyObject

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

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

func (*DomainConfig) SetupWebhookWithManager

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

func (*DomainConfig) ValidateCreate

func (r *DomainConfig) ValidateCreate() error

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

func (*DomainConfig) ValidateDelete

func (r *DomainConfig) ValidateDelete() error

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

func (*DomainConfig) ValidateUpdate

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

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

type DomainConfigList

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

DomainConfigList is a list of DomainConfigs

func (*DomainConfigList) DeepCopy

func (in *DomainConfigList) DeepCopy() *DomainConfigList

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

func (*DomainConfigList) DeepCopyInto

func (in *DomainConfigList) DeepCopyInto(out *DomainConfigList)

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

func (*DomainConfigList) DeepCopyObject

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

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

type DomainConfigSpec

type DomainConfigSpec struct {
	State *DomainConfigSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainConfigSpecResource `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 (*DomainConfigSpec) DeepCopy

func (in *DomainConfigSpec) DeepCopy() *DomainConfigSpec

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

func (*DomainConfigSpec) DeepCopyInto

func (in *DomainConfigSpec) DeepCopyInto(out *DomainConfigSpec)

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

type DomainConfigSpecFunctionArgs

type DomainConfigSpecFunctionArgs struct {
	ArgName  *string `json:"argName" tf:"arg_name"`
	ArgValue *string `json:"argValue" tf:"arg_value"`
}

func (*DomainConfigSpecFunctionArgs) DeepCopy

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

func (*DomainConfigSpecFunctionArgs) DeepCopyInto

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

type DomainConfigSpecResource

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

	// +optional
	ConfigID     *string                        `json:"configID,omitempty" tf:"config_id"`
	DomainName   *string                        `json:"domainName" tf:"domain_name"`
	FunctionArgs []DomainConfigSpecFunctionArgs `json:"functionArgs" tf:"function_args"`
	FunctionName *string                        `json:"functionName" tf:"function_name"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*DomainConfigSpecResource) DeepCopy

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

func (*DomainConfigSpecResource) DeepCopyInto

func (in *DomainConfigSpecResource) DeepCopyInto(out *DomainConfigSpecResource)

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

type DomainConfigStatus

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

func (in *DomainConfigStatus) DeepCopy() *DomainConfigStatus

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

func (*DomainConfigStatus) DeepCopyInto

func (in *DomainConfigStatus) DeepCopyInto(out *DomainConfigStatus)

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 DomainNew

type DomainNew struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainNewSpec   `json:"spec,omitempty"`
	Status            DomainNewStatus `json:"status,omitempty"`
}

func (*DomainNew) DeepCopy

func (in *DomainNew) DeepCopy() *DomainNew

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

func (*DomainNew) DeepCopyInto

func (in *DomainNew) DeepCopyInto(out *DomainNew)

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

func (*DomainNew) DeepCopyObject

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

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

func (*DomainNew) SetupWebhookWithManager

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

func (*DomainNew) ValidateCreate

func (r *DomainNew) ValidateCreate() error

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

func (*DomainNew) ValidateDelete

func (r *DomainNew) ValidateDelete() error

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

func (*DomainNew) ValidateUpdate

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

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

type DomainNewList

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

DomainNewList is a list of DomainNews

func (*DomainNewList) DeepCopy

func (in *DomainNewList) DeepCopy() *DomainNewList

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

func (*DomainNewList) DeepCopyInto

func (in *DomainNewList) DeepCopyInto(out *DomainNewList)

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

func (*DomainNewList) DeepCopyObject

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

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

type DomainNewSpec

type DomainNewSpec struct {
	State *DomainNewSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainNewSpecResource `json:"resource" tf:"resource"`

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

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

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

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*DomainNewSpec) DeepCopy

func (in *DomainNewSpec) DeepCopy() *DomainNewSpec

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

func (*DomainNewSpec) DeepCopyInto

func (in *DomainNewSpec) DeepCopyInto(out *DomainNewSpec)

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

type DomainNewSpecCertificateConfig

type DomainNewSpecCertificateConfig struct {
	// +optional
	CertName *string `json:"certName,omitempty" tf:"cert_name"`
	// +optional
	CertType *string `json:"certType,omitempty" tf:"cert_type"`
	// +optional
	ForceSet *string `json:"forceSet,omitempty" tf:"force_set"`
	// +optional
	PrivateKey *string `json:"-" sensitive:"true" tf:"private_key"`
	// +optional
	ServerCertificate *string `json:"-" sensitive:"true" tf:"server_certificate"`
	// +optional
	ServerCertificateStatus *string `json:"serverCertificateStatus,omitempty" tf:"server_certificate_status"`
}

func (*DomainNewSpecCertificateConfig) DeepCopy

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

func (*DomainNewSpecCertificateConfig) DeepCopyInto

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

type DomainNewSpecCertificateConfigCodec

type DomainNewSpecCertificateConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (DomainNewSpecCertificateConfigCodec) Decode

func (DomainNewSpecCertificateConfigCodec) Encode

func (DomainNewSpecCertificateConfigCodec) IsEmpty

type DomainNewSpecResource

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

	CdnType *string `json:"cdnType" tf:"cdn_type"`
	// +optional
	CertificateConfig *DomainNewSpecCertificateConfig `json:"certificateConfig,omitempty" tf:"certificate_config"`
	// +optional
	Cname      *string `json:"cname,omitempty" tf:"cname"`
	DomainName *string `json:"domainName" tf:"domain_name"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	Scope   *string                `json:"scope,omitempty" tf:"scope"`
	Sources []DomainNewSpecSources `json:"sources" tf:"sources"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*DomainNewSpecResource) DeepCopy

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

func (*DomainNewSpecResource) DeepCopyInto

func (in *DomainNewSpecResource) DeepCopyInto(out *DomainNewSpecResource)

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

type DomainNewSpecSources

type DomainNewSpecSources struct {
	Content *string `json:"content" tf:"content"`
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// +optional
	Priority *int64  `json:"priority,omitempty" tf:"priority"`
	Type     *string `json:"type" tf:"type"`
	// +optional
	Weight *int64 `json:"weight,omitempty" tf:"weight"`
}

func (*DomainNewSpecSources) DeepCopy

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

func (*DomainNewSpecSources) DeepCopyInto

func (in *DomainNewSpecSources) DeepCopyInto(out *DomainNewSpecSources)

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

type DomainNewStatus

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

func (in *DomainNewStatus) DeepCopy() *DomainNewStatus

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

func (*DomainNewStatus) DeepCopyInto

func (in *DomainNewStatus) DeepCopyInto(out *DomainNewStatus)

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

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

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" 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 DomainSpecAuthConfig

type DomainSpecAuthConfig struct {
	// +optional
	AuthType *string `json:"authType,omitempty" tf:"auth_type"`
	// +optional
	MasterKey *string `json:"masterKey,omitempty" tf:"master_key"`
	// +optional
	SlaveKey *string `json:"slaveKey,omitempty" tf:"slave_key"`
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
}

func (*DomainSpecAuthConfig) DeepCopy

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

func (*DomainSpecAuthConfig) DeepCopyInto

func (in *DomainSpecAuthConfig) DeepCopyInto(out *DomainSpecAuthConfig)

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

type DomainSpecAuthConfigCodec

type DomainSpecAuthConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (DomainSpecAuthConfigCodec) Decode

func (DomainSpecAuthConfigCodec) Encode

func (DomainSpecAuthConfigCodec) IsEmpty

type DomainSpecCacheConfig

type DomainSpecCacheConfig struct {
	CacheContent *string `json:"cacheContent" tf:"cache_content"`
	// +optional
	CacheID   *string `json:"cacheID,omitempty" tf:"cache_id"`
	CacheType *string `json:"cacheType" tf:"cache_type"`
	Ttl       *int64  `json:"ttl" tf:"ttl"`
	// +optional
	Weight *int64 `json:"weight,omitempty" tf:"weight"`
}

func (*DomainSpecCacheConfig) DeepCopy

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

func (*DomainSpecCacheConfig) DeepCopyInto

func (in *DomainSpecCacheConfig) DeepCopyInto(out *DomainSpecCacheConfig)

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

type DomainSpecCertificateConfig

type DomainSpecCertificateConfig struct {
	// +optional
	PrivateKey *string `json:"-" sensitive:"true" tf:"private_key"`
	// +optional
	ServerCertificate *string `json:"-" sensitive:"true" tf:"server_certificate"`
	// +optional
	ServerCertificateStatus *string `json:"serverCertificateStatus,omitempty" tf:"server_certificate_status"`
}

func (*DomainSpecCertificateConfig) DeepCopy

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

func (*DomainSpecCertificateConfig) DeepCopyInto

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

type DomainSpecCertificateConfigCodec

type DomainSpecCertificateConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (DomainSpecCertificateConfigCodec) Decode

func (DomainSpecCertificateConfigCodec) Encode

func (DomainSpecCertificateConfigCodec) IsEmpty

type DomainSpecHttpHeaderConfig

type DomainSpecHttpHeaderConfig struct {
	// +optional
	HeaderID    *string `json:"headerID,omitempty" tf:"header_id"`
	HeaderKey   *string `json:"headerKey" tf:"header_key"`
	HeaderValue *string `json:"headerValue" tf:"header_value"`
}

func (*DomainSpecHttpHeaderConfig) DeepCopy

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

func (*DomainSpecHttpHeaderConfig) DeepCopyInto

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

type DomainSpecPage404Config

type DomainSpecPage404Config struct {
	// +optional
	CustomPageURL *string `json:"customPageURL,omitempty" tf:"custom_page_url"`
	// +optional
	ErrorCode *string `json:"errorCode,omitempty" tf:"error_code"`
	// +optional
	PageType *string `json:"pageType,omitempty" tf:"page_type"`
}

func (*DomainSpecPage404Config) DeepCopy

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

func (*DomainSpecPage404Config) DeepCopyInto

func (in *DomainSpecPage404Config) DeepCopyInto(out *DomainSpecPage404Config)

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

type DomainSpecPage404ConfigCodec

type DomainSpecPage404ConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (DomainSpecPage404ConfigCodec) Decode

func (DomainSpecPage404ConfigCodec) Encode

func (DomainSpecPage404ConfigCodec) IsEmpty

type DomainSpecParameterFilterConfig

type DomainSpecParameterFilterConfig struct {
	// +optional
	Enable *string `json:"enable,omitempty" tf:"enable"`
	// +optional
	// +kubebuilder:validation:MaxItems=10
	HashKeyArgs []string `json:"hashKeyArgs,omitempty" tf:"hash_key_args"`
}

func (*DomainSpecParameterFilterConfig) DeepCopy

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

func (*DomainSpecParameterFilterConfig) DeepCopyInto

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

type DomainSpecParameterFilterConfigCodec

type DomainSpecParameterFilterConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (DomainSpecParameterFilterConfigCodec) Decode

func (DomainSpecParameterFilterConfigCodec) Encode

func (DomainSpecParameterFilterConfigCodec) IsEmpty

type DomainSpecReferConfig

type DomainSpecReferConfig struct {
	// +optional
	AllowEmpty *string  `json:"allowEmpty,omitempty" tf:"allow_empty"`
	ReferList  []string `json:"referList" tf:"refer_list"`
	// +optional
	ReferType *string `json:"referType,omitempty" tf:"refer_type"`
}

func (*DomainSpecReferConfig) DeepCopy

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

func (*DomainSpecReferConfig) DeepCopyInto

func (in *DomainSpecReferConfig) DeepCopyInto(out *DomainSpecReferConfig)

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

type DomainSpecReferConfigCodec

type DomainSpecReferConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (DomainSpecReferConfigCodec) Decode

func (DomainSpecReferConfigCodec) Encode

func (DomainSpecReferConfigCodec) IsEmpty

type DomainSpecResource

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

	// +optional
	// Deprecated
	AuthConfig *DomainSpecAuthConfig `json:"authConfig,omitempty" tf:"auth_config"`
	// +optional
	// Deprecated
	BlockIPS []string `json:"blockIPS,omitempty" tf:"block_ips"`
	// +optional
	// Deprecated
	CacheConfig []DomainSpecCacheConfig `json:"cacheConfig,omitempty" tf:"cache_config"`
	CdnType     *string                 `json:"cdnType" tf:"cdn_type"`
	// +optional
	// Deprecated
	CertificateConfig *DomainSpecCertificateConfig `json:"certificateConfig,omitempty" tf:"certificate_config"`
	DomainName        *string                      `json:"domainName" tf:"domain_name"`
	// +optional
	// +kubebuilder:validation:MaxItems=10
	// Deprecated
	HttpHeaderConfig []DomainSpecHttpHeaderConfig `json:"httpHeaderConfig,omitempty" tf:"http_header_config"`
	// +optional
	// Deprecated
	OptimizeEnable *string `json:"optimizeEnable,omitempty" tf:"optimize_enable"`
	// +optional
	// Deprecated
	Page404Config *DomainSpecPage404Config `json:"page404Config,omitempty" tf:"page_404_config"`
	// +optional
	// Deprecated
	PageCompressEnable *string `json:"pageCompressEnable,omitempty" tf:"page_compress_enable"`
	// +optional
	// Deprecated
	ParameterFilterConfig *DomainSpecParameterFilterConfig `json:"parameterFilterConfig,omitempty" tf:"parameter_filter_config"`
	// +optional
	// Deprecated
	RangeEnable *string `json:"rangeEnable,omitempty" tf:"range_enable"`
	// +optional
	// Deprecated
	ReferConfig *DomainSpecReferConfig `json:"referConfig,omitempty" tf:"refer_config"`
	// +optional
	Scope *string `json:"scope,omitempty" tf:"scope"`
	// +optional
	// Deprecated
	SourcePort *int64 `json:"sourcePort,omitempty" tf:"source_port"`
	// +optional
	// Deprecated
	SourceType *string `json:"sourceType,omitempty" tf:"source_type"`
	// +optional
	// +kubebuilder:validation:MaxItems=20
	// Deprecated
	Sources []string `json:"sources,omitempty" tf:"sources"`
	// +optional
	// Deprecated
	VideoSeekEnable *string `json:"videoSeekEnable,omitempty" tf:"video_seek_enable"`
}

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 RealTimeLogDelivery added in v0.4.0

type RealTimeLogDelivery struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RealTimeLogDeliverySpec   `json:"spec,omitempty"`
	Status            RealTimeLogDeliveryStatus `json:"status,omitempty"`
}

func (*RealTimeLogDelivery) DeepCopy added in v0.4.0

func (in *RealTimeLogDelivery) DeepCopy() *RealTimeLogDelivery

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

func (*RealTimeLogDelivery) DeepCopyInto added in v0.4.0

func (in *RealTimeLogDelivery) DeepCopyInto(out *RealTimeLogDelivery)

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

func (*RealTimeLogDelivery) DeepCopyObject added in v0.4.0

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

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

func (*RealTimeLogDelivery) SetupWebhookWithManager added in v0.4.0

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

func (*RealTimeLogDelivery) ValidateCreate added in v0.4.0

func (r *RealTimeLogDelivery) ValidateCreate() error

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

func (*RealTimeLogDelivery) ValidateDelete added in v0.4.0

func (r *RealTimeLogDelivery) ValidateDelete() error

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

func (*RealTimeLogDelivery) ValidateUpdate added in v0.4.0

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

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

type RealTimeLogDeliveryList added in v0.4.0

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

RealTimeLogDeliveryList is a list of RealTimeLogDeliverys

func (*RealTimeLogDeliveryList) DeepCopy added in v0.4.0

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

func (*RealTimeLogDeliveryList) DeepCopyInto added in v0.4.0

func (in *RealTimeLogDeliveryList) DeepCopyInto(out *RealTimeLogDeliveryList)

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

func (*RealTimeLogDeliveryList) DeepCopyObject added in v0.4.0

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

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

type RealTimeLogDeliverySpec added in v0.4.0

type RealTimeLogDeliverySpec struct {
	State *RealTimeLogDeliverySpecResource `json:"state,omitempty" tf:"-"`

	Resource RealTimeLogDeliverySpecResource `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 (*RealTimeLogDeliverySpec) DeepCopy added in v0.4.0

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

func (*RealTimeLogDeliverySpec) DeepCopyInto added in v0.4.0

func (in *RealTimeLogDeliverySpec) DeepCopyInto(out *RealTimeLogDeliverySpec)

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

type RealTimeLogDeliverySpecResource added in v0.4.0

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

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

	Domain    *string `json:"domain" tf:"domain"`
	Logstore  *string `json:"logstore" tf:"logstore"`
	Project   *string `json:"project" tf:"project"`
	SlsRegion *string `json:"slsRegion" tf:"sls_region"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*RealTimeLogDeliverySpecResource) DeepCopy added in v0.4.0

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

func (*RealTimeLogDeliverySpecResource) DeepCopyInto added in v0.4.0

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

type RealTimeLogDeliveryStatus added in v0.4.0

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

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

func (*RealTimeLogDeliveryStatus) DeepCopyInto added in v0.4.0

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