v1alpha1

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 13 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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.configData) || (has(self.initProvider) && has(self.initProvider.configData))",message="spec.forProvider.configData is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   AppConfigSpec   `json:"spec"`
	Status AppConfigStatus `json:"status,omitempty"`
}

AppConfig is the Schema for the AppConfigs API. Provides a resource to create a tem appConfig +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

func (tr *AppConfig) GetInitParameters() (map[string]any, error)

GetInitParameters of this AppConfig

func (*AppConfig) GetManagementPolicies added in v0.8.0

func (mg *AppConfig) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this AppConfig.

func (*AppConfig) GetMergedParameters added in v0.8.1

func (tr *AppConfig) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this AppConfig

func (*AppConfig) GetObservation

func (tr *AppConfig) GetObservation() (map[string]any, error)

GetObservation of this AppConfig

func (*AppConfig) GetParameters

func (tr *AppConfig) GetParameters() (map[string]any, error)

GetParameters of this AppConfig

func (*AppConfig) GetProviderConfigReference

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

GetProviderConfigReference of this AppConfig.

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) Hub added in v0.8.1

func (tr *AppConfig) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

func (mg *AppConfig) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this AppConfig.

func (*AppConfig) SetObservation

func (tr *AppConfig) SetObservation(obs map[string]any) error

SetObservation for this AppConfig

func (*AppConfig) SetParameters

func (tr *AppConfig) SetParameters(params map[string]any) error

SetParameters for this AppConfig

func (*AppConfig) SetProviderConfigReference

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

SetProviderConfigReference of this AppConfig.

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 AppConfigInitParameters added in v0.8.0

type AppConfigInitParameters struct {

	// payload.
	// payload.
	ConfigData []ConfigDataInitParameters `json:"configData,omitempty" tf:"config_data,omitempty"`

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

	// Reference to a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// Selector for a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

	// appConfig name.
	// appConfig name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*AppConfigInitParameters) DeepCopy added in v0.8.0

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

func (*AppConfigInitParameters) DeepCopyInto added in v0.8.0

func (in *AppConfigInitParameters) DeepCopyInto(out *AppConfigInitParameters)

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

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 {

	// payload.
	// payload.
	ConfigData []ConfigDataObservation `json:"configData,omitempty" tf:"config_data,omitempty"`

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

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// appConfig name.
	// appConfig name.
	Name *string `json:"name,omitempty" tf:"name,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.
	// payload.
	// +kubebuilder:validation:Optional
	ConfigData []ConfigDataParameters `json:"configData,omitempty" tf:"config_data,omitempty"`

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

	// Reference to a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// Selector for a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

	// appConfig name.
	// appConfig name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AppConfigInitParameters `json:"initProvider,omitempty"`
}

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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.applicationName) || (has(self.initProvider) && has(self.initProvider.applicationName))",message="spec.forProvider.applicationName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.codingLanguage) || (has(self.initProvider) && has(self.initProvider.codingLanguage))",message="spec.forProvider.codingLanguage is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter"
	Spec   ApplicationSpec   `json:"spec"`
	Status ApplicationStatus `json:"status,omitempty"`
}

Application is the Schema for the Applications API. Provides a resource to create a tem application +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

func (tr *Application) GetInitParameters() (map[string]any, error)

GetInitParameters of this Application

func (*Application) GetManagementPolicies added in v0.8.0

func (mg *Application) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Application.

func (*Application) GetMergedParameters added in v0.8.1

func (tr *Application) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Application

func (*Application) GetObservation

func (tr *Application) GetObservation() (map[string]any, error)

GetObservation of this Application

func (*Application) GetParameters

func (tr *Application) GetParameters() (map[string]any, error)

GetParameters of this Application

func (*Application) GetProviderConfigReference

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

GetProviderConfigReference of this Application.

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) Hub added in v0.8.1

func (tr *Application) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

func (mg *Application) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Application.

func (*Application) SetObservation

func (tr *Application) SetObservation(obs map[string]any) error

SetObservation for this Application

func (*Application) SetParameters

func (tr *Application) SetParameters(params map[string]any) error

SetParameters for this Application

func (*Application) SetProviderConfigReference

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

SetProviderConfigReference of this Application.

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 ApplicationInitParameters added in v0.8.0

type ApplicationInitParameters struct {

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

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

	// application description.
	// application description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

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

	// registry address.
	// registry address.
	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.
	// repo type, 0: tcr personal, 1: tcr enterprise, 2: public repository, 3: tcr hosted by tem, 4: demo image.
	RepoType *float64 `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// application tag list.
	// application tag list.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

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

func (*ApplicationInitParameters) DeepCopy added in v0.8.0

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

func (*ApplicationInitParameters) DeepCopyInto added in v0.8.0

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

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 {

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

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

	// application description.
	// application description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

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

	// registry address.
	// registry address.
	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.
	// repo type, 0: tcr personal, 1: tcr enterprise, 2: public repository, 3: tcr hosted by tem, 4: demo image.
	RepoType *float64 `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// application tag list.
	// application tag list.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// create image repo or not.
	// create image repo or not.
	UseDefaultImageService *float64 `json:"useDefaultImageService,omitempty" tf:"use_default_image_service,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.
	// application name.
	// +kubebuilder:validation:Optional
	ApplicationName *string `json:"applicationName,omitempty" tf:"application_name,omitempty"`

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

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

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

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

	// registry address.
	// 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.
	// 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.
	// application tag list.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// create image repo or not.
	// 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ApplicationInitParameters `json:"initProvider,omitempty"`
}

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 AutoscalerInitParameters added in v0.8.0

type AutoscalerInitParameters struct {

	// name.
	// name.
	AutoscalerName *string `json:"autoscalerName,omitempty" tf:"autoscaler_name,omitempty"`

	// scaler based on cron configuration.
	// scaler based on cron configuration.
	CronHorizontalAutoscaler []CronHorizontalAutoscalerInitParameters `json:"cronHorizontalAutoscaler,omitempty" tf:"cron_horizontal_autoscaler,omitempty"`

	// description.
	// description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// enable AutoScaler.
	// enable AutoScaler.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// scaler based on metrics.
	// scaler based on metrics.
	HorizontalAutoscaler []HorizontalAutoscalerInitParameters `json:"horizontalAutoscaler,omitempty" tf:"horizontal_autoscaler,omitempty"`

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

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

func (*AutoscalerInitParameters) DeepCopy added in v0.8.0

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

func (*AutoscalerInitParameters) DeepCopyInto added in v0.8.0

func (in *AutoscalerInitParameters) DeepCopyInto(out *AutoscalerInitParameters)

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

type AutoscalerObservation

type AutoscalerObservation struct {

	// name.
	// name.
	AutoscalerName *string `json:"autoscalerName,omitempty" tf:"autoscaler_name,omitempty"`

	// scaler based on cron configuration.
	// scaler based on cron configuration.
	CronHorizontalAutoscaler []CronHorizontalAutoscalerObservation `json:"cronHorizontalAutoscaler,omitempty" tf:"cron_horizontal_autoscaler,omitempty"`

	// description.
	// description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// enable AutoScaler.
	// enable AutoScaler.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// scaler based on metrics.
	// scaler based on metrics.
	HorizontalAutoscaler []HorizontalAutoscalerObservation `json:"horizontalAutoscaler,omitempty" tf:"horizontal_autoscaler,omitempty"`

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

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

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.
	// name.
	// +kubebuilder:validation:Optional
	AutoscalerName *string `json:"autoscalerName" tf:"autoscaler_name,omitempty"`

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

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

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

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

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

	// minimal replica number.
	// minimal replica number.
	// +kubebuilder:validation:Optional
	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 BackendInitParameters added in v0.8.0

type BackendInitParameters struct {

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

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

func (*BackendInitParameters) DeepCopy added in v0.8.0

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

func (*BackendInitParameters) DeepCopyInto added in v0.8.0

func (in *BackendInitParameters) DeepCopyInto(out *BackendInitParameters)

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

type BackendObservation

type BackendObservation struct {

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

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

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.
	// backend name.
	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName" tf:"service_name,omitempty"`

	// backend port.
	// backend port.
	// +kubebuilder:validation:Optional
	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 ConfigDataInitParameters added in v0.8.0

type ConfigDataInitParameters struct {

	// key.
	// key.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// value.
	// value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ConfigDataInitParameters) DeepCopy added in v0.8.0

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

func (*ConfigDataInitParameters) DeepCopyInto added in v0.8.0

func (in *ConfigDataInitParameters) DeepCopyInto(out *ConfigDataInitParameters)

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

type ConfigDataObservation

type ConfigDataObservation struct {

	// key.
	// key.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// value.
	// value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

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.
	// key.
	// +kubebuilder:validation:Optional
	Key *string `json:"key" tf:"key,omitempty"`

	// value.
	// value.
	// +kubebuilder:validation:Optional
	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 CronHorizontalAutoscalerInitParameters added in v0.8.0

type CronHorizontalAutoscalerInitParameters struct {

	// enable AutoScaler.
	// enable scaler.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// name.
	// name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// period.
	// period.
	Period *string `json:"period,omitempty" tf:"period,omitempty"`

	// priority.
	// priority.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// schedule payload.
	// schedule payload.
	Schedules []SchedulesInitParameters `json:"schedules,omitempty" tf:"schedules,omitempty"`
}

func (*CronHorizontalAutoscalerInitParameters) DeepCopy added in v0.8.0

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

func (*CronHorizontalAutoscalerInitParameters) DeepCopyInto added in v0.8.0

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

type CronHorizontalAutoscalerObservation

type CronHorizontalAutoscalerObservation struct {

	// enable AutoScaler.
	// enable scaler.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// name.
	// name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// period.
	// period.
	Period *string `json:"period,omitempty" tf:"period,omitempty"`

	// priority.
	// priority.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// schedule payload.
	// schedule payload.
	Schedules []SchedulesObservation `json:"schedules,omitempty" tf:"schedules,omitempty"`
}

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 AutoScaler.
	// enable scaler.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

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

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

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

	// schedule payload.
	// schedule payload.
	// +kubebuilder:validation:Optional
	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 DeployStrategyConfInitParameters added in v0.8.0

type DeployStrategyConfInitParameters struct {

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

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

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

	// force update.
	// force update.
	Force *bool `json:"force,omitempty" tf:"force,omitempty"`

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

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

func (*DeployStrategyConfInitParameters) DeepCopy added in v0.8.0

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

func (*DeployStrategyConfInitParameters) DeepCopyInto added in v0.8.0

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

type DeployStrategyConfObservation

type DeployStrategyConfObservation struct {

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

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

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

	// force update.
	// force update.
	Force *bool `json:"force,omitempty" tf:"force,omitempty"`

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

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

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.
	// interval between batches.
	// +kubebuilder:validation:Optional
	BatchInterval *float64 `json:"batchInterval,omitempty" tf:"batch_interval,omitempty"`

	// beta batch number.
	// 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.
	// strategy type, 0 means auto, 1 means manual, 2 means manual with beta batch.
	// +kubebuilder:validation:Optional
	DeployStrategyType *float64 `json:"deployStrategyType" tf:"deploy_strategy_type,omitempty"`

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

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

	// total batch number.
	// total batch number.
	// +kubebuilder:validation:Optional
	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 EnvConfInitParameters added in v0.8.0

type EnvConfInitParameters struct {

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

	// env key.
	// env key.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

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

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

	// env value.
	// env value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*EnvConfInitParameters) DeepCopy added in v0.8.0

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

func (*EnvConfInitParameters) DeepCopyInto added in v0.8.0

func (in *EnvConfInitParameters) DeepCopyInto(out *EnvConfInitParameters)

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

type EnvConfObservation

type EnvConfObservation struct {

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

	// env key.
	// env key.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

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

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

	// env value.
	// env value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

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.
	// referenced config name when type=referenced.
	// +kubebuilder:validation:Optional
	Config *string `json:"config,omitempty" tf:"config,omitempty"`

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

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

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

	// env value.
	// env value.
	// +kubebuilder:validation:Optional
	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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.environmentName) || (has(self.initProvider) && has(self.initProvider.environmentName))",message="spec.forProvider.environmentName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subnetIds) || (has(self.initProvider) && has(self.initProvider.subnetIds))",message="spec.forProvider.subnetIds is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpc) || (has(self.initProvider) && has(self.initProvider.vpc))",message="spec.forProvider.vpc is a required parameter"
	Spec   EnvironmentSpec   `json:"spec"`
	Status EnvironmentStatus `json:"status,omitempty"`
}

Environment is the Schema for the Environments API. Provides a resource to create a tem environment +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

func (tr *Environment) GetInitParameters() (map[string]any, error)

GetInitParameters of this Environment

func (*Environment) GetManagementPolicies added in v0.8.0

func (mg *Environment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Environment.

func (*Environment) GetMergedParameters added in v0.8.1

func (tr *Environment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Environment

func (*Environment) GetObservation

func (tr *Environment) GetObservation() (map[string]any, error)

GetObservation of this Environment

func (*Environment) GetParameters

func (tr *Environment) GetParameters() (map[string]any, error)

GetParameters of this Environment

func (*Environment) GetProviderConfigReference

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

GetProviderConfigReference of this Environment.

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) Hub added in v0.8.1

func (tr *Environment) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

func (mg *Environment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Environment.

func (*Environment) SetObservation

func (tr *Environment) SetObservation(obs map[string]any) error

SetObservation for this Environment

func (*Environment) SetParameters

func (tr *Environment) SetParameters(params map[string]any) error

SetParameters for this Environment

func (*Environment) SetProviderConfigReference

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

SetProviderConfigReference of this Environment.

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 EnvironmentInitParameters added in v0.8.0

type EnvironmentInitParameters struct {

	// environment description.
	// environment description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// subnet IDs.
	// subnet IDs.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// environment tag list.
	// environment tag list.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// vpc ID.
	// vpc ID.
	VPC *string `json:"vpc,omitempty" tf:"vpc,omitempty"`
}

func (*EnvironmentInitParameters) DeepCopy added in v0.8.0

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

func (*EnvironmentInitParameters) DeepCopyInto added in v0.8.0

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

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 {

	// environment description.
	// environment description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// subnet IDs.
	// subnet IDs.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// environment tag list.
	// environment tag list.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// vpc ID.
	// vpc ID.
	VPC *string `json:"vpc,omitempty" tf:"vpc,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.
	// environment description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

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

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

	// vpc ID.
	// vpc ID.
	// +kubebuilder:validation:Optional
	VPC *string `json:"vpc,omitempty" 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider EnvironmentInitParameters `json:"initProvider,omitempty"`
}

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. Provides a resource to create a tem gateway +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

func (tr *Gateway) GetInitParameters() (map[string]any, error)

GetInitParameters of this Gateway

func (*Gateway) GetManagementPolicies added in v0.8.0

func (mg *Gateway) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Gateway.

func (*Gateway) GetMergedParameters added in v0.8.1

func (tr *Gateway) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Gateway

func (*Gateway) GetObservation

func (tr *Gateway) GetObservation() (map[string]any, error)

GetObservation of this Gateway

func (*Gateway) GetParameters

func (tr *Gateway) GetParameters() (map[string]any, error)

GetParameters of this Gateway

func (*Gateway) GetProviderConfigReference

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

GetProviderConfigReference of this Gateway.

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) Hub added in v0.8.1

func (tr *Gateway) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

func (mg *Gateway) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Gateway.

func (*Gateway) SetObservation

func (tr *Gateway) SetObservation(obs map[string]any) error

SetObservation for this Gateway

func (*Gateway) SetParameters

func (tr *Gateway) SetParameters(params map[string]any) error

SetParameters for this Gateway

func (*Gateway) SetProviderConfigReference

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

SetProviderConfigReference of this Gateway.

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 GatewayInitParameters added in v0.8.0

type GatewayInitParameters struct {

	// gateway properties.
	// gateway properties.
	Ingress []IngressInitParameters `json:"ingress,omitempty" tf:"ingress,omitempty"`
}

func (*GatewayInitParameters) DeepCopy added in v0.8.0

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

func (*GatewayInitParameters) DeepCopyInto added in v0.8.0

func (in *GatewayInitParameters) DeepCopyInto(out *GatewayInitParameters)

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

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 of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// gateway properties.
	// gateway properties.
	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.
	// 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider GatewayInitParameters `json:"initProvider,omitempty"`
}

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 HTTPInitParameters added in v0.8.0

type HTTPInitParameters struct {

	// path payload.
	// path payload.
	Paths []PathsInitParameters `json:"paths,omitempty" tf:"paths,omitempty"`
}

func (*HTTPInitParameters) DeepCopy added in v0.8.0

func (in *HTTPInitParameters) DeepCopy() *HTTPInitParameters

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

func (*HTTPInitParameters) DeepCopyInto added in v0.8.0

func (in *HTTPInitParameters) DeepCopyInto(out *HTTPInitParameters)

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

type HTTPObservation

type HTTPObservation struct {

	// path payload.
	// path payload.
	Paths []PathsObservation `json:"paths,omitempty" tf:"paths,omitempty"`
}

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.
	// path payload.
	// +kubebuilder:validation:Optional
	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 HorizontalAutoscalerInitParameters added in v0.8.0

type HorizontalAutoscalerInitParameters struct {

	// enable AutoScaler.
	// enable scaler.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

	// metric name.
	// metric name.
	Metrics *string `json:"metrics,omitempty" tf:"metrics,omitempty"`

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

	// metric threshold.
	// metric threshold.
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"`
}

func (*HorizontalAutoscalerInitParameters) DeepCopy added in v0.8.0

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

func (*HorizontalAutoscalerInitParameters) DeepCopyInto added in v0.8.0

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

type HorizontalAutoscalerObservation

type HorizontalAutoscalerObservation struct {

	// enable AutoScaler.
	// enable scaler.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

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

	// metric name.
	// metric name.
	Metrics *string `json:"metrics,omitempty" tf:"metrics,omitempty"`

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

	// metric threshold.
	// metric threshold.
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"`
}

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 AutoScaler.
	// enable scaler.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

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

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

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

	// metric threshold.
	// metric threshold.
	// +kubebuilder:validation:Optional
	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 IngressInitParameters added in v0.8.0

type IngressInitParameters struct {

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

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

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

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

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

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

	// proxy rules.
	// proxy rules.
	Rules []RulesInitParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// ingress TLS configurations.
	// ingress TLS configurations.
	TLS []TLSInitParameters `json:"tls,omitempty" tf:"tls,omitempty"`
}

func (*IngressInitParameters) DeepCopy added in v0.8.0

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

func (*IngressInitParameters) DeepCopyInto added in v0.8.0

func (in *IngressInitParameters) DeepCopyInto(out *IngressInitParameters)

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

type IngressObservation

type IngressObservation struct {

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

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

	// creation time.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

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

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

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

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

	// proxy rules.
	// proxy rules.
	Rules []RulesObservation `json:"rules,omitempty" tf:"rules,omitempty"`

	// ingress TLS configurations.
	// ingress TLS configurations.
	TLS []TLSObservation `json:"tls,omitempty" tf:"tls,omitempty"`

	// gateway vip.
	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.
	// ip version, support IPV4.
	// +kubebuilder:validation:Optional
	AddressIPVersion *string `json:"addressIpVersion" tf:"address_ip_version,omitempty"`

	// related CLB ID, support binding existing clb, does not support modification.
	// 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.
	// environment ID.
	// +kubebuilder:validation:Optional
	EnvironmentID *string `json:"environmentId" tf:"environment_id,omitempty"`

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

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

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

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

	// ingress TLS configurations.
	// 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 LivenessInitParameters added in v0.8.0

type LivenessInitParameters struct {

	// script.
	// script.
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

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

	// path.
	// path.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

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

	// liveness check port.
	// liveness check port.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// protocol.
	// protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

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

	// env type, support default, referenced.
	// check type, support HttpGet, TcpSocket and Exec.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*LivenessInitParameters) DeepCopy added in v0.8.0

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

func (*LivenessInitParameters) DeepCopyInto added in v0.8.0

func (in *LivenessInitParameters) DeepCopyInto(out *LivenessInitParameters)

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

type LivenessObservation

type LivenessObservation struct {

	// script.
	// script.
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

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

	// path.
	// path.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

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

	// liveness check port.
	// liveness check port.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// protocol.
	// protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

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

	// env type, support default, referenced.
	// check type, support HttpGet, TcpSocket and Exec.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

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.
	// script.
	// +kubebuilder:validation:Optional
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

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

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

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

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

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

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

	// env type, support default, referenced.
	// check type, support HttpGet, TcpSocket and Exec.
	// +kubebuilder:validation:Optional
	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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputType) || (has(self.initProvider) && has(self.initProvider.inputType))",message="spec.forProvider.inputType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.logType) || (has(self.initProvider) && has(self.initProvider.logType))",message="spec.forProvider.logType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.logsetId) || (has(self.initProvider) && has(self.initProvider.logsetId))",message="spec.forProvider.logsetId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.topicId) || (has(self.initProvider) && has(self.initProvider.topicId))",message="spec.forProvider.topicId is a required parameter"
	Spec   LogConfigSpec   `json:"spec"`
	Status LogConfigStatus `json:"status,omitempty"`
}

LogConfig is the Schema for the LogConfigs API. Provides a resource to create a tem logConfig +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

func (tr *LogConfig) GetInitParameters() (map[string]any, error)

GetInitParameters of this LogConfig

func (*LogConfig) GetManagementPolicies added in v0.8.0

func (mg *LogConfig) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this LogConfig.

func (*LogConfig) GetMergedParameters added in v0.8.1

func (tr *LogConfig) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this LogConfig

func (*LogConfig) GetObservation

func (tr *LogConfig) GetObservation() (map[string]any, error)

GetObservation of this LogConfig

func (*LogConfig) GetParameters

func (tr *LogConfig) GetParameters() (map[string]any, error)

GetParameters of this LogConfig

func (*LogConfig) GetProviderConfigReference

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

GetProviderConfigReference of this LogConfig.

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) Hub added in v0.8.1

func (tr *LogConfig) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

func (mg *LogConfig) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this LogConfig.

func (*LogConfig) SetObservation

func (tr *LogConfig) SetObservation(obs map[string]any) error

SetObservation for this LogConfig

func (*LogConfig) SetParameters

func (tr *LogConfig) SetParameters(params map[string]any) error

SetParameters for this LogConfig

func (*LogConfig) SetProviderConfigReference

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

SetProviderConfigReference of this LogConfig.

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 LogConfigInitParameters added in v0.8.0

type LogConfigInitParameters struct {

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

	// Reference to a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"`

	// Selector for a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"`

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

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

	// Reference to a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// Selector for a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

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

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

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

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

	// logset.
	// logset.
	LogsetID *string `json:"logsetId,omitempty" tf:"logset_id,omitempty"`

	// appConfig name.
	// appConfig name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// topic.
	// topic.
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`

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

	// Reference to a Workload to populate workloadId.
	// +kubebuilder:validation:Optional
	WorkloadIDRef *v1.Reference `json:"workloadIdRef,omitempty" tf:"-"`

	// Selector for a Workload to populate workloadId.
	// +kubebuilder:validation:Optional
	WorkloadIDSelector *v1.Selector `json:"workloadIdSelector,omitempty" tf:"-"`
}

func (*LogConfigInitParameters) DeepCopy added in v0.8.0

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

func (*LogConfigInitParameters) DeepCopyInto added in v0.8.0

func (in *LogConfigInitParameters) DeepCopyInto(out *LogConfigInitParameters)

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

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 {

	// application ID.
	// application ID.
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

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

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

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

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

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

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

	// logset.
	// logset.
	LogsetID *string `json:"logsetId,omitempty" tf:"logset_id,omitempty"`

	// appConfig name.
	// appConfig name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// topic.
	// topic.
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`

	// application ID, which is combined by environment ID and application ID, like en-o5edaepv#app-3j29aa2p.
	// application ID, which is combined by environment ID and application ID, like `en-o5edaepv#app-3j29aa2p`.
	WorkloadID *string `json:"workloadId,omitempty" tf:"workload_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.
	// application ID.
	// +crossplane:generate:reference:type=Application
	// +kubebuilder:validation:Optional
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// Reference to a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"`

	// Selector for a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"`

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

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

	// Reference to a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// Selector for a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

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

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

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

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

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

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

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

	// application ID, which is combined by environment ID and application ID, like en-o5edaepv#app-3j29aa2p.
	// 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"`

	// Reference to a Workload to populate workloadId.
	// +kubebuilder:validation:Optional
	WorkloadIDRef *v1.Reference `json:"workloadIdRef,omitempty" tf:"-"`

	// Selector for a Workload to populate workloadId.
	// +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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider LogConfigInitParameters `json:"initProvider,omitempty"`
}

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 PathsInitParameters added in v0.8.0

type PathsInitParameters struct {

	// backend payload.
	// backend payload.
	Backend []BackendInitParameters `json:"backend,omitempty" tf:"backend,omitempty"`

	// path.
	// path.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*PathsInitParameters) DeepCopy added in v0.8.0

func (in *PathsInitParameters) DeepCopy() *PathsInitParameters

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

func (*PathsInitParameters) DeepCopyInto added in v0.8.0

func (in *PathsInitParameters) DeepCopyInto(out *PathsInitParameters)

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

type PathsObservation

type PathsObservation struct {

	// backend payload.
	// backend payload.
	Backend []BackendObservation `json:"backend,omitempty" tf:"backend,omitempty"`

	// path.
	// path.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

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.
	// backend payload.
	// +kubebuilder:validation:Optional
	Backend []BackendParameters `json:"backend" tf:"backend,omitempty"`

	// path.
	// path.
	// +kubebuilder:validation:Optional
	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 ReadinessInitParameters added in v0.8.0

type ReadinessInitParameters struct {

	// script.
	// script.
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

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

	// path.
	// path.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// period seconds for liveness check.
	// period seconds for readiness check.
	PeriodSeconds *float64 `json:"periodSeconds,omitempty" tf:"period_seconds,omitempty"`

	// liveness check port.
	// readiness check port.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// protocol.
	// protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// timeout seconds for liveness check.
	// timeout seconds for readiness check.
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// env type, support default, referenced.
	// check type, support HttpGet, TcpSocket and Exec.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ReadinessInitParameters) DeepCopy added in v0.8.0

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

func (*ReadinessInitParameters) DeepCopyInto added in v0.8.0

func (in *ReadinessInitParameters) DeepCopyInto(out *ReadinessInitParameters)

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

type ReadinessObservation

type ReadinessObservation struct {

	// script.
	// script.
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

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

	// path.
	// path.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// period seconds for liveness check.
	// period seconds for readiness check.
	PeriodSeconds *float64 `json:"periodSeconds,omitempty" tf:"period_seconds,omitempty"`

	// liveness check port.
	// readiness check port.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// protocol.
	// protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// timeout seconds for liveness check.
	// timeout seconds for readiness check.
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// env type, support default, referenced.
	// check type, support HttpGet, TcpSocket and Exec.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

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.
	// script.
	// +kubebuilder:validation:Optional
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

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

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

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

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

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

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

	// env type, support default, referenced.
	// check type, support HttpGet, TcpSocket and Exec.
	// +kubebuilder:validation:Optional
	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 RulesInitParameters added in v0.8.0

type RulesInitParameters struct {

	// rule payload.
	// rule payload.
	HTTP []HTTPInitParameters `json:"http,omitempty" tf:"http,omitempty"`

	// host name.
	// host name.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// protocol.
	// protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

func (*RulesInitParameters) DeepCopy added in v0.8.0

func (in *RulesInitParameters) DeepCopy() *RulesInitParameters

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

func (*RulesInitParameters) DeepCopyInto added in v0.8.0

func (in *RulesInitParameters) DeepCopyInto(out *RulesInitParameters)

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

type RulesObservation

type RulesObservation struct {

	// rule payload.
	// rule payload.
	HTTP []HTTPObservation `json:"http,omitempty" tf:"http,omitempty"`

	// host name.
	// host name.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// protocol.
	// protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}

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.
	// rule payload.
	// +kubebuilder:validation:Optional
	HTTP []HTTPParameters `json:"http" tf:"http,omitempty"`

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

	// protocol.
	// 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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.autoscaler) || (has(self.initProvider) && has(self.initProvider.autoscaler))",message="spec.forProvider.autoscaler is a required parameter"
	Spec   ScaleRuleSpec   `json:"spec"`
	Status ScaleRuleStatus `json:"status,omitempty"`
}

ScaleRule is the Schema for the ScaleRules API. Provides a resource to create a tem scaleRule +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

func (tr *ScaleRule) GetInitParameters() (map[string]any, error)

GetInitParameters of this ScaleRule

func (*ScaleRule) GetManagementPolicies added in v0.8.0

func (mg *ScaleRule) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ScaleRule.

func (*ScaleRule) GetMergedParameters added in v0.8.1

func (tr *ScaleRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ScaleRule

func (*ScaleRule) GetObservation

func (tr *ScaleRule) GetObservation() (map[string]any, error)

GetObservation of this ScaleRule

func (*ScaleRule) GetParameters

func (tr *ScaleRule) GetParameters() (map[string]any, error)

GetParameters of this ScaleRule

func (*ScaleRule) GetProviderConfigReference

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

GetProviderConfigReference of this ScaleRule.

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) Hub added in v0.8.1

func (tr *ScaleRule) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

func (mg *ScaleRule) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ScaleRule.

func (*ScaleRule) SetObservation

func (tr *ScaleRule) SetObservation(obs map[string]any) error

SetObservation for this ScaleRule

func (*ScaleRule) SetParameters

func (tr *ScaleRule) SetParameters(params map[string]any) error

SetParameters for this ScaleRule

func (*ScaleRule) SetProviderConfigReference

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

SetProviderConfigReference of this ScaleRule.

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 ScaleRuleInitParameters added in v0.8.0

type ScaleRuleInitParameters struct {

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

	// Reference to a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"`

	// Selector for a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"`

	// .
	// .
	Autoscaler []AutoscalerInitParameters `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

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

	// Reference to a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// Selector for a Environment to populate environmentId.
	// +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.
	// application ID, which is combined by environment ID and application ID, like `en-o5edaepv#app-3j29aa2p`.
	// +crossplane:generate:reference:type=Workload
	WorkloadID *string `json:"workloadId,omitempty" tf:"workload_id,omitempty"`

	// Reference to a Workload to populate workloadId.
	// +kubebuilder:validation:Optional
	WorkloadIDRef *v1.Reference `json:"workloadIdRef,omitempty" tf:"-"`

	// Selector for a Workload to populate workloadId.
	// +kubebuilder:validation:Optional
	WorkloadIDSelector *v1.Selector `json:"workloadIdSelector,omitempty" tf:"-"`
}

func (*ScaleRuleInitParameters) DeepCopy added in v0.8.0

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

func (*ScaleRuleInitParameters) DeepCopyInto added in v0.8.0

func (in *ScaleRuleInitParameters) DeepCopyInto(out *ScaleRuleInitParameters)

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

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 {

	// application ID.
	// application ID.
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// .
	// .
	Autoscaler []AutoscalerObservation `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

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

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// application ID, which is combined by environment ID and application ID, like en-o5edaepv#app-3j29aa2p.
	// application ID, which is combined by environment ID and application ID, like `en-o5edaepv#app-3j29aa2p`.
	WorkloadID *string `json:"workloadId,omitempty" tf:"workload_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.
	// application ID.
	// +crossplane:generate:reference:type=Application
	// +kubebuilder:validation:Optional
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// Reference to a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"`

	// Selector for a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"`

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

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

	// Reference to a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// Selector for a Environment to populate environmentId.
	// +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.
	// 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"`

	// Reference to a Workload to populate workloadId.
	// +kubebuilder:validation:Optional
	WorkloadIDRef *v1.Reference `json:"workloadIdRef,omitempty" tf:"-"`

	// Selector for a Workload to populate workloadId.
	// +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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ScaleRuleInitParameters `json:"initProvider,omitempty"`
}

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 SchedulesInitParameters added in v0.8.0

type SchedulesInitParameters struct {

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

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

func (*SchedulesInitParameters) DeepCopy added in v0.8.0

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

func (*SchedulesInitParameters) DeepCopyInto added in v0.8.0

func (in *SchedulesInitParameters) DeepCopyInto(out *SchedulesInitParameters)

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

type SchedulesObservation

type SchedulesObservation struct {

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

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

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.
	// start time.
	// +kubebuilder:validation:Optional
	StartAt *string `json:"startAt" tf:"start_at,omitempty"`

	// target replica number.
	// target replica number.
	// +kubebuilder:validation:Optional
	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 StartupProbeInitParameters added in v0.8.0

type StartupProbeInitParameters struct {

	// script.
	// script.
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

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

	// path.
	// path.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// period seconds for liveness check.
	// period seconds for startup check.
	PeriodSeconds *float64 `json:"periodSeconds,omitempty" tf:"period_seconds,omitempty"`

	// liveness check port.
	// startup check port.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// protocol.
	// protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// timeout seconds for liveness check.
	// timeout seconds for startup check.
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// env type, support default, referenced.
	// check type, support HttpGet, TcpSocket and Exec.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*StartupProbeInitParameters) DeepCopy added in v0.8.0

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

func (*StartupProbeInitParameters) DeepCopyInto added in v0.8.0

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

type StartupProbeObservation

type StartupProbeObservation struct {

	// script.
	// script.
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

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

	// path.
	// path.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// period seconds for liveness check.
	// period seconds for startup check.
	PeriodSeconds *float64 `json:"periodSeconds,omitempty" tf:"period_seconds,omitempty"`

	// liveness check port.
	// startup check port.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// protocol.
	// protocol.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// timeout seconds for liveness check.
	// timeout seconds for startup check.
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// env type, support default, referenced.
	// check type, support HttpGet, TcpSocket and Exec.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

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.
	// script.
	// +kubebuilder:validation:Optional
	Exec *string `json:"exec,omitempty" tf:"exec,omitempty"`

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

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

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

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

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

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

	// env type, support default, referenced.
	// check type, support HttpGet, TcpSocket and Exec.
	// +kubebuilder:validation:Optional
	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 StorageConfsInitParameters added in v0.8.0

type StorageConfsInitParameters struct {

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

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

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

func (*StorageConfsInitParameters) DeepCopy added in v0.8.0

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

func (*StorageConfsInitParameters) DeepCopyInto added in v0.8.0

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

type StorageConfsObservation

type StorageConfsObservation struct {

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

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

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

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.
	// volume ip.
	// +kubebuilder:validation:Optional
	StorageVolIP *string `json:"storageVolIp" tf:"storage_vol_ip,omitempty"`

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

	// volume path.
	// volume path.
	// +kubebuilder:validation:Optional
	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 StorageMountConfsInitParameters added in v0.8.0

type StorageMountConfsInitParameters struct {

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

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

func (*StorageMountConfsInitParameters) DeepCopy added in v0.8.0

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

func (*StorageMountConfsInitParameters) DeepCopyInto added in v0.8.0

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

type StorageMountConfsObservation

type StorageMountConfsObservation struct {

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

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

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.
	// mount path.
	// +kubebuilder:validation:Optional
	MountPath *string `json:"mountPath" tf:"mount_path,omitempty"`

	// volume name.
	// volume name.
	// +kubebuilder:validation:Optional
	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 TLSInitParameters added in v0.8.0

type TLSInitParameters struct {

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

	// host names.
	// host names.
	// +listType=set
	Hosts []*string `json:"hosts,omitempty" tf:"hosts,omitempty"`

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

func (*TLSInitParameters) DeepCopy added in v0.8.0

func (in *TLSInitParameters) DeepCopy() *TLSInitParameters

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

func (*TLSInitParameters) DeepCopyInto added in v0.8.0

func (in *TLSInitParameters) DeepCopyInto(out *TLSInitParameters)

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

type TLSObservation

type TLSObservation struct {

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

	// host names.
	// host names.
	// +listType=set
	Hosts []*string `json:"hosts,omitempty" tf:"hosts,omitempty"`

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

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.
	// certificate ID.
	// +kubebuilder:validation:Optional
	CertificateID *string `json:"certificateId" tf:"certificate_id,omitempty"`

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

	// secret name, if you use a certificate, you don't need to fill in this field.
	// 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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cpuSpec) || (has(self.initProvider) && has(self.initProvider.cpuSpec))",message="spec.forProvider.cpuSpec is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deployMode) || (has(self.initProvider) && has(self.initProvider.deployMode))",message="spec.forProvider.deployMode is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deployVersion) || (has(self.initProvider) && has(self.initProvider.deployVersion))",message="spec.forProvider.deployVersion is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.imgRepo) || (has(self.initProvider) && has(self.initProvider.imgRepo))",message="spec.forProvider.imgRepo is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.initPodNum) || (has(self.initProvider) && has(self.initProvider.initPodNum))",message="spec.forProvider.initPodNum is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.memorySpec) || (has(self.initProvider) && has(self.initProvider.memorySpec))",message="spec.forProvider.memorySpec is a required parameter"
	Spec   WorkloadSpec   `json:"spec"`
	Status WorkloadStatus `json:"status,omitempty"`
}

Workload is the Schema for the Workloads API. Provides a resource to create a tem workload +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}

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) GetInitParameters added in v0.8.0

func (tr *Workload) GetInitParameters() (map[string]any, error)

GetInitParameters of this Workload

func (*Workload) GetManagementPolicies added in v0.8.0

func (mg *Workload) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Workload.

func (*Workload) GetMergedParameters added in v0.8.1

func (tr *Workload) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Workload

func (*Workload) GetObservation

func (tr *Workload) GetObservation() (map[string]any, error)

GetObservation of this Workload

func (*Workload) GetParameters

func (tr *Workload) GetParameters() (map[string]any, error)

GetParameters of this Workload

func (*Workload) GetProviderConfigReference

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

GetProviderConfigReference of this Workload.

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) Hub added in v0.8.1

func (tr *Workload) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.8.0

func (mg *Workload) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Workload.

func (*Workload) SetObservation

func (tr *Workload) SetObservation(obs map[string]any) error

SetObservation for this Workload

func (*Workload) SetParameters

func (tr *Workload) SetParameters(params map[string]any) error

SetParameters for this Workload

func (*Workload) SetProviderConfigReference

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

SetProviderConfigReference of this Workload.

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 WorkloadInitParameters added in v0.8.0

type WorkloadInitParameters struct {

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

	// Reference to a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"`

	// Selector for a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"`

	// cpu.
	// cpu.
	CPUSpec *float64 `json:"cpuSpec,omitempty" tf:"cpu_spec,omitempty"`

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

	// deploy strategy.
	// deploy strategy.
	DeployStrategyConf []DeployStrategyConfInitParameters `json:"deployStrategyConf,omitempty" tf:"deploy_strategy_conf,omitempty"`

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

	// .
	// .
	EnvConf []EnvConfInitParameters `json:"envConf,omitempty" tf:"env_conf,omitempty"`

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

	// Reference to a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// Selector for a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

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

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

	// liveness config.
	// liveness config.
	Liveness []LivenessInitParameters `json:"liveness,omitempty" tf:"liveness,omitempty"`

	// mem.
	// mem.
	MemorySpec *float64 `json:"memorySpec,omitempty" tf:"memory_spec,omitempty"`

	// mem.
	// mem.
	PostStart *string `json:"postStart,omitempty" tf:"post_start,omitempty"`

	// mem.
	// mem.
	PreStop *string `json:"preStop,omitempty" tf:"pre_stop,omitempty"`

	// .
	// .
	Readiness []ReadinessInitParameters `json:"readiness,omitempty" tf:"readiness,omitempty"`

	// repo server addr when deploy by image.
	// repo server addr when deploy by image.
	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.
	// repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
	RepoType *float64 `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// security groups.
	// security groups.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// .
	// .
	StartupProbe []StartupProbeInitParameters `json:"startupProbe,omitempty" tf:"startup_probe,omitempty"`

	// storage configuration.
	// storage configuration.
	StorageConfs []StorageConfsInitParameters `json:"storageConfs,omitempty" tf:"storage_confs,omitempty"`

	// storage mount configuration.
	// storage mount configuration.
	StorageMountConfs []StorageMountConfsInitParameters `json:"storageMountConfs,omitempty" tf:"storage_mount_confs,omitempty"`

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

func (*WorkloadInitParameters) DeepCopy added in v0.8.0

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

func (*WorkloadInitParameters) DeepCopyInto added in v0.8.0

func (in *WorkloadInitParameters) DeepCopyInto(out *WorkloadInitParameters)

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

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 {

	// application ID.
	// application ID.
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// cpu.
	// cpu.
	CPUSpec *float64 `json:"cpuSpec,omitempty" tf:"cpu_spec,omitempty"`

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

	// deploy strategy.
	// deploy strategy.
	DeployStrategyConf []DeployStrategyConfObservation `json:"deployStrategyConf,omitempty" tf:"deploy_strategy_conf,omitempty"`

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

	// .
	// .
	EnvConf []EnvConfObservation `json:"envConf,omitempty" tf:"env_conf,omitempty"`

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

	// ID of the resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

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

	// liveness config.
	// liveness config.
	Liveness []LivenessObservation `json:"liveness,omitempty" tf:"liveness,omitempty"`

	// mem.
	// mem.
	MemorySpec *float64 `json:"memorySpec,omitempty" tf:"memory_spec,omitempty"`

	// mem.
	// mem.
	PostStart *string `json:"postStart,omitempty" tf:"post_start,omitempty"`

	// mem.
	// mem.
	PreStop *string `json:"preStop,omitempty" tf:"pre_stop,omitempty"`

	// .
	// .
	Readiness []ReadinessObservation `json:"readiness,omitempty" tf:"readiness,omitempty"`

	// repo server addr when deploy by image.
	// repo server addr when deploy by image.
	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.
	// repo type when deploy: 0: tcr personal; 1: tcr enterprise; 2: public repository; 3: tem host tcr; 4: demo repo.
	RepoType *float64 `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// security groups.
	// security groups.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// .
	// .
	StartupProbe []StartupProbeObservation `json:"startupProbe,omitempty" tf:"startup_probe,omitempty"`

	// storage configuration.
	// storage configuration.
	StorageConfs []StorageConfsObservation `json:"storageConfs,omitempty" tf:"storage_confs,omitempty"`

	// storage mount configuration.
	// storage mount configuration.
	StorageMountConfs []StorageMountConfsObservation `json:"storageMountConfs,omitempty" tf:"storage_mount_confs,omitempty"`

	// tcr instance id when deploy by image.
	// tcr instance id when deploy by image.
	TcrInstanceID *string `json:"tcrInstanceId,omitempty" tf:"tcr_instance_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.
	// application ID.
	// +crossplane:generate:reference:type=Application
	// +kubebuilder:validation:Optional
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// Reference to a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDRef *v1.Reference `json:"applicationIdRef,omitempty" tf:"-"`

	// Selector for a Application to populate applicationId.
	// +kubebuilder:validation:Optional
	ApplicationIDSelector *v1.Selector `json:"applicationIdSelector,omitempty" tf:"-"`

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

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

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

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

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

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

	// Reference to a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDRef *v1.Reference `json:"environmentIdRef,omitempty" tf:"-"`

	// Selector for a Environment to populate environmentId.
	// +kubebuilder:validation:Optional
	EnvironmentIDSelector *v1.Selector `json:"environmentIdSelector,omitempty" tf:"-"`

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

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

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

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

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

	// mem.
	// 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.
	// 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.
	// 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.
	// security groups.
	// +kubebuilder:validation:Optional
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

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

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

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

	// tcr instance id when deploy by image.
	// 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider WorkloadInitParameters `json:"initProvider,omitempty"`
}

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