v1alpha1

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	DcdbAccount_Kind             = "DcdbAccount"
	DcdbAccount_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DcdbAccount_Kind}.String()
	DcdbAccount_KindAPIVersion   = DcdbAccount_Kind + "." + CRDGroupVersion.String()
	DcdbAccount_GroupVersionKind = CRDGroupVersion.WithKind(DcdbAccount_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	HourdbInstance_Kind             = "HourdbInstance"
	HourdbInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HourdbInstance_Kind}.String()
	HourdbInstance_KindAPIVersion   = HourdbInstance_Kind + "." + CRDGroupVersion.String()
	HourdbInstance_GroupVersionKind = CRDGroupVersion.WithKind(HourdbInstance_Kind)
)

Repository type metadata.

View Source
var (
	SecurityGroupAttachment_Kind             = "SecurityGroupAttachment"
	SecurityGroupAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroupAttachment_Kind}.String()
	SecurityGroupAttachment_KindAPIVersion   = SecurityGroupAttachment_Kind + "." + CRDGroupVersion.String()
	SecurityGroupAttachment_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroupAttachment_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DcdbAccount

type DcdbAccount struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DcdbAccountSpec   `json:"spec"`
	Status            DcdbAccountStatus `json:"status,omitempty"`
}

DcdbAccount is the Schema for the DcdbAccounts 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 (*DcdbAccount) DeepCopy

func (in *DcdbAccount) DeepCopy() *DcdbAccount

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

func (*DcdbAccount) DeepCopyInto

func (in *DcdbAccount) DeepCopyInto(out *DcdbAccount)

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

func (*DcdbAccount) DeepCopyObject

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

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

func (*DcdbAccount) GetCondition

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

GetCondition of this DcdbAccount.

func (*DcdbAccount) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DcdbAccount

func (*DcdbAccount) GetDeletionPolicy

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

GetDeletionPolicy of this DcdbAccount.

func (*DcdbAccount) GetID

func (tr *DcdbAccount) GetID() string

GetID returns ID of underlying Terraform resource of this DcdbAccount

func (*DcdbAccount) GetObservation

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

GetObservation of this DcdbAccount

func (*DcdbAccount) GetParameters

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

GetParameters of this DcdbAccount

func (*DcdbAccount) GetProviderConfigReference

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

GetProviderConfigReference of this DcdbAccount.

func (*DcdbAccount) GetProviderReference

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

GetProviderReference of this DcdbAccount. Deprecated: Use GetProviderConfigReference.

func (*DcdbAccount) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DcdbAccount.

func (*DcdbAccount) GetTerraformResourceType

func (mg *DcdbAccount) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DcdbAccount

func (*DcdbAccount) GetTerraformSchemaVersion

func (tr *DcdbAccount) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DcdbAccount) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DcdbAccount.

func (*DcdbAccount) LateInitialize

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

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

func (*DcdbAccount) ResolveReferences

func (mg *DcdbAccount) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this DcdbAccount.

func (*DcdbAccount) SetConditions

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

SetConditions of this DcdbAccount.

func (*DcdbAccount) SetDeletionPolicy

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

SetDeletionPolicy of this DcdbAccount.

func (*DcdbAccount) SetObservation

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

SetObservation for this DcdbAccount

func (*DcdbAccount) SetParameters

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

SetParameters for this DcdbAccount

func (*DcdbAccount) SetProviderConfigReference

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

SetProviderConfigReference of this DcdbAccount.

func (*DcdbAccount) SetProviderReference

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

SetProviderReference of this DcdbAccount. Deprecated: Use SetProviderConfigReference.

func (*DcdbAccount) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DcdbAccount.

func (*DcdbAccount) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DcdbAccount.

type DcdbAccountList

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

DcdbAccountList contains a list of DcdbAccounts

func (*DcdbAccountList) DeepCopy

func (in *DcdbAccountList) DeepCopy() *DcdbAccountList

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

func (*DcdbAccountList) DeepCopyInto

func (in *DcdbAccountList) DeepCopyInto(out *DcdbAccountList)

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

func (*DcdbAccountList) DeepCopyObject

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

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

func (*DcdbAccountList) GetItems

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

GetItems of this DcdbAccountList.

type DcdbAccountObservation

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

func (*DcdbAccountObservation) DeepCopy

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

func (*DcdbAccountObservation) DeepCopyInto

func (in *DcdbAccountObservation) DeepCopyInto(out *DcdbAccountObservation)

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

type DcdbAccountParameters

type DcdbAccountParameters struct {

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

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

	// instance id.
	// +crossplane:generate:reference:type=HourdbInstance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// +kubebuilder:validation:Optional
	InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"`

	// max user connections.
	// +kubebuilder:validation:Optional
	MaxUserConnections *float64 `json:"maxUserConnections,omitempty" tf:"max_user_connections,omitempty"`

	// password.
	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// whether the account is readonly. 0 means not a readonly account.
	// +kubebuilder:validation:Optional
	ReadOnly *float64 `json:"readOnly,omitempty" tf:"read_only,omitempty"`

	// account name.
	// +kubebuilder:validation:Required
	UserName *string `json:"userName" tf:"user_name,omitempty"`
}

func (*DcdbAccountParameters) DeepCopy

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

func (*DcdbAccountParameters) DeepCopyInto

func (in *DcdbAccountParameters) DeepCopyInto(out *DcdbAccountParameters)

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

type DcdbAccountSpec

type DcdbAccountSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DcdbAccountParameters `json:"forProvider"`
}

DcdbAccountSpec defines the desired state of DcdbAccount

func (*DcdbAccountSpec) DeepCopy

func (in *DcdbAccountSpec) DeepCopy() *DcdbAccountSpec

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

func (*DcdbAccountSpec) DeepCopyInto

func (in *DcdbAccountSpec) DeepCopyInto(out *DcdbAccountSpec)

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

type DcdbAccountStatus

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

DcdbAccountStatus defines the observed state of DcdbAccount.

func (*DcdbAccountStatus) DeepCopy

func (in *DcdbAccountStatus) DeepCopy() *DcdbAccountStatus

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

func (*DcdbAccountStatus) DeepCopyInto

func (in *DcdbAccountStatus) DeepCopyInto(out *DcdbAccountStatus)

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

type HourdbInstance

type HourdbInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HourdbInstanceSpec   `json:"spec"`
	Status            HourdbInstanceStatus `json:"status,omitempty"`
}

HourdbInstance is the Schema for the HourdbInstances 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 (*HourdbInstance) DeepCopy

func (in *HourdbInstance) DeepCopy() *HourdbInstance

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

func (*HourdbInstance) DeepCopyInto

func (in *HourdbInstance) DeepCopyInto(out *HourdbInstance)

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

func (*HourdbInstance) DeepCopyObject

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

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

func (*HourdbInstance) GetCondition

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

GetCondition of this HourdbInstance.

func (*HourdbInstance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this HourdbInstance

func (*HourdbInstance) GetDeletionPolicy

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

GetDeletionPolicy of this HourdbInstance.

func (*HourdbInstance) GetID

func (tr *HourdbInstance) GetID() string

GetID returns ID of underlying Terraform resource of this HourdbInstance

func (*HourdbInstance) GetObservation

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

GetObservation of this HourdbInstance

func (*HourdbInstance) GetParameters

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

GetParameters of this HourdbInstance

func (*HourdbInstance) GetProviderConfigReference

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

GetProviderConfigReference of this HourdbInstance.

func (*HourdbInstance) GetProviderReference

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

GetProviderReference of this HourdbInstance. Deprecated: Use GetProviderConfigReference.

func (*HourdbInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this HourdbInstance.

func (*HourdbInstance) GetTerraformResourceType

func (mg *HourdbInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HourdbInstance

func (*HourdbInstance) GetTerraformSchemaVersion

func (tr *HourdbInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HourdbInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HourdbInstance.

func (*HourdbInstance) LateInitialize

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

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

func (*HourdbInstance) ResolveReferences

func (mg *HourdbInstance) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this HourdbInstance.

func (*HourdbInstance) SetConditions

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

SetConditions of this HourdbInstance.

func (*HourdbInstance) SetDeletionPolicy

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

SetDeletionPolicy of this HourdbInstance.

func (*HourdbInstance) SetObservation

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

SetObservation for this HourdbInstance

func (*HourdbInstance) SetParameters

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

SetParameters for this HourdbInstance

func (*HourdbInstance) SetProviderConfigReference

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

SetProviderConfigReference of this HourdbInstance.

func (*HourdbInstance) SetProviderReference

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

SetProviderReference of this HourdbInstance. Deprecated: Use SetProviderConfigReference.

func (*HourdbInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this HourdbInstance.

func (*HourdbInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HourdbInstance.

type HourdbInstanceList

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

HourdbInstanceList contains a list of HourdbInstances

func (*HourdbInstanceList) DeepCopy

func (in *HourdbInstanceList) DeepCopy() *HourdbInstanceList

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

func (*HourdbInstanceList) DeepCopyInto

func (in *HourdbInstanceList) DeepCopyInto(out *HourdbInstanceList)

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

func (*HourdbInstanceList) DeepCopyObject

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

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

func (*HourdbInstanceList) GetItems

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

GetItems of this HourdbInstanceList.

type HourdbInstanceObservation

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

func (*HourdbInstanceObservation) DeepCopy

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

func (*HourdbInstanceObservation) DeepCopyInto

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

type HourdbInstanceParameters

type HourdbInstanceParameters struct {

	// db engine version, default to Percona 5.7.17.
	// +kubebuilder:validation:Optional
	DBVersionID *string `json:"dbVersionId,omitempty" tf:"db_version_id,omitempty"`

	// name of this instance.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// project id.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// resource tags.
	// +kubebuilder:validation:Optional
	ResourceTags []ResourceTagsParameters `json:"resourceTags,omitempty" tf:"resource_tags,omitempty"`

	// security group id.
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// instance shard count.
	// +kubebuilder:validation:Required
	ShardCount *float64 `json:"shardCount" tf:"shard_count,omitempty"`

	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// +kubebuilder:validation:Required
	ShardMemory *float64 `json:"shardMemory" tf:"shard_memory,omitempty"`

	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	// +kubebuilder:validation:Required
	ShardNodeCount *float64 `json:"shardNodeCount" tf:"shard_node_count,omitempty"`

	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	// +kubebuilder:validation:Required
	ShardStorage *float64 `json:"shardStorage" tf:"shard_storage,omitempty"`

	// subnet id, it's required when vpcId is set.
	// +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:"-"`

	// vpc id.
	// +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:"-"`

	// available zone.
	// +kubebuilder:validation:Optional
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*HourdbInstanceParameters) DeepCopy

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

func (*HourdbInstanceParameters) DeepCopyInto

func (in *HourdbInstanceParameters) DeepCopyInto(out *HourdbInstanceParameters)

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

type HourdbInstanceSpec

type HourdbInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     HourdbInstanceParameters `json:"forProvider"`
}

HourdbInstanceSpec defines the desired state of HourdbInstance

func (*HourdbInstanceSpec) DeepCopy

func (in *HourdbInstanceSpec) DeepCopy() *HourdbInstanceSpec

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

func (*HourdbInstanceSpec) DeepCopyInto

func (in *HourdbInstanceSpec) DeepCopyInto(out *HourdbInstanceSpec)

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

type HourdbInstanceStatus

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

HourdbInstanceStatus defines the observed state of HourdbInstance.

func (*HourdbInstanceStatus) DeepCopy

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

func (*HourdbInstanceStatus) DeepCopyInto

func (in *HourdbInstanceStatus) DeepCopyInto(out *HourdbInstanceStatus)

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

type ResourceTagsObservation

type ResourceTagsObservation struct {
}

func (*ResourceTagsObservation) DeepCopy

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

func (*ResourceTagsObservation) DeepCopyInto

func (in *ResourceTagsObservation) DeepCopyInto(out *ResourceTagsObservation)

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

type ResourceTagsParameters

type ResourceTagsParameters struct {

	// tag key.
	// +kubebuilder:validation:Required
	TagKey *string `json:"tagKey" tf:"tag_key,omitempty"`

	// tag value.
	// +kubebuilder:validation:Required
	TagValue *string `json:"tagValue" tf:"tag_value,omitempty"`
}

func (*ResourceTagsParameters) DeepCopy

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

func (*ResourceTagsParameters) DeepCopyInto

func (in *ResourceTagsParameters) DeepCopyInto(out *ResourceTagsParameters)

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

type SecurityGroupAttachment

type SecurityGroupAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SecurityGroupAttachmentSpec   `json:"spec"`
	Status            SecurityGroupAttachmentStatus `json:"status,omitempty"`
}

SecurityGroupAttachment is the Schema for the SecurityGroupAttachments 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 (*SecurityGroupAttachment) DeepCopy

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

func (*SecurityGroupAttachment) DeepCopyInto

func (in *SecurityGroupAttachment) DeepCopyInto(out *SecurityGroupAttachment)

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

func (*SecurityGroupAttachment) DeepCopyObject

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

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

func (*SecurityGroupAttachment) GetCondition

GetCondition of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) GetID

func (tr *SecurityGroupAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetObservation

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

GetObservation of this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetParameters

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

GetParameters of this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) GetProviderReference

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

GetProviderReference of this SecurityGroupAttachment. Deprecated: Use GetProviderConfigReference.

func (*SecurityGroupAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) GetTerraformResourceType

func (mg *SecurityGroupAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecurityGroupAttachment

func (*SecurityGroupAttachment) GetTerraformSchemaVersion

func (tr *SecurityGroupAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecurityGroupAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) LateInitialize

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

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

func (*SecurityGroupAttachment) ResolveReferences

func (mg *SecurityGroupAttachment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetConditions

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

SetConditions of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetObservation

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

SetObservation for this SecurityGroupAttachment

func (*SecurityGroupAttachment) SetParameters

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

SetParameters for this SecurityGroupAttachment

func (*SecurityGroupAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetProviderReference

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

SetProviderReference of this SecurityGroupAttachment. Deprecated: Use SetProviderConfigReference.

func (*SecurityGroupAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SecurityGroupAttachment.

func (*SecurityGroupAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SecurityGroupAttachment.

type SecurityGroupAttachmentList

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

SecurityGroupAttachmentList contains a list of SecurityGroupAttachments

func (*SecurityGroupAttachmentList) DeepCopy

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

func (*SecurityGroupAttachmentList) DeepCopyInto

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

func (*SecurityGroupAttachmentList) DeepCopyObject

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

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

func (*SecurityGroupAttachmentList) GetItems

GetItems of this SecurityGroupAttachmentList.

type SecurityGroupAttachmentObservation

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

func (*SecurityGroupAttachmentObservation) DeepCopy

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

func (*SecurityGroupAttachmentObservation) DeepCopyInto

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

type SecurityGroupAttachmentParameters

type SecurityGroupAttachmentParameters struct {

	// attached instance id.
	// +crossplane:generate:reference:type=HourdbInstance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// +kubebuilder:validation:Optional
	InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"`

	// security group id.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.SecurityGroup
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`
}

func (*SecurityGroupAttachmentParameters) DeepCopy

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

func (*SecurityGroupAttachmentParameters) DeepCopyInto

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

type SecurityGroupAttachmentSpec

type SecurityGroupAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SecurityGroupAttachmentParameters `json:"forProvider"`
}

SecurityGroupAttachmentSpec defines the desired state of SecurityGroupAttachment

func (*SecurityGroupAttachmentSpec) DeepCopy

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

func (*SecurityGroupAttachmentSpec) DeepCopyInto

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

type SecurityGroupAttachmentStatus

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

SecurityGroupAttachmentStatus defines the observed state of SecurityGroupAttachment.

func (*SecurityGroupAttachmentStatus) DeepCopy

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

func (*SecurityGroupAttachmentStatus) 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