Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=emr.tencentcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CommonResourceSpecInitParameters
- type CommonResourceSpecObservation
- type CommonResourceSpecParameters
- type CoreResourceSpecInitParameters
- type CoreResourceSpecObservation
- type CoreResourceSpecParameters
- type EmrCluster
- func (in *EmrCluster) DeepCopy() *EmrCluster
- func (in *EmrCluster) DeepCopyInto(out *EmrCluster)
- func (in *EmrCluster) DeepCopyObject() runtime.Object
- func (mg *EmrCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *EmrCluster) GetConnectionDetailsMapping() map[string]string
- func (mg *EmrCluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *EmrCluster) GetID() string
- func (tr *EmrCluster) GetInitParameters() (map[string]any, error)
- func (mg *EmrCluster) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *EmrCluster) GetObservation() (map[string]any, error)
- func (tr *EmrCluster) GetParameters() (map[string]any, error)
- func (mg *EmrCluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *EmrCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *EmrCluster) GetTerraformResourceType() string
- func (tr *EmrCluster) GetTerraformSchemaVersion() int
- func (mg *EmrCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *EmrCluster) LateInitialize(attrs []byte) (bool, error)
- func (mg *EmrCluster) SetConditions(c ...xpv1.Condition)
- func (mg *EmrCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *EmrCluster) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *EmrCluster) SetObservation(obs map[string]any) error
- func (tr *EmrCluster) SetParameters(params map[string]any) error
- func (mg *EmrCluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *EmrCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *EmrCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type EmrClusterInitParameters
- type EmrClusterList
- type EmrClusterObservation
- type EmrClusterParameters
- type EmrClusterSpec
- type EmrClusterStatus
- type MasterResourceSpecInitParameters
- type MasterResourceSpecObservation
- type MasterResourceSpecParameters
- type PlacementInfoInitParameters
- type PlacementInfoObservation
- type PlacementInfoParameters
- type ResourceSpecInitParameters
- type ResourceSpecObservation
- type ResourceSpecParameters
- type TaskResourceSpecInitParameters
- type TaskResourceSpecObservation
- type TaskResourceSpecParameters
Constants ¶
const ( CRDGroup = "emr.tencentcloud.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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.
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 CommonResourceSpecInitParameters ¶ added in v0.8.0
type CommonResourceSpecInitParameters struct { CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"` RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"` Spec *string `json:"spec,omitempty" tf:"spec,omitempty"` StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*CommonResourceSpecInitParameters) DeepCopy ¶ added in v0.8.0
func (in *CommonResourceSpecInitParameters) DeepCopy() *CommonResourceSpecInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonResourceSpecInitParameters.
func (*CommonResourceSpecInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *CommonResourceSpecInitParameters) DeepCopyInto(out *CommonResourceSpecInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonResourceSpecObservation ¶
type CommonResourceSpecObservation struct { CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"` RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"` Spec *string `json:"spec,omitempty" tf:"spec,omitempty"` StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*CommonResourceSpecObservation) DeepCopy ¶
func (in *CommonResourceSpecObservation) DeepCopy() *CommonResourceSpecObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonResourceSpecObservation.
func (*CommonResourceSpecObservation) DeepCopyInto ¶
func (in *CommonResourceSpecObservation) DeepCopyInto(out *CommonResourceSpecObservation)
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 ¶
func (in *CommonResourceSpecParameters) DeepCopy() *CommonResourceSpecParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonResourceSpecParameters.
func (*CommonResourceSpecParameters) DeepCopyInto ¶
func (in *CommonResourceSpecParameters) DeepCopyInto(out *CommonResourceSpecParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CoreResourceSpecInitParameters ¶ added in v0.8.0
type CoreResourceSpecInitParameters struct { CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"` RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"` Spec *string `json:"spec,omitempty" tf:"spec,omitempty"` StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*CoreResourceSpecInitParameters) DeepCopy ¶ added in v0.8.0
func (in *CoreResourceSpecInitParameters) DeepCopy() *CoreResourceSpecInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreResourceSpecInitParameters.
func (*CoreResourceSpecInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *CoreResourceSpecInitParameters) DeepCopyInto(out *CoreResourceSpecInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CoreResourceSpecObservation ¶
type CoreResourceSpecObservation struct { CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"` RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"` Spec *string `json:"spec,omitempty" tf:"spec,omitempty"` StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*CoreResourceSpecObservation) DeepCopy ¶
func (in *CoreResourceSpecObservation) DeepCopy() *CoreResourceSpecObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreResourceSpecObservation.
func (*CoreResourceSpecObservation) DeepCopyInto ¶
func (in *CoreResourceSpecObservation) DeepCopyInto(out *CoreResourceSpecObservation)
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 ¶
func (in *CoreResourceSpecParameters) DeepCopy() *CoreResourceSpecParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreResourceSpecParameters.
func (*CoreResourceSpecParameters) DeepCopyInto ¶
func (in *CoreResourceSpecParameters) DeepCopyInto(out *CoreResourceSpecParameters)
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceName) || (has(self.initProvider) && has(self.initProvider.instanceName))",message="spec.forProvider.instanceName is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.payMode) || (has(self.initProvider) && has(self.initProvider.payMode))",message="spec.forProvider.payMode is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.productId) || (has(self.initProvider) && has(self.initProvider.productId))",message="spec.forProvider.productId is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.softwares) || (has(self.initProvider) && has(self.initProvider.softwares))",message="spec.forProvider.softwares is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.supportHa) || (has(self.initProvider) && has(self.initProvider.supportHa))",message="spec.forProvider.supportHa is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcSettings) || (has(self.initProvider) && has(self.initProvider.vpcSettings))",message="spec.forProvider.vpcSettings is a required parameter" Spec EmrClusterSpec `json:"spec"` Status EmrClusterStatus `json:"status,omitempty"` }
EmrCluster is the Schema for the EmrClusters API. Provide a resource to create a emr cluster. +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,tencentcloud}
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) GetInitParameters ¶ added in v0.8.0
func (tr *EmrCluster) GetInitParameters() (map[string]any, error)
GetInitParameters of this EmrCluster
func (*EmrCluster) GetManagementPolicies ¶ added in v0.8.0
func (mg *EmrCluster) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this EmrCluster.
func (*EmrCluster) GetObservation ¶
func (tr *EmrCluster) GetObservation() (map[string]any, error)
GetObservation of this EmrCluster
func (*EmrCluster) GetParameters ¶
func (tr *EmrCluster) GetParameters() (map[string]any, error)
GetParameters of this EmrCluster
func (*EmrCluster) GetProviderConfigReference ¶
func (mg *EmrCluster) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this EmrCluster.
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) SetManagementPolicies ¶ added in v0.8.0
func (mg *EmrCluster) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this EmrCluster.
func (*EmrCluster) SetObservation ¶
func (tr *EmrCluster) SetObservation(obs map[string]any) error
SetObservation for this EmrCluster
func (*EmrCluster) SetParameters ¶
func (tr *EmrCluster) SetParameters(params map[string]any) error
SetParameters for this EmrCluster
func (*EmrCluster) SetProviderConfigReference ¶
func (mg *EmrCluster) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this EmrCluster.
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 EmrClusterInitParameters ¶ added in v0.8.0
type EmrClusterInitParameters struct { // It will be deprecated in later versions. Display strategy of EMR instance. // Display strategy of EMR instance. DisplayStrategy *string `json:"displayStrategy,omitempty" tf:"display_strategy,omitempty"` // Access the external file system. // Access the external file system. 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(_). // Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_). InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,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. // 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. NeedMasterWan *string `json:"needMasterWan,omitempty" tf:"need_master_wan,omitempty"` // The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID. // The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID. PayMode *float64 `json:"payMode,omitempty" tf:"pay_mode,omitempty"` // It will be deprecated in later versions. Use placement_info instead. The location of the instance. // The location of the instance. Placement map[string]*string `json:"placement,omitempty" tf:"placement,omitempty"` // The location of the instance. // The location of the instance. PlacementInfo []PlacementInfoInitParameters `json:"placementInfo,omitempty" tf:"placement_info,omitempty"` // Product ID. Different products ID represents different EMR product versions. Value range: // 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. ProductID *float64 `json:"productId,omitempty" tf:"product_id,omitempty"` // Resource specification of EMR instance. // Resource specification of EMR instance. ResourceSpec []ResourceSpecInitParameters `json:"resourceSpec,omitempty" tf:"resource_spec,omitempty"` // The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx. // The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx. SgID *string `json:"sgId,omitempty" tf:"sg_id,omitempty"` // The softwares of a EMR instance. // The softwares of a EMR instance. Softwares []*string `json:"softwares,omitempty" tf:"softwares,omitempty"` // The flag whether the instance support high availability.(0=>not support, 1=>support). // The flag whether the instance support high availability.(0=>not support, 1=>support). SupportHa *float64 `json:"supportHa,omitempty" tf:"support_ha,omitempty"` // Tag description list. // Tag description list. 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. // 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. TimeSpan *float64 `json:"timeSpan,omitempty" 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). // 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). TimeUnit *string `json:"timeUnit,omitempty" tf:"time_unit,omitempty"` // The private net config of EMR instance. // The private net config of EMR instance. VPCSettings map[string]*string `json:"vpcSettings,omitempty" tf:"vpc_settings,omitempty"` }
func (*EmrClusterInitParameters) DeepCopy ¶ added in v0.8.0
func (in *EmrClusterInitParameters) DeepCopy() *EmrClusterInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmrClusterInitParameters.
func (*EmrClusterInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *EmrClusterInitParameters) DeepCopyInto(out *EmrClusterInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // It will be deprecated in later versions. Display strategy of EMR instance. // Display strategy of EMR instance. DisplayStrategy *string `json:"displayStrategy,omitempty" tf:"display_strategy,omitempty"` // Access the external file system. // Access the external file system. ExtendFsField *string `json:"extendFsField,omitempty" tf:"extend_fs_field,omitempty"` // ID of the resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Created EMR instance id. // Created EMR instance id. InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` // Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_). // Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_). InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,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. // 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. NeedMasterWan *string `json:"needMasterWan,omitempty" tf:"need_master_wan,omitempty"` // The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID. // The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID. PayMode *float64 `json:"payMode,omitempty" tf:"pay_mode,omitempty"` // It will be deprecated in later versions. Use placement_info instead. The location of the instance. // The location of the instance. Placement map[string]*string `json:"placement,omitempty" tf:"placement,omitempty"` // The location of the instance. // The location of the instance. PlacementInfo []PlacementInfoObservation `json:"placementInfo,omitempty" tf:"placement_info,omitempty"` // Product ID. Different products ID represents different EMR product versions. Value range: // 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. ProductID *float64 `json:"productId,omitempty" tf:"product_id,omitempty"` // Resource specification of EMR instance. // Resource specification of EMR instance. ResourceSpec []ResourceSpecObservation `json:"resourceSpec,omitempty" tf:"resource_spec,omitempty"` // The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx. // The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx. SgID *string `json:"sgId,omitempty" tf:"sg_id,omitempty"` // The softwares of a EMR instance. // The softwares of a EMR instance. Softwares []*string `json:"softwares,omitempty" tf:"softwares,omitempty"` // The flag whether the instance support high availability.(0=>not support, 1=>support). // The flag whether the instance support high availability.(0=>not support, 1=>support). SupportHa *float64 `json:"supportHa,omitempty" tf:"support_ha,omitempty"` // Tag description list. // Tag description list. 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. // 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. TimeSpan *float64 `json:"timeSpan,omitempty" 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). // 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). TimeUnit *string `json:"timeUnit,omitempty" tf:"time_unit,omitempty"` // The private net config of EMR instance. // The private net config of EMR instance. VPCSettings map[string]*string `json:"vpcSettings,omitempty" tf:"vpc_settings,omitempty"` }
func (*EmrClusterObservation) DeepCopy ¶
func (in *EmrClusterObservation) DeepCopy() *EmrClusterObservation
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 { // It will be deprecated in later versions. Display strategy of EMR instance. // Display strategy of EMR instance. // +kubebuilder:validation:Optional DisplayStrategy *string `json:"displayStrategy,omitempty" tf:"display_strategy,omitempty"` // Access the external file system. // 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(_). // Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_). // +kubebuilder:validation:Optional InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"` // Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key. // Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key. // +kubebuilder:validation:Optional LoginSettingsSecretRef *v1.SecretReference `json:"loginSettingsSecretRef,omitempty" tf:"-"` // 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. // 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. // The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID. // +kubebuilder:validation:Optional PayMode *float64 `json:"payMode,omitempty" tf:"pay_mode,omitempty"` // It will be deprecated in later versions. Use placement_info instead. The location of the instance. // The location of the instance. // +kubebuilder:validation:Optional Placement map[string]*string `json:"placement,omitempty" tf:"placement,omitempty"` // The location of the instance. // The location of the instance. // +kubebuilder:validation:Optional PlacementInfo []PlacementInfoParameters `json:"placementInfo,omitempty" tf:"placement_info,omitempty"` // Product ID. Different products ID represents different EMR product versions. Value range: // 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:Optional ProductID *float64 `json:"productId,omitempty" tf:"product_id,omitempty"` // Resource specification of EMR instance. // 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. // 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. // The softwares of a EMR instance. // +kubebuilder:validation:Optional Softwares []*string `json:"softwares,omitempty" tf:"softwares,omitempty"` // The flag whether the instance support high availability.(0=>not support, 1=>support). // The flag whether the instance support high availability.(0=>not support, 1=>support). // +kubebuilder:validation:Optional SupportHa *float64 `json:"supportHa,omitempty" tf:"support_ha,omitempty"` // Tag description list. // 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. // 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:Optional TimeSpan *float64 `json:"timeSpan,omitempty" 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). // 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:Optional TimeUnit *string `json:"timeUnit,omitempty" tf:"time_unit,omitempty"` // The private net config of EMR instance. // The private net config of EMR instance. // +kubebuilder:validation:Optional VPCSettings map[string]*string `json:"vpcSettings,omitempty" tf:"vpc_settings,omitempty"` }
func (*EmrClusterParameters) DeepCopy ¶
func (in *EmrClusterParameters) DeepCopy() *EmrClusterParameters
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"` // 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 EmrClusterInitParameters `json:"initProvider,omitempty"` }
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 MasterResourceSpecInitParameters ¶ added in v0.8.0
type MasterResourceSpecInitParameters struct { CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"` RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"` Spec *string `json:"spec,omitempty" tf:"spec,omitempty"` StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*MasterResourceSpecInitParameters) DeepCopy ¶ added in v0.8.0
func (in *MasterResourceSpecInitParameters) DeepCopy() *MasterResourceSpecInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterResourceSpecInitParameters.
func (*MasterResourceSpecInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *MasterResourceSpecInitParameters) DeepCopyInto(out *MasterResourceSpecInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MasterResourceSpecObservation ¶
type MasterResourceSpecObservation struct { CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"` RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"` Spec *string `json:"spec,omitempty" tf:"spec,omitempty"` StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*MasterResourceSpecObservation) DeepCopy ¶
func (in *MasterResourceSpecObservation) DeepCopy() *MasterResourceSpecObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterResourceSpecObservation.
func (*MasterResourceSpecObservation) DeepCopyInto ¶
func (in *MasterResourceSpecObservation) DeepCopyInto(out *MasterResourceSpecObservation)
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 ¶
func (in *MasterResourceSpecParameters) DeepCopy() *MasterResourceSpecParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterResourceSpecParameters.
func (*MasterResourceSpecParameters) DeepCopyInto ¶
func (in *MasterResourceSpecParameters) DeepCopyInto(out *MasterResourceSpecParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementInfoInitParameters ¶ added in v0.8.0
type PlacementInfoInitParameters struct { // Project id. // Project id. ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"` // Zone. // Zone. Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*PlacementInfoInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PlacementInfoInitParameters) DeepCopy() *PlacementInfoInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementInfoInitParameters.
func (*PlacementInfoInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PlacementInfoInitParameters) DeepCopyInto(out *PlacementInfoInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementInfoObservation ¶ added in v0.8.0
type PlacementInfoObservation struct { // Project id. // Project id. ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"` // Zone. // Zone. Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*PlacementInfoObservation) DeepCopy ¶ added in v0.8.0
func (in *PlacementInfoObservation) DeepCopy() *PlacementInfoObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementInfoObservation.
func (*PlacementInfoObservation) DeepCopyInto ¶ added in v0.8.0
func (in *PlacementInfoObservation) DeepCopyInto(out *PlacementInfoObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementInfoParameters ¶ added in v0.8.0
type PlacementInfoParameters struct { // Project id. // Project id. // +kubebuilder:validation:Optional ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"` // Zone. // Zone. // +kubebuilder:validation:Optional Zone *string `json:"zone" tf:"zone,omitempty"` }
func (*PlacementInfoParameters) DeepCopy ¶ added in v0.8.0
func (in *PlacementInfoParameters) DeepCopy() *PlacementInfoParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementInfoParameters.
func (*PlacementInfoParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PlacementInfoParameters) DeepCopyInto(out *PlacementInfoParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSpecInitParameters ¶ added in v0.8.0
type ResourceSpecInitParameters struct { // The number of common node. // The number of common node. CommonCount *float64 `json:"commonCount,omitempty" tf:"common_count,omitempty"` CommonResourceSpec []CommonResourceSpecInitParameters `json:"commonResourceSpec,omitempty" tf:"common_resource_spec,omitempty"` // The number of core node. // The number of core node. CoreCount *float64 `json:"coreCount,omitempty" tf:"core_count,omitempty"` CoreResourceSpec []CoreResourceSpecInitParameters `json:"coreResourceSpec,omitempty" tf:"core_resource_spec,omitempty"` // The number of master node. // The number of master node. MasterCount *float64 `json:"masterCount,omitempty" tf:"master_count,omitempty"` MasterResourceSpec []MasterResourceSpecInitParameters `json:"masterResourceSpec,omitempty" tf:"master_resource_spec,omitempty"` // The number of core node. // The number of core node. TaskCount *float64 `json:"taskCount,omitempty" tf:"task_count,omitempty"` TaskResourceSpec []TaskResourceSpecInitParameters `json:"taskResourceSpec,omitempty" tf:"task_resource_spec,omitempty"` }
func (*ResourceSpecInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ResourceSpecInitParameters) DeepCopy() *ResourceSpecInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpecInitParameters.
func (*ResourceSpecInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ResourceSpecInitParameters) DeepCopyInto(out *ResourceSpecInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSpecObservation ¶
type ResourceSpecObservation struct { // The number of common node. // The number of common node. CommonCount *float64 `json:"commonCount,omitempty" tf:"common_count,omitempty"` CommonResourceSpec []CommonResourceSpecObservation `json:"commonResourceSpec,omitempty" tf:"common_resource_spec,omitempty"` // The number of core node. // The number of core node. CoreCount *float64 `json:"coreCount,omitempty" tf:"core_count,omitempty"` CoreResourceSpec []CoreResourceSpecObservation `json:"coreResourceSpec,omitempty" tf:"core_resource_spec,omitempty"` // The number of master node. // The number of master node. MasterCount *float64 `json:"masterCount,omitempty" tf:"master_count,omitempty"` MasterResourceSpec []MasterResourceSpecObservation `json:"masterResourceSpec,omitempty" tf:"master_resource_spec,omitempty"` // The number of core node. // The number of core node. TaskCount *float64 `json:"taskCount,omitempty" tf:"task_count,omitempty"` TaskResourceSpec []TaskResourceSpecObservation `json:"taskResourceSpec,omitempty" tf:"task_resource_spec,omitempty"` }
func (*ResourceSpecObservation) DeepCopy ¶
func (in *ResourceSpecObservation) DeepCopy() *ResourceSpecObservation
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. // 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. // 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. // 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. // 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 ¶
func (in *ResourceSpecParameters) DeepCopy() *ResourceSpecParameters
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 TaskResourceSpecInitParameters ¶ added in v0.8.0
type TaskResourceSpecInitParameters struct { CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"` RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"` Spec *string `json:"spec,omitempty" tf:"spec,omitempty"` StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*TaskResourceSpecInitParameters) DeepCopy ¶ added in v0.8.0
func (in *TaskResourceSpecInitParameters) DeepCopy() *TaskResourceSpecInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskResourceSpecInitParameters.
func (*TaskResourceSpecInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *TaskResourceSpecInitParameters) DeepCopyInto(out *TaskResourceSpecInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskResourceSpecObservation ¶
type TaskResourceSpecObservation struct { CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"` RootSize *float64 `json:"rootSize,omitempty" tf:"root_size,omitempty"` Spec *string `json:"spec,omitempty" tf:"spec,omitempty"` StorageType *float64 `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*TaskResourceSpecObservation) DeepCopy ¶
func (in *TaskResourceSpecObservation) DeepCopy() *TaskResourceSpecObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskResourceSpecObservation.
func (*TaskResourceSpecObservation) DeepCopyInto ¶
func (in *TaskResourceSpecObservation) DeepCopyInto(out *TaskResourceSpecObservation)
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 ¶
func (in *TaskResourceSpecParameters) DeepCopy() *TaskResourceSpecParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskResourceSpecParameters.
func (*TaskResourceSpecParameters) DeepCopyInto ¶
func (in *TaskResourceSpecParameters) DeepCopyInto(out *TaskResourceSpecParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.