package server
import "k8s.io/kubernetes/pkg/kubeapiserver/server"
Index ¶
- func BuildInsecureHandlerChain(apiHandler http.Handler, c *server.Config) http.Handler
- func NonBlockingRun(insecureServingInfo *InsecureServingInfo, insecureHandler http.Handler, shutDownTimeout time.Duration, stopCh <-chan struct{}) error
- type InsecureServingInfo
Functions ¶
func BuildInsecureHandlerChain ¶
func NonBlockingRun ¶
func NonBlockingRun(insecureServingInfo *InsecureServingInfo, insecureHandler http.Handler, shutDownTimeout time.Duration, stopCh <-chan struct{}) error
NonBlockingRun spawns the insecure http server. An error is returned if the ports cannot be listened on.
Types ¶
type InsecureServingInfo ¶
type InsecureServingInfo struct { // BindAddress is the ip:port to serve on BindAddress string // BindNetwork is the type of network to bind to - defaults to "tcp", accepts "tcp", // "tcp4", and "tcp6". BindNetwork string }
func (*InsecureServingInfo) NewLoopbackClientConfig ¶
func (s *InsecureServingInfo) NewLoopbackClientConfig(token string) (*rest.Config, error)
Source Files ¶
insecure_handler.go
- Version
- v1.11.0
- Published
- Jun 27, 2018
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 25 seconds ago –
Tools for package owners.