sysconfig

package
v0.0.0-...-68efac8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

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
	NetworkInterfacePrefix string
	IPTables               IPTablesConfig
}

func NewConfig

func NewConfig(tag string) Config

func (Config) Environ

func (config Config) Environ() []string

type IPTablesConfig

type IPTablesConfig struct {
	Filter IPTablesFilterConfig
	NAT    IPTablesNATConfig
}

type IPTablesFilterConfig

type IPTablesFilterConfig struct {
	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