mocks

package
v3.2.3-jfd Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 4 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(containerName string, sourcePath string, destPath string, compressionLevel int) error

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

func (*ContainerRuntimeExecutor) GetFileContents

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

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

func (*ContainerRuntimeExecutor) GetOutputStream

func (_m *ContainerRuntimeExecutor) GetOutputStream(ctx context.Context, containerName string, combinedOutput bool) (io.ReadCloser, error)

GetOutputStream provides a mock function with given fields: ctx, containerName, combinedOutput

func (*ContainerRuntimeExecutor) Kill

func (_m *ContainerRuntimeExecutor) Kill(ctx context.Context, containerNames []string, terminationGracePeriodDuration time.Duration) error

Kill provides a mock function with given fields: ctx, containerNames, terminationGracePeriodDuration

func (*ContainerRuntimeExecutor) ListContainerNames

func (_m *ContainerRuntimeExecutor) ListContainerNames(ctx context.Context) ([]string, error)

ListContainerNames provides a mock function with given fields: ctx

func (*ContainerRuntimeExecutor) Wait

func (_m *ContainerRuntimeExecutor) Wait(ctx context.Context, containerNames []string) error

Wait provides a mock function with given fields: ctx, containerNames

Jump to

Keyboard shortcuts

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