Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=rdns.hcloud.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.hcloud.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.dnsPtr) || (has(self.initProvider) && has(self.initProvider.dnsPtr))",message="spec.forProvider.dnsPtr is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipAddress) || (has(self.initProvider) && has(self.initProvider.ipAddress))",message="spec.forProvider.ipAddress is a required parameter" Spec RdnsSpec `json:"spec"` Status RdnsStatus `json:"status,omitempty"` }
Rdns is the Schema for the Rdnss API. Provides a Hetzner Cloud Reverse DNS Entry to create, modify and reset reverse dns entries for Hetzner Cloud Servers, Primary IPs, Floating IPs or Load Balancers. +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,hcloud}
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 ¶
GetInitParameters of this Rdns
func (*Rdns) GetManagementPolicies ¶
func (mg *Rdns) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Rdns.
func (*Rdns) GetMergedParameters ¶
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 ¶
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 ¶
type RdnsInitParameters struct { // The DNS address the ip_address should resolve to. DNSPtr *string `json:"dnsPtr,omitempty" tf:"dns_ptr,omitempty"` // The Floating IP the ip_address belongs to. FloatingIPID *float64 `json:"floatingIpId,omitempty" tf:"floating_ip_id,omitempty"` // The IP address that should point to dns_ptr. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The Load Balancer the ip_address belongs to. LoadBalancerID *float64 `json:"loadBalancerId,omitempty" tf:"load_balancer_id,omitempty"` // The Primary IP the ip_address belongs to. PrimaryIPID *float64 `json:"primaryIpId,omitempty" tf:"primary_ip_id,omitempty"` // The server the ip_address belongs to. ServerID *float64 `json:"serverId,omitempty" tf:"server_id,omitempty"` }
func (*RdnsInitParameters) DeepCopy ¶
func (in *RdnsInitParameters) DeepCopy() *RdnsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RdnsInitParameters.
func (*RdnsInitParameters) DeepCopyInto ¶
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 DNS address the ip_address should resolve to. DNSPtr *string `json:"dnsPtr,omitempty" tf:"dns_ptr,omitempty"` // The Floating IP the ip_address belongs to. FloatingIPID *float64 `json:"floatingIpId,omitempty" tf:"floating_ip_id,omitempty"` // (int) Unique ID of the Reverse DNS Entry. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The IP address that should point to dns_ptr. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The Load Balancer the ip_address belongs to. LoadBalancerID *float64 `json:"loadBalancerId,omitempty" tf:"load_balancer_id,omitempty"` // The Primary IP the ip_address belongs to. PrimaryIPID *float64 `json:"primaryIpId,omitempty" tf:"primary_ip_id,omitempty"` // The server the ip_address belongs to. ServerID *float64 `json:"serverId,omitempty" tf:"server_id,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 DNS address the ip_address should resolve to. // +kubebuilder:validation:Optional DNSPtr *string `json:"dnsPtr,omitempty" tf:"dns_ptr,omitempty"` // The Floating IP the ip_address belongs to. // +kubebuilder:validation:Optional FloatingIPID *float64 `json:"floatingIpId,omitempty" tf:"floating_ip_id,omitempty"` // The IP address that should point to dns_ptr. // +kubebuilder:validation:Optional IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // The Load Balancer the ip_address belongs to. // +kubebuilder:validation:Optional LoadBalancerID *float64 `json:"loadBalancerId,omitempty" tf:"load_balancer_id,omitempty"` // The Primary IP the ip_address belongs to. // +kubebuilder:validation:Optional PrimaryIPID *float64 `json:"primaryIpId,omitempty" tf:"primary_ip_id,omitempty"` // The server the ip_address belongs to. // +kubebuilder:validation:Optional ServerID *float64 `json:"serverId,omitempty" tf:"server_id,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.