options

package
v0.3.10-0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ErrInvalidVpcProvider = errors.Error("invalid vpc provider")
	ErrInvalidOvnDatabase = errors.Error("invalid ovn database")
)
View Source
const (
	VPC_PROVIDER_OVN = "ovn"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	common_options.CommonOptions

	VpcAgentOptions
}

func (*Options) ValidateThenInit

func (opts *Options) ValidateThenInit() error

type VpcAgentOptions

type VpcAgentOptions struct {
	VpcProvider string `default:"ovn"`

	APISyncIntervalSeconds  int `default:"10"`
	APIRunDelayMilliseconds int `default:"100"`
	APIListBatchSize        int `default:"1024"`

	OvnWorkerCheckInterval int    `default:"180"`
	OvnNorthDatabase       string `help:"address for accessing ovn north database.  Default to local unix socket"`
	OvnUnderlayMtu         int    `help:"mtu of ovn underlay network" default:"1500"`
}

Jump to

Keyboard shortcuts

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