v1alpha1

package
v0.7.1 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	DomainInstance_Kind             = "DomainInstance"
	DomainInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DomainInstance_Kind}.String()
	DomainInstance_KindAPIVersion   = DomainInstance_Kind + "." + CRDGroupVersion.String()
	DomainInstance_GroupVersionKind = CRDGroupVersion.WithKind(DomainInstance_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 (
	Record_Kind             = "Record"
	Record_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Record_Kind}.String()
	Record_KindAPIVersion   = Record_Kind + "." + CRDGroupVersion.String()
	Record_GroupVersionKind = CRDGroupVersion.WithKind(Record_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DomainInstance

type DomainInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainInstanceSpec   `json:"spec"`
	Status            DomainInstanceStatus `json:"status,omitempty"`
}

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

func (in *DomainInstance) DeepCopy() *DomainInstance

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

func (*DomainInstance) DeepCopyInto

func (in *DomainInstance) DeepCopyInto(out *DomainInstance)

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

func (*DomainInstance) DeepCopyObject

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

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

func (*DomainInstance) GetCondition

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

GetCondition of this DomainInstance.

func (*DomainInstance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DomainInstance

func (*DomainInstance) GetDeletionPolicy

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

GetDeletionPolicy of this DomainInstance.

func (*DomainInstance) GetID

func (tr *DomainInstance) GetID() string

GetID returns ID of underlying Terraform resource of this DomainInstance

func (*DomainInstance) GetObservation

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

GetObservation of this DomainInstance

func (*DomainInstance) GetParameters

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

GetParameters of this DomainInstance

func (*DomainInstance) GetProviderConfigReference

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

GetProviderConfigReference of this DomainInstance.

func (*DomainInstance) GetProviderReference

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

GetProviderReference of this DomainInstance. Deprecated: Use GetProviderConfigReference.

func (*DomainInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DomainInstance.

func (*DomainInstance) GetTerraformResourceType

func (mg *DomainInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DomainInstance

func (*DomainInstance) GetTerraformSchemaVersion

func (tr *DomainInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DomainInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DomainInstance.

func (*DomainInstance) LateInitialize

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

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

func (*DomainInstance) SetConditions

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

SetConditions of this DomainInstance.

func (*DomainInstance) SetDeletionPolicy

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

SetDeletionPolicy of this DomainInstance.

func (*DomainInstance) SetObservation

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

SetObservation for this DomainInstance

func (*DomainInstance) SetParameters

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

SetParameters for this DomainInstance

func (*DomainInstance) SetProviderConfigReference

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

SetProviderConfigReference of this DomainInstance.

func (*DomainInstance) SetProviderReference

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

SetProviderReference of this DomainInstance. Deprecated: Use SetProviderConfigReference.

func (*DomainInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DomainInstance.

func (*DomainInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DomainInstance.

type DomainInstanceList

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

DomainInstanceList contains a list of DomainInstances

func (*DomainInstanceList) DeepCopy

func (in *DomainInstanceList) DeepCopy() *DomainInstanceList

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

func (*DomainInstanceList) DeepCopyInto

func (in *DomainInstanceList) DeepCopyInto(out *DomainInstanceList)

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

func (*DomainInstanceList) DeepCopyObject

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

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

func (*DomainInstanceList) GetItems

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

GetItems of this DomainInstanceList.

type DomainInstanceObservation

type DomainInstanceObservation struct {
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*DomainInstanceObservation) DeepCopy

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

func (*DomainInstanceObservation) DeepCopyInto

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

type DomainInstanceParameters

type DomainInstanceParameters struct {

	// The Domain.
	// +kubebuilder:validation:Required
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// The Group Id of Domain.
	// +kubebuilder:validation:Optional
	GroupID *float64 `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Whether to Mark the Domain.
	// +kubebuilder:validation:Optional
	IsMark *string `json:"isMark,omitempty" tf:"is_mark,omitempty"`

	// The remark of Domain.
	// +kubebuilder:validation:Optional
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// The status of Domain.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*DomainInstanceParameters) DeepCopy

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

func (*DomainInstanceParameters) DeepCopyInto

func (in *DomainInstanceParameters) DeepCopyInto(out *DomainInstanceParameters)

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

type DomainInstanceSpec

type DomainInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DomainInstanceParameters `json:"forProvider"`
}

DomainInstanceSpec defines the desired state of DomainInstance

func (*DomainInstanceSpec) DeepCopy

func (in *DomainInstanceSpec) DeepCopy() *DomainInstanceSpec

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

func (*DomainInstanceSpec) DeepCopyInto

func (in *DomainInstanceSpec) DeepCopyInto(out *DomainInstanceSpec)

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

type DomainInstanceStatus

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

DomainInstanceStatus defines the observed state of DomainInstance.

func (*DomainInstanceStatus) DeepCopy

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

func (*DomainInstanceStatus) DeepCopyInto

func (in *DomainInstanceStatus) DeepCopyInto(out *DomainInstanceStatus)

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

type Record

type Record struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RecordSpec   `json:"spec"`
	Status            RecordStatus `json:"status,omitempty"`
}

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

func (in *Record) DeepCopy() *Record

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

func (*Record) DeepCopyInto

func (in *Record) DeepCopyInto(out *Record)

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

func (*Record) DeepCopyObject

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

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

func (*Record) GetCondition

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

GetCondition of this Record.

func (*Record) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Record

func (*Record) GetDeletionPolicy

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

GetDeletionPolicy of this Record.

func (*Record) GetID

func (tr *Record) GetID() string

GetID returns ID of underlying Terraform resource of this Record

func (*Record) GetObservation

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

GetObservation of this Record

func (*Record) GetParameters

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

GetParameters of this Record

func (*Record) GetProviderConfigReference

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

GetProviderConfigReference of this Record.

func (*Record) GetProviderReference

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

GetProviderReference of this Record. Deprecated: Use GetProviderConfigReference.

func (*Record) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Record.

func (*Record) GetTerraformResourceType

func (mg *Record) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Record

func (*Record) GetTerraformSchemaVersion

func (tr *Record) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Record) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Record.

func (*Record) LateInitialize

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

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

func (*Record) SetConditions

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

SetConditions of this Record.

func (*Record) SetDeletionPolicy

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

SetDeletionPolicy of this Record.

func (*Record) SetObservation

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

SetObservation for this Record

func (*Record) SetParameters

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

SetParameters for this Record

func (*Record) SetProviderConfigReference

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

SetProviderConfigReference of this Record.

func (*Record) SetProviderReference

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

SetProviderReference of this Record. Deprecated: Use SetProviderConfigReference.

func (*Record) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Record.

func (*Record) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Record.

type RecordList

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

RecordList contains a list of Records

func (*RecordList) DeepCopy

func (in *RecordList) DeepCopy() *RecordList

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

func (*RecordList) DeepCopyInto

func (in *RecordList) DeepCopyInto(out *RecordList)

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

func (*RecordList) DeepCopyObject

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

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

func (*RecordList) GetItems

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

GetItems of this RecordList.

type RecordObservation

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

	MonitorStatus *string `json:"monitorStatus,omitempty" tf:"monitor_status,omitempty"`
}

func (*RecordObservation) DeepCopy

func (in *RecordObservation) DeepCopy() *RecordObservation

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

func (*RecordObservation) DeepCopyInto

func (in *RecordObservation) DeepCopyInto(out *RecordObservation)

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

type RecordParameters

type RecordParameters struct {

	// The Domain.
	// +kubebuilder:validation:Required
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// MX priority, valid when the record type is MX, range 1-20. Note: must set when record type equal MX.
	// +kubebuilder:validation:Optional
	Mx *float64 `json:"mx,omitempty" tf:"mx,omitempty"`

	// The record line.
	// +kubebuilder:validation:Required
	RecordLine *string `json:"recordLine" tf:"record_line,omitempty"`

	// The record type.
	// +kubebuilder:validation:Required
	RecordType *string `json:"recordType" tf:"record_type,omitempty"`

	// The Remark of record.
	// +kubebuilder:validation:Optional
	Remark *string `json:"remark,omitempty" tf:"remark,omitempty"`

	// Records the initial state, with values ranging from ENABLE and DISABLE. The default is ENABLE, and if DISABLE is passed in, resolution will not take effect and the limits of load balancing will not be verified.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The host records, default value is `@`.
	// +kubebuilder:validation:Optional
	SubDomain *string `json:"subDomain,omitempty" tf:"sub_domain,omitempty"`

	// TTL, the range is 1-604800, and the minimum value of different levels of domain names is different. Default is 600.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// The record value.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`

	// Weight information. An integer from 0 to 100. Only enterprise VIP domain names are available, 0 means off, does not pass this parameter, means that the weight information is not set. Default is 0.
	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RecordParameters) DeepCopy

func (in *RecordParameters) DeepCopy() *RecordParameters

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

func (*RecordParameters) DeepCopyInto

func (in *RecordParameters) DeepCopyInto(out *RecordParameters)

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

type RecordSpec

type RecordSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RecordParameters `json:"forProvider"`
}

RecordSpec defines the desired state of Record

func (*RecordSpec) DeepCopy

func (in *RecordSpec) DeepCopy() *RecordSpec

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

func (*RecordSpec) DeepCopyInto

func (in *RecordSpec) DeepCopyInto(out *RecordSpec)

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

type RecordStatus

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

RecordStatus defines the observed state of Record.

func (*RecordStatus) DeepCopy

func (in *RecordStatus) DeepCopy() *RecordStatus

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

func (*RecordStatus) DeepCopyInto

func (in *RecordStatus) DeepCopyInto(out *RecordStatus)

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