v1alpha1

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 (
	TaskSet_Kind             = "TaskSet"
	TaskSet_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TaskSet_Kind}.String()
	TaskSet_KindAPIVersion   = TaskSet_Kind + "." + CRDGroupVersion.String()
	TaskSet_GroupVersionKind = CRDGroupVersion.WithKind(TaskSet_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BatchTasksInitParameters added in v0.8.0

type BatchTasksInitParameters struct {

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

	// Target address.
	// Target address.
	TargetAddress *string `json:"targetAddress,omitempty" tf:"target_address,omitempty"`
}

func (*BatchTasksInitParameters) DeepCopy added in v0.8.0

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

func (*BatchTasksInitParameters) DeepCopyInto added in v0.8.0

func (in *BatchTasksInitParameters) DeepCopyInto(out *BatchTasksInitParameters)

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

type BatchTasksObservation

type BatchTasksObservation struct {

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

	// Target address.
	// Target address.
	TargetAddress *string `json:"targetAddress,omitempty" tf:"target_address,omitempty"`
}

func (*BatchTasksObservation) DeepCopy

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

func (*BatchTasksObservation) DeepCopyInto

func (in *BatchTasksObservation) DeepCopyInto(out *BatchTasksObservation)

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

type BatchTasksParameters

type BatchTasksParameters struct {

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

	// Target address.
	// Target address.
	// +kubebuilder:validation:Optional
	TargetAddress *string `json:"targetAddress" tf:"target_address,omitempty"`
}

func (*BatchTasksParameters) DeepCopy

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

func (*BatchTasksParameters) DeepCopyInto

func (in *BatchTasksParameters) DeepCopyInto(out *BatchTasksParameters)

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

type TaskSet

type TaskSet 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.batchTasks) || (has(self.initProvider) && has(self.initProvider.batchTasks))",message="spec.forProvider.batchTasks is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.interval) || (has(self.initProvider) && has(self.initProvider.interval))",message="spec.forProvider.interval is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.nodes) || (has(self.initProvider) && has(self.initProvider.nodes))",message="spec.forProvider.nodes is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parameters) || (has(self.initProvider) && has(self.initProvider.parameters))",message="spec.forProvider.parameters is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.taskCategory) || (has(self.initProvider) && has(self.initProvider.taskCategory))",message="spec.forProvider.taskCategory is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.taskType) || (has(self.initProvider) && has(self.initProvider.taskType))",message="spec.forProvider.taskType is a required parameter"
	Spec   TaskSetSpec   `json:"spec"`
	Status TaskSetStatus `json:"status,omitempty"`
}

TaskSet is the Schema for the TaskSets API. Provides a resource to create a cat task_set +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 (*TaskSet) DeepCopy

func (in *TaskSet) DeepCopy() *TaskSet

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

func (*TaskSet) DeepCopyInto

func (in *TaskSet) DeepCopyInto(out *TaskSet)

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

func (*TaskSet) DeepCopyObject

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

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

func (*TaskSet) GetCondition

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

GetCondition of this TaskSet.

func (*TaskSet) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TaskSet

func (*TaskSet) GetDeletionPolicy

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

GetDeletionPolicy of this TaskSet.

func (*TaskSet) GetID

func (tr *TaskSet) GetID() string

GetID returns ID of underlying Terraform resource of this TaskSet

func (*TaskSet) GetInitParameters added in v0.8.0

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

GetInitParameters of this TaskSet

func (*TaskSet) GetManagementPolicies added in v0.8.0

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

GetManagementPolicies of this TaskSet.

func (*TaskSet) GetMergedParameters added in v0.8.1

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

GetInitParameters of this TaskSet

func (*TaskSet) GetObservation

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

GetObservation of this TaskSet

func (*TaskSet) GetParameters

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

GetParameters of this TaskSet

func (*TaskSet) GetProviderConfigReference

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

GetProviderConfigReference of this TaskSet.

func (*TaskSet) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TaskSet.

func (*TaskSet) GetTerraformResourceType

func (mg *TaskSet) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TaskSet

func (*TaskSet) GetTerraformSchemaVersion

func (tr *TaskSet) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TaskSet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TaskSet.

func (*TaskSet) Hub added in v0.8.1

func (tr *TaskSet) Hub()

Hub marks this type as a conversion hub.

func (*TaskSet) LateInitialize

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

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

func (*TaskSet) SetConditions

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

SetConditions of this TaskSet.

func (*TaskSet) SetDeletionPolicy

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

SetDeletionPolicy of this TaskSet.

func (*TaskSet) SetManagementPolicies added in v0.8.0

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

SetManagementPolicies of this TaskSet.

func (*TaskSet) SetObservation

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

SetObservation for this TaskSet

func (*TaskSet) SetParameters

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

SetParameters for this TaskSet

func (*TaskSet) SetProviderConfigReference

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

SetProviderConfigReference of this TaskSet.

func (*TaskSet) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TaskSet.

func (*TaskSet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TaskSet.

type TaskSetInitParameters added in v0.8.0

type TaskSetInitParameters struct {

	// Batch task name address.
	// Batch task name address.
	BatchTasks []BatchTasksInitParameters `json:"batchTasks,omitempty" tf:"batch_tasks,omitempty"`

	// Timer task cron expression.
	// Timer task cron expression.
	Cron *string `json:"cron,omitempty" tf:"cron,omitempty"`

	// Task interval minutes in (1,5,10,15,30,60,120,240).
	// Task interval minutes in (1,5,10,15,30,60,120,240).
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// 0-Unlimit ip type, 1-IPv4, 2-IPv6.
	// `0`-Unlimit ip type, `1`-IPv4, `2`-IPv6.
	NodeIPType *float64 `json:"nodeIpType,omitempty" tf:"node_ip_type,omitempty"`

	// Task Nodes.
	// Task Nodes.
	// +listType=set
	Nodes []*string `json:"nodes,omitempty" tf:"nodes,omitempty"`

	// The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
	// The input is valid when the parameter is modified, `suspend`/`resume`, used to suspend/resume the dial test task.
	Operate *string `json:"operate,omitempty" tf:"operate,omitempty"`

	// tasks parameters.
	// tasks parameters.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

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

	// Task category,1:PC,2:Mobile.
	// Task category,1:PC,2:Mobile.
	TaskCategory *float64 `json:"taskCategory,omitempty" tf:"task_category,omitempty"`

	// Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
	// Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
	TaskType *float64 `json:"taskType,omitempty" tf:"task_type,omitempty"`
}

func (*TaskSetInitParameters) DeepCopy added in v0.8.0

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

func (*TaskSetInitParameters) DeepCopyInto added in v0.8.0

func (in *TaskSetInitParameters) DeepCopyInto(out *TaskSetInitParameters)

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

type TaskSetList

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

TaskSetList contains a list of TaskSets

func (*TaskSetList) DeepCopy

func (in *TaskSetList) DeepCopy() *TaskSetList

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

func (*TaskSetList) DeepCopyInto

func (in *TaskSetList) DeepCopyInto(out *TaskSetList)

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

func (*TaskSetList) DeepCopyObject

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

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

func (*TaskSetList) GetItems

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

GetItems of this TaskSetList.

type TaskSetObservation

type TaskSetObservation struct {

	// Batch task name address.
	// Batch task name address.
	BatchTasks []BatchTasksObservation `json:"batchTasks,omitempty" tf:"batch_tasks,omitempty"`

	// Timer task cron expression.
	// Timer task cron expression.
	Cron *string `json:"cron,omitempty" tf:"cron,omitempty"`

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

	// Task interval minutes in (1,5,10,15,30,60,120,240).
	// Task interval minutes in (1,5,10,15,30,60,120,240).
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// 0-Unlimit ip type, 1-IPv4, 2-IPv6.
	// `0`-Unlimit ip type, `1`-IPv4, `2`-IPv6.
	NodeIPType *float64 `json:"nodeIpType,omitempty" tf:"node_ip_type,omitempty"`

	// Task Nodes.
	// Task Nodes.
	// +listType=set
	Nodes []*string `json:"nodes,omitempty" tf:"nodes,omitempty"`

	// The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
	// The input is valid when the parameter is modified, `suspend`/`resume`, used to suspend/resume the dial test task.
	Operate *string `json:"operate,omitempty" tf:"operate,omitempty"`

	// tasks parameters.
	// tasks parameters.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
	// Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
	Status *float64 `json:"status,omitempty" tf:"status,omitempty"`

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

	// Task category,1:PC,2:Mobile.
	// Task category,1:PC,2:Mobile.
	TaskCategory *float64 `json:"taskCategory,omitempty" tf:"task_category,omitempty"`

	// Task Id.
	// Task Id.
	TaskID *string `json:"taskId,omitempty" tf:"task_id,omitempty"`

	// Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
	// Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
	TaskType *float64 `json:"taskType,omitempty" tf:"task_type,omitempty"`
}

func (*TaskSetObservation) DeepCopy

func (in *TaskSetObservation) DeepCopy() *TaskSetObservation

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

func (*TaskSetObservation) DeepCopyInto

func (in *TaskSetObservation) DeepCopyInto(out *TaskSetObservation)

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

type TaskSetParameters

type TaskSetParameters struct {

	// Batch task name address.
	// Batch task name address.
	// +kubebuilder:validation:Optional
	BatchTasks []BatchTasksParameters `json:"batchTasks,omitempty" tf:"batch_tasks,omitempty"`

	// Timer task cron expression.
	// Timer task cron expression.
	// +kubebuilder:validation:Optional
	Cron *string `json:"cron,omitempty" tf:"cron,omitempty"`

	// Task interval minutes in (1,5,10,15,30,60,120,240).
	// Task interval minutes in (1,5,10,15,30,60,120,240).
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// 0-Unlimit ip type, 1-IPv4, 2-IPv6.
	// `0`-Unlimit ip type, `1`-IPv4, `2`-IPv6.
	// +kubebuilder:validation:Optional
	NodeIPType *float64 `json:"nodeIpType,omitempty" tf:"node_ip_type,omitempty"`

	// Task Nodes.
	// Task Nodes.
	// +kubebuilder:validation:Optional
	// +listType=set
	Nodes []*string `json:"nodes,omitempty" tf:"nodes,omitempty"`

	// The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
	// The input is valid when the parameter is modified, `suspend`/`resume`, used to suspend/resume the dial test task.
	// +kubebuilder:validation:Optional
	Operate *string `json:"operate,omitempty" tf:"operate,omitempty"`

	// tasks parameters.
	// tasks parameters.
	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

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

	// Task category,1:PC,2:Mobile.
	// Task category,1:PC,2:Mobile.
	// +kubebuilder:validation:Optional
	TaskCategory *float64 `json:"taskCategory,omitempty" tf:"task_category,omitempty"`

	// Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
	// Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
	// +kubebuilder:validation:Optional
	TaskType *float64 `json:"taskType,omitempty" tf:"task_type,omitempty"`
}

func (*TaskSetParameters) DeepCopy

func (in *TaskSetParameters) DeepCopy() *TaskSetParameters

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

func (*TaskSetParameters) DeepCopyInto

func (in *TaskSetParameters) DeepCopyInto(out *TaskSetParameters)

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

type TaskSetSpec

type TaskSetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TaskSetParameters `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 TaskSetInitParameters `json:"initProvider,omitempty"`
}

TaskSetSpec defines the desired state of TaskSet

func (*TaskSetSpec) DeepCopy

func (in *TaskSetSpec) DeepCopy() *TaskSetSpec

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

func (*TaskSetSpec) DeepCopyInto

func (in *TaskSetSpec) DeepCopyInto(out *TaskSetSpec)

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

type TaskSetStatus

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

TaskSetStatus defines the observed state of TaskSet.

func (*TaskSetStatus) DeepCopy

func (in *TaskSetStatus) DeepCopy() *TaskSetStatus

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

func (*TaskSetStatus) DeepCopyInto

func (in *TaskSetStatus) DeepCopyInto(out *TaskSetStatus)

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