kubernetesk8s.io/kubernetes/pkg/kubeapiserver/server Index | Files

package server

import "k8s.io/kubernetes/pkg/kubeapiserver/server"

Index

Functions

func BuildInsecureHandlerChain

func BuildInsecureHandlerChain(apiHandler http.Handler, c *server.Config) http.Handler

func NonBlockingRun

func NonBlockingRun(insecureServingInfo *InsecureServingInfo, insecureHandler http.Handler, 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.7.7
Published
Sep 28, 2017
Platform
js/wasm
Imports
11 packages
Last checked
1 minute ago

Tools for package owners.