Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container interface {
// Start will start the container
Start() error
// Stop will stop the container
Stop() error
// ID will return the container ID
ID() string
// RunCommand will run a command in the container and return the output
RunCommand(cmd string) (string, error)
// Export will export the container filesystem to a tarball
Export() (*tar.Reader, error)
}
Click to show internal directories.
Click to hide internal directories.