v1alpha1

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 (
	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

func (in *RDNS) DeepCopy() *RDNS

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

func (*RDNS) DeepCopyInto

func (in *RDNS) DeepCopyInto(out *RDNS)

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

func (*RDNS) DeepCopyObject

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

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

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

GetConnectionDetailsMapping for this RDNS

func (*RDNS) GetDeletionPolicy

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

GetDeletionPolicy of this RDNS.

func (*RDNS) GetID

func (tr *RDNS) GetID() string

GetID returns ID of underlying Terraform resource of this RDNS

func (*RDNS) GetInitParameters added in v0.0.16

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

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

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

GetInitParameters of this RDNS

func (*RDNS) GetObservation

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

GetObservation of this RDNS

func (*RDNS) GetParameters

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

GetParameters of this RDNS

func (*RDNS) GetProviderConfigReference

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

GetProviderConfigReference of this RDNS.

func (*RDNS) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RDNS.

func (*RDNS) GetTerraformResourceType

func (mg *RDNS) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RDNS

func (*RDNS) GetTerraformSchemaVersion

func (tr *RDNS) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RDNS) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RDNS.

func (*RDNS) Hub added in v0.0.16

func (tr *RDNS) Hub()

Hub marks this type as a conversion hub.

func (*RDNS) LateInitialize

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

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

func (*RDNS) SetConditions

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

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

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

SetObservation for this RDNS

func (*RDNS) SetParameters

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

SetParameters for this RDNS

func (*RDNS) SetProviderConfigReference

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

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

func (in *RDNSList) DeepCopy() *RDNSList

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

func (*RDNSList) DeepCopyInto

func (in *RDNSList) DeepCopyInto(out *RDNSList)

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

func (*RDNSList) DeepCopyObject

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

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

func (*RDNSList) GetItems

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

GetItems of this RDNSList.

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

func (in *RDNSSpec) DeepCopy() *RDNSSpec

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

func (*RDNSSpec) DeepCopyInto

func (in *RDNSSpec) DeepCopyInto(out *RDNSSpec)

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.

Jump to

Keyboard shortcuts

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