service

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "service-source"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actuator added in v0.34.0

type Actuator struct {
}

Actuator is the actuator for Service source objects.

func (*Actuator) ControllerName added in v0.34.0

func (a *Actuator) ControllerName() string

ControllerName returns the name of this controller.

func (*Actuator) FinalizerLocalName added in v0.34.0

func (a *Actuator) FinalizerLocalName() string

FinalizerLocalName returns the local name of the finalizer.

func (*Actuator) GetGVK added in v0.34.0

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

GetGVK returns the GVK of Service.

func (*Actuator) IsRelevantSourceObject added in v0.34.0

func (a *Actuator) IsRelevantSourceObject(r *common.SourceReconciler[*corev1.Service], svc *corev1.Service) bool

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

func (*Actuator) NewSourceObject added in v0.34.0

func (r *Actuator) NewSourceObject() *corev1.Service

NewSourceObject creates a new Service object.

func (*Actuator) ReconcileSourceObject added in v0.34.0

func (a *Actuator) ReconcileSourceObject(
	ctx context.Context,
	r *common.SourceReconciler[*corev1.Service],
	service *corev1.Service,
) (
	reconcile.Result,
	error,
)

ReconcileSourceObject reconciles the given Service object.

func (*Actuator) ShouldSetTargetEntryAnnotation added in v0.34.0

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