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) ListContainerNames(ctx context.Context) ([]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 (*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
Click to show internal directories.
Click to hide internal directories.