controllers

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HostnameAnnotation = "dns.linka.cloud/hostname"
	TargetAnnotation   = "dns.linka.cloud/target"
	TTLAnnotation      = "dns.linka.cloud/ttl"
	IgnoredAnnotation  = "dns.linka.cloud/ignore"

	IngressAnnotation = "dns.linka.cloud/ingress"
	ServiceAnnotation = "dns.linka.cloud/service"
)
View Source
const (
	RecordFinalizer = "dns.linka.cloud/finalizer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSRecordReconciler

type DNSRecordReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme

	Provider              provider.Provider
	DNSVerificationServer string
	// contains filtered or unexported fields
}

DNSRecordReconciler reconciles a DNSRecord object

func (*DNSRecordReconciler) Reconcile

func (r *DNSRecordReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*DNSRecordReconciler) SetupWithManager

func (r *DNSRecordReconciler) SetupWithManager(mgr ctrl.Manager) error

type IngressReconciler added in v0.1.1

type IngressReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

IngressReconciler reconciles an Ingress object

func (*IngressReconciler) Reconcile added in v0.1.1

func (r *IngressReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*IngressReconciler) SetupWithManager added in v0.1.1

func (r *IngressReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ServiceReconciler added in v0.1.1

type ServiceReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

ServiceReconciler reconciles a Service object

func (*ServiceReconciler) Reconcile added in v0.1.1

func (r *ServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ServiceReconciler) SetupWithManager added in v0.1.1

func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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