package app

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

Index

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

NewBaseHandler takes in CompletedConfig and returns a handler.

func WaitForAPIServer

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

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

Source Files

helper.go serve.go

Directories

PathSynopsis
cmd/controller-manager/app/options
Version
v1.18.14-rc.0
Published
Dec 4, 2020
Platform
js/wasm
Imports
21 packages
Last checked
13 seconds ago

Tools for package owners.