# Functions
AttemptToLoadRecycler tries decoding a pod from a filepath for use as a recycler for a volume.
CreateControllerContext creates a context struct containing references to resources needed by the controllers such as the cloud provider and clientBuilder.
GetAvailableResources gets the map which contains all available resources of the apiserver TODO: In general, any controller checking this needs to be dynamic so users don't have to restart their controller manager if they change the apiserver.
GetDynamicPluginProber gets the probers of dynamically discoverable plugins for the attach/detach controller.
KnownControllers returns all known controllers's name.
NewControllerInitializers is a public map of named controller groups (you can start more than one in an init func) paired to their InitFunc.
NewControllerManagerCommand creates a *cobra.Command object with default parameters.
ProbeAttachableVolumePlugins collects all volume plugins for the attach/ detach controller.
ProbeControllerVolumePlugins collects all persistent volume plugins into an easy to use list.
ProbeExpandableVolumePlugins returns volume plugins which are expandable.
ResyncPeriod returns a function which generates a duration each time it is invoked; this is so that multiple controllers don't get into lock-step and all hammer the apiserver with list requests simultaneously.
Run runs the KubeControllerManagerOptions.
StartControllers starts a set of controllers with a specified ControllerContext.
# Constants
ConfigzName is the name used for register kube-controller manager /configz, same with GroupName.
ControllerStartJitter is the Jitter used when starting controller managers.
ExternalLoops means the kube-controller-manager exclude the controller loops that are cloud provider dependent.
IncludeCloudLoops means the kube-controller-manager include the controller loops that are cloud provider dependent.
# Variables
ControllersDisabledByDefault is the set of controllers which is disabled by default.
# Structs
ControllerContext defines the context object for controller.
# Type aliases
ControllerLoopMode is the kube-controller-manager's mode of running controller loops that are cloud provider dependent.
InitFunc is used to launch a particular controller.