dfs

package
v0.8.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, folder, name string) error
func CreateSymlink(src, dest string) error
func CreateSymlinks(pathSets [][]string) error

func GetValue

func GetValue(index int, args []string) string

func LaunchDocker

func LaunchDocker(config *Config, docker string, args ...string) (*exec.Cmd, error)

func Main

func Main()

func ParseConfig

func ParseConfig(config *Config, args ...string) []string

func PidOne

func PidOne() error

func PrepareFs

func PrepareFs(config *Config) error

Types

type Config

type Config struct {
	Fork            bool
	PidOne          bool
	CommandName     string
	DNSConfig       config.DNSConfig
	BridgeName      string
	BridgeAddress   string
	BridgeMtu       int
	CgroupHierarchy map[string]string
	LogFile         string
	NoLog           bool
	NoFiles         uint64
	Environment     []string
	GraphDirectory  string
	DaemonConfig    string
}

Jump to

Keyboard shortcuts

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