options

package
v1.0.0-2021-10-26-20-1... Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 10 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
	QPS                   float32
	Burst                 int
	SkipOverwriteUserList []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