controller

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: GPL-3.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountReconciler

type AccountReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	RetryInterval time.Duration

	CloudflareAPI *cloudflare.API
}

AccountReconciler reconciles an Account object

func (*AccountReconciler) Reconcile

func (r *AccountReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr 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 (*AccountReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type DNSHostReconciler added in v1.8.0

type DNSHostReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	RetryInterval            time.Duration
	DefaultReconcileInterval time.Duration
}

DNSHostReconciler reconciles DNSRecords for a host-based resource (Ingress, HTTPRoute, ...)

func (*DNSHostReconciler) Reconcile added in v1.8.0

func (r *DNSHostReconciler) Reconcile(ctx context.Context, owner client.Object, annotations map[string]string, hosts map[string]struct{}) (ctrl.Result, error)

Reconcile drives DNSRecord reconciliation for the provided owner and host list.

type DNSRecordReconciler

type DNSRecordReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	RetryInterval time.Duration

	CloudflareAPI *cloudflare.API
}

DNSRecordReconciler reconciles a DNSRecord object

func (*DNSRecordReconciler) Reconcile

func (r *DNSRecordReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr 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 (*DNSRecordReconciler) SetupWithManager

func (r *DNSRecordReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type HTTPRouteReconciler added in v1.8.0

type HTTPRouteReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	RetryInterval            time.Duration
	DefaultReconcileInterval time.Duration
}

HTTPRouteReconciler reconciles a Gateway API HTTPRoute object

func (*HTTPRouteReconciler) Reconcile added in v1.8.0

func (r *HTTPRouteReconciler) 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 (*HTTPRouteReconciler) SetupWithManager added in v1.8.0

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

SetupWithManager sets up the controller with the Manager.

type IPReconciler

type IPReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	HTTPClientTimeout        time.Duration
	DefaultReconcileInterval time.Duration

	RetryInterval time.Duration
}

IPReconciler reconciles a IP object

func (*IPReconciler) Reconcile

func (r *IPReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr 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 (*IPReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type IngressReconciler

type IngressReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	RetryInterval            time.Duration
	DefaultReconcileInterval time.Duration
}

IngressReconciler reconciles an Ingress object

func (*IngressReconciler) Reconcile

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

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

SetupWithManager sets up the controller with the Manager.

type ZoneReconciler

type ZoneReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	RetryInterval time.Duration

	CloudflareAPI *cloudflare.API
}

ZoneReconciler reconciles a Zone object

func (*ZoneReconciler) Reconcile

func (r *ZoneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr 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 (*ZoneReconciler) SetupWithManager

func (r *ZoneReconciler) SetupWithManager(ctx context.Context, 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