v1alpha1

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=domain.linode.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "domain.linode.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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.

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 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.domain) || (has(self.initProvider) && has(self.initProvider.domain))",message="spec.forProvider.domain 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"
	Spec   DomainSpec   `json:"spec"`
	Status DomainStatus `json:"status,omitempty"`
}

Domain is the Schema for the Domains API. <no value> +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,linode}

func (*Domain) DeepCopy

func (in *Domain) DeepCopy() *Domain

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

func (*Domain) DeepCopyInto

func (in *Domain) DeepCopyInto(out *Domain)

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

func (*Domain) DeepCopyObject

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

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

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

GetConnectionDetailsMapping for this Domain

func (*Domain) GetDeletionPolicy

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

GetDeletionPolicy of this Domain.

func (*Domain) GetID

func (tr *Domain) GetID() string

GetID returns ID of underlying Terraform resource of this Domain

func (*Domain) GetInitParameters added in v0.0.16

func (tr *Domain) GetInitParameters() (map[string]any, error)

GetInitParameters of this Domain

func (*Domain) GetManagementPolicies added in v0.0.16

func (mg *Domain) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Domain.

func (*Domain) GetMergedParameters added in v0.0.16

func (tr *Domain) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Domain

func (*Domain) GetObservation

func (tr *Domain) GetObservation() (map[string]any, error)

GetObservation of this Domain

func (*Domain) GetParameters

func (tr *Domain) GetParameters() (map[string]any, error)

GetParameters of this Domain

func (*Domain) GetProviderConfigReference

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

GetProviderConfigReference of this Domain.

func (*Domain) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Domain.

func (*Domain) GetTerraformResourceType

func (mg *Domain) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Domain

func (*Domain) GetTerraformSchemaVersion

func (tr *Domain) GetTerraformSchemaVersion() int

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.0.16

func (tr *Domain) Hub()

Hub marks this type as a conversion hub.

func (*Domain) LateInitialize

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

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

func (*Domain) SetConditions

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

SetConditions of this Domain.

func (*Domain) SetDeletionPolicy

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

SetDeletionPolicy of this Domain.

func (*Domain) SetManagementPolicies added in v0.0.16

func (mg *Domain) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Domain.

func (*Domain) SetObservation

func (tr *Domain) SetObservation(obs map[string]any) error

SetObservation for this Domain

func (*Domain) SetParameters

func (tr *Domain) SetParameters(params map[string]any) error

SetParameters for this Domain

func (*Domain) SetProviderConfigReference

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

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 added in v0.0.16

type DomainInitParameters struct {

	// The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
	// +listType=set
	AxfrIps []*string `json:"axfrIps,omitempty" tf:"axfr_ips,omitempty"`

	// A description for this Domain. This is for display purposes only.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The amount of time in seconds that may pass before this Domain is no longer Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	ExpireSec *float64 `json:"expireSec,omitempty" tf:"expire_sec,omitempty"`

	// The group this Domain belongs to. This is for display purposes only.
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// The IP addresses representing the master DNS for this Domain.
	// +listType=set
	MasterIps []*string `json:"masterIps,omitempty" tf:"master_ips,omitempty"`

	// The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RefreshSec *float64 `json:"refreshSec,omitempty" tf:"refresh_sec,omitempty"`

	// The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RetrySec *float64 `json:"retrySec,omitempty" tf:"retry_sec,omitempty"`

	// Start of Authority email address. This is required for master Domains.
	SoaEmail *string `json:"soaEmail,omitempty" tf:"soa_email,omitempty"`

	// Used to control whether this Domain is currently being rendered.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TTLSec *float64 `json:"ttlSec,omitempty" tf:"ttl_sec,omitempty"`

	// An array of tags applied to this object. Tags are for organizational purposes only.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*DomainInitParameters) DeepCopy added in v0.0.16

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

func (*DomainInitParameters) DeepCopyInto added in v0.0.16

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 list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
	// +listType=set
	AxfrIps []*string `json:"axfrIps,omitempty" tf:"axfr_ips,omitempty"`

	// A description for this Domain. This is for display purposes only.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The amount of time in seconds that may pass before this Domain is no longer Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	ExpireSec *float64 `json:"expireSec,omitempty" tf:"expire_sec,omitempty"`

	// The group this Domain belongs to. This is for display purposes only.
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

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

	// The IP addresses representing the master DNS for this Domain.
	// +listType=set
	MasterIps []*string `json:"masterIps,omitempty" tf:"master_ips,omitempty"`

	// The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RefreshSec *float64 `json:"refreshSec,omitempty" tf:"refresh_sec,omitempty"`

	// The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	RetrySec *float64 `json:"retrySec,omitempty" tf:"retry_sec,omitempty"`

	// Start of Authority email address. This is required for master Domains.
	SoaEmail *string `json:"soaEmail,omitempty" tf:"soa_email,omitempty"`

	// Used to control whether this Domain is currently being rendered.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TTLSec *float64 `json:"ttlSec,omitempty" tf:"ttl_sec,omitempty"`

	// An array of tags applied to this object. Tags are for organizational purposes only.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
	Type *string `json:"type,omitempty" tf:"type,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 list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
	// +kubebuilder:validation:Optional
	// +listType=set
	AxfrIps []*string `json:"axfrIps,omitempty" tf:"axfr_ips,omitempty"`

	// A description for this Domain. This is for display purposes only.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The amount of time in seconds that may pass before this Domain is no longer Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	// +kubebuilder:validation:Optional
	ExpireSec *float64 `json:"expireSec,omitempty" tf:"expire_sec,omitempty"`

	// The group this Domain belongs to. This is for display purposes only.
	// +kubebuilder:validation:Optional
	Group *string `json:"group,omitempty" tf:"group,omitempty"`

	// The IP addresses representing the master DNS for this Domain.
	// +kubebuilder:validation:Optional
	// +listType=set
	MasterIps []*string `json:"masterIps,omitempty" tf:"master_ips,omitempty"`

	// The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	// +kubebuilder:validation:Optional
	RefreshSec *float64 `json:"refreshSec,omitempty" tf:"refresh_sec,omitempty"`

	// The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	// +kubebuilder:validation:Optional
	RetrySec *float64 `json:"retrySec,omitempty" tf:"retry_sec,omitempty"`

	// Start of Authority email address. This is required for master Domains.
	// +kubebuilder:validation:Optional
	SoaEmail *string `json:"soaEmail,omitempty" tf:"soa_email,omitempty"`

	// Used to control whether this Domain is currently being rendered.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	// +kubebuilder:validation:Optional
	TTLSec *float64 `json:"ttlSec,omitempty" tf:"ttl_sec,omitempty"`

	// An array of tags applied to this object. Tags are for organizational purposes only.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,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.recordType) || (has(self.initProvider) && has(self.initProvider.recordType))",message="spec.forProvider.recordType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || (has(self.initProvider) && has(self.initProvider.target))",message="spec.forProvider.target is a required parameter"
	Spec   RecordSpec   `json:"spec"`
	Status RecordStatus `json:"status,omitempty"`
}

Record is the Schema for the Records API. Manages a Linode Domain Record. +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,linode}

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) GetInitParameters added in v0.0.16

func (tr *Record) GetInitParameters() (map[string]any, error)

GetInitParameters of this Record

func (*Record) GetManagementPolicies added in v0.0.16

func (mg *Record) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Record.

func (*Record) GetMergedParameters added in v0.0.16

func (tr *Record) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Record

func (*Record) GetObservation

func (tr *Record) GetObservation() (map[string]any, error)

GetObservation of this Record

func (*Record) GetParameters

func (tr *Record) GetParameters() (map[string]any, error)

GetParameters of this Record

func (*Record) GetProviderConfigReference

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

GetProviderConfigReference of this Record.

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) Hub added in v0.0.16

func (tr *Record) Hub()

Hub marks this type as a conversion hub.

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) ResolveReferences added in v0.0.1

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

ResolveReferences of this Record.

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) SetManagementPolicies added in v0.0.16

func (mg *Record) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Record.

func (*Record) SetObservation

func (tr *Record) SetObservation(obs map[string]any) error

SetObservation for this Record

func (*Record) SetParameters

func (tr *Record) SetParameters(params map[string]any) error

SetParameters for this Record

func (*Record) SetProviderConfigReference

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

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 added in v0.0.16

type RecordInitParameters struct {

	// The ID of the Domain to access.  Changing .
	// The ID of the Domain to access.
	// +crossplane:generate:reference:type=Domain
	DomainID *float64 `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// Reference to a Domain to populate domainId.
	// +kubebuilder:validation:Optional
	DomainIDRef *v1.Reference `json:"domainIdRef,omitempty" tf:"-"`

	// Selector for a Domain to populate domainId.
	// +kubebuilder:validation:Optional
	DomainIDSelector *v1.Selector `json:"domainIdSelector,omitempty" tf:"-"`

	// The name of this Record. Setting this is invalid for SRV records as it is generated by the API. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the subdomain being associated with an IP address.
	// The name of this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the subdomain being associated with an IP address. Generated for SRV records.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The port this Record points to.
	// The port this Record points to.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The priority of the target host. Lower values are preferred.
	// The priority of the target host. Lower values are preferred.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// The protocol this Record's service communicates with. Only valid for SRV records.
	// The protocol this Record's service communicates with. Only valid for SRV records.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address. See all supported record types here. Changing .
	// The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address.
	RecordType *string `json:"recordType,omitempty" tf:"record_type,omitempty"`

	// The service this Record identified. Only valid for SRV records.
	// The service this Record identified. Only valid for SRV records.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TTLSec *float64 `json:"ttlSec,omitempty" tf:"ttl_sec,omitempty"`

	// The tag portion of a CAA record. It is invalid to set this on other record types.
	// The tag portion of a CAA record. It is invalid to set this on other record types.
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.
	// The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// The relative weight of this Record. Higher values are preferred.
	// The relative weight of this Record. Higher values are preferred.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RecordInitParameters) DeepCopy added in v0.0.16

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

func (*RecordInitParameters) DeepCopyInto added in v0.0.16

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 ID of the Domain to access.  Changing .
	// The ID of the Domain to access.
	DomainID *float64 `json:"domainId,omitempty" tf:"domain_id,omitempty"`

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

	// The name of this Record. Setting this is invalid for SRV records as it is generated by the API. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the subdomain being associated with an IP address.
	// The name of this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the subdomain being associated with an IP address. Generated for SRV records.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The port this Record points to.
	// The port this Record points to.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The priority of the target host. Lower values are preferred.
	// The priority of the target host. Lower values are preferred.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// The protocol this Record's service communicates with. Only valid for SRV records.
	// The protocol this Record's service communicates with. Only valid for SRV records.
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address. See all supported record types here. Changing .
	// The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address.
	RecordType *string `json:"recordType,omitempty" tf:"record_type,omitempty"`

	// The service this Record identified. Only valid for SRV records.
	// The service this Record identified. Only valid for SRV records.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	TTLSec *float64 `json:"ttlSec,omitempty" tf:"ttl_sec,omitempty"`

	// The tag portion of a CAA record. It is invalid to set this on other record types.
	// The tag portion of a CAA record. It is invalid to set this on other record types.
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.
	// The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// The relative weight of this Record. Higher values are preferred.
	// The relative weight of this Record. Higher values are preferred.
	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 ID of the Domain to access.  Changing .
	// The ID of the Domain to access.
	// +crossplane:generate:reference:type=Domain
	// +kubebuilder:validation:Optional
	DomainID *float64 `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// Reference to a Domain to populate domainId.
	// +kubebuilder:validation:Optional
	DomainIDRef *v1.Reference `json:"domainIdRef,omitempty" tf:"-"`

	// Selector for a Domain to populate domainId.
	// +kubebuilder:validation:Optional
	DomainIDSelector *v1.Selector `json:"domainIdSelector,omitempty" tf:"-"`

	// The name of this Record. Setting this is invalid for SRV records as it is generated by the API. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the subdomain being associated with an IP address.
	// The name of this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the subdomain being associated with an IP address. Generated for SRV records.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The port this Record points to.
	// The port this Record points to.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The priority of the target host. Lower values are preferred.
	// The priority of the target host. Lower values are preferred.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// The protocol this Record's service communicates with. Only valid for SRV records.
	// The protocol this Record's service communicates with. Only valid for SRV records.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address. See all supported record types here. Changing .
	// The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address.
	// +kubebuilder:validation:Optional
	RecordType *string `json:"recordType,omitempty" tf:"record_type,omitempty"`

	// The service this Record identified. Only valid for SRV records.
	// The service this Record identified. Only valid for SRV records.
	// +kubebuilder:validation:Optional
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	// 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
	// +kubebuilder:validation:Optional
	TTLSec *float64 `json:"ttlSec,omitempty" tf:"ttl_sec,omitempty"`

	// The tag portion of a CAA record. It is invalid to set this on other record types.
	// The tag portion of a CAA record. It is invalid to set this on other record types.
	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.
	// The target for this Record. This field's actual usage depends on the type of record this represents. For A and AAAA records, this is the address the named Domain should resolve to.
	// +kubebuilder:validation:Optional
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// The relative weight of this Record. Higher values are preferred.
	// The relative weight of this Record. Higher values are preferred.
	// +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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL