config

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VxlanPolicyAgent

type VxlanPolicyAgent struct {
	PollInterval      int    `json:"poll_interval" validate:"nonzero"`
	Datastore         string `json:"cni_datastore_path" validate:"nonzero"`
	PolicyServerURL   string `json:"policy_server_url" validate:"min=1"`
	VNI               int    `json:"vni" validate:"nonzero"`
	FlannelSubnetFile string `json:"flannel_subnet_file" validate:"nonzero"`
	MetronAddress     string `json:"metron_address" validate:"nonzero"`
	ServerCACertFile  string `json:"ca_cert_file" validate:"nonzero"`
	ClientCertFile    string `json:"client_cert_file" validate:"nonzero"`
	ClientKeyFile     string `json:"client_key_file" validate:"nonzero"`
	IPTablesLockFile  string `json:"iptables_lock_file" validate:"nonzero"`
	DebugServerHost   string `json:"debug_server_host" validate:"nonzero"`
	DebugServerPort   int    `json:"debug_server_port" validate:"nonzero"`
	LogLevel          string `json:"log_level"`
	IPTablesLogging   bool   `json:"iptables_c2c_logging"`
}

func New added in v0.7.0

func New(configFilePath string) (*VxlanPolicyAgent, error)

func (*VxlanPolicyAgent) Validate added in v0.7.0

func (c *VxlanPolicyAgent) Validate() error

Jump to

Keyboard shortcuts

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