ocimock

package
v1.25.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package ocimock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRuntimeImpl

type MockRuntimeImpl struct {
	// contains filtered or unexported fields
}

MockRuntimeImpl is a mock of RuntimeImpl interface.

func NewMockRuntimeImpl

func NewMockRuntimeImpl(ctrl *gomock.Controller) *MockRuntimeImpl

NewMockRuntimeImpl creates a new mock instance.

func (*MockRuntimeImpl) AttachContainer

func (m *MockRuntimeImpl) AttachContainer(arg0 context.Context, arg1 *oci.Container, arg2 io.Reader, arg3, arg4 io.WriteCloser, arg5 bool, arg6 <-chan remotecommand.TerminalSize) error

AttachContainer mocks base method.

func (*MockRuntimeImpl) CheckpointContainer added in v1.25.0

func (m *MockRuntimeImpl) CheckpointContainer(arg0 context.Context, arg1 *oci.Container, arg2 *specs.Spec, arg3 bool) error

CheckpointContainer mocks base method.

func (*MockRuntimeImpl) ContainerStats

func (m *MockRuntimeImpl) ContainerStats(arg0 context.Context, arg1 *oci.Container, arg2 string) (*v1.ContainerStats, error)

ContainerStats mocks base method.

func (*MockRuntimeImpl) CreateContainer

func (m *MockRuntimeImpl) CreateContainer(arg0 context.Context, arg1 *oci.Container, arg2 string, arg3 bool) error

CreateContainer mocks base method.

func (*MockRuntimeImpl) DeleteContainer

func (m *MockRuntimeImpl) DeleteContainer(arg0 context.Context, arg1 *oci.Container) error

DeleteContainer mocks base method.

func (*MockRuntimeImpl) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRuntimeImpl) ExecContainer

func (m *MockRuntimeImpl) ExecContainer(arg0 context.Context, arg1 *oci.Container, arg2 []string, arg3 io.Reader, arg4, arg5 io.WriteCloser, arg6 bool, arg7 <-chan remotecommand.TerminalSize) error

ExecContainer mocks base method.

func (*MockRuntimeImpl) ExecSyncContainer

func (m *MockRuntimeImpl) ExecSyncContainer(arg0 context.Context, arg1 *oci.Container, arg2 []string, arg3 int64) (*v1.ExecSyncResponse, error)

ExecSyncContainer mocks base method.

func (*MockRuntimeImpl) PauseContainer

func (m *MockRuntimeImpl) PauseContainer(arg0 context.Context, arg1 *oci.Container) error

PauseContainer mocks base method.

func (*MockRuntimeImpl) PortForwardContainer

func (m *MockRuntimeImpl) PortForwardContainer(arg0 context.Context, arg1 *oci.Container, arg2 string, arg3 int32, arg4 io.ReadWriteCloser) error

PortForwardContainer mocks base method.

func (*MockRuntimeImpl) ReopenContainerLog

func (m *MockRuntimeImpl) ReopenContainerLog(arg0 context.Context, arg1 *oci.Container) error

ReopenContainerLog mocks base method.

func (*MockRuntimeImpl) RestoreContainer added in v1.25.0

func (m *MockRuntimeImpl) RestoreContainer(arg0 context.Context, arg1 *oci.Container, arg2 *specs.Spec, arg3 int, arg4 string) error

RestoreContainer mocks base method.

func (*MockRuntimeImpl) SignalContainer

func (m *MockRuntimeImpl) SignalContainer(arg0 context.Context, arg1 *oci.Container, arg2 syscall.Signal) error

SignalContainer mocks base method.

func (*MockRuntimeImpl) StartContainer

func (m *MockRuntimeImpl) StartContainer(arg0 context.Context, arg1 *oci.Container) error

StartContainer mocks base method.

func (*MockRuntimeImpl) StopContainer

func (m *MockRuntimeImpl) StopContainer(arg0 context.Context, arg1 *oci.Container, arg2 int64) error

StopContainer mocks base method.

func (*MockRuntimeImpl) UnpauseContainer

func (m *MockRuntimeImpl) UnpauseContainer(arg0 context.Context, arg1 *oci.Container) error

UnpauseContainer mocks base method.

func (*MockRuntimeImpl) UpdateContainer

func (m *MockRuntimeImpl) UpdateContainer(arg0 context.Context, arg1 *oci.Container, arg2 *specs.LinuxResources) error

UpdateContainer mocks base method.

func (*MockRuntimeImpl) UpdateContainerStatus

func (m *MockRuntimeImpl) UpdateContainerStatus(arg0 context.Context, arg1 *oci.Container) error

UpdateContainerStatus mocks base method.

type MockRuntimeImplMockRecorder

type MockRuntimeImplMockRecorder struct {
	// contains filtered or unexported fields
}

MockRuntimeImplMockRecorder is the mock recorder for MockRuntimeImpl.

func (*MockRuntimeImplMockRecorder) AttachContainer

func (mr *MockRuntimeImplMockRecorder) AttachContainer(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

AttachContainer indicates an expected call of AttachContainer.

func (*MockRuntimeImplMockRecorder) CheckpointContainer added in v1.25.0

func (mr *MockRuntimeImplMockRecorder) CheckpointContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CheckpointContainer indicates an expected call of CheckpointContainer.

func (*MockRuntimeImplMockRecorder) ContainerStats

func (mr *MockRuntimeImplMockRecorder) ContainerStats(arg0, arg1, arg2 interface{}) *gomock.Call

ContainerStats indicates an expected call of ContainerStats.

func (*MockRuntimeImplMockRecorder) CreateContainer

func (mr *MockRuntimeImplMockRecorder) CreateContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateContainer indicates an expected call of CreateContainer.

func (*MockRuntimeImplMockRecorder) DeleteContainer

func (mr *MockRuntimeImplMockRecorder) DeleteContainer(arg0, arg1 interface{}) *gomock.Call

DeleteContainer indicates an expected call of DeleteContainer.

func (*MockRuntimeImplMockRecorder) ExecContainer

func (mr *MockRuntimeImplMockRecorder) ExecContainer(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

ExecContainer indicates an expected call of ExecContainer.

func (*MockRuntimeImplMockRecorder) ExecSyncContainer

func (mr *MockRuntimeImplMockRecorder) ExecSyncContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ExecSyncContainer indicates an expected call of ExecSyncContainer.

func (*MockRuntimeImplMockRecorder) PauseContainer

func (mr *MockRuntimeImplMockRecorder) PauseContainer(arg0, arg1 interface{}) *gomock.Call

PauseContainer indicates an expected call of PauseContainer.

func (*MockRuntimeImplMockRecorder) PortForwardContainer

func (mr *MockRuntimeImplMockRecorder) PortForwardContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

PortForwardContainer indicates an expected call of PortForwardContainer.

func (*MockRuntimeImplMockRecorder) ReopenContainerLog

func (mr *MockRuntimeImplMockRecorder) ReopenContainerLog(arg0, arg1 interface{}) *gomock.Call

ReopenContainerLog indicates an expected call of ReopenContainerLog.

func (*MockRuntimeImplMockRecorder) RestoreContainer added in v1.25.0

func (mr *MockRuntimeImplMockRecorder) RestoreContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

RestoreContainer indicates an expected call of RestoreContainer.

func (*MockRuntimeImplMockRecorder) SignalContainer

func (mr *MockRuntimeImplMockRecorder) SignalContainer(arg0, arg1, arg2 interface{}) *gomock.Call

SignalContainer indicates an expected call of SignalContainer.

func (*MockRuntimeImplMockRecorder) StartContainer

func (mr *MockRuntimeImplMockRecorder) StartContainer(arg0, arg1 interface{}) *gomock.Call

StartContainer indicates an expected call of StartContainer.

func (*MockRuntimeImplMockRecorder) StopContainer

func (mr *MockRuntimeImplMockRecorder) StopContainer(arg0, arg1, arg2 interface{}) *gomock.Call

StopContainer indicates an expected call of StopContainer.

func (*MockRuntimeImplMockRecorder) UnpauseContainer

func (mr *MockRuntimeImplMockRecorder) UnpauseContainer(arg0, arg1 interface{}) *gomock.Call

UnpauseContainer indicates an expected call of UnpauseContainer.

func (*MockRuntimeImplMockRecorder) UpdateContainer

func (mr *MockRuntimeImplMockRecorder) UpdateContainer(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateContainer indicates an expected call of UpdateContainer.

func (*MockRuntimeImplMockRecorder) UpdateContainerStatus

func (mr *MockRuntimeImplMockRecorder) UpdateContainerStatus(arg0, arg1 interface{}) *gomock.Call

UpdateContainerStatus indicates an expected call of UpdateContainerStatus.

Jump to

Keyboard shortcuts

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