mocks

package
Version: v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 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) GetExitCode

func (_m *ContainerRuntimeExecutor) GetExitCode(ctx context.Context, containerName string) (string, error)

GetExitCode provides a mock function with given fields: ctx, containerName

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) Wait

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

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

Jump to

Keyboard shortcuts

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