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" ListenCRI = "unix:///tmp/test/pouch/pouchcri.sock" Pidfile = "/tmp/test/pouch/pouch.pid" )
For pouch deamon test, we launched another pouch daemon.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogPath string LogFile *os.File // Daemon startup arguments. Args []string // pouchd binary location Bin string // The following args are all MUST required, // in case the new daemon conflicts with existing ones. Listen string HomeDir string ContainerdAddr string ListenCri string Pidfile string // pid of pouchd Pid int // if Debug=true, dump daemon log when deamon failed to start Debug bool // contains filtered or unexported fields }
Config is the configuration of pouch daemon.
func (*Config) IsDaemonUp ¶
IsDaemonUp checks if the pouchd is launched.
Click to show internal directories.
Click to hide internal directories.