config

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2016 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"`
}

func New

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

func (*VxlanPolicyAgent) Validate

func (c *VxlanPolicyAgent) Validate() error

Jump to

Keyboard shortcuts

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