controller

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FAILED_STATUS    = "Failed"
	SUCCEEDED_STATUS = "Succeeded"
)
View Source
const (
	FINALIZER_NAME             = "dns.cav.enablers.ob/finalizer"
	DEFAULT_TTL_FOR_NS_RECORDS = uint32(1500)

	ZONE_NOT_FOUND_MSG  = "Not Found"
	ZONE_NOT_FOUND_CODE = 404
	ZONE_CONFLICT_MSG   = "Conflict"
	ZONE_CONFLICT_CODE  = 409
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PdnsClienter

type PdnsClienter struct {
	Records pdnsRecordsClienter
	Zones   pdnsZonesClienter
}

type RRsetReconciler

type RRsetReconciler struct {
	client.Client
	Scheme     *runtime.Scheme
	PDNSClient PdnsClienter
}

RRsetReconciler reconciles a RRset object

func (*RRsetReconciler) Reconcile

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

func (*RRsetReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ZoneReconciler

type ZoneReconciler struct {
	client.Client
	Scheme     *runtime.Scheme
	PDNSClient PdnsClienter
}

ZoneReconciler reconciles a Zone object

func (*ZoneReconciler) Reconcile

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

func (*ZoneReconciler) SetupWithManager

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