v1alpha1

package
v0.7.1 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	EmrCluster_Kind             = "EmrCluster"
	EmrCluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EmrCluster_Kind}.String()
	EmrCluster_KindAPIVersion   = EmrCluster_Kind + "." + CRDGroupVersion.String()
	EmrCluster_GroupVersionKind = CRDGroupVersion.WithKind(EmrCluster_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
)

Functions

This section is empty.

Types

type CommonResourceSpecObservation

type CommonResourceSpecObservation struct {
}

func (*CommonResourceSpecObservation) DeepCopy

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

func (*CommonResourceSpecObservation) DeepCopyInto

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

type CommonResourceSpecParameters

type CommonResourceSpecParameters struct {

	// +kubebuilder:validation:Optional
	CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"`

	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// +kubebuilder:validation:Optional
	MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"`

	// +kubebuilder:validation:Optional
	RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"`

	// +kubebuilder:validation:Optional
	Spec *string `json:"spec,omitempty" tf:"spec,omitempty"`

	// +kubebuilder:validation:Optional
	StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"`
}

func (*CommonResourceSpecParameters) DeepCopy

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

func (*CommonResourceSpecParameters) DeepCopyInto

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

type CoreResourceSpecObservation

type CoreResourceSpecObservation struct {
}

func (*CoreResourceSpecObservation) DeepCopy

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

func (*CoreResourceSpecObservation) DeepCopyInto

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

type CoreResourceSpecParameters

type CoreResourceSpecParameters struct {

	// +kubebuilder:validation:Optional
	CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"`

	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// +kubebuilder:validation:Optional
	MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"`

	// +kubebuilder:validation:Optional
	RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"`

	// +kubebuilder:validation:Optional
	Spec *string `json:"spec,omitempty" tf:"spec,omitempty"`

	// +kubebuilder:validation:Optional
	StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"`
}

func (*CoreResourceSpecParameters) DeepCopy

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

func (*CoreResourceSpecParameters) DeepCopyInto

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

type EmrCluster

type EmrCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EmrClusterSpec   `json:"spec"`
	Status            EmrClusterStatus `json:"status,omitempty"`
}

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

func (*EmrCluster) DeepCopy

func (in *EmrCluster) DeepCopy() *EmrCluster

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

func (*EmrCluster) DeepCopyInto

func (in *EmrCluster) DeepCopyInto(out *EmrCluster)

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

func (*EmrCluster) DeepCopyObject

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

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

func (*EmrCluster) GetCondition

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

GetCondition of this EmrCluster.

func (*EmrCluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EmrCluster

func (*EmrCluster) GetDeletionPolicy

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

GetDeletionPolicy of this EmrCluster.

func (*EmrCluster) GetID

func (tr *EmrCluster) GetID() string

GetID returns ID of underlying Terraform resource of this EmrCluster

func (*EmrCluster) GetObservation

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

GetObservation of this EmrCluster

func (*EmrCluster) GetParameters

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

GetParameters of this EmrCluster

func (*EmrCluster) GetProviderConfigReference

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

GetProviderConfigReference of this EmrCluster.

func (*EmrCluster) GetProviderReference

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

GetProviderReference of this EmrCluster. Deprecated: Use GetProviderConfigReference.

func (*EmrCluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EmrCluster.

func (*EmrCluster) GetTerraformResourceType

func (mg *EmrCluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EmrCluster

func (*EmrCluster) GetTerraformSchemaVersion

func (tr *EmrCluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EmrCluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EmrCluster.

func (*EmrCluster) LateInitialize

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

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

func (*EmrCluster) SetConditions

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

SetConditions of this EmrCluster.

func (*EmrCluster) SetDeletionPolicy

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

SetDeletionPolicy of this EmrCluster.

func (*EmrCluster) SetObservation

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

SetObservation for this EmrCluster

func (*EmrCluster) SetParameters

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

SetParameters for this EmrCluster

func (*EmrCluster) SetProviderConfigReference

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

SetProviderConfigReference of this EmrCluster.

func (*EmrCluster) SetProviderReference

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

SetProviderReference of this EmrCluster. Deprecated: Use SetProviderConfigReference.

func (*EmrCluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EmrCluster.

func (*EmrCluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EmrCluster.

type EmrClusterList

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

EmrClusterList contains a list of EmrClusters

func (*EmrClusterList) DeepCopy

func (in *EmrClusterList) DeepCopy() *EmrClusterList

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

func (*EmrClusterList) DeepCopyInto

func (in *EmrClusterList) DeepCopyInto(out *EmrClusterList)

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

func (*EmrClusterList) DeepCopyObject

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

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

func (*EmrClusterList) GetItems

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

GetItems of this EmrClusterList.

type EmrClusterObservation

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

	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`
}

func (*EmrClusterObservation) DeepCopy

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

func (*EmrClusterObservation) DeepCopyInto

func (in *EmrClusterObservation) DeepCopyInto(out *EmrClusterObservation)

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

type EmrClusterParameters

type EmrClusterParameters struct {

	// Display strategy of EMR instance.
	// +kubebuilder:validation:Required
	DisplayStrategy *string `json:"displayStrategy" tf:"display_strategy,omitempty"`

	// Access the external file system.
	// +kubebuilder:validation:Optional
	ExtendFsField *string `json:"extendFsField,omitempty" tf:"extend_fs_field,omitempty"`

	// Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
	// +kubebuilder:validation:Required
	InstanceName *string `json:"instanceName" tf:"instance_name,omitempty"`

	// Instance login settings.
	// +kubebuilder:validation:Required
	LoginSettings map[string]*string `json:"loginSettings" tf:"login_settings,omitempty"`

	// Whether to enable the cluster Master node public network. Value range:
	// - NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
	// - NOT_NEED_MASTER_WAN: Indicates that it is not turned on.
	// By default, the cluster Master node internet is enabled.
	// +kubebuilder:validation:Optional
	NeedMasterWan *string `json:"needMasterWan,omitempty" tf:"need_master_wan,omitempty"`

	// The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
	// +kubebuilder:validation:Required
	PayMode *float64 `json:"payMode" tf:"pay_mode,omitempty"`

	// The location of the instance.
	// +kubebuilder:validation:Required
	Placement map[string]*string `json:"placement" tf:"placement,omitempty"`

	// Product ID. Different products ID represents different EMR product versions. Value range:
	// - 16: represents EMR-V2.3.0
	// - 20: indicates EMR-V2.5.0
	// - 25: represents EMR-V3.1.0
	// - 27: represents KAFKA-V1.0.0
	// - 30: indicates EMR-V2.6.0
	// - 33: represents EMR-V3.2.1
	// - 34: stands for EMR-V3.3.0
	// - 36: represents STARROCKS-V1.0.0
	// - 37: indicates EMR-V3.4.0
	// - 38: represents EMR-V2.7.0
	// - 39: stands for STARROCKS-V1.1.0
	// - 41: represents DRUID-V1.1.0.
	// +kubebuilder:validation:Required
	ProductID *float64 `json:"productId" tf:"product_id,omitempty"`

	// Resource specification of EMR instance.
	// +kubebuilder:validation:Optional
	ResourceSpec []ResourceSpecParameters `json:"resourceSpec,omitempty" tf:"resource_spec,omitempty"`

	// The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
	// +kubebuilder:validation:Optional
	SgID *string `json:"sgId,omitempty" tf:"sg_id,omitempty"`

	// The softwares of a EMR instance.
	// +kubebuilder:validation:Required
	Softwares []*string `json:"softwares" tf:"softwares,omitempty"`

	// The flag whether the instance support high availability.(0=>not support, 1=>support).
	// +kubebuilder:validation:Required
	SupportHa *float64 `json:"supportHa" tf:"support_ha,omitempty"`

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

	// The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance.
	// When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
	// +kubebuilder:validation:Required
	TimeSpan *float64 `json:"timeSpan" tf:"time_span,omitempty"`

	// The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
	// +kubebuilder:validation:Required
	TimeUnit *string `json:"timeUnit" tf:"time_unit,omitempty"`

	// The private net config of EMR instance.
	// +kubebuilder:validation:Required
	VPCSettings map[string]*string `json:"vpcSettings" tf:"vpc_settings,omitempty"`
}

func (*EmrClusterParameters) DeepCopy

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

func (*EmrClusterParameters) DeepCopyInto

func (in *EmrClusterParameters) DeepCopyInto(out *EmrClusterParameters)

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

type EmrClusterSpec

type EmrClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EmrClusterParameters `json:"forProvider"`
}

EmrClusterSpec defines the desired state of EmrCluster

func (*EmrClusterSpec) DeepCopy

func (in *EmrClusterSpec) DeepCopy() *EmrClusterSpec

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

func (*EmrClusterSpec) DeepCopyInto

func (in *EmrClusterSpec) DeepCopyInto(out *EmrClusterSpec)

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

type EmrClusterStatus

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

EmrClusterStatus defines the observed state of EmrCluster.

func (*EmrClusterStatus) DeepCopy

func (in *EmrClusterStatus) DeepCopy() *EmrClusterStatus

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

func (*EmrClusterStatus) DeepCopyInto

func (in *EmrClusterStatus) DeepCopyInto(out *EmrClusterStatus)

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

type MasterResourceSpecObservation

type MasterResourceSpecObservation struct {
}

func (*MasterResourceSpecObservation) DeepCopy

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

func (*MasterResourceSpecObservation) DeepCopyInto

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

type MasterResourceSpecParameters

type MasterResourceSpecParameters struct {

	// +kubebuilder:validation:Optional
	CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"`

	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// +kubebuilder:validation:Optional
	MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"`

	// +kubebuilder:validation:Optional
	RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"`

	// +kubebuilder:validation:Optional
	Spec *string `json:"spec,omitempty" tf:"spec,omitempty"`

	// +kubebuilder:validation:Optional
	StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"`
}

func (*MasterResourceSpecParameters) DeepCopy

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

func (*MasterResourceSpecParameters) DeepCopyInto

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

type ResourceSpecObservation

type ResourceSpecObservation struct {
}

func (*ResourceSpecObservation) DeepCopy

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

func (*ResourceSpecObservation) DeepCopyInto

func (in *ResourceSpecObservation) DeepCopyInto(out *ResourceSpecObservation)

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

type ResourceSpecParameters

type ResourceSpecParameters struct {

	// The number of common node.
	// +kubebuilder:validation:Optional
	CommonCount *float64 `json:"commonCount,omitempty" tf:"common_count,omitempty"`

	// +kubebuilder:validation:Optional
	CommonResourceSpec []CommonResourceSpecParameters `json:"commonResourceSpec,omitempty" tf:"common_resource_spec,omitempty"`

	// The number of core node.
	// +kubebuilder:validation:Optional
	CoreCount *float64 `json:"coreCount,omitempty" tf:"core_count,omitempty"`

	// +kubebuilder:validation:Optional
	CoreResourceSpec []CoreResourceSpecParameters `json:"coreResourceSpec,omitempty" tf:"core_resource_spec,omitempty"`

	// The number of master node.
	// +kubebuilder:validation:Optional
	MasterCount *float64 `json:"masterCount,omitempty" tf:"master_count,omitempty"`

	// +kubebuilder:validation:Optional
	MasterResourceSpec []MasterResourceSpecParameters `json:"masterResourceSpec,omitempty" tf:"master_resource_spec,omitempty"`

	// The number of core node.
	// +kubebuilder:validation:Optional
	TaskCount *float64 `json:"taskCount,omitempty" tf:"task_count,omitempty"`

	// +kubebuilder:validation:Optional
	TaskResourceSpec []TaskResourceSpecParameters `json:"taskResourceSpec,omitempty" tf:"task_resource_spec,omitempty"`
}

func (*ResourceSpecParameters) DeepCopy

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

func (*ResourceSpecParameters) DeepCopyInto

func (in *ResourceSpecParameters) DeepCopyInto(out *ResourceSpecParameters)

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

type TaskResourceSpecObservation

type TaskResourceSpecObservation struct {
}

func (*TaskResourceSpecObservation) DeepCopy

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

func (*TaskResourceSpecObservation) DeepCopyInto

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

type TaskResourceSpecParameters

type TaskResourceSpecParameters struct {

	// +kubebuilder:validation:Optional
	CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"`

	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// +kubebuilder:validation:Optional
	MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"`

	// +kubebuilder:validation:Optional
	RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"`

	// +kubebuilder:validation:Optional
	Spec *string `json:"spec,omitempty" tf:"spec,omitempty"`

	// +kubebuilder:validation:Optional
	StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"`
}

func (*TaskResourceSpecParameters) DeepCopy

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

func (*TaskResourceSpecParameters) DeepCopyInto

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