v1alpha1

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 9 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="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.address)",message="address is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.rdns)",message="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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}

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) GetManagementPolicy added in v0.0.8

func (mg *RDNS) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy 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) GetProviderReference

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

GetProviderReference of this RDNS. Deprecated: Use GetProviderConfigReference.

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) 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) SetManagementPolicy added in v0.0.8

func (mg *RDNS) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy 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) SetProviderReference

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

SetProviderReference of this RDNS. Deprecated: Use SetProviderConfigReference.

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 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"`
}

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