v1alpha1

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=tem.tencentcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "tem.tencentcloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	AppConfig_Kind             = "AppConfig"
	AppConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AppConfig_Kind}.String()
	AppConfig_KindAPIVersion   = AppConfig_Kind + "." + CRDGroupVersion.String()
	AppConfig_GroupVersionKind = CRDGroupVersion.WithKind(AppConfig_Kind)
)

Repository type metadata.

View Source
var (
	Application_Kind             = "Application"
	Application_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Application_Kind}.String()
	Application_KindAPIVersion   = Application_Kind + "." + CRDGroupVersion.String()
	Application_GroupVersionKind = CRDGroupVersion.WithKind(Application_Kind)
)

Repository type metadata.

View Source
var (
	Environment_Kind             = "Environment"
	Environment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Environment_Kind}.String()
	Environment_KindAPIVersion   = Environment_Kind + "." + CRDGroupVersion.String()
	Environment_GroupVersionKind = CRDGroupVersion.WithKind(Environment_Kind)
)

Repository type metadata.

View Source
var (
	Gateway_Kind             = "Gateway"
	Gateway_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Gateway_Kind}.String()
	Gateway_KindAPIVersion   = Gateway_Kind + "." + CRDGroupVersion.String()
	Gateway_GroupVersionKind = CRDGroupVersion.WithKind(Gateway_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	LogConfig_Kind             = "LogConfig"
	LogConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LogConfig_Kind}.String()
	LogConfig_KindAPIVersion   = LogConfig_Kind + "." + CRDGroupVersion.String()
	LogConfig_GroupVersionKind = CRDGroupVersion.WithKind(LogConfig_Kind)
)

Repository type metadata.

View Source
var (
	ScaleRule_Kind             = "ScaleRule"
	ScaleRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ScaleRule_Kind}.String()
	ScaleRule_KindAPIVersion   = ScaleRule_Kind + "." + CRDGroupVersion.String()
	ScaleRule_GroupVersionKind = CRDGroupVersion.WithKind(ScaleRule_Kind)
)

Repository type metadata.

View Source
var (
	Workload_Kind             = "Workload"
	Workload_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Workload_Kind}.String()
	Workload_KindAPIVersion   = Workload_Kind + "." + CRDGroupVersion.String()
	Workload_GroupVersionKind = CRDGroupVersion.WithKind(Workload_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AppConfigSpec   `json:"spec"`
	Status            AppConfigStatus `json:"status,omitempty"`
}

AppConfig is the Schema for the AppConfigs API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*AppConfig) DeepCopy

func (in *AppConfig) DeepCopy() *AppConfig

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

func (*AppConfig) DeepCopyInto

func (in *AppConfig) DeepCopyInto(out *AppConfig)

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

func (*AppConfig) DeepCopyObject

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

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

func (*AppConfig) GetCondition

func (mg *AppConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this AppConfig.

func (*AppConfig) GetConnectionDetailsMapping

func (tr *AppConfig) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this AppConfig

func (*AppConfig) GetDeletionPolicy

func (mg *AppConfig) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this AppConfig.

func (*AppConfig) GetID

func (tr *AppConfig) GetID() string

GetID returns ID of underlying Terraform resource of this AppConfig

func (*AppConfig) GetObservation

func (tr *AppConfig) GetObservation() (map[string]interface{}, error)

GetObservation of this AppConfig

func (*AppConfig) GetParameters

func (tr *AppConfig) GetParameters() (map[string]interface{}, error)

GetParameters of this AppConfig

func (*AppConfig) GetProviderConfigReference

func (mg *AppConfig) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this AppConfig.

func (*AppConfig) GetProviderReference

func (mg *AppConfig) GetProviderReference() *xpv1.Reference

GetProviderReference of this AppConfig. Deprecated: Use GetProviderConfigReference.

func (*AppConfig) GetPublishConnectionDetailsTo

func (mg *AppConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this AppConfig.

func (*AppConfig) GetTerraformResourceType

func (mg *AppConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AppConfig

func (*AppConfig) GetTerraformSchemaVersion

func (tr *AppConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AppConfig) GetWriteConnectionSecretToReference

func (mg *AppConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this AppConfig.

func (*AppConfig) LateInitialize

func (tr *AppConfig) LateInitialize(attrs []byte) (bool, error)

LateInitialize this AppConfig using its observed tfState. returns True if there are any spec changes for the resource.

func (*AppConfig) ResolveReferences

func (mg *AppConfig) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this AppConfig.

func (*AppConfig) SetConditions

func (mg *AppConfig) SetConditions(c ...xpv1.Condition)

SetConditions of this AppConfig.

func (*AppConfig) SetDeletionPolicy

func (mg *AppConfig) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this AppConfig.

func (*AppConfig) SetObservation

func (tr *AppConfig) SetObservation(obs map[string]interface{}) error

SetObservation for this AppConfig

func (*AppConfig) SetParameters

func (tr *AppConfig) SetParameters(params map[string]interface{}) error

SetParameters for this AppConfig

func (*AppConfig) SetProviderConfigReference

func (mg *AppConfig) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this AppConfig.

func (*AppConfig) SetProviderReference

func (mg *AppConfig) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this AppConfig. Deprecated: Use SetProviderConfigReference.

func (*AppConfig) SetPublishConnectionDetailsTo

func (mg *AppConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this AppConfig.

func (*AppConfig) SetWriteConnectionSecretToReference

func (mg *AppConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this AppConfig.

type AppConfigList

type AppConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AppConfig `json:"items"`
}

AppConfigList contains a list of AppConfigs

func (*AppConfigList) DeepCopy

func (in *AppConfigList) DeepCopy() *AppConfigList

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

func (*AppConfigList) DeepCopyInto

func (in *AppConfigList) DeepCopyInto(out *AppConfigList)

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

func (*AppConfigList) DeepCopyObject

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

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

func (*AppConfigList) GetItems

func (l *AppConfigList) GetItems() []resource.Managed

GetItems of this AppConfigList.

type AppConfigObservation

type AppConfigObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*AppConfigObservation) DeepCopy

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

func (*AppConfigObservation) DeepCopyInto

func (in *AppConfigObservation) DeepCopyInto(out *AppConfigObservation)

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

type AppConfigParameters

type AppConfigParameters struct {

	// payload.
	// +kubebuilder:validation:Required
	ConfigData []ConfigDataParameters `json:"configData" tf:"config_data,omitempty"`

	// environment ID.
	// +crossplane:generate:reference:type=Environment
	// +kubebuilder:validation:Optional
	EnvironmentID *string `json:"environmentId,omitempty" tf:"environment_id,omitempty"`

	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

	// appConfig name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*AppConfigParameters) DeepCopy

func (in *AppConfigParameters) DeepCopy() *AppConfigParameters

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

func (*AppConfigParameters) DeepCopyInto

func (in *AppConfigParameters) DeepCopyInto(out *AppConfigParameters)

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

type AppConfigSpec

type AppConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AppConfigParameters `json:"forProvider"`
}

AppConfigSpec defines the desired state of AppConfig

func (*AppConfigSpec) DeepCopy

func (in *AppConfigSpec) DeepCopy() *AppConfigSpec

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

func (*AppConfigSpec) DeepCopyInto

func (in *AppConfigSpec) DeepCopyInto(out *AppConfigSpec)

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

type AppConfigStatus

type AppConfigStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        AppConfigObservation `json:"atProvider,omitempty"`
}

AppConfigStatus defines the observed state of AppConfig.

func (*AppConfigStatus) DeepCopy

func (in *AppConfigStatus) DeepCopy() *AppConfigStatus

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

func (*AppConfigStatus) DeepCopyInto

func (in *AppConfigStatus) DeepCopyInto(out *AppConfigStatus)

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

type Application

type Application struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationSpec   `json:"spec"`
	Status            ApplicationStatus `json:"status,omitempty"`
}

Application is the Schema for the Applications API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

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

func (*Application) DeepCopyObject

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

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

func (*Application) GetCondition

func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Application.

func (*Application) GetConnectionDetailsMapping

func (tr *Application) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Application

func (*Application) GetDeletionPolicy

func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Application.

func (*Application) GetID

func (tr *Application) GetID() string

GetID returns ID of underlying Terraform resource of this Application

func (*Application) GetObservation

func (tr *Application) GetObservation() (map[string]interface{}, error)

GetObservation of this Application

func (*Application) GetParameters

func (tr *Application) GetParameters() (map[string]interface{}, error)

GetParameters of this Application

func (*Application) GetProviderConfigReference

func (mg *Application) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Application.

func (*Application) GetProviderReference

func (mg *Application) GetProviderReference() *xpv1.Reference

GetProviderReference of this Application. Deprecated: Use GetProviderConfigReference.

func (*Application) GetPublishConnectionDetailsTo

func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Application.

func (*Application) GetTerraformResourceType

func (mg *Application) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Application

func (*Application) GetTerraformSchemaVersion

func (tr *Application) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Application) GetWriteConnectionSecretToReference

func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Application.

func (*Application) LateInitialize

func (tr *Application) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Application using its observed tfState. returns True if there are any spec changes for the resource.

func (*Application) SetConditions

func (mg *Application) SetConditions(c ...xpv1.Condition)

SetConditions of this Application.

func (*Application) SetDeletionPolicy

func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Application.

func (*Application) SetObservation

func (tr *Application) SetObservation(obs map[string]interface{}) error

SetObservation for this Application

func (*Application) SetParameters

func (tr *Application) SetParameters(params map[string]interface{}) error

SetParameters for this Application

func (*Application) SetProviderConfigReference

func (mg *Application) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Application.

func (*Application) SetProviderReference

func (mg *Application) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Application. Deprecated: Use SetProviderConfigReference.

func (*Application) SetPublishConnectionDetailsTo

func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Application.

func (*Application) SetWriteConnectionSecretToReference

func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Application.

type ApplicationList

type ApplicationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Application `json:"items"`
}

ApplicationList contains a list of Applications

func (*ApplicationList) DeepCopy

func (in *ApplicationList) DeepCopy() *ApplicationList

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

func (*ApplicationList) DeepCopyInto

func (in *ApplicationList) DeepCopyInto(out *ApplicationList)

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

func (*ApplicationList) DeepCopyObject

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

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

func (*ApplicationList) GetItems

func (l *ApplicationList) GetItems() []resource.Managed

GetItems of this ApplicationList.

type ApplicationObservation

type ApplicationObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ApplicationObservation) DeepCopy

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

func (*ApplicationObservation) DeepCopyInto

func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation)

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

type ApplicationParameters

type ApplicationParameters struct {

	// application name.
	// +kubebuilder:validation:Required
	ApplicationName *string `json:"applicationName" tf:"application_name,omitempty"`

	// program language, like JAVA.
	// +kubebuilder:validation:Required
	CodingLanguage *string `json:"codingLanguage" tf:"coding_language,omitempty"`

	// application description.
	// +kubebuilder:validation:Required
	Description *string `json:"description" tf:"description,omitempty"`

	// tcr instance id.
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// repository name.
	// +kubebuilder:validation:Optional
	RepoName *string `json:"repoName,omitempty" tf:"repo_name,omitempty"`

	// registry address.
	// +kubebuilder:validation:Optional
	RepoServer *string `json:"repoServer,omitempty" tf:"repo_server,omitempty"`

	// repo type, 0: tcr personal, 1: tcr enterprise, 2: public repository, 3: tcr hosted by tem, 4: demo image.
	// +kubebuilder:validation:Optional
	RepoType *float64 `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// application tag list.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// create image repo or not.
	// +kubebuilder:validation:Optional
	UseDefaultImageService *float64 `json:"useDefaultImageService,omitempty" tf:"use_default_image_service,omitempty"`
}

func (*ApplicationParameters) DeepCopy

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

func (*ApplicationParameters) DeepCopyInto

func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters)

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

type ApplicationSpec

type ApplicationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ApplicationParameters `json:"forProvider"`
}

ApplicationSpec defines the desired state of Application

func (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

type ApplicationStatus

type ApplicationStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ApplicationObservation `json:"atProvider,omitempty"`
}

ApplicationStatus defines the observed state of Application.

func (*ApplicationStatus) DeepCopy

func (in *ApplicationStatus) DeepCopy() *ApplicationStatus

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

func (*ApplicationStatus) DeepCopyInto

func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)

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

type AutoscalerObservation

type AutoscalerObservation struct {
}

func (*AutoscalerObservation) DeepCopy

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

func (*AutoscalerObservation) DeepCopyInto

func (in *AutoscalerObservation) DeepCopyInto(out *AutoscalerObservation)

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

type AutoscalerParameters

type AutoscalerParameters struct {

	// name.
	// +kubebuilder:validation:Required
	AutoscalerName *string `json:"autoscalerName" tf:"autoscaler_name,omitempty"`

	// scaler based on cron configuration.
	// +kubebuilder:validation:Optional
	CronHorizontalAutoscaler []CronHorizontalAutoscalerParameters `json:"cronHorizontalAutoscaler,omitempty" tf:"cron_horizontal_autoscaler,omitempty"`

	// description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// enable AutoScaler.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// scaler based on metrics.
	// +kubebuilder:validation:Optional
	HorizontalAutoscaler []HorizontalAutoscalerParameters `json:"horizontalAutoscaler,omitempty" tf:"horizontal_autoscaler,omitempty"`

	// maximal replica number.
	// +kubebuilder:validation:Required
	MaxReplicas *float64 `json:"maxReplicas" tf:"max_replicas,omitempty"`

	// minimal replica number.
	// +kubebuilder:validation:Required
	MinReplicas *float64 `json:"minReplicas" tf:"min_replicas,omitempty"`
}

func (*AutoscalerParameters) DeepCopy

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

func (*AutoscalerParameters) DeepCopyInto

func (in *AutoscalerParameters) DeepCopyInto(out *AutoscalerParameters)

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

type BackendObservation

type BackendObservation struct {
}

func (*BackendObservation) DeepCopy

func (in *BackendObservation) DeepCopy() *BackendObservation

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

func (*BackendObservation) DeepCopyInto

func (in *BackendObservation) DeepCopyInto(out *BackendObservation)

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

type BackendParameters

type BackendParameters struct {

	// backend name.
	// +kubebuilder:validation:Required
	ServiceName *string `json:"serviceName" tf:"service_name,omitempty"`

	// backend port.
	// +kubebuilder:validation:Required
	ServicePort *float64 `json:"servicePort" tf:"service_port,omitempty"`
}

func (*BackendParameters) DeepCopy

func (in *BackendParameters) DeepCopy() *BackendParameters

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

func (*BackendParameters) DeepCopyInto

func (in *BackendParameters) DeepCopyInto(out *BackendParameters)

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

type ConfigDataObservation

type ConfigDataObservation struct {
}

func (*ConfigDataObservation) DeepCopy

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

func (*ConfigDataObservation) DeepCopyInto

func (in *ConfigDataObservation) DeepCopyInto(out *ConfigDataObservation)

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

type ConfigDataParameters

type ConfigDataParameters struct {

	// key.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// value.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*ConfigDataParameters) DeepCopy

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

func (*ConfigDataParameters) DeepCopyInto

func (in *ConfigDataParameters) DeepCopyInto(out *ConfigDataParameters)

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

type CronHorizontalAutoscalerObservation

type CronHorizontalAutoscalerObservation struct {
}

func (*CronHorizontalAutoscalerObservation) DeepCopy

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

func (*CronHorizontalAutoscalerObservation) DeepCopyInto

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

type CronHorizontalAutoscalerParameters

type CronHorizontalAutoscalerParameters struct {

	// enable scaler.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// period.
	// +kubebuilder:validation:Required
	Period *string `json:"period" tf:"period,omitempty"`

	// priority.
	// +kubebuilder:validation:Required
	Priority *float64 `json:"priority" tf:"priority,omitempty"`

	// schedule payload.
	// +kubebuilder:validation:Required
	Schedules []SchedulesParameters `json:"schedules" tf:"schedules,omitempty"`
}

func (*CronHorizontalAutoscalerParameters) DeepCopy

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

func (*CronHorizontalAutoscalerParameters) DeepCopyInto

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

type DeployStrategyConfObservation

type DeployStrategyConfObservation struct {
}

func (*DeployStrategyConfObservation) DeepCopy

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

func (*DeployStrategyConfObservation) DeepCopyInto

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

type DeployStrategyConfParameters

type DeployStrategyConfParameters struct {

	// interval between batches.
	// +kubebuilder:validation:Optional
	BatchInterval *float64 `json:"batchInterval,omitempty" tf:"batch_interval,omitempty"`

	// beta batch number.
	// +kubebuilder:validation:Optional
	BetaBatchNum *float64 `json:"betaBatchNum,omitempty" tf:"beta_batch_num,omitempty"`

	// strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
	// +kubebuilder:validation:Required
	DeployStrategyType *float64 `json:"deployStrategyType" tf:"deploy_strategy_type,omitempty"`

	// force update.
	// +kubebuilder:validation:Optional
	Force *bool `json:"force,omitempty" tf:"force,omitempty"`

	// minimal available instances duration deployment.
	// +kubebuilder:validation:Optional
	MinAvailable *float64 `json:"minAvailable,omitempty" tf:"min_available,omitempty"`

	// total batch number.
	// +kubebuilder:validation:Required
	TotalBatchCount *float64 `json:"totalBatchCount" tf:"total_batch_count,omitempty"`
}

func (*DeployStrategyConfParameters) DeepCopy

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

func (*DeployStrategyConfParameters) DeepCopyInto

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

type EnvConfObservation

type EnvConfObservation struct {
}

func (*EnvConfObservation) DeepCopy

func (in *EnvConfObservation) DeepCopy() *EnvConfObservation

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

func (*EnvConfObservation) DeepCopyInto

func (in *EnvConfObservation) DeepCopyInto(out *EnvConfObservation)

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

type EnvConfParameters

type EnvConfParameters struct {

	// referenced config name when type=referenced.
	// +kubebuilder:validation:Optional
	Config *string `json:"config,omitempty" tf:"config,omitempty"`

	// env key.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// referenced secret name when type=referenced.
	// +kubebuilder:validation:Optional
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// env type, support default, referenced.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// env value.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*EnvConfParameters) DeepCopy

func (in *EnvConfParameters) DeepCopy() *EnvConfParameters

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

func (*EnvConfParameters) DeepCopyInto

func (in *EnvConfParameters) DeepCopyInto(out *EnvConfParameters)

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

type Environment

type Environment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnvironmentSpec   `json:"spec"`
	Status            EnvironmentStatus `json:"status,omitempty"`
}

Environment is the Schema for the Environments API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

func (*Environment) DeepCopyObject

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

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

func (*Environment) GetCondition

func (mg *Environment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Environment.

func (*Environment) GetConnectionDetailsMapping

func (tr *Environment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Environment

func (*Environment) GetDeletionPolicy

func (mg *Environment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Environment.

func (*Environment) GetID

func (tr *Environment) GetID() string

GetID returns ID of underlying Terraform resource of this Environment

func (*Environment) GetObservation

func (tr *Environment) GetObservation() (map[string]interface{}, error)

GetObservation of this Environment

func (*Environment) GetParameters

func (tr *Environment) GetParameters() (map[string]interface{}, error)

GetParameters of this Environment

func (*Environment) GetProviderConfigReference

func (mg *Environment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Environment.

func (*Environment) GetProviderReference

func (mg *Environment) GetProviderReference() *xpv1.Reference

GetProviderReference of this Environment. Deprecated: Use GetProviderConfigReference.

func (*Environment) GetPublishConnectionDetailsTo

func (mg *Environment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Environment.

func (*Environment) GetTerraformResourceType

func (mg *Environment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Environment

func (*Environment) GetTerraformSchemaVersion

func (tr *Environment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Environment) GetWriteConnectionSecretToReference

func (mg *Environment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Environment.

func (*Environment) LateInitialize

func (tr *Environment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Environment using its observed tfState. returns True if there are any spec changes for the resource.

func (*Environment) SetConditions

func (mg *Environment) SetConditions(c ...xpv1.Condition)

SetConditions of this Environment.

func (*Environment) SetDeletionPolicy

func (mg *Environment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Environment.

func (*Environment) SetObservation

func (tr *Environment) SetObservation(obs map[string]interface{}) error

SetObservation for this Environment

func (*Environment) SetParameters

func (tr *Environment) SetParameters(params map[string]interface{}) error

SetParameters for this Environment

func (*Environment) SetProviderConfigReference

func (mg *Environment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Environment.

func (*Environment) SetProviderReference

func (mg *Environment) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Environment. Deprecated: Use SetProviderConfigReference.

func (*Environment) SetPublishConnectionDetailsTo

func (mg *Environment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Environment.

func (*Environment) SetWriteConnectionSecretToReference

func (mg *Environment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Environment.

type EnvironmentList

type EnvironmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Environment `json:"items"`
}

EnvironmentList contains a list of Environments

func (*EnvironmentList) DeepCopy

func (in *EnvironmentList) DeepCopy() *EnvironmentList

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

func (*EnvironmentList) DeepCopyInto

func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)

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

func (*EnvironmentList) DeepCopyObject

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

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

func (*EnvironmentList) GetItems

func (l *EnvironmentList) GetItems() []resource.Managed

GetItems of this EnvironmentList.

type EnvironmentObservation

type EnvironmentObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*EnvironmentObservation) DeepCopy

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

func (*EnvironmentObservation) DeepCopyInto

func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation)

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

type EnvironmentParameters

type EnvironmentParameters struct {

	// environment description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// environment name.
	// +kubebuilder:validation:Required
	EnvironmentName *string `json:"environmentName" tf:"environment_name,omitempty"`

	// subnet IDs.
	// +kubebuilder:validation:Required
	SubnetIds []*string `json:"subnetIds" tf:"subnet_ids,omitempty"`

	// environment tag list.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// vpc ID.
	// +kubebuilder:validation:Required
	VPC *string `json:"vpc" tf:"vpc,omitempty"`
}

func (*EnvironmentParameters) DeepCopy

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

func (*EnvironmentParameters) DeepCopyInto

func (in *EnvironmentParameters) DeepCopyInto(out *EnvironmentParameters)

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

type EnvironmentSpec

type EnvironmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EnvironmentParameters `json:"forProvider"`
}

EnvironmentSpec defines the desired state of Environment

func (*EnvironmentSpec) DeepCopy

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

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

func (*EnvironmentSpec) DeepCopyInto

func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)

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

type EnvironmentStatus

type EnvironmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        EnvironmentObservation `json:"atProvider,omitempty"`
}

EnvironmentStatus defines the observed state of Environment.

func (*EnvironmentStatus) DeepCopy

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

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

type Gateway

type Gateway struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GatewaySpec   `json:"spec"`
	Status            GatewayStatus `json:"status,omitempty"`
}

Gateway is the Schema for the Gateways API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*Gateway) DeepCopy

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto

func (in *Gateway) DeepCopyInto(out *Gateway)

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

func (*Gateway) DeepCopyObject

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

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

func (*Gateway) GetCondition

func (mg *Gateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Gateway.

func (*Gateway) GetConnectionDetailsMapping

func (tr *Gateway) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Gateway

func (*Gateway) GetDeletionPolicy

func (mg *Gateway) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Gateway.

func (*Gateway) GetID

func (tr *Gateway) GetID() string

GetID returns ID of underlying Terraform resource of this Gateway

func (*Gateway) GetObservation

func (tr *Gateway) GetObservation() (map[string]interface{}, error)

GetObservation of this Gateway

func (*Gateway) GetParameters

func (tr *Gateway) GetParameters() (map[string]interface{}, error)

GetParameters of this Gateway

func (*Gateway) GetProviderConfigReference

func (mg *Gateway) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Gateway.

func (*Gateway) GetProviderReference

func (mg *Gateway) GetProviderReference() *xpv1.Reference

GetProviderReference of this Gateway. Deprecated: Use GetProviderConfigReference.

func (*Gateway) GetPublishConnectionDetailsTo

func (mg *Gateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Gateway.

func (*Gateway) GetTerraformResourceType

func (mg *Gateway) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Gateway

func (*Gateway) GetTerraformSchemaVersion

func (tr *Gateway) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Gateway) GetWriteConnectionSecretToReference

func (mg *Gateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Gateway.

func (*Gateway) LateInitialize

func (tr *Gateway) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Gateway using its observed tfState. returns True if there are any spec changes for the resource.

func (*Gateway) SetConditions

func (mg *Gateway) SetConditions(c ...xpv1.Condition)

SetConditions of this Gateway.

func (*Gateway) SetDeletionPolicy

func (mg *Gateway) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Gateway.

func (*Gateway) SetObservation

func (tr *Gateway) SetObservation(obs map[string]interface{}) error

SetObservation for this Gateway

func (*Gateway) SetParameters

func (tr *Gateway) SetParameters(params map[string]interface{}) error

SetParameters for this Gateway

func (*Gateway) SetProviderConfigReference

func (mg *Gateway) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Gateway.

func (*Gateway) SetProviderReference

func (mg *Gateway) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Gateway. Deprecated: Use SetProviderConfigReference.

func (*Gateway) SetPublishConnectionDetailsTo

func (mg *Gateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Gateway.

func (*Gateway) SetWriteConnectionSecretToReference

func (mg *Gateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Gateway.

type GatewayList

type GatewayList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Gateway `json:"items"`
}

GatewayList contains a list of Gateways

func (*GatewayList) DeepCopy

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto

func (in *GatewayList) DeepCopyInto(out *GatewayList)

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

func (*GatewayList) DeepCopyObject

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

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

func (*GatewayList) GetItems

func (l *GatewayList) GetItems() []resource.Managed

GetItems of this GatewayList.

type GatewayObservation

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

	Ingress []IngressObservation `json:"ingress,omitempty" tf:"ingress,omitempty"`
}

func (*GatewayObservation) DeepCopy

func (in *GatewayObservation) DeepCopy() *GatewayObservation

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

func (*GatewayObservation) DeepCopyInto

func (in *GatewayObservation) DeepCopyInto(out *GatewayObservation)

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

type GatewayParameters

type GatewayParameters struct {

	// gateway properties.
	// +kubebuilder:validation:Optional
	Ingress []IngressParameters `json:"ingress,omitempty" tf:"ingress,omitempty"`
}

func (*GatewayParameters) DeepCopy

func (in *GatewayParameters) DeepCopy() *GatewayParameters

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

func (*GatewayParameters) DeepCopyInto

func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters)

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

type GatewaySpec

type GatewaySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GatewayParameters `json:"forProvider"`
}

GatewaySpec defines the desired state of Gateway

func (*GatewaySpec) DeepCopy

func (in *GatewaySpec) DeepCopy() *GatewaySpec

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

func (*GatewaySpec) DeepCopyInto

func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)

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

type GatewayStatus

type GatewayStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        GatewayObservation `json:"atProvider,omitempty"`
}

GatewayStatus defines the observed state of Gateway.

func (*GatewayStatus) DeepCopy

func (in *GatewayStatus) DeepCopy() *GatewayStatus

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

func (*GatewayStatus) DeepCopyInto

func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)

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

type HTTPObservation

type HTTPObservation struct {
}

func (*HTTPObservation) DeepCopy

func (in *HTTPObservation) DeepCopy() *HTTPObservation

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

func (*HTTPObservation) DeepCopyInto

func (in *HTTPObservation) DeepCopyInto(out *HTTPObservation)

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

type HTTPParameters

type HTTPParameters struct {

	// path payload.
	// +kubebuilder:validation:Required
	Paths []PathsParameters `json:"paths" tf:"paths,omitempty"`
}

func (*HTTPParameters) DeepCopy

func (in *HTTPParameters) DeepCopy() *HTTPParameters

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

func (*HTTPParameters) DeepCopyInto

func (in *HTTPParameters) DeepCopyInto(out *HTTPParameters)

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

type HorizontalAutoscalerObservation

type HorizontalAutoscalerObservation struct {
}

func (*HorizontalAutoscalerObservation) DeepCopy

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

func (*HorizontalAutoscalerObservation) DeepCopyInto

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

type HorizontalAutoscalerParameters

type HorizontalAutoscalerParameters struct {

	// enable scaler.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// maximal replica number.
	// +kubebuilder:validation:Required
	MaxReplicas *float64 `json:"maxReplicas" tf:"max_replicas,omitempty"`

	// metric name.
	// +kubebuilder:validation:Required
	Metrics *string `json:"metrics" tf:"metrics,omitempty"`

	// minimal replica number.
	// +kubebuilder:validation:Required
	MinReplicas *float64 `json:"minReplicas" tf:"min_replicas,omitempty"`

	// metric threshold.
	// +kubebuilder:validation:Required
	Threshold *float64 `json:"threshold" tf:"threshold,omitempty"`
}

func (*HorizontalAutoscalerParameters) DeepCopy

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

func (*HorizontalAutoscalerParameters) DeepCopyInto

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

type IngressObservation

type IngressObservation struct {
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`
}

func (*IngressObservation) DeepCopy

func (in *IngressObservation) DeepCopy() *IngressObservation

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

func (*IngressObservation) DeepCopyInto

func (in *IngressObservation) DeepCopyInto(out *IngressObservation)

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

type IngressParameters

type IngressParameters struct {

	// ip version, support IPV4.
	// +kubebuilder:validation:Required
	AddressIPVersion *string `json:"addressIpVersion" tf:"address_ip_version,omitempty"`

	// related CLB ID, support binding existing clb, does not support modification.
	// +kubebuilder:validation:Optional
	ClbID *string `json:"clbId,omitempty" tf:"clb_id,omitempty"`

	// environment ID.
	// +kubebuilder:validation:Required
	EnvironmentID *string `json:"environmentId" tf:"environment_id,omitempty"`

	// gateway name.
	// +kubebuilder:validation:Required
	IngressName *string `json:"ingressName" tf:"ingress_name,omitempty"`

	// mixing HTTP and HTTPS.
	// +kubebuilder:validation:Required
	Mixed *bool `json:"mixed" tf:"mixed,omitempty"`

	// redirect mode, support AUTO and NONE.
	// +kubebuilder:validation:Optional
	RewriteType *string `json:"rewriteType,omitempty" tf:"rewrite_type,omitempty"`

	// proxy rules.
	// +kubebuilder:validation:Required
	Rules []RulesParameters `json:"rules" tf:"rules,omitempty"`

	// ingress TLS configurations.
	// +kubebuilder:validation:Optional
	TLS []TLSParameters `json:"tls,omitempty" tf:"tls,omitempty"`
}

func (*IngressParameters) DeepCopy

func (in *IngressParameters) DeepCopy() *IngressParameters

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

func (*IngressParameters) DeepCopyInto

func (in *IngressParameters) DeepCopyInto(out *IngressParameters)

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

type LivenessObservation

type LivenessObservation struct {
}

func (*LivenessObservation) DeepCopy

func (in *LivenessObservation) DeepCopy() *LivenessObservation

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

func (*LivenessObservation) DeepCopyInto

func (in *LivenessObservation) DeepCopyInto(out *LivenessObservation)

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

type LivenessParameters

type LivenessParameters struct {

	// script.
	// +kubebuilder:validation:Optional
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

	// initial delay seconds for liveness check.
	// +kubebuilder:validation:Optional
	InitialDelaySeconds *float64 `json:"initialDelaySeconds,omitempty" tf:"initial_delay_seconds,omitempty"`

	// path.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// period seconds for liveness check.
	// +kubebuilder:validation:Optional
	PeriodSeconds *float64 `json:"periodSeconds,omitempty" tf:"period_seconds,omitempty"`

	// liveness check port.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// protocol.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// timeout seconds for liveness check.
	// +kubebuilder:validation:Optional
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// check type, support HttpGet, TcpSocket and Exec.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*LivenessParameters) DeepCopy

func (in *LivenessParameters) DeepCopy() *LivenessParameters

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

func (*LivenessParameters) DeepCopyInto

func (in *LivenessParameters) DeepCopyInto(out *LivenessParameters)

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

type LogConfig

type LogConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogConfigSpec   `json:"spec"`
	Status            LogConfigStatus `json:"status,omitempty"`
}

LogConfig is the Schema for the LogConfigs API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*LogConfig) DeepCopy

func (in *LogConfig) DeepCopy() *LogConfig

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

func (*LogConfig) DeepCopyInto

func (in *LogConfig) DeepCopyInto(out *LogConfig)

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

func (*LogConfig) DeepCopyObject

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

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

func (*LogConfig) GetCondition

func (mg *LogConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this LogConfig.

func (*LogConfig) GetConnectionDetailsMapping

func (tr *LogConfig) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this LogConfig

func (*LogConfig) GetDeletionPolicy

func (mg *LogConfig) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this LogConfig.

func (*LogConfig) GetID

func (tr *LogConfig) GetID() string

GetID returns ID of underlying Terraform resource of this LogConfig

func (*LogConfig) GetObservation

func (tr *LogConfig) GetObservation() (map[string]interface{}, error)

GetObservation of this LogConfig

func (*LogConfig) GetParameters

func (tr *LogConfig) GetParameters() (map[string]interface{}, error)

GetParameters of this LogConfig

func (*LogConfig) GetProviderConfigReference

func (mg *LogConfig) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this LogConfig.

func (*LogConfig) GetProviderReference

func (mg *LogConfig) GetProviderReference() *xpv1.Reference

GetProviderReference of this LogConfig. Deprecated: Use GetProviderConfigReference.

func (*LogConfig) GetPublishConnectionDetailsTo

func (mg *LogConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this LogConfig.

func (*LogConfig) GetTerraformResourceType

func (mg *LogConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LogConfig

func (*LogConfig) GetTerraformSchemaVersion

func (tr *LogConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LogConfig) GetWriteConnectionSecretToReference

func (mg *LogConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this LogConfig.

func (*LogConfig) LateInitialize

func (tr *LogConfig) LateInitialize(attrs []byte) (bool, error)

LateInitialize this LogConfig using its observed tfState. returns True if there are any spec changes for the resource.

func (*LogConfig) ResolveReferences

func (mg *LogConfig) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this LogConfig.

func (*LogConfig) SetConditions

func (mg *LogConfig) SetConditions(c ...xpv1.Condition)

SetConditions of this LogConfig.

func (*LogConfig) SetDeletionPolicy

func (mg *LogConfig) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this LogConfig.

func (*LogConfig) SetObservation

func (tr *LogConfig) SetObservation(obs map[string]interface{}) error

SetObservation for this LogConfig

func (*LogConfig) SetParameters

func (tr *LogConfig) SetParameters(params map[string]interface{}) error

SetParameters for this LogConfig

func (*LogConfig) SetProviderConfigReference

func (mg *LogConfig) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this LogConfig.

func (*LogConfig) SetProviderReference

func (mg *LogConfig) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this LogConfig. Deprecated: Use SetProviderConfigReference.

func (*LogConfig) SetPublishConnectionDetailsTo

func (mg *LogConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this LogConfig.

func (*LogConfig) SetWriteConnectionSecretToReference

func (mg *LogConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this LogConfig.

type LogConfigList

type LogConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LogConfig `json:"items"`
}

LogConfigList contains a list of LogConfigs

func (*LogConfigList) DeepCopy

func (in *LogConfigList) DeepCopy() *LogConfigList

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

func (*LogConfigList) DeepCopyInto

func (in *LogConfigList) DeepCopyInto(out *LogConfigList)

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

func (*LogConfigList) DeepCopyObject

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

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

func (*LogConfigList) GetItems

func (l *LogConfigList) GetItems() []resource.Managed

GetItems of this LogConfigList.

type LogConfigObservation

type LogConfigObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*LogConfigObservation) DeepCopy

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

func (*LogConfigObservation) DeepCopyInto

func (in *LogConfigObservation) DeepCopyInto(out *LogConfigObservation)

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

type LogConfigParameters

type LogConfigParameters struct {

	// application ID.
	// +crossplane:generate:reference:type=Application
	// +kubebuilder:validation:Optional
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// +kubebuilder:validation:Optional
	ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"`

	// regex pattern.
	// +kubebuilder:validation:Optional
	BeginningRegex *string `json:"beginningRegex,omitempty" tf:"beginning_regex,omitempty"`

	// environment ID.
	// +crossplane:generate:reference:type=Environment
	// +kubebuilder:validation:Optional
	EnvironmentID *string `json:"environmentId,omitempty" tf:"environment_id,omitempty"`

	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

	// file name pattern if container_file.
	// +kubebuilder:validation:Optional
	FilePattern *string `json:"filePattern,omitempty" tf:"file_pattern,omitempty"`

	// container_stdout or container_file.
	// +kubebuilder:validation:Required
	InputType *string `json:"inputType" tf:"input_type,omitempty"`

	// directory if container_file.
	// +kubebuilder:validation:Optional
	LogPath *string `json:"logPath,omitempty" tf:"log_path,omitempty"`

	// minimalist_log or multiline_log.
	// +kubebuilder:validation:Required
	LogType *string `json:"logType" tf:"log_type,omitempty"`

	// logset.
	// +kubebuilder:validation:Required
	LogsetID *string `json:"logsetId" tf:"logset_id,omitempty"`

	// appConfig name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// topic.
	// +kubebuilder:validation:Required
	TopicID *string `json:"topicId" tf:"topic_id,omitempty"`

	// application ID, which is combined by environment ID and application ID, like `en-o5edaepv#app-3j29aa2p`.
	// +crossplane:generate:reference:type=Workload
	// +kubebuilder:validation:Optional
	WorkloadID *string `json:"workloadId,omitempty" tf:"workload_id,omitempty"`

	// +kubebuilder:validation:Optional
	WorkloadIDRef *v1.Reference `json:"workloadIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	WorkloadIDSelector *v1.Selector `json:"workloadIdSelector,omitempty" tf:"-"`
}

func (*LogConfigParameters) DeepCopy

func (in *LogConfigParameters) DeepCopy() *LogConfigParameters

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

func (*LogConfigParameters) DeepCopyInto

func (in *LogConfigParameters) DeepCopyInto(out *LogConfigParameters)

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

type LogConfigSpec

type LogConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogConfigParameters `json:"forProvider"`
}

LogConfigSpec defines the desired state of LogConfig

func (*LogConfigSpec) DeepCopy

func (in *LogConfigSpec) DeepCopy() *LogConfigSpec

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

func (*LogConfigSpec) DeepCopyInto

func (in *LogConfigSpec) DeepCopyInto(out *LogConfigSpec)

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

type LogConfigStatus

type LogConfigStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LogConfigObservation `json:"atProvider,omitempty"`
}

LogConfigStatus defines the observed state of LogConfig.

func (*LogConfigStatus) DeepCopy

func (in *LogConfigStatus) DeepCopy() *LogConfigStatus

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

func (*LogConfigStatus) DeepCopyInto

func (in *LogConfigStatus) DeepCopyInto(out *LogConfigStatus)

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

type PathsObservation

type PathsObservation struct {
}

func (*PathsObservation) DeepCopy

func (in *PathsObservation) DeepCopy() *PathsObservation

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

func (*PathsObservation) DeepCopyInto

func (in *PathsObservation) DeepCopyInto(out *PathsObservation)

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

type PathsParameters

type PathsParameters struct {

	// backend payload.
	// +kubebuilder:validation:Required
	Backend []BackendParameters `json:"backend" tf:"backend,omitempty"`

	// path.
	// +kubebuilder:validation:Required
	Path *string `json:"path" tf:"path,omitempty"`
}

func (*PathsParameters) DeepCopy

func (in *PathsParameters) DeepCopy() *PathsParameters

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

func (*PathsParameters) DeepCopyInto

func (in *PathsParameters) DeepCopyInto(out *PathsParameters)

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

type ReadinessObservation

type ReadinessObservation struct {
}

func (*ReadinessObservation) DeepCopy

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

func (*ReadinessObservation) DeepCopyInto

func (in *ReadinessObservation) DeepCopyInto(out *ReadinessObservation)

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

type ReadinessParameters

type ReadinessParameters struct {

	// script.
	// +kubebuilder:validation:Optional
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

	// initial delay seconds for readiness check.
	// +kubebuilder:validation:Optional
	InitialDelaySeconds *float64 `json:"initialDelaySeconds,omitempty" tf:"initial_delay_seconds,omitempty"`

	// path.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// period seconds for readiness check.
	// +kubebuilder:validation:Optional
	PeriodSeconds *float64 `json:"periodSeconds,omitempty" tf:"period_seconds,omitempty"`

	// readiness check port.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// protocol.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// timeout seconds for readiness check.
	// +kubebuilder:validation:Optional
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// check type, support HttpGet, TcpSocket and Exec.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ReadinessParameters) DeepCopy

func (in *ReadinessParameters) DeepCopy() *ReadinessParameters

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

func (*ReadinessParameters) DeepCopyInto

func (in *ReadinessParameters) DeepCopyInto(out *ReadinessParameters)

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

type RulesObservation

type RulesObservation struct {
}

func (*RulesObservation) DeepCopy

func (in *RulesObservation) DeepCopy() *RulesObservation

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

func (*RulesObservation) DeepCopyInto

func (in *RulesObservation) DeepCopyInto(out *RulesObservation)

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

type RulesParameters

type RulesParameters struct {

	// rule payload.
	// +kubebuilder:validation:Required
	HTTP []HTTPParameters `json:"http" tf:"http,omitempty"`

	// host name.
	// +kubebuilder:validation:Optional
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// protocol.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

func (*RulesParameters) DeepCopy

func (in *RulesParameters) DeepCopy() *RulesParameters

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

func (*RulesParameters) DeepCopyInto

func (in *RulesParameters) DeepCopyInto(out *RulesParameters)

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

type ScaleRule

type ScaleRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScaleRuleSpec   `json:"spec"`
	Status            ScaleRuleStatus `json:"status,omitempty"`
}

ScaleRule is the Schema for the ScaleRules API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*ScaleRule) DeepCopy

func (in *ScaleRule) DeepCopy() *ScaleRule

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

func (*ScaleRule) DeepCopyInto

func (in *ScaleRule) DeepCopyInto(out *ScaleRule)

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

func (*ScaleRule) DeepCopyObject

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

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

func (*ScaleRule) GetCondition

func (mg *ScaleRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ScaleRule.

func (*ScaleRule) GetConnectionDetailsMapping

func (tr *ScaleRule) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ScaleRule

func (*ScaleRule) GetDeletionPolicy

func (mg *ScaleRule) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ScaleRule.

func (*ScaleRule) GetID

func (tr *ScaleRule) GetID() string

GetID returns ID of underlying Terraform resource of this ScaleRule

func (*ScaleRule) GetObservation

func (tr *ScaleRule) GetObservation() (map[string]interface{}, error)

GetObservation of this ScaleRule

func (*ScaleRule) GetParameters

func (tr *ScaleRule) GetParameters() (map[string]interface{}, error)

GetParameters of this ScaleRule

func (*ScaleRule) GetProviderConfigReference

func (mg *ScaleRule) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ScaleRule.

func (*ScaleRule) GetProviderReference

func (mg *ScaleRule) GetProviderReference() *xpv1.Reference

GetProviderReference of this ScaleRule. Deprecated: Use GetProviderConfigReference.

func (*ScaleRule) GetPublishConnectionDetailsTo

func (mg *ScaleRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ScaleRule.

func (*ScaleRule) GetTerraformResourceType

func (mg *ScaleRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ScaleRule

func (*ScaleRule) GetTerraformSchemaVersion

func (tr *ScaleRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ScaleRule) GetWriteConnectionSecretToReference

func (mg *ScaleRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ScaleRule.

func (*ScaleRule) LateInitialize

func (tr *ScaleRule) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ScaleRule using its observed tfState. returns True if there are any spec changes for the resource.

func (*ScaleRule) ResolveReferences

func (mg *ScaleRule) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ScaleRule.

func (*ScaleRule) SetConditions

func (mg *ScaleRule) SetConditions(c ...xpv1.Condition)

SetConditions of this ScaleRule.

func (*ScaleRule) SetDeletionPolicy

func (mg *ScaleRule) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ScaleRule.

func (*ScaleRule) SetObservation

func (tr *ScaleRule) SetObservation(obs map[string]interface{}) error

SetObservation for this ScaleRule

func (*ScaleRule) SetParameters

func (tr *ScaleRule) SetParameters(params map[string]interface{}) error

SetParameters for this ScaleRule

func (*ScaleRule) SetProviderConfigReference

func (mg *ScaleRule) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ScaleRule.

func (*ScaleRule) SetProviderReference

func (mg *ScaleRule) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ScaleRule. Deprecated: Use SetProviderConfigReference.

func (*ScaleRule) SetPublishConnectionDetailsTo

func (mg *ScaleRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ScaleRule.

func (*ScaleRule) SetWriteConnectionSecretToReference

func (mg *ScaleRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ScaleRule.

type ScaleRuleList

type ScaleRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ScaleRule `json:"items"`
}

ScaleRuleList contains a list of ScaleRules

func (*ScaleRuleList) DeepCopy

func (in *ScaleRuleList) DeepCopy() *ScaleRuleList

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

func (*ScaleRuleList) DeepCopyInto

func (in *ScaleRuleList) DeepCopyInto(out *ScaleRuleList)

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

func (*ScaleRuleList) DeepCopyObject

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

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

func (*ScaleRuleList) GetItems

func (l *ScaleRuleList) GetItems() []resource.Managed

GetItems of this ScaleRuleList.

type ScaleRuleObservation

type ScaleRuleObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ScaleRuleObservation) DeepCopy

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

func (*ScaleRuleObservation) DeepCopyInto

func (in *ScaleRuleObservation) DeepCopyInto(out *ScaleRuleObservation)

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

type ScaleRuleParameters

type ScaleRuleParameters struct {

	// application ID.
	// +crossplane:generate:reference:type=Application
	// +kubebuilder:validation:Optional
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// +kubebuilder:validation:Optional
	ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"`

	// .
	// +kubebuilder:validation:Required
	Autoscaler []AutoscalerParameters `json:"autoscaler" tf:"autoscaler,omitempty"`

	// environment ID.
	// +crossplane:generate:reference:type=Environment
	// +kubebuilder:validation:Optional
	EnvironmentID *string `json:"environmentId,omitempty" tf:"environment_id,omitempty"`

	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

	// application ID, which is combined by environment ID and application ID, like `en-o5edaepv#app-3j29aa2p`.
	// +crossplane:generate:reference:type=Workload
	// +kubebuilder:validation:Optional
	WorkloadID *string `json:"workloadId,omitempty" tf:"workload_id,omitempty"`

	// +kubebuilder:validation:Optional
	WorkloadIDRef *v1.Reference `json:"workloadIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	WorkloadIDSelector *v1.Selector `json:"workloadIdSelector,omitempty" tf:"-"`
}

func (*ScaleRuleParameters) DeepCopy

func (in *ScaleRuleParameters) DeepCopy() *ScaleRuleParameters

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

func (*ScaleRuleParameters) DeepCopyInto

func (in *ScaleRuleParameters) DeepCopyInto(out *ScaleRuleParameters)

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

type ScaleRuleSpec

type ScaleRuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScaleRuleParameters `json:"forProvider"`
}

ScaleRuleSpec defines the desired state of ScaleRule

func (*ScaleRuleSpec) DeepCopy

func (in *ScaleRuleSpec) DeepCopy() *ScaleRuleSpec

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

func (*ScaleRuleSpec) DeepCopyInto

func (in *ScaleRuleSpec) DeepCopyInto(out *ScaleRuleSpec)

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

type ScaleRuleStatus

type ScaleRuleStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ScaleRuleObservation `json:"atProvider,omitempty"`
}

ScaleRuleStatus defines the observed state of ScaleRule.

func (*ScaleRuleStatus) DeepCopy

func (in *ScaleRuleStatus) DeepCopy() *ScaleRuleStatus

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

func (*ScaleRuleStatus) DeepCopyInto

func (in *ScaleRuleStatus) DeepCopyInto(out *ScaleRuleStatus)

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

type SchedulesObservation

type SchedulesObservation struct {
}

func (*SchedulesObservation) DeepCopy

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

func (*SchedulesObservation) DeepCopyInto

func (in *SchedulesObservation) DeepCopyInto(out *SchedulesObservation)

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

type SchedulesParameters

type SchedulesParameters struct {

	// start time.
	// +kubebuilder:validation:Required
	StartAt *string `json:"startAt" tf:"start_at,omitempty"`

	// target replica number.
	// +kubebuilder:validation:Required
	TargetReplicas *float64 `json:"targetReplicas" tf:"target_replicas,omitempty"`
}

func (*SchedulesParameters) DeepCopy

func (in *SchedulesParameters) DeepCopy() *SchedulesParameters

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

func (*SchedulesParameters) DeepCopyInto

func (in *SchedulesParameters) DeepCopyInto(out *SchedulesParameters)

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

type StartupProbeObservation

type StartupProbeObservation struct {
}

func (*StartupProbeObservation) DeepCopy

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

func (*StartupProbeObservation) DeepCopyInto

func (in *StartupProbeObservation) DeepCopyInto(out *StartupProbeObservation)

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

type StartupProbeParameters

type StartupProbeParameters struct {

	// script.
	// +kubebuilder:validation:Optional
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

	// initial delay seconds for startup check.
	// +kubebuilder:validation:Optional
	InitialDelaySeconds *float64 `json:"initialDelaySeconds,omitempty" tf:"initial_delay_seconds,omitempty"`

	// path.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// period seconds for startup check.
	// +kubebuilder:validation:Optional
	PeriodSeconds *float64 `json:"periodSeconds,omitempty" tf:"period_seconds,omitempty"`

	// startup check port.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// protocol.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// timeout seconds for startup check.
	// +kubebuilder:validation:Optional
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// check type, support HttpGet, TcpSocket and Exec.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*StartupProbeParameters) DeepCopy

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

func (*StartupProbeParameters) DeepCopyInto

func (in *StartupProbeParameters) DeepCopyInto(out *StartupProbeParameters)

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

type StorageConfsObservation

type StorageConfsObservation struct {
}

func (*StorageConfsObservation) DeepCopy

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

func (*StorageConfsObservation) DeepCopyInto

func (in *StorageConfsObservation) DeepCopyInto(out *StorageConfsObservation)

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

type StorageConfsParameters

type StorageConfsParameters struct {

	// volume ip.
	// +kubebuilder:validation:Required
	StorageVolIP *string `json:"storageVolIp" tf:"storage_vol_ip,omitempty"`

	// volume name.
	// +kubebuilder:validation:Required
	StorageVolName *string `json:"storageVolName" tf:"storage_vol_name,omitempty"`

	// volume path.
	// +kubebuilder:validation:Required
	StorageVolPath *string `json:"storageVolPath" tf:"storage_vol_path,omitempty"`
}

func (*StorageConfsParameters) DeepCopy

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

func (*StorageConfsParameters) DeepCopyInto

func (in *StorageConfsParameters) DeepCopyInto(out *StorageConfsParameters)

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

type StorageMountConfsObservation

type StorageMountConfsObservation struct {
}

func (*StorageMountConfsObservation) DeepCopy

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

func (*StorageMountConfsObservation) DeepCopyInto

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

type StorageMountConfsParameters

type StorageMountConfsParameters struct {

	// mount path.
	// +kubebuilder:validation:Required
	MountPath *string `json:"mountPath" tf:"mount_path,omitempty"`

	// volume name.
	// +kubebuilder:validation:Required
	VolumeName *string `json:"volumeName" tf:"volume_name,omitempty"`
}

func (*StorageMountConfsParameters) DeepCopy

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

func (*StorageMountConfsParameters) DeepCopyInto

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

type TLSObservation

type TLSObservation struct {
}

func (*TLSObservation) DeepCopy

func (in *TLSObservation) DeepCopy() *TLSObservation

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

func (*TLSObservation) DeepCopyInto

func (in *TLSObservation) DeepCopyInto(out *TLSObservation)

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

type TLSParameters

type TLSParameters struct {

	// certificate ID.
	// +kubebuilder:validation:Required
	CertificateID *string `json:"certificateId" tf:"certificate_id,omitempty"`

	// host names.
	// +kubebuilder:validation:Required
	Hosts []*string `json:"hosts" tf:"hosts,omitempty"`

	// secret name, if you use a certificate, you don't need to fill in this field.
	// +kubebuilder:validation:Optional
	SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
}

func (*TLSParameters) DeepCopy

func (in *TLSParameters) DeepCopy() *TLSParameters

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

func (*TLSParameters) DeepCopyInto

func (in *TLSParameters) DeepCopyInto(out *TLSParameters)

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

type Workload

type Workload struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WorkloadSpec   `json:"spec"`
	Status            WorkloadStatus `json:"status,omitempty"`
}

Workload is the Schema for the Workloads API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*Workload) DeepCopy

func (in *Workload) DeepCopy() *Workload

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

func (*Workload) DeepCopyInto

func (in *Workload) DeepCopyInto(out *Workload)

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

func (*Workload) DeepCopyObject

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

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

func (*Workload) GetCondition

func (mg *Workload) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Workload.

func (*Workload) GetConnectionDetailsMapping

func (tr *Workload) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Workload

func (*Workload) GetDeletionPolicy

func (mg *Workload) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Workload.

func (*Workload) GetID

func (tr *Workload) GetID() string

GetID returns ID of underlying Terraform resource of this Workload

func (*Workload) GetObservation

func (tr *Workload) GetObservation() (map[string]interface{}, error)

GetObservation of this Workload

func (*Workload) GetParameters

func (tr *Workload) GetParameters() (map[string]interface{}, error)

GetParameters of this Workload

func (*Workload) GetProviderConfigReference

func (mg *Workload) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Workload.

func (*Workload) GetProviderReference

func (mg *Workload) GetProviderReference() *xpv1.Reference

GetProviderReference of this Workload. Deprecated: Use GetProviderConfigReference.

func (*Workload) GetPublishConnectionDetailsTo

func (mg *Workload) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Workload.

func (*Workload) GetTerraformResourceType

func (mg *Workload) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Workload

func (*Workload) GetTerraformSchemaVersion

func (tr *Workload) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Workload) GetWriteConnectionSecretToReference

func (mg *Workload) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Workload.

func (*Workload) LateInitialize

func (tr *Workload) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Workload using its observed tfState. returns True if there are any spec changes for the resource.

func (*Workload) ResolveReferences

func (mg *Workload) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Workload.

func (*Workload) SetConditions

func (mg *Workload) SetConditions(c ...xpv1.Condition)

SetConditions of this Workload.

func (*Workload) SetDeletionPolicy

func (mg *Workload) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Workload.

func (*Workload) SetObservation

func (tr *Workload) SetObservation(obs map[string]interface{}) error

SetObservation for this Workload

func (*Workload) SetParameters

func (tr *Workload) SetParameters(params map[string]interface{}) error

SetParameters for this Workload

func (*Workload) SetProviderConfigReference

func (mg *Workload) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Workload.

func (*Workload) SetProviderReference

func (mg *Workload) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Workload. Deprecated: Use SetProviderConfigReference.

func (*Workload) SetPublishConnectionDetailsTo

func (mg *Workload) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Workload.

func (*Workload) SetWriteConnectionSecretToReference

func (mg *Workload) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Workload.

type WorkloadList

type WorkloadList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Workload `json:"items"`
}

WorkloadList contains a list of Workloads

func (*WorkloadList) DeepCopy

func (in *WorkloadList) DeepCopy() *WorkloadList

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

func (*WorkloadList) DeepCopyInto

func (in *WorkloadList) DeepCopyInto(out *WorkloadList)

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

func (*WorkloadList) DeepCopyObject

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

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

func (*WorkloadList) GetItems

func (l *WorkloadList) GetItems() []resource.Managed

GetItems of this WorkloadList.

type WorkloadObservation

type WorkloadObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*WorkloadObservation) DeepCopy

func (in *WorkloadObservation) DeepCopy() *WorkloadObservation

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

func (*WorkloadObservation) DeepCopyInto

func (in *WorkloadObservation) DeepCopyInto(out *WorkloadObservation)

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

type WorkloadParameters

type WorkloadParameters struct {

	// application ID.
	// +crossplane:generate:reference:type=Application
	// +kubebuilder:validation:Optional
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// +kubebuilder:validation:Optional
	ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"`

	// cpu.
	// +kubebuilder:validation:Required
	CPUSpec *float64 `json:"cpuSpec" tf:"cpu_spec,omitempty"`

	// deploy mode, support IMAGE.
	// +kubebuilder:validation:Required
	DeployMode *string `json:"deployMode" tf:"deploy_mode,omitempty"`

	// deploy strategy.
	// +kubebuilder:validation:Optional
	DeployStrategyConf []DeployStrategyConfParameters `json:"deployStrategyConf,omitempty" tf:"deploy_strategy_conf,omitempty"`

	// deploy version.
	// +kubebuilder:validation:Required
	DeployVersion *string `json:"deployVersion" tf:"deploy_version,omitempty"`

	// .
	// +kubebuilder:validation:Optional
	EnvConf []EnvConfParameters `json:"envConf,omitempty" tf:"env_conf,omitempty"`

	// environment ID.
	// +crossplane:generate:reference:type=Environment
	// +kubebuilder:validation:Optional
	EnvironmentID *string `json:"environmentId,omitempty" tf:"environment_id,omitempty"`

	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

	// repository name.
	// +kubebuilder:validation:Required
	ImgRepo *string `json:"imgRepo" tf:"img_repo,omitempty"`

	// initial pod number.
	// +kubebuilder:validation:Required
	InitPodNum *float64 `json:"initPodNum" tf:"init_pod_num,omitempty"`

	// liveness config.
	// +kubebuilder:validation:Optional
	Liveness []LivenessParameters `json:"liveness,omitempty" tf:"liveness,omitempty"`

	// mem.
	// +kubebuilder:validation:Required
	MemorySpec *float64 `json:"memorySpec" tf:"memory_spec,omitempty"`

	// mem.
	// +kubebuilder:validation:Optional
	PostStart *string `json:"postStart,omitempty" tf:"post_start,omitempty"`

	// mem.
	// +kubebuilder:validation:Optional
	PreStop *string `json:"preStop,omitempty" tf:"pre_stop,omitempty"`

	// .
	// +kubebuilder:validation:Optional
	Readiness []ReadinessParameters `json:"readiness,omitempty" tf:"readiness,omitempty"`

	// repo server addr when deploy by image.
	// +kubebuilder:validation:Optional
	RepoServer *string `json:"repoServer,omitempty" tf:"repo_server,omitempty"`

	// repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
	// +kubebuilder:validation:Optional
	RepoType *float64 `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// security groups.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// .
	// +kubebuilder:validation:Optional
	StartupProbe []StartupProbeParameters `json:"startupProbe,omitempty" tf:"startup_probe,omitempty"`

	// storage configuration.
	// +kubebuilder:validation:Optional
	StorageConfs []StorageConfsParameters `json:"storageConfs,omitempty" tf:"storage_confs,omitempty"`

	// storage mount configuration.
	// +kubebuilder:validation:Optional
	StorageMountConfs []StorageMountConfsParameters `json:"storageMountConfs,omitempty" tf:"storage_mount_confs,omitempty"`

	// tcr instance id when deploy by image.
	// +kubebuilder:validation:Optional
	TcrInstanceID *string `json:"tcrInstanceId,omitempty" tf:"tcr_instance_id,omitempty"`
}

func (*WorkloadParameters) DeepCopy

func (in *WorkloadParameters) DeepCopy() *WorkloadParameters

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

func (*WorkloadParameters) DeepCopyInto

func (in *WorkloadParameters) DeepCopyInto(out *WorkloadParameters)

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

type WorkloadSpec

type WorkloadSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WorkloadParameters `json:"forProvider"`
}

WorkloadSpec defines the desired state of Workload

func (*WorkloadSpec) DeepCopy

func (in *WorkloadSpec) DeepCopy() *WorkloadSpec

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

func (*WorkloadSpec) DeepCopyInto

func (in *WorkloadSpec) DeepCopyInto(out *WorkloadSpec)

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

type WorkloadStatus

type WorkloadStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        WorkloadObservation `json:"atProvider,omitempty"`
}

WorkloadStatus defines the observed state of Workload.

func (*WorkloadStatus) DeepCopy

func (in *WorkloadStatus) DeepCopy() *WorkloadStatus

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

func (*WorkloadStatus) DeepCopyInto

func (in *WorkloadStatus) DeepCopyInto(out *WorkloadStatus)

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