Documentation
¶
Index ¶
- func Down(execLoc, fileName string)
- func Find(phrase string, r io.Reader, duration time.Duration) (string, error)
- func Ping(host string, duration time.Duration) error
- func Up(execLoc, fileName string, options ...string) error
- func UpWithLogs(execLoc, fileName string, options ...string) (io.ReadCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Down ¶
func Down(execLoc, fileName string)
Down cleans up services with docker-compose using `down` command
func Find ¶
Find parses from reader line by line to determine whether the given phrase exists. Currently there is no support for regex and the logic is built on top of `strings.Contains()` function
func UpWithLogs ¶
func UpWithLogs(execLoc, fileName string, options ...string) (io.ReadCloser, error)
UpWithLogs spins up docker-compose using `up` command but not in detach mode One should never pass in "-d" as option because it will display logs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.