Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dns.digitalocean.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Domain
- func (in *Domain) DeepCopy() *Domain
- func (in *Domain) DeepCopyInto(out *Domain)
- func (in *Domain) DeepCopyObject() runtime.Object
- func (mg *Domain) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Domain) GetConnectionDetailsMapping() map[string]string
- func (mg *Domain) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Domain) GetID() string
- func (tr *Domain) GetInitParameters() (map[string]any, error)
- func (mg *Domain) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Domain) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Domain) GetObservation() (map[string]any, error)
- func (tr *Domain) GetParameters() (map[string]any, error)
- func (mg *Domain) GetProviderConfigReference() *xpv1.Reference
- func (mg *Domain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Domain) GetTerraformResourceType() string
- func (tr *Domain) GetTerraformSchemaVersion() int
- func (mg *Domain) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Domain) Hub()
- func (tr *Domain) LateInitialize(attrs []byte) (bool, error)
- func (mg *Domain) SetConditions(c ...xpv1.Condition)
- func (mg *Domain) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Domain) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Domain) SetObservation(obs map[string]any) error
- func (tr *Domain) SetParameters(params map[string]any) error
- func (mg *Domain) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Domain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Domain) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DomainInitParameters
- type DomainList
- type DomainObservation
- type DomainParameters
- type DomainSpec
- type DomainStatus
- type Record
- func (in *Record) DeepCopy() *Record
- func (in *Record) DeepCopyInto(out *Record)
- func (in *Record) DeepCopyObject() runtime.Object
- func (mg *Record) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Record) GetConnectionDetailsMapping() map[string]string
- func (mg *Record) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Record) GetID() string
- func (tr *Record) GetInitParameters() (map[string]any, error)
- func (mg *Record) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Record) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Record) GetObservation() (map[string]any, error)
- func (tr *Record) GetParameters() (map[string]any, error)
- func (mg *Record) GetProviderConfigReference() *xpv1.Reference
- func (mg *Record) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Record) GetTerraformResourceType() string
- func (tr *Record) GetTerraformSchemaVersion() int
- func (mg *Record) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Record) Hub()
- func (tr *Record) LateInitialize(attrs []byte) (bool, error)
- func (mg *Record) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Record) SetConditions(c ...xpv1.Condition)
- func (mg *Record) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Record) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Record) SetObservation(obs map[string]any) error
- func (tr *Record) SetParameters(params map[string]any) error
- func (mg *Record) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Record) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Record) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RecordInitParameters
- type RecordList
- type RecordObservation
- type RecordParameters
- type RecordSpec
- type RecordStatus
Constants ¶
const ( CRDGroup = "dns.digitalocean.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Domain_Kind = "Domain" Domain_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Domain_Kind}.String() Domain_KindAPIVersion = Domain_Kind + "." + CRDGroupVersion.String() Domain_GroupVersionKind = CRDGroupVersion.WithKind(Domain_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 )
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 Domain ¶
type Domain 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec DomainSpec `json:"spec"` Status DomainStatus `json:"status,omitempty"` }
Domain is the Schema for the Domains API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}
func (*Domain) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Domain.
func (*Domain) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Domain) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Domain) GetCondition ¶
func (mg *Domain) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Domain.
func (*Domain) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Domain
func (*Domain) GetDeletionPolicy ¶
func (mg *Domain) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Domain.
func (*Domain) GetInitParameters ¶
GetInitParameters of this Domain
func (*Domain) GetManagementPolicies ¶
func (mg *Domain) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Domain.
func (*Domain) GetMergedParameters ¶ added in v0.2.0
GetInitParameters of this Domain
func (*Domain) GetObservation ¶
GetObservation of this Domain
func (*Domain) GetParameters ¶
GetParameters of this Domain
func (*Domain) GetProviderConfigReference ¶
GetProviderConfigReference of this Domain.
func (*Domain) GetPublishConnectionDetailsTo ¶
func (mg *Domain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Domain.
func (*Domain) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Domain
func (*Domain) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Domain) GetWriteConnectionSecretToReference ¶
func (mg *Domain) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Domain.
func (*Domain) Hub ¶ added in v0.2.0
func (tr *Domain) Hub()
Hub marks this type as a conversion hub.
func (*Domain) LateInitialize ¶
LateInitialize this Domain using its observed tfState. returns True if there are any spec changes for the resource.
func (*Domain) SetConditions ¶
SetConditions of this Domain.
func (*Domain) SetDeletionPolicy ¶
func (mg *Domain) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Domain.
func (*Domain) SetManagementPolicies ¶
func (mg *Domain) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Domain.
func (*Domain) SetObservation ¶
SetObservation for this Domain
func (*Domain) SetParameters ¶
SetParameters for this Domain
func (*Domain) SetProviderConfigReference ¶
SetProviderConfigReference of this Domain.
func (*Domain) SetPublishConnectionDetailsTo ¶
func (mg *Domain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Domain.
func (*Domain) SetWriteConnectionSecretToReference ¶
func (mg *Domain) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Domain.
type DomainInitParameters ¶
type DomainInitParameters struct { // The IP address of the domain. If specified, this IP // is used to created an initial A record for the domain. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The name of the domain Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*DomainInitParameters) DeepCopy ¶
func (in *DomainInitParameters) DeepCopy() *DomainInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainInitParameters.
func (*DomainInitParameters) DeepCopyInto ¶
func (in *DomainInitParameters) DeepCopyInto(out *DomainInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainList ¶
type DomainList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Domain `json:"items"` }
DomainList contains a list of Domains
func (*DomainList) DeepCopy ¶
func (in *DomainList) DeepCopy() *DomainList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainList.
func (*DomainList) DeepCopyInto ¶
func (in *DomainList) DeepCopyInto(out *DomainList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DomainList) DeepCopyObject ¶
func (in *DomainList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DomainList) GetItems ¶
func (l *DomainList) GetItems() []resource.Managed
GetItems of this DomainList.
type DomainObservation ¶
type DomainObservation struct { // The name of the domain ID *string `json:"id,omitempty" tf:"id,omitempty"` // The IP address of the domain. If specified, this IP // is used to created an initial A record for the domain. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The name of the domain Name *string `json:"name,omitempty" tf:"name,omitempty"` // The TTL value of the domain TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` // The uniform resource name of the domain Urn *string `json:"urn,omitempty" tf:"urn,omitempty"` }
func (*DomainObservation) DeepCopy ¶
func (in *DomainObservation) DeepCopy() *DomainObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainObservation.
func (*DomainObservation) DeepCopyInto ¶
func (in *DomainObservation) DeepCopyInto(out *DomainObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainParameters ¶
type DomainParameters struct { // The IP address of the domain. If specified, this IP // is used to created an initial A record for the domain. // +kubebuilder:validation:Optional IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The name of the domain // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*DomainParameters) DeepCopy ¶
func (in *DomainParameters) DeepCopy() *DomainParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainParameters.
func (*DomainParameters) DeepCopyInto ¶
func (in *DomainParameters) DeepCopyInto(out *DomainParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainSpec ¶
type DomainSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DomainParameters `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 DomainInitParameters `json:"initProvider,omitempty"` }
DomainSpec defines the desired state of Domain
func (*DomainSpec) DeepCopy ¶
func (in *DomainSpec) DeepCopy() *DomainSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSpec.
func (*DomainSpec) DeepCopyInto ¶
func (in *DomainSpec) DeepCopyInto(out *DomainSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainStatus ¶
type DomainStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DomainObservation `json:"atProvider,omitempty"` }
DomainStatus defines the observed state of Domain.
func (*DomainStatus) DeepCopy ¶
func (in *DomainStatus) DeepCopy() *DomainStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainStatus.
func (*DomainStatus) DeepCopyInto ¶
func (in *DomainStatus) DeepCopyInto(out *DomainStatus)
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter" Spec RecordSpec `json:"spec"` Status RecordStatus `json:"status,omitempty"` }
Record is the Schema for the Records API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}
func (*Record) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Record.
func (*Record) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Record) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Record
func (*Record) GetDeletionPolicy ¶
func (mg *Record) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Record.
func (*Record) GetInitParameters ¶
GetInitParameters of this Record
func (*Record) GetManagementPolicies ¶
func (mg *Record) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Record.
func (*Record) GetMergedParameters ¶ added in v0.2.0
GetInitParameters of this Record
func (*Record) GetObservation ¶
GetObservation of this Record
func (*Record) GetParameters ¶
GetParameters of this Record
func (*Record) GetProviderConfigReference ¶
GetProviderConfigReference of this Record.
func (*Record) GetPublishConnectionDetailsTo ¶
func (mg *Record) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Record.
func (*Record) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Record
func (*Record) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Record) GetWriteConnectionSecretToReference ¶
func (mg *Record) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Record.
func (*Record) Hub ¶ added in v0.2.0
func (tr *Record) Hub()
Hub marks this type as a conversion hub.
func (*Record) LateInitialize ¶
LateInitialize this Record using its observed tfState. returns True if there are any spec changes for the resource.
func (*Record) ResolveReferences ¶
ResolveReferences of this Record.
func (*Record) SetConditions ¶
SetConditions of this Record.
func (*Record) SetDeletionPolicy ¶
func (mg *Record) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Record.
func (*Record) SetManagementPolicies ¶
func (mg *Record) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Record.
func (*Record) SetObservation ¶
SetObservation for this Record
func (*Record) SetParameters ¶
SetParameters for this Record
func (*Record) SetProviderConfigReference ¶
SetProviderConfigReference of this Record.
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 RecordInitParameters ¶
type RecordInitParameters struct { // The domain to add the record to. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/dns/v1alpha1.Domain Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` // Reference to a Domain in dns to populate domain. // +kubebuilder:validation:Optional DomainRef *v1.Reference `json:"domainRef,omitempty" tf:"-"` // Selector for a Domain in dns to populate domain. // +kubebuilder:validation:Optional DomainSelector *v1.Selector `json:"domainSelector,omitempty" tf:"-"` // The flags of the record. Only valid when type is CAA. Must be between 0 and 255. Flags *float64 `json:"flags,omitempty" tf:"flags,omitempty"` // The hostname of the record. Use @ for records on domain's name itself. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The port of the record. Only valid when type is SRV. Must be between 1 and 65535. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // The priority of the record. Only valid when type is MX or SRV. Must be between 0 and 65535. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // The time to live for the record, in seconds. Must be at least 0. Defaults to 1800. TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` // The tag of the record. Only valid when type is CAA. Must be one of issue, issuewild, or iodef. Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` // The type of record. Must be one of A, AAAA, CAA, CNAME, MX, NS, TXT, or SRV. Type *string `json:"type,omitempty" tf:"type,omitempty"` // The value of the record. Value *string `json:"value,omitempty" tf:"value,omitempty"` // The weight of the record. Only valid when type is SRV. Must be between 0 and 65535. Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"` }
func (*RecordInitParameters) DeepCopy ¶
func (in *RecordInitParameters) DeepCopy() *RecordInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordInitParameters.
func (*RecordInitParameters) DeepCopyInto ¶
func (in *RecordInitParameters) DeepCopyInto(out *RecordInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // The domain to add the record to. Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` // The flags of the record. Only valid when type is CAA. Must be between 0 and 255. Flags *float64 `json:"flags,omitempty" tf:"flags,omitempty"` // The FQDN of the record Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` // The record ID ID *string `json:"id,omitempty" tf:"id,omitempty"` // The hostname of the record. Use @ for records on domain's name itself. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The port of the record. Only valid when type is SRV. Must be between 1 and 65535. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // The priority of the record. Only valid when type is MX or SRV. Must be between 0 and 65535. Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // The time to live for the record, in seconds. Must be at least 0. Defaults to 1800. TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` // The tag of the record. Only valid when type is CAA. Must be one of issue, issuewild, or iodef. Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` // The type of record. Must be one of A, AAAA, CAA, CNAME, MX, NS, TXT, or SRV. Type *string `json:"type,omitempty" tf:"type,omitempty"` // The value of the record. Value *string `json:"value,omitempty" tf:"value,omitempty"` // The weight of the record. Only valid when type is SRV. Must be between 0 and 65535. Weight *float64 `json:"weight,omitempty" tf:"weight,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 to add the record to. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/dns/v1alpha1.Domain // +kubebuilder:validation:Optional Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` // Reference to a Domain in dns to populate domain. // +kubebuilder:validation:Optional DomainRef *v1.Reference `json:"domainRef,omitempty" tf:"-"` // Selector for a Domain in dns to populate domain. // +kubebuilder:validation:Optional DomainSelector *v1.Selector `json:"domainSelector,omitempty" tf:"-"` // The flags of the record. Only valid when type is CAA. Must be between 0 and 255. // +kubebuilder:validation:Optional Flags *float64 `json:"flags,omitempty" tf:"flags,omitempty"` // The hostname of the record. Use @ for records on domain's name itself. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The port of the record. Only valid when type is SRV. Must be between 1 and 65535. // +kubebuilder:validation:Optional Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // The priority of the record. Only valid when type is MX or SRV. Must be between 0 and 65535. // +kubebuilder:validation:Optional Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` // The time to live for the record, in seconds. Must be at least 0. Defaults to 1800. // +kubebuilder:validation:Optional TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"` // The tag of the record. Only valid when type is CAA. Must be one of issue, issuewild, or iodef. // +kubebuilder:validation:Optional Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` // The type of record. Must be one of A, AAAA, CAA, CNAME, MX, NS, TXT, or SRV. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` // The value of the record. // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` // The weight of the record. Only valid when type is SRV. Must be between 0 and 65535. // +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"` // 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 RecordInitParameters `json:"initProvider,omitempty"` }
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.