connectionstatus

package
v3.20.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PodStatusToConnectionMapper

func PodStatusToConnectionMapper(selfOnly bool) handler.TypedMapFunc[*statusv1alpha1.ConnectionPodStatus, reconcile.Request]

PodStatusToConnectionMapper correlates a ConnectionPodStatus with its corresponding Connection. `selfOnly` tells the mapper to only map statuses corresponding to the current pod.

Types

type Adder

type Adder struct {
	WatchManager *watch.Manager
}

func (*Adder) Add

func (a *Adder) Add(mgr manager.Manager) error

Add creates a new connection Status Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func (*Adder) InjectTracker

func (a *Adder) InjectTracker(_ *readiness.Tracker)

type ReconcileConnectionStatus

type ReconcileConnectionStatus struct {
	// contains filtered or unexported fields
}

ReconcileConnectionStatus provides the dependencies required to reconcile the status of a Connection resource.

func (*ReconcileConnectionStatus) Reconcile

Reconcile reads the state of the cluster for a Connection object and makes changes based on the ConnectionPodStatuses.

Jump to

Keyboard shortcuts

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