dnsentry

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "dnsentry-source"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actuator

type Actuator struct {
}

Actuator is the actuator for DNSEntry source objects.

func (*Actuator) ControllerName

func (a *Actuator) ControllerName() string

ControllerName returns the name of this controller.

func (*Actuator) FinalizerLocalName

func (a *Actuator) FinalizerLocalName() string

FinalizerLocalName returns the local name of the finalizer.

func (*Actuator) GetGVK

func (a *Actuator) GetGVK() schema.GroupVersionKind

GetGVK returns the GVK of DNSEntry.

func (*Actuator) IsRelevantSourceObject

func (a *Actuator) IsRelevantSourceObject(r *common.SourceReconciler[*dnsv1alpha1.DNSEntry], entry *dnsv1alpha1.DNSEntry) bool

IsRelevantSourceObject checks whether the given DNSEntry is relevant for DNS management.

func (*Actuator) NewSourceObject

func (a *Actuator) NewSourceObject() *dnsv1alpha1.DNSEntry

NewSourceObject creates a new DNSEntry object.

func (*Actuator) OnDelete added in v0.40.0

func (a *Actuator) OnDelete(_ client.ObjectKey)

OnDelete is called when a DNSEntry is deleted. No action is needed in this case.

func (*Actuator) ReconcileSourceObject

func (a *Actuator) ReconcileSourceObject(
	ctx context.Context,
	r *common.SourceReconciler[*dnsv1alpha1.DNSEntry],
	entry *dnsv1alpha1.DNSEntry,
) (
	reconcile.Result,
	error,
)

ReconcileSourceObject reconciles the given DNSEntry object.

func (*Actuator) ShouldSetTargetEntryAnnotation

func (a *Actuator) ShouldSetTargetEntryAnnotation() bool

ShouldSetTargetEntryAnnotation indicates whether the target DNSEntry annotation should be set on the source object.

Jump to

Keyboard shortcuts

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