package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
CreateWorkerQueue creates a new TimedWorkerQueue for workers that will execute given function `f`.
New creates a new Controller that will use passed clientset to communicate with the API server.
NewWorkArgs is a helper function to create new `WorkArgs`.
# Constants
NodeUpdateChannelSize defines the size of channel for node update events.
UpdateWorkerSize defines the size of workers for node update or/and pod update.
# Structs
Controller listens to Taint/Toleration changes and is responsible for removing Pods from Nodes tainted with NoExecute Taints.
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.
WorkArgs keeps arguments that will be passed to the function executed by the worker.
# Type aliases
GetPodsByNodeNameFunc returns the list of pods assigned to the specified node.