package
0.4.7
Repository: https://github.com/dafu-wu/common.git
Documentation: pkg.go.dev

# Functions

GenExpectationPodsKey generates an expectation key for pods of a job.
GenExpectationPodsKey generates an expectation key for services of a job.
NewControllerExpectations returns a store for ControllerExpectations.

# Constants

If a watch drops a delete event for a pod, it'll take this long before a dormant controller waiting for those packets is woken up anyway.

# Variables

ExpKeyFunc to parse out the key from a ControlleeExpectation.

# Structs

ControlleeExpectations track controllee creates/deletes.
ControllerExpectations is a cache mapping controllers to what they expect to see before being woken up for a sync.

# Interfaces

ControllerExpectationsInterface is an interface that allows users to set and wait on expectations.
Expectations are either fulfilled, or expire naturally.