Documentation ¶
Index ¶
- type ContainerRuntimeExecutor
- func (_m *ContainerRuntimeExecutor) CopyFile(containerName string, sourcePath string, destPath string, compressionLevel int) error
- func (_m *ContainerRuntimeExecutor) GetFileContents(containerName string, sourcePath string) (string, error)
- func (_m *ContainerRuntimeExecutor) GetOutputStream(ctx context.Context, containerName string, combinedOutput bool) (io.ReadCloser, error)
- func (_m *ContainerRuntimeExecutor) Kill(ctx context.Context, containerNames []string, ...) error
- func (_m *ContainerRuntimeExecutor) Wait(ctx context.Context, containerNames []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerRuntimeExecutor ¶
ContainerRuntimeExecutor is an autogenerated mock type for the ContainerRuntimeExecutor type
func NewContainerRuntimeExecutor ¶ added in v3.4.8
func NewContainerRuntimeExecutor(t interface { mock.TestingT Cleanup(func()) }) *ContainerRuntimeExecutor
NewContainerRuntimeExecutor creates a new instance of ContainerRuntimeExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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
Click to show internal directories.
Click to hide internal directories.