Documentation ¶
Index ¶
Constants ¶
View Source
const ( DaemonLog = "/tmp/pouchd.log" PouchdBin = "pouchd" HomeDir = "/tmp/test/pouch" Listen = "unix:///tmp/test/pouch/pouchd.sock" ContainerdAdd = "/tmp/test/pouch/containerd.sock" Pidfile = "/tmp/test/pouch/pouch.pid" ConfigJSON = "/tmp/pouchconfig.json" )
For pouch daemon test, we launched another pouch daemon.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon struct { daemon.Config // pouchd binary location Bin string // config file ConfigJSON string // pid of pouchd Pid int LogPath string LogFile *os.File // contains filtered or unexported fields }
Daemon defines the daemon to test
func (*Daemon) RunCommand ¶
RunCommand runs pouch command with specified listen
Click to show internal directories.
Click to hide internal directories.