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 ¶
Controller reconciles the Ready condition based on other conditions
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) Create(_ event.CreateEvent) bool
func (StatusChangedPredicate) Delete ¶
func (StatusChangedPredicate) Delete(_ event.DeleteEvent) bool
func (StatusChangedPredicate) Generic ¶
func (StatusChangedPredicate) Generic(_ event.GenericEvent) bool
func (StatusChangedPredicate) Update ¶
func (StatusChangedPredicate) Update(e event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.