options

package
v0.0.0-...-f33f640 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultIstiodAddress is the default istiod address
	DefaultIstiodAddress = "istiod.istio-system.svc:15012"
	// DefaultProxyImage is the default sidecar image of istio
	DefaultProxyImage = "docker.io/istio/proxyv2:1.10.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	KubeConfig     string
	IstiodAddress  string
	ProxyImage     string
	LeaderElection *config.LeaderElectionConfiguration
}

Options for lazyxds

func New

func New(basename string) *Options

New creates an Options

func (*Options) AddFlags

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

AddFlags add several flags of lazyxds

func (*Options) Validate

func (o *Options) Validate() []error

Validate will check the requirements of options

Jump to

Keyboard shortcuts

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