Versions in this module Expand all Collapse all v0 v0.1.0 Oct 9, 2023 Changes in this version + const ExpectationsTimeout + var ExpKeyFunc = func(obj interface{}) (string, error) + func GenExpectationConfigMapKey(clusterKey string) string + func GenExpectationPodsKey(clusterKey string, replicaType string) string + func GenExpectationServicesKey(clusterKey string, replicaType string) string + func GenPreSatisfiedKey(clusterKey string) string + type ControlleeExpectations struct + func (e *ControlleeExpectations) Add(add, del int64) + func (e *ControlleeExpectations) Fulfilled() bool + func (e *ControlleeExpectations) GetExpectations() (int64, int64) + type ControllerExpectations struct + func NewControllerExpectations() *ControllerExpectations + func (r *ControllerExpectations) CreationObserved(controllerKey string) + func (r *ControllerExpectations) DeleteExpectations(controllerKey string) + func (r *ControllerExpectations) DeletionObserved(controllerKey string) + func (r *ControllerExpectations) ExpectCreations(controllerKey string, adds int) error + func (r *ControllerExpectations) ExpectDeletions(controllerKey string, dels int) error + func (r *ControllerExpectations) GetExpectations(controllerKey string) (*ControlleeExpectations, bool, error) + func (r *ControllerExpectations) LowerExpectations(controllerKey string, add, del int) + func (r *ControllerExpectations) PreSatisfiedExpectations(controllerKey string) bool + func (r *ControllerExpectations) RaiseExpectations(controllerKey string, add, del int) + func (r *ControllerExpectations) SatisfiedExpectations(controllerKey string) bool + func (r *ControllerExpectations) SetExpectations(controllerKey string, add, del int) error + func (r *ControllerExpectations) SetPreSatisfiedExpectations(controllerKey string, satisfied bool) + type ControllerExpectationsInterface interface + CreationObserved func(controllerKey string) + DeleteExpectations func(controllerKey string) + DeletionObserved func(controllerKey string) + ExpectCreations func(controllerKey string, adds int) error + ExpectDeletions func(controllerKey string, dels int) error + GetExpectations func(controllerKey string) (*ControlleeExpectations, bool, error) + LowerExpectations func(controllerKey string, add, del int) + PreSatisfiedExpectations func(controllerKey string) bool + RaiseExpectations func(controllerKey string, add, del int) + SatisfiedExpectations func(controllerKey string) bool + SetExpectations func(controllerKey string, add, del int) error + SetPreSatisfiedExpectations func(controllerKey string, satisfied bool) + type Expectations interface + Fulfilled func() bool