sysconfig

package
v0.333.2-candidate Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2016 License: Apache-2.0 Imports: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunner

func NewRunner(config Config, commandRunner command_runner.CommandRunner) command_runner.CommandRunner

Types

type Config

type Config struct {
	CgroupPath             string
	CgroupNodeFilePath     string
	NetworkInterfacePrefix string
	IPTables               IPTablesConfig
	Tag                    string
}

func NewConfig

func NewConfig(tag string, allowHostAccess bool) Config

func (Config) Environ

func (config Config) Environ() process.Env

type IPTablesConfig

type IPTablesConfig struct {
	Filter IPTablesFilterConfig
	NAT    IPTablesNATConfig
}

type IPTablesFilterConfig

type IPTablesFilterConfig struct {
	AllowHostAccess bool
	InputChain      string
	ForwardChain    string
	DefaultChain    string
	InstancePrefix  string
}

type IPTablesNATConfig

type IPTablesNATConfig struct {
	PreroutingChain  string
	PostroutingChain string
	InstancePrefix   string
}

Jump to

Keyboard shortcuts

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