v1alpha1

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the route53.aws v1alpha1 API group +kubebuilder:object:generate=true +groupName=route53.aws.aeto.net

Index

Constants

View Source
const (
	ConditionTypeReady string = "Ready"

	HostedZoneDeletionPolicyDefault HostedZoneDeletionPolicy = "default"
	HostedZoneDeletionPolicyForce   HostedZoneDeletionPolicy = "force"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "route53.aws.aeto.net", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type HostedZone

type HostedZone struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   HostedZoneSpec   `json:"spec,omitempty"`
	Status HostedZoneStatus `json:"status,omitempty"`
}

HostedZone is the Schema for the hostedzones API

func (*HostedZone) DeepCopy

func (in *HostedZone) DeepCopy() *HostedZone

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

func (*HostedZone) DeepCopyInto

func (in *HostedZone) DeepCopyInto(out *HostedZone)

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

func (*HostedZone) DeepCopyObject

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

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

func (HostedZone) NamespacedName

func (hz HostedZone) NamespacedName() types.NamespacedName

NamespacedName returns a namespaced name for the custom resource

type HostedZoneConnection

type HostedZoneConnection struct {
	// Name of the AWS Route53 HostedZone to connect with.
	// +kubebuilder:validation:Required
	Name string `json:"name"`

	// TTL used for the NS recordset created in the specified AWS Route53 HostedZone.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default=172800
	TTL int64 `json:"ttl,omitempty"`
}

HostedZoneConnection defines the connection details for the HostedZone

func (*HostedZoneConnection) DeepCopy

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

func (*HostedZoneConnection) DeepCopyInto

func (in *HostedZoneConnection) DeepCopyInto(out *HostedZoneConnection)

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

type HostedZoneDeletionPolicy

type HostedZoneDeletionPolicy string

type HostedZoneList

type HostedZoneList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []HostedZone `json:"items"`
}

HostedZoneList contains a list of HostedZone

func (*HostedZoneList) DeepCopy

func (in *HostedZoneList) DeepCopy() *HostedZoneList

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

func (*HostedZoneList) DeepCopyInto

func (in *HostedZoneList) DeepCopyInto(out *HostedZoneList)

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

func (*HostedZoneList) DeepCopyObject

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

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

type HostedZoneSpec

type HostedZoneSpec struct {

	// Name is the desired name for the AWS Route53 HostedZone.
	// +kubebuilder:validation:Required
	Name string `json:"name"`

	// Tags defines the tags to apply to the resource.
	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty"`

	// ConnectWith tells the operator to connect the HostedZone with a parent hosted zone by upserting it's NS recordset.
	// +kubebuilder:validation:Optional
	ConnectWith *HostedZoneConnection `json:"connectWith,omitempty"`

	// DeletionPolicy defines the strategy to use when a hosted zone is deleted
	// +kubebuilder:validation:Optional
	// +kubebuilder:default=default
	DeletionPolicy HostedZoneDeletionPolicy `json:"deletionPolicy"`
}

HostedZoneSpec defines the desired state of HostedZone

func (*HostedZoneSpec) DeepCopy

func (in *HostedZoneSpec) DeepCopy() *HostedZoneSpec

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

func (*HostedZoneSpec) DeepCopyInto

func (in *HostedZoneSpec) DeepCopyInto(out *HostedZoneSpec)

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

type HostedZoneStatus

type HostedZoneStatus struct {
	Id string `json:"id,omitempty"`

	Status string `json:"status,omitempty"`

	ConnectedTo string `json:"connectedTo,omitempty"`

	RecordSets *int64 `json:"recordsets,omitempty"`

	// Conditions represent the latest available observations of the ResourceSet state.
	Conditions []metav1.Condition `json:"conditions"`
}

HostedZoneStatus defines the observed state of HostedZone

func (*HostedZoneStatus) DeepCopy

func (in *HostedZoneStatus) DeepCopy() *HostedZoneStatus

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

func (*HostedZoneStatus) DeepCopyInto

func (in *HostedZoneStatus) DeepCopyInto(out *HostedZoneStatus)

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