options

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericOptions

type GenericOptions struct {
	MetricsAddr          string
	ReadinessAddr        string
	EnableLeaderElection bool
}

func NewGenericOptions

func NewGenericOptions() *GenericOptions

func (*GenericOptions) AddFlags

func (options *GenericOptions) AddFlags(fs *pflag.FlagSet)

type PorterManagerOptions

type PorterManagerOptions struct {
	Bgp *bgpserver.BgpOptions
	*GenericOptions
	LogOptions *log.LogOptions
}

func NewPorterManagerOptions

func NewPorterManagerOptions() *PorterManagerOptions

func (*PorterManagerOptions) Flags

func (*PorterManagerOptions) Validate

func (s *PorterManagerOptions) Validate() []error

Jump to

Keyboard shortcuts

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