Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.