webhook

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoUID    = errors.New("No UID from request")
	ErrNoPorts  = errors.New("No ports specified for injection, doing nothing")
	ErrNoName   = errors.New("No VirtualNode name specified for injection, doing nothing")
	ErrNoObject = errors.New("No Object passed to mutate")
)

Functions

This section is empty.

Types

type Server

type Server struct {
	Config      config.Config
	KubeClient  kubernetes.Interface
	KubeDecoder runtime.Decoder
}

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(enableTLS bool, timeout time.Duration, stopCh <-chan struct{})

ListenAndServe starts the mutating webhook HTTP server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL