dfs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2017 License: Apache-2.0 Imports: 15 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 CopyFileOverwrite added in v1.0.4

func CopyFileOverwrite(src, folder, name string, overwrite bool) 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       netconf.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