config

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2018 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 Config

type Config struct {
	CniPluginDir  string `json:"cni_plugin_dir"`
	CniConfigDir  string `json:"cni_config_dir"`
	BindMountDir  string `json:"bind_mount_dir"`
	StateFilePath string `json:"state_file"`
	StartPort     int    `json:"start_port"`
	TotalPorts    int    `json:"total_ports"`
	LogPrefix     string `json:"log_prefix"`
}

func New

func New(configFilePath string) (Config, error)

Jump to

Keyboard shortcuts

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