service

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 21 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

func MapDNSAnnotationToService

func MapDNSAnnotationToService(_ context.Context, obj client.Object) []reconcile.Request

MapDNSAnnotationToService maps a DNSAnnotation to its referenced Service.

func MapDNSEntryToService

func MapDNSEntryToService(_ context.Context, obj client.Object) []reconcile.Request

MapDNSEntryToService maps a DNSEntry to its owning Service(s).

func RelevantDNSEntryPredicate

func RelevantDNSEntryPredicate(entryOwnerData common.EntryOwnerData) predicate.Predicate

RelevantDNSEntryPredicate returns the predicate to be considered for reconciliation.

Types

type Reconciler

type Reconciler struct {
	common.ReconcilerBase
}

Reconciler is a reconciler for provided Certificate resources.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, controlPlaneCluster cluster.Cluster) error

AddToManager adds Reconciler to the given cluster.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Reconcile reconciles Service resources.

func (*Reconciler) RelevantServicePredicate

func (r *Reconciler) RelevantServicePredicate() predicate.Predicate

RelevantServicePredicate returns the predicate to be considered for reconciliation.

Jump to

Keyboard shortcuts

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