webhook

package
v0.0.0-...-8f580fe Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebHook

type WebHook struct {
	// contains filtered or unexported fields
}

func New

func New(
	clientset kubernetes.Interface,
	certDir string,
	webhookServiceNamespace string,
	webhookServiceName string,
	webhookPort int) (*WebHook, error)

func (*WebHook) Start

func (wh *WebHook) Start() error

Start starts the admission webhook server and registers itself to the API server.

func (*WebHook) Stop

func (wh *WebHook) Stop() error

Stop deregisters itself with the API server and stops the admission webhook server.

Jump to

Keyboard shortcuts

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