k8swhsrv

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port                        int32   `mapstructure:"port"`
	CertDir                     string  `mapstructure:"cert-dir"`
	Service                     service `mapstructure:"service"`
	Secret                      secret  `mapstructure:"secret"`
	ValidatingWebhookConfigName string  `mapstructure:"validating-webhook-config-name"`
	MutatingWebhookConfigName   string  `mapstructure:"mutating-webhook-config-name"`
}

func NewConfig

func NewConfig() *Config

func (*Config) Validate

func (c *Config) Validate() error

type K8SWebhookServer

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

func NewK8SWebhookServer

func NewK8SWebhookServer(mgr *manager.Manager, config *Config) *K8SWebhookServer

func (*K8SWebhookServer) Launch

func (srv *K8SWebhookServer) Launch()

Jump to

Keyboard shortcuts

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