controllers

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const SyncInterval = "1m"

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSRecordReconciler

type DNSRecordReconciler struct {
	// 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)

Reconcile is the reconciliation loop implementation aiming to continuously move the current state of the cluster closer to the desired state, which in the DNSRecord controller's view means ensure the DNS record is synchronized in Cloudflare DNS.

func (*DNSRecordReconciler) SetupWithManager

func (r *DNSRecordReconciler) 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