k8swhsrv

package
v4.2.276+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 16 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:"certDir"`
	Service                     service `mapstructure:"service"`
	Secret                      secret  `mapstructure:"secret"`
	ValidatingWebhookConfigName string  `mapstructure:"validatingWebhookConfigName"`
	MutatingWebhookConfigName   string  `mapstructure:"mutatingWebhookConfigName"`
}

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, svcSelector *map[string]string) *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