options

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Codecs = serializer.NewCodecFactory(scheme)

Functions

func ConfigTLS

func ConfigTLS(o *Options) *tls.Config

Types

type Options

type Options struct {
	CertFile       string
	KeyFile        string
	KubeConfigFile string
}

Config contains the server (the webhook) cert and key.

func NewOptions

func NewOptions() *Options

NewOptions constructs a new set of default options for webhook.

func (*Options) AddFlags

func (c *Options) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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