v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the dns v1alpha1 API group +kubebuilder:object:generate=true +groupName=dns.ch1aki.github.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "dns.ch1aki.github.io", 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 AWSAuth

type AWSAuth struct {
	SecretRef *AWSAuthSecretRef `json:"secretRef,omitempty"`
}

func (*AWSAuth) DeepCopy

func (in *AWSAuth) DeepCopy() *AWSAuth

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

func (*AWSAuth) DeepCopyInto

func (in *AWSAuth) DeepCopyInto(out *AWSAuth)

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

type AWSAuthSecretRef

type AWSAuthSecretRef struct {
	// The AccessKeyID is used for authentication
	AccessKeyID SecretKeySelector `json:"accessKeyIDSecretRef,omitempty"`

	// The SecretAccessKey is used for authentication
	SecretAccessKey SecretKeySelector `json:"secretAccessKeySecretRef,omitempty"`
}

func (*AWSAuthSecretRef) DeepCopy

func (in *AWSAuthSecretRef) DeepCopy() *AWSAuthSecretRef

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

func (*AWSAuthSecretRef) DeepCopyInto

func (in *AWSAuthSecretRef) DeepCopyInto(out *AWSAuthSecretRef)

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

type AliasTarget

type AliasTarget struct {
	Record string `json:"record"`

	// Only Route53
	EvaluateTargetHealth bool `json:"evaluateTargetHealth"`

	// +optional
	HostedZoneID string `json:"hostedZoneID,omitempty"`
}

func (*AliasTarget) DeepCopy

func (in *AliasTarget) DeepCopy() *AliasTarget

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

func (*AliasTarget) DeepCopyInto

func (in *AliasTarget) DeepCopyInto(out *AliasTarget)

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

type Owner

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

	Spec   OwnerSpec   `json:"spec,omitempty"`
	Status OwnerStatus `json:"status,omitempty"`
}

Owner is the Schema for the owners API

func (*Owner) DeepCopy

func (in *Owner) DeepCopy() *Owner

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

func (*Owner) DeepCopyInto

func (in *Owner) DeepCopyInto(out *Owner)

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

func (*Owner) DeepCopyObject

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

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

type OwnerList

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

OwnerList contains a list of Owner

func (*OwnerList) DeepCopy

func (in *OwnerList) DeepCopy() *OwnerList

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

func (*OwnerList) DeepCopyInto

func (in *OwnerList) DeepCopyInto(out *OwnerList)

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

func (*OwnerList) DeepCopyObject

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

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

type OwnerSpec

type OwnerSpec struct {

	// Foo is an example field of Owner. Edit owner_types.go to remove/update
	Names []string `json:"names"`
}

OwnerSpec defines the desired state of Owner

func (*OwnerSpec) DeepCopy

func (in *OwnerSpec) DeepCopy() *OwnerSpec

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

func (*OwnerSpec) DeepCopyInto

func (in *OwnerSpec) DeepCopyInto(out *OwnerSpec)

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

type OwnerStatus

type OwnerStatus struct {
}

OwnerStatus defines the observed state of Owner

func (*OwnerStatus) DeepCopy

func (in *OwnerStatus) DeepCopy() *OwnerStatus

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

func (*OwnerStatus) DeepCopyInto

func (in *OwnerStatus) DeepCopyInto(out *OwnerStatus)

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

type Provider

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

	Spec   ProviderSpec   `json:"spec,omitempty"`
	Status ProviderStatus `json:"status,omitempty"`
}

Provider is the Schema for the providers API

func (*Provider) DeepCopy

func (in *Provider) DeepCopy() *Provider

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

func (*Provider) DeepCopyInto

func (in *Provider) DeepCopyInto(out *Provider)

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

func (*Provider) DeepCopyObject

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

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

type ProviderList

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

ProviderList contains a list of Provider

func (*ProviderList) DeepCopy

func (in *ProviderList) DeepCopy() *ProviderList

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

func (*ProviderList) DeepCopyInto

func (in *ProviderList) DeepCopyInto(out *ProviderList)

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

func (*ProviderList) DeepCopyObject

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

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

type ProviderSpec

type ProviderSpec struct {
	Route53 Route53Provider `json:"route53,omitempty"`
}

ProviderSpec defines the desired state of Provider

func (*ProviderSpec) DeepCopy

func (in *ProviderSpec) DeepCopy() *ProviderSpec

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

func (*ProviderSpec) DeepCopyInto

func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)

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

type ProviderStatus

type ProviderStatus struct {
}

ProviderStatus defines the observed state of Provider

func (*ProviderStatus) DeepCopy

func (in *ProviderStatus) DeepCopy() *ProviderStatus

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

func (*ProviderStatus) DeepCopyInto

func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus)

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

type ResourceRecord

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

	Spec   ResourceRecordSpec   `json:"spec,omitempty"`
	Status ResourceRecordStatus `json:"status,omitempty"`
}

ResourceRecord is the Schema for the resourcerecords API

func (*ResourceRecord) DeepCopy

func (in *ResourceRecord) DeepCopy() *ResourceRecord

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

func (*ResourceRecord) DeepCopyInto

func (in *ResourceRecord) DeepCopyInto(out *ResourceRecord)

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

func (*ResourceRecord) DeepCopyObject

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

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

func (*ResourceRecord) Default

func (r *ResourceRecord) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*ResourceRecord) SetupWebhookWithManager

func (r *ResourceRecord) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ResourceRecord) ValidateCreate

func (r *ResourceRecord) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ResourceRecord) ValidateDelete

func (r *ResourceRecord) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ResourceRecord) ValidateUpdate

func (r *ResourceRecord) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ResourceRecordList

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

ResourceRecordList contains a list of ResourceRecord

func (*ResourceRecordList) DeepCopy

func (in *ResourceRecordList) DeepCopy() *ResourceRecordList

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

func (*ResourceRecordList) DeepCopyInto

func (in *ResourceRecordList) DeepCopyInto(out *ResourceRecordList)

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

func (*ResourceRecordList) DeepCopyObject

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

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

type ResourceRecordSpec

type ResourceRecordSpec struct {

	// +kubebuilder:validation:Enum=A;NS;AAAA;MX;CNAME;SRV;TXT
	Class string `json:"class"`

	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=2147483647
	Ttl int32 `json:"ttl"`

	// +optional
	// +nullable
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=255
	Weight *int64 `json:"weight,omitempty"`

	OwnerRef string `json:"ownerRef"`

	ProviderRef string `json:"providerRef"`

	// +optional
	Rdata string `json:"rdata,omitempty"`

	// +optional
	// +kubebuilder:default=false
	IsAlias bool `json:"isAlias,omitempty"`

	// +optional
	AliasTarget AliasTarget `json:"aliasTarget,omitempty"`

	// +optional
	// +nullable
	Id *string `json:"id,omitempty"`
}

ResourceRecordSpec defines the desired state of ResourceRecord

func (*ResourceRecordSpec) DeepCopy

func (in *ResourceRecordSpec) DeepCopy() *ResourceRecordSpec

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

func (*ResourceRecordSpec) DeepCopyInto

func (in *ResourceRecordSpec) DeepCopyInto(out *ResourceRecordSpec)

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

type ResourceRecordStatus

type ResourceRecordStatus struct {
}

ResourceRecordStatus defines the observed state of ResourceRecord

func (*ResourceRecordStatus) DeepCopy

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

func (*ResourceRecordStatus) DeepCopyInto

func (in *ResourceRecordStatus) DeepCopyInto(out *ResourceRecordStatus)

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

type Route53Provider

type Route53Provider struct {
	HostedZoneID string `json:"hostedZoneID"`

	HostedZoneName string `json:"hostedZoneName"`

	// +optional
	Region string `json:"region"`

	// +optional
	Auth AWSAuth `json:"auth"`
}

func (*Route53Provider) DeepCopy

func (in *Route53Provider) DeepCopy() *Route53Provider

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

func (*Route53Provider) DeepCopyInto

func (in *Route53Provider) DeepCopyInto(out *Route53Provider)

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

type SecretKeySelector

type SecretKeySelector struct {
	// The name of the Secret resource being referred to.
	Name string `json:"name,omitempty"`
	// Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults
	// to the namespace of the referent.
	// +optional
	Namespace *string `json:"namespace,omitempty"`
	// The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be
	// defaulted, in others it may be required.
	// +optional
	Key string `json:"key,omitempty"`
}

func (*SecretKeySelector) DeepCopy

func (in *SecretKeySelector) DeepCopy() *SecretKeySelector

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

func (*SecretKeySelector) DeepCopyInto

func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector)

Jump to

Keyboard shortcuts

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