v1alpha1

package
v0.0.0-...-19e3442 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the net v1alpha1 API group +kubebuilder:object:generate=true +groupName=net.beekube.cloud

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "net.beekube.cloud", 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 AwsSecret

type AwsSecret struct {
	// SecretName Name of the secret holding the AWS credentials
	SecretName string `json:"secretName"`
	// SecretNamespace The namespace containing the secret
	// Leave it empty to use the operator namespace
	SecretNamespace string `json:"secretNamespace"`
	// AccessKeyIDKey The key that holds the AWS Access Key ID within the secret
	AccessKeyIDKey string `json:"accessKeyIDKey"`
	// SecretAccessKeyKey The key that holds the AWS Secret Access Key within the secret
	SecretAccessKeyKey string `json:"secretAccessKeyKey"`
}

AwsSecret holds an AWS IAM AccessKey and SecretAccessKey

func (*AwsSecret) DeepCopy

func (in *AwsSecret) DeepCopy() *AwsSecret

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

func (*AwsSecret) DeepCopyInto

func (in *AwsSecret) DeepCopyInto(out *AwsSecret)

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

type DnsRecord

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

	Spec   DnsRecordSpec   `json:"spec,omitempty"`
	Status DnsRecordStatus `json:"status,omitempty"`
}

DnsRecord is the Schema for the dnsrecords API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*DnsRecord) DeepCopy

func (in *DnsRecord) DeepCopy() *DnsRecord

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

func (*DnsRecord) DeepCopyInto

func (in *DnsRecord) DeepCopyInto(out *DnsRecord)

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

func (*DnsRecord) DeepCopyObject

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

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

type DnsRecordList

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

DnsRecordList contains a list of DnsRecord

func (*DnsRecordList) DeepCopy

func (in *DnsRecordList) DeepCopy() *DnsRecordList

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

func (*DnsRecordList) DeepCopyInto

func (in *DnsRecordList) DeepCopyInto(out *DnsRecordList)

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

func (*DnsRecordList) DeepCopyObject

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

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

type DnsRecordSpec

type DnsRecordSpec struct {
	Route53Records Route53Record `json:"Route53Records"`
}

DnsRecordSpec defines the desired state of DnsRecord

func (*DnsRecordSpec) DeepCopy

func (in *DnsRecordSpec) DeepCopy() *DnsRecordSpec

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

func (*DnsRecordSpec) DeepCopyInto

func (in *DnsRecordSpec) DeepCopyInto(out *DnsRecordSpec)

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

type DnsRecordStatus

type DnsRecordStatus struct {
	Status     string             `json:"status"`
	ChangeId   string             `json:"changeId"`
	Conditions []metav1.Condition `json:"conditions"`
}

DnsRecordStatus defines the observed state of DnsRecord

func (*DnsRecordStatus) DeepCopy

func (in *DnsRecordStatus) DeepCopy() *DnsRecordStatus

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

func (*DnsRecordStatus) DeepCopyInto

func (in *DnsRecordStatus) DeepCopyInto(out *DnsRecordStatus)

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

type Route53Record

type Route53Record struct {
	// IAM Access Key to use to interact with AWS
	AwsSecrets AwsSecret `json:"awsSecrets"`
	// Name Fully Qualified Domain Name
	Name string `json:"name"`
	// Type One of CNAME, A
	Type string `json:"type"`
	// ZoneId AWS Route53 ZoneID
	ZoneId string `json:"zoneId"`
	// ResourceRecords List of DNS target
	ResourceRecords []string `json:"resourceRecords"`
	// Ttl time To live in seconds
	Ttl int64 `json:"ttl"`
	// Comment optional comment
	Comment string `json:"comment"`
}

func (*Route53Record) DeepCopy

func (in *Route53Record) DeepCopy() *Route53Record

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

func (*Route53Record) DeepCopyInto

func (in *Route53Record) DeepCopyInto(out *Route53Record)

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