dfs

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 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 CopyFileOverwrite

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 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