docker

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerName

func ContainerName(pkgPath, fuzzFuncName string) string

func GetGuestWorkdir

func GetGuestWorkdir(name string) (string, error)

func LogGoFuzz

func LogGoFuzz(pkgPath string, cfg FuzzConfig) error

TODO: use docker engine api

func RunContainer

func RunContainer(cwd string, args []string) error

func RunGoFuzz

func RunGoFuzz(pkgPath string, cfg FuzzConfig) (string, error)

TODO: use docker engine api

func RunGoFuzzContainer

func RunGoFuzzContainer(cmd []string, runArgs ...string) error

TODO: use docker engine api

func StopContainer

func StopContainer(name string) error

Types

type FuzzConfig

type FuzzConfig struct {
	FuncName string
	Build    bool
	Procs    int
}

Jump to

Keyboard shortcuts

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