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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentOptions

type AgentOptions struct {
	LeaseDurationSeconds int
	MetricsAddr          string
	KubeConfig           string
	HubKubeConfig        string
	ClusterName          string
	AgentAddress         string
	AgentIngress         string
	AgentRoute           string
	AgentService         string
	Address              string
	CertDir              string
	TLSCertFile          string
	TLSPrivateKeyFile    string
	ClientCAFile         string
	Port                 int
	AgentPort            int
	EnableLeaderElection bool
	EnableImpersonation  bool
	InSecure             bool
}

func NewAgentOptions

func NewAgentOptions() *AgentOptions

func (*AgentOptions) AddFlags

func (o *AgentOptions) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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