ready

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ControllerName = "ready"
)

Variables

This section is empty.

Functions

func ComputeReadyCondition

func ComputeReadyCondition(hv *kvmv1.Hypervisor) metav1.Condition

ComputeReadyCondition determines the Ready condition based on other conditions

Types

type Controller

type Controller struct {
	k8sclient.Client
	Scheme *runtime.Scheme
}

Controller reconciles the Ready condition based on other conditions

func (*Controller) Reconcile

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

func (*Controller) SetupWithManager

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

type StatusChangedPredicate

type StatusChangedPredicate struct{}

StatusChangedPredicate triggers reconciliation only when the status subresource changes. This is the inverse of GenerationChangedPredicate which triggers on spec changes.

func (StatusChangedPredicate) Create

func (StatusChangedPredicate) Delete

func (StatusChangedPredicate) Generic

func (StatusChangedPredicate) Update

Jump to

Keyboard shortcuts

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