options

package
v0.0.0-...-ac39e06 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 2 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 {
	Master           string
	Kubeconfig       string
	CertFile         string
	KeyFile          string
	CaCertFile       string
	Port             int
	PrintVersion     bool
	WebhookName      string
	WebhookNamespace string
	SchedulerName    string
	WebhookURL       string
	KubeAPIBurst     int
	KubeAPIQPS       float32
}

Config admission-controller server config.

func NewConfig

func NewConfig() *Config

NewConfig create new config

func (*Config) AddFlags

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

AddFlags add flags

func (*Config) CheckPortOrDie

func (c *Config) CheckPortOrDie() error

CheckPortOrDie check valid port range

Jump to

Keyboard shortcuts

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