Documentation ¶
Index ¶
- Variables
- func ClearDir(path ...string) error
- func CopyFile(src, dst string) error
- func DrainBoolChan(c chan bool)
- func DrainDataChan(c chan []byte)
- func DrainLogChan(c chan proto.LogEntry)
- func DrainRecvChan(c chan *proto.Reply)
- func DrainRecvData(c chan interface{})
- func DrainSendChan(c chan *proto.Cmd)
- func DrainTraceChan(c chan string) []string
- func FileExists(file string) bool
- func GetStatus(sendChan chan *proto.Cmd, recvChan chan *proto.Reply) map[string]string
- func LoadReport(file string, v interface{}, got interface{}) error
- func WaitBytes(dataChan chan []byte) [][]byte
- func WaitCmd(replyChan chan *proto.Cmd) []proto.Cmd
- func WaitData(recvDataChan chan interface{}) []interface{}
- func WaitErr(errChan chan error) []error
- func WaitFiles(dir string, n int) []os.FileInfo
- func WaitLog(recvDataChan chan interface{}, want int) []proto.LogEntry
- func WaitReply(replyChan chan *proto.Reply) []proto.Reply
- func WaitReplyCmd(replyChan chan *proto.Reply, replyCmd string) []proto.Reply
- func WaitState(c chan bool) bool
- func WaitStatus(timeout int, r pct.StatusReporter, proc string, state string) bool
- func WaitStatusPrefix(timeout int, r pct.StatusReporter, proc string, state string) bool
- func WaitStatusReply(replyChan chan *proto.Reply) map[string]string
- func WaitTrace(traceChan chan string) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var Ts, _ = time.Parse("2006-01-02 15:04:05", "2013-12-30 18:36:00")
Functions ¶
func DrainBoolChan ¶
func DrainBoolChan(c chan bool)
func DrainDataChan ¶
func DrainDataChan(c chan []byte)
func DrainLogChan ¶
func DrainRecvChan ¶
func DrainRecvData ¶
func DrainRecvData(c chan interface{})
func DrainSendChan ¶
func DrainTraceChan ¶
func FileExists ¶
func LoadReport ¶
func WaitReplyCmd ¶ added in v1.5.0
func WaitStatus ¶
func WaitStatusPrefix ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.