mocks

package
v2.4.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerRuntimeExecutor

type ContainerRuntimeExecutor struct {
	mock.Mock
}

ContainerRuntimeExecutor is an autogenerated mock type for the ContainerRuntimeExecutor type

func (*ContainerRuntimeExecutor) CopyFile

func (_m *ContainerRuntimeExecutor) CopyFile(containerID string, sourcePath string, destPath string) error

CopyFile provides a mock function with given fields: containerID, sourcePath, destPath

func (*ContainerRuntimeExecutor) GetFileContents

func (_m *ContainerRuntimeExecutor) GetFileContents(containerID string, sourcePath string) (string, error)

GetFileContents provides a mock function with given fields: containerID, sourcePath

func (*ContainerRuntimeExecutor) GetOutputStream

func (_m *ContainerRuntimeExecutor) GetOutputStream(containerID string, combinedOutput bool) (io.ReadCloser, error)

GetOutputStream provides a mock function with given fields: containerID, combinedOutput

func (*ContainerRuntimeExecutor) Kill

func (_m *ContainerRuntimeExecutor) Kill(containerIDs []string) error

Kill provides a mock function with given fields: containerIDs

func (*ContainerRuntimeExecutor) Wait

func (_m *ContainerRuntimeExecutor) Wait(containerID string) error

Wait provides a mock function with given fields: containerID

func (*ContainerRuntimeExecutor) WaitInit

func (_m *ContainerRuntimeExecutor) WaitInit() error

WaitInit provides a mock function with given fields:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL