Documentation ¶
Index ¶
- func PullDockerImage()
- func WaitForContainersToDie()
- type Instance
- func (mockInstance *Instance) Address() string
- func (mockInstance *Instance) CreateDir(path string)
- func (mockInstance *Instance) CreateExecutableFiles(files ...string)
- func (mockInstance *Instance) CreateScript(file, contents string)
- func (mockInstance *Instance) CreateUser(username, key string)
- func (mockInstance *Instance) DieInBackground()
- func (mockInstance *Instance) FileExists(path string) bool
- func (mockInstance *Instance) GetCreatedTime(path string) string
- func (mockInstance *Instance) GetFileContents(path string) string
- func (mockInstance *Instance) HostPublicKey() string
- func (mockInstance *Instance) IP() string
- func (mockInstance *Instance) Run(command ...string) string
- func (mockInstance *Instance) RunInBackground(command string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PullDockerImage ¶
func PullDockerImage()
func WaitForContainersToDie ¶
func WaitForContainersToDie()
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func NewInstance ¶
func NewInstance() *Instance
func (*Instance) CreateExecutableFiles ¶
func (*Instance) CreateScript ¶
func (*Instance) CreateUser ¶
func (*Instance) DieInBackground ¶
func (mockInstance *Instance) DieInBackground()
func (*Instance) FileExists ¶
func (*Instance) GetCreatedTime ¶
func (*Instance) GetFileContents ¶
func (*Instance) HostPublicKey ¶
func (*Instance) RunInBackground ¶
Click to show internal directories.
Click to hide internal directories.