Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=rdns.linode.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type RDNS
- func (in *RDNS) DeepCopy() *RDNS
- func (in *RDNS) DeepCopyInto(out *RDNS)
- func (in *RDNS) DeepCopyObject() runtime.Object
- func (mg *RDNS) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *RDNS) GetConnectionDetailsMapping() map[string]string
- func (mg *RDNS) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *RDNS) GetID() string
- func (tr *RDNS) GetInitParameters() (map[string]any, error)
- func (mg *RDNS) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *RDNS) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *RDNS) GetObservation() (map[string]any, error)
- func (tr *RDNS) GetParameters() (map[string]any, error)
- func (mg *RDNS) GetProviderConfigReference() *xpv1.Reference
- func (mg *RDNS) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RDNS) GetTerraformResourceType() string
- func (tr *RDNS) GetTerraformSchemaVersion() int
- func (mg *RDNS) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *RDNS) Hub()
- func (tr *RDNS) LateInitialize(attrs []byte) (bool, error)
- func (mg *RDNS) SetConditions(c ...xpv1.Condition)
- func (mg *RDNS) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *RDNS) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *RDNS) SetObservation(obs map[string]any) error
- func (tr *RDNS) SetParameters(params map[string]any) error
- func (mg *RDNS) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *RDNS) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *RDNS) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RDNSInitParameters
- type RDNSList
- type RDNSObservation
- type RDNSParameters
- type RDNSSpec
- type RDNSStatus
Constants ¶
const ( CRDGroup = "rdns.linode.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( RDNS_Kind = "RDNS" RDNS_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RDNS_Kind}.String() RDNS_KindAPIVersion = RDNS_Kind + "." + CRDGroupVersion.String() RDNS_GroupVersionKind = CRDGroupVersion.WithKind(RDNS_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type RDNS ¶
type RDNS 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.address) || (has(self.initProvider) && has(self.initProvider.address))",message="spec.forProvider.address is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rdns) || (has(self.initProvider) && has(self.initProvider.rdns))",message="spec.forProvider.rdns is a required parameter" Spec RDNSSpec `json:"spec"` Status RDNSStatus `json:"status,omitempty"` }
RDNS is the Schema for the RDNSs API. Manages the RDNS / PTR record for the IP Address associated with a Linode Instance. +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:resource:scope=Cluster,categories={crossplane,managed,linode},path=rdns
func (*RDNS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDNS.
func (*RDNS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RDNS) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RDNS) GetCondition ¶
func (mg *RDNS) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this RDNS.
func (*RDNS) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this RDNS
func (*RDNS) GetDeletionPolicy ¶
func (mg *RDNS) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this RDNS.
func (*RDNS) GetInitParameters ¶ added in v0.0.16
GetInitParameters of this RDNS
func (*RDNS) GetManagementPolicies ¶ added in v0.0.16
func (mg *RDNS) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this RDNS.
func (*RDNS) GetMergedParameters ¶ added in v0.0.16
GetInitParameters of this RDNS
func (*RDNS) GetObservation ¶
GetObservation of this RDNS
func (*RDNS) GetParameters ¶
GetParameters of this RDNS
func (*RDNS) GetProviderConfigReference ¶
GetProviderConfigReference of this RDNS.
func (*RDNS) GetPublishConnectionDetailsTo ¶
func (mg *RDNS) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this RDNS.
func (*RDNS) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this RDNS
func (*RDNS) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*RDNS) GetWriteConnectionSecretToReference ¶
func (mg *RDNS) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this RDNS.
func (*RDNS) LateInitialize ¶
LateInitialize this RDNS using its observed tfState. returns True if there are any spec changes for the resource.
func (*RDNS) SetConditions ¶
SetConditions of this RDNS.
func (*RDNS) SetDeletionPolicy ¶
func (mg *RDNS) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this RDNS.
func (*RDNS) SetManagementPolicies ¶ added in v0.0.16
func (mg *RDNS) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this RDNS.
func (*RDNS) SetObservation ¶
SetObservation for this RDNS
func (*RDNS) SetParameters ¶
SetParameters for this RDNS
func (*RDNS) SetProviderConfigReference ¶
SetProviderConfigReference of this RDNS.
func (*RDNS) SetPublishConnectionDetailsTo ¶
func (mg *RDNS) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this RDNS.
func (*RDNS) SetWriteConnectionSecretToReference ¶
func (mg *RDNS) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this RDNS.
type RDNSInitParameters ¶ added in v0.0.16
type RDNSInitParameters struct { // The Public IPv4 or IPv6 address that will receive the PTR record. A matching A or AAAA record must exist. // The public Linode IPv4 or IPv6 address to operate on. Address *string `json:"address,omitempty" tf:"address,omitempty"` // The name of the RDNS address. // The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set. Rdns *string `json:"rdns,omitempty" tf:"rdns,omitempty"` // If true, the RDNS assignment will be retried within the operation timeout period. // If true, the RDNS assignment will be retried within the operation timeout period. WaitForAvailable *bool `json:"waitForAvailable,omitempty" tf:"wait_for_available,omitempty"` }
func (*RDNSInitParameters) DeepCopy ¶ added in v0.0.16
func (in *RDNSInitParameters) DeepCopy() *RDNSInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDNSInitParameters.
func (*RDNSInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *RDNSInitParameters) DeepCopyInto(out *RDNSInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RDNSList ¶
type RDNSList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RDNS `json:"items"` }
RDNSList contains a list of RDNSs
func (*RDNSList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDNSList.
func (*RDNSList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RDNSList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RDNSObservation ¶
type RDNSObservation struct { // The Public IPv4 or IPv6 address that will receive the PTR record. A matching A or AAAA record must exist. // The public Linode IPv4 or IPv6 address to operate on. Address *string `json:"address,omitempty" tf:"address,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the RDNS address. // The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set. Rdns *string `json:"rdns,omitempty" tf:"rdns,omitempty"` // If true, the RDNS assignment will be retried within the operation timeout period. // If true, the RDNS assignment will be retried within the operation timeout period. WaitForAvailable *bool `json:"waitForAvailable,omitempty" tf:"wait_for_available,omitempty"` }
func (*RDNSObservation) DeepCopy ¶
func (in *RDNSObservation) DeepCopy() *RDNSObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDNSObservation.
func (*RDNSObservation) DeepCopyInto ¶
func (in *RDNSObservation) DeepCopyInto(out *RDNSObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RDNSParameters ¶
type RDNSParameters struct { // The Public IPv4 or IPv6 address that will receive the PTR record. A matching A or AAAA record must exist. // The public Linode IPv4 or IPv6 address to operate on. // +kubebuilder:validation:Optional Address *string `json:"address,omitempty" tf:"address,omitempty"` // The name of the RDNS address. // The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if not explicitly set. // +kubebuilder:validation:Optional Rdns *string `json:"rdns,omitempty" tf:"rdns,omitempty"` // If true, the RDNS assignment will be retried within the operation timeout period. // If true, the RDNS assignment will be retried within the operation timeout period. // +kubebuilder:validation:Optional WaitForAvailable *bool `json:"waitForAvailable,omitempty" tf:"wait_for_available,omitempty"` }
func (*RDNSParameters) DeepCopy ¶
func (in *RDNSParameters) DeepCopy() *RDNSParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDNSParameters.
func (*RDNSParameters) DeepCopyInto ¶
func (in *RDNSParameters) DeepCopyInto(out *RDNSParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RDNSSpec ¶
type RDNSSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RDNSParameters `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 RDNSInitParameters `json:"initProvider,omitempty"` }
RDNSSpec defines the desired state of RDNS
func (*RDNSSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDNSSpec.
func (*RDNSSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RDNSStatus ¶
type RDNSStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RDNSObservation `json:"atProvider,omitempty"` }
RDNSStatus defines the observed state of RDNS.
func (*RDNSStatus) DeepCopy ¶
func (in *RDNSStatus) DeepCopy() *RDNSStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDNSStatus.
func (*RDNSStatus) DeepCopyInto ¶
func (in *RDNSStatus) DeepCopyInto(out *RDNSStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.