kubernetes: k8s.io/kubernetes/cmd/controller-manager/app Index | Files | Directories

package app

import "k8s.io/kubernetes/cmd/controller-manager/app"


Package Files

helper.go serve.go

func BuildHandlerChain Uses

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 Uses

func IsControllerEnabled(name string, disabledByDefaultControllers sets.String, controllers []string) bool

IsControllerEnabled check if a specified controller enabled or not.

func NewBaseHandler Uses

func NewBaseHandler(c *componentbaseconfig.DebuggingConfiguration, checks ...healthz.HealthChecker) *mux.PathRecorderMux

NewBaseHandler takes in CompletedConfig and returns a handler.

func WaitForAPIServer Uses

func WaitForAPIServer(client clientset.Interface, timeout time.Duration) error

WaitForAPIServer waits for the API Server's /healthz endpoint to report "ok" with timeout.



Package app imports 21 packages (graph) and is imported by 20 packages. Updated 2020-05-28. Refresh now. Tools for package owners.