Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=elasticsearch.tencentcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type EsACLObservation
- type EsACLParameters
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Instance) GetConnectionDetailsMapping() map[string]string
- func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Instance) GetID() string
- func (tr *Instance) GetObservation() (map[string]interface{}, error)
- func (tr *Instance) GetParameters() (map[string]interface{}, error)
- func (mg *Instance) GetProviderConfigReference() *xpv1.Reference
- func (mg *Instance) GetProviderReference() *xpv1.Reference
- func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Instance) GetTerraformResourceType() string
- func (tr *Instance) GetTerraformSchemaVersion() int
- func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Instance) LateInitialize(attrs []byte) (bool, error)
- func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Instance) SetConditions(c ...xpv1.Condition)
- func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Instance) SetObservation(obs map[string]interface{}) error
- func (tr *Instance) SetParameters(params map[string]interface{}) error
- func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Instance) SetProviderReference(r *xpv1.Reference)
- func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InstanceList
- type InstanceObservation
- type InstanceParameters
- type InstanceSpec
- type InstanceStatus
- type MultiZoneInfosObservation
- type MultiZoneInfosParameters
- type NodeInfoListObservation
- type NodeInfoListParameters
- type WebNodeTypeInfoObservation
- type WebNodeTypeInfoParameters
Constants ¶
const ( CRDGroup = "elasticsearch.tencentcloud.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( Instance_Kind = "Instance" Instance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String() Instance_KindAPIVersion = Instance_Kind + "." + CRDGroupVersion.String() Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type EsACLObservation ¶
type EsACLObservation struct { }
func (*EsACLObservation) DeepCopy ¶
func (in *EsACLObservation) DeepCopy() *EsACLObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EsACLObservation.
func (*EsACLObservation) DeepCopyInto ¶
func (in *EsACLObservation) DeepCopyInto(out *EsACLObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EsACLParameters ¶
type EsACLParameters struct { // Blacklist of kibana access. // +kubebuilder:validation:Optional BlackList []*string `json:"blackList,omitempty" tf:"black_list,omitempty"` // Whitelist of kibana access. // +kubebuilder:validation:Optional WhiteList []*string `json:"whiteList,omitempty" tf:"white_list,omitempty"` }
func (*EsACLParameters) DeepCopy ¶
func (in *EsACLParameters) DeepCopy() *EsACLParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EsACLParameters.
func (*EsACLParameters) DeepCopyInto ¶
func (in *EsACLParameters) DeepCopyInto(out *EsACLParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the Instances 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 (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) GetCondition ¶
func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Instance.
func (*Instance) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Instance
func (*Instance) GetDeletionPolicy ¶
func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Instance.
func (*Instance) GetObservation ¶
GetObservation of this Instance
func (*Instance) GetParameters ¶
GetParameters of this Instance
func (*Instance) GetProviderConfigReference ¶
GetProviderConfigReference of this Instance.
func (*Instance) GetProviderReference ¶
GetProviderReference of this Instance. Deprecated: Use GetProviderConfigReference.
func (*Instance) GetPublishConnectionDetailsTo ¶
func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Instance.
func (*Instance) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Instance
func (*Instance) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Instance) GetWriteConnectionSecretToReference ¶
func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Instance.
func (*Instance) LateInitialize ¶
LateInitialize this Instance using its observed tfState. returns True if there are any spec changes for the resource.
func (*Instance) ResolveReferences ¶
ResolveReferences of this Instance.
func (*Instance) SetConditions ¶
SetConditions of this Instance.
func (*Instance) SetDeletionPolicy ¶
func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Instance.
func (*Instance) SetObservation ¶
SetObservation for this Instance
func (*Instance) SetParameters ¶
SetParameters for this Instance
func (*Instance) SetProviderConfigReference ¶
SetProviderConfigReference of this Instance.
func (*Instance) SetProviderReference ¶
SetProviderReference of this Instance. Deprecated: Use SetProviderConfigReference.
func (*Instance) SetPublishConnectionDetailsTo ¶
func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Instance.
func (*Instance) SetWriteConnectionSecretToReference ¶
func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Instance.
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceList) GetItems ¶
func (l *InstanceList) GetItems() []resource.Managed
GetItems of this InstanceList.
type InstanceObservation ¶
type InstanceObservation struct { CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` ElasticsearchDomain *string `json:"elasticsearchDomain,omitempty" tf:"elasticsearch_domain,omitempty"` ElasticsearchPort *float64 `json:"elasticsearchPort,omitempty" tf:"elasticsearch_port,omitempty"` ElasticsearchVip *string `json:"elasticsearchVip,omitempty" tf:"elasticsearch_vip,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` KibanaURL *string `json:"kibanaUrl,omitempty" tf:"kibana_url,omitempty"` }
func (*InstanceObservation) DeepCopy ¶
func (in *InstanceObservation) DeepCopy() *InstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation.
func (*InstanceObservation) DeepCopyInto ¶
func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceParameters ¶
type InstanceParameters struct { // Availability zone. When create multi-az es, this parameter must be omitted or `-`. // +kubebuilder:validation:Optional AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` // Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are `1` and `2`. `1` is disabled, `2` is enabled, and default value is `1`. Notice: this parameter is only take effect on `basic` license. // +kubebuilder:validation:Optional BasicSecurityType *float64 `json:"basicSecurityType,omitempty" tf:"basic_security_type,omitempty"` // The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to `PREPAID`. // +kubebuilder:validation:Optional ChargePeriod *float64 `json:"chargePeriod,omitempty" tf:"charge_period,omitempty"` // The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. // +kubebuilder:validation:Optional ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"` // Cluster deployment mode. Valid values are `0` and `1`. `0` is single-AZ deployment, and `1` is multi-AZ deployment. Default value is `0`. // +kubebuilder:validation:Optional DeployMode *float64 `json:"deployMode,omitempty" tf:"deploy_mode,omitempty"` // Kibana Access Control Configuration. // +kubebuilder:validation:Optional EsACL []EsACLParameters `json:"esAcl,omitempty" tf:"es_acl,omitempty"` // Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_). // +kubebuilder:validation:Optional InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"` // License type. Valid values are `oss`, `basic` and `platinum`. The default value is `platinum`. // +kubebuilder:validation:Optional LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` // Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is `1`). // +kubebuilder:validation:Optional MultiZoneInfos []MultiZoneInfosParameters `json:"multiZoneInfos,omitempty" tf:"multi_zone_infos,omitempty"` // Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size. // +kubebuilder:validation:Required NodeInfoList []NodeInfoListParameters `json:"nodeInfoList" tf:"node_info_list,omitempty"` // Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols. // +kubebuilder:validation:Required PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are `RENEW_FLAG_AUTO` and `RENEW_FLAG_MANUAL`. NOTE: it only works when charge_type is set to `PREPAID`. // +kubebuilder:validation:Optional RenewFlag *string `json:"renewFlag,omitempty" tf:"renew_flag,omitempty"` // The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or `-`. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` // A mapping of tags to assign to the instance. For tag limits, please refer to [Use Limits](https://intl.cloud.tencent.com/document/product/651/13354). // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The ID of a VPC network. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC // +kubebuilder:validation:Optional VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` // +kubebuilder:validation:Optional VPCIDRef *v1.Reference `json:"vpcidRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional VPCIDSelector *v1.Selector `json:"vpcidSelector,omitempty" tf:"-"` // Version of the instance. Valid values are `5.6.4`, `6.4.3`, `6.8.2`, `7.5.1` and `7.10.1`. // +kubebuilder:validation:Required Version *string `json:"version" tf:"version,omitempty"` // Visual node configuration. // +kubebuilder:validation:Optional WebNodeTypeInfo []WebNodeTypeInfoParameters `json:"webNodeTypeInfo,omitempty" tf:"web_node_type_info,omitempty"` }
func (*InstanceParameters) DeepCopy ¶
func (in *InstanceParameters) DeepCopy() *InstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters.
func (*InstanceParameters) DeepCopyInto ¶
func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceParameters `json:"forProvider"` }
InstanceSpec defines the desired state of Instance
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceObservation `json:"atProvider,omitempty"` }
InstanceStatus defines the observed state of Instance.
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiZoneInfosObservation ¶
type MultiZoneInfosObservation struct { }
func (*MultiZoneInfosObservation) DeepCopy ¶
func (in *MultiZoneInfosObservation) DeepCopy() *MultiZoneInfosObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiZoneInfosObservation.
func (*MultiZoneInfosObservation) DeepCopyInto ¶
func (in *MultiZoneInfosObservation) DeepCopyInto(out *MultiZoneInfosObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiZoneInfosParameters ¶
type MultiZoneInfosParameters struct { // Availability zone. // +kubebuilder:validation:Required AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"` // The ID of a VPC subnetwork. // +kubebuilder:validation:Required SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` }
func (*MultiZoneInfosParameters) DeepCopy ¶
func (in *MultiZoneInfosParameters) DeepCopy() *MultiZoneInfosParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiZoneInfosParameters.
func (*MultiZoneInfosParameters) DeepCopyInto ¶
func (in *MultiZoneInfosParameters) DeepCopyInto(out *MultiZoneInfosParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeInfoListObservation ¶
type NodeInfoListObservation struct { }
func (*NodeInfoListObservation) DeepCopy ¶
func (in *NodeInfoListObservation) DeepCopy() *NodeInfoListObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoListObservation.
func (*NodeInfoListObservation) DeepCopyInto ¶
func (in *NodeInfoListObservation) DeepCopyInto(out *NodeInfoListObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeInfoListParameters ¶
type NodeInfoListParameters struct { // Node disk size. Unit is GB, and default value is `100`. // +kubebuilder:validation:Optional DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"` // Node disk type. Valid values are `CLOUD_SSD` and `CLOUD_PREMIUM`, `CLOUD_HSSD`. The default value is `CLOUD_SSD`. // +kubebuilder:validation:Optional DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"` // Decides to encrypt this disk or not. // +kubebuilder:validation:Optional Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"` // Number of nodes. // +kubebuilder:validation:Required NodeNum *float64 `json:"nodeNum" tf:"node_num,omitempty"` // Node specification, and valid values refer to [document of tencentcloud](https://intl.cloud.tencent.com/document/product/845/18376). // +kubebuilder:validation:Required NodeType *string `json:"nodeType" tf:"node_type,omitempty"` // Node type. Valid values are `hotData`, `warmData` and `dedicatedMaster`. The default value is 'hotData`. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*NodeInfoListParameters) DeepCopy ¶
func (in *NodeInfoListParameters) DeepCopy() *NodeInfoListParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoListParameters.
func (*NodeInfoListParameters) DeepCopyInto ¶
func (in *NodeInfoListParameters) DeepCopyInto(out *NodeInfoListParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebNodeTypeInfoObservation ¶
type WebNodeTypeInfoObservation struct { }
func (*WebNodeTypeInfoObservation) DeepCopy ¶
func (in *WebNodeTypeInfoObservation) DeepCopy() *WebNodeTypeInfoObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebNodeTypeInfoObservation.
func (*WebNodeTypeInfoObservation) DeepCopyInto ¶
func (in *WebNodeTypeInfoObservation) DeepCopyInto(out *WebNodeTypeInfoObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebNodeTypeInfoParameters ¶
type WebNodeTypeInfoParameters struct { // Visual node number. // +kubebuilder:validation:Required NodeNum *float64 `json:"nodeNum" tf:"node_num,omitempty"` // Visual node specifications. // +kubebuilder:validation:Required NodeType *string `json:"nodeType" tf:"node_type,omitempty"` }
func (*WebNodeTypeInfoParameters) DeepCopy ¶
func (in *WebNodeTypeInfoParameters) DeepCopy() *WebNodeTypeInfoParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebNodeTypeInfoParameters.
func (*WebNodeTypeInfoParameters) DeepCopyInto ¶
func (in *WebNodeTypeInfoParameters) DeepCopyInto(out *WebNodeTypeInfoParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.