mocks

package
v2.5.0-rc4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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