package
1.13.0-alpha.3
Repository: https://github.com/bluebreezecf/kubernetes.git
Documentation: pkg.go.dev

# Functions

CreateWorker creates a TimedWorker that will execute `f` not earlier than `fireAt`.
CreateWorkerQueue creates a new TimedWorkerQueue for workers that will execute given function `f`.
NewNoExecuteTaintManager creates a new NoExecuteTaintManager that will use passed clientset to communicate with the API server.
NewRateLimitedTimedQueue creates new queue which will use given RateLimiter to oversee execution.
NewWorkArgs is a helper function to create new `WorkArgs`.

# Constants

EvictionRateLimiterBurst is the burst value for all eviction rate limiters.
NodeEvictionPeriod controls how often NodeController will try to evict Pods from non-responsive Nodes.
NodeHealthUpdateRetry controls the number of retries of writing node health update.
NodeUpdateChannelSize defines the size of channel for node update events.
UpdateWorkerSize defines the size of workers for node update or/and pod update.

# Structs

NoExecuteTaintManager listens to Taint/Toleration changes and is responsible for removing Pods from Nodes tainted with NoExecute Taints.
RateLimitedTimedQueue is a unique item priority queue ordered by the expected next time of execution.
TimedValue is a value that should be processed at a designated time.
TimedWorker is a responsible for executing a function no earlier than at FireAt time.
TimedWorkerQueue keeps a set of TimedWorkers that are still wait for execution.
UniqueQueue is a FIFO queue which additionally guarantees that any element can be added only once until it is removed.
WorkArgs keeps arguments that will be passed to the function executed by the worker.

# Type aliases

ActionFunc takes a timed value and returns false if the item must be retried, with an optional time.Duration if some minimum wait interval should be used.
GetNodeFunc returns the node for the specified name, or a NotFound error if missing.
GetPodFunc returns the pod for the specified name/namespace, or a NotFound error if missing.
TimedQueue is a priority heap where the lowest ProcessAt is at the front of the queue.