package app
import "k8s.io/kubernetes/cmd/controller-manager/app"
Index ¶
- func BuildHandlerChain(apiHandler http.Handler, authorizationInfo *apiserver.AuthorizationInfo, authenticationInfo *apiserver.AuthenticationInfo) http.Handler
- func IsControllerEnabled(name string, disabledByDefaultControllers sets.String, controllers []string) bool
- func NewBaseHandler(c *componentbaseconfig.DebuggingConfiguration, checks ...healthz.HealthChecker) *mux.PathRecorderMux
- func WaitForAPIServer(client clientset.Interface, timeout time.Duration) error
Functions ¶
func BuildHandlerChain ¶
func BuildHandlerChain(apiHandler http.Handler, authorizationInfo *apiserver.AuthorizationInfo, authenticationInfo *apiserver.AuthenticationInfo) http.Handler
BuildHandlerChain builds a handler chain with a base handler and CompletedConfig.
func IsControllerEnabled ¶
func IsControllerEnabled(name string, disabledByDefaultControllers sets.String, controllers []string) bool
IsControllerEnabled check if a specified controller enabled or not.
func NewBaseHandler ¶
func NewBaseHandler(c *componentbaseconfig.DebuggingConfiguration, checks ...healthz.HealthChecker) *mux.PathRecorderMux
NewBaseHandler takes in CompletedConfig and returns a handler.
func WaitForAPIServer ¶
WaitForAPIServer waits for the API Server's /healthz endpoint to report "ok" with timeout.
Source Files ¶
helper.go serve.go
Directories ¶
Path | Synopsis |
---|---|
cmd/controller-manager/app/options |
- Version
- v1.18.0-alpha.0
- Published
- Oct 29, 2019
- Platform
- js/wasm
- Imports
- 19 packages
- Last checked
- 4 minutes ago –
Tools for package owners.