Documentation ¶
Overview ¶
Package ocimock is a generated GoMock package.
Index ¶
- type MockRuntimeImpl
- func (m *MockRuntimeImpl) AttachContainer(arg0 context.Context, arg1 *oci.Container, arg2 io.Reader, ...) error
- func (m *MockRuntimeImpl) CheckpointContainer(arg0 context.Context, arg1 *oci.Container, arg2 *specs.Spec, arg3 bool) error
- func (m *MockRuntimeImpl) ContainerStats(arg0 context.Context, arg1 *oci.Container, arg2 string) (*cgmgr.CgroupStats, error)
- func (m *MockRuntimeImpl) CreateContainer(arg0 context.Context, arg1 *oci.Container, arg2 string, arg3 bool) error
- func (m *MockRuntimeImpl) DeleteContainer(arg0 context.Context, arg1 *oci.Container) error
- func (m *MockRuntimeImpl) EXPECT() *MockRuntimeImplMockRecorder
- func (m *MockRuntimeImpl) ExecContainer(arg0 context.Context, arg1 *oci.Container, arg2 []string, arg3 io.Reader, ...) error
- func (m *MockRuntimeImpl) ExecSyncContainer(arg0 context.Context, arg1 *oci.Container, arg2 []string, arg3 int64) (*v1.ExecSyncResponse, error)
- func (m *MockRuntimeImpl) PauseContainer(arg0 context.Context, arg1 *oci.Container) error
- func (m *MockRuntimeImpl) PortForwardContainer(arg0 context.Context, arg1 *oci.Container, arg2 string, arg3 int32, ...) error
- func (m *MockRuntimeImpl) ReopenContainerLog(arg0 context.Context, arg1 *oci.Container) error
- func (m *MockRuntimeImpl) RestoreContainer(arg0 context.Context, arg1 *oci.Container, arg2, arg3 string) error
- func (m *MockRuntimeImpl) SignalContainer(arg0 context.Context, arg1 *oci.Container, arg2 syscall.Signal) error
- func (m *MockRuntimeImpl) StartContainer(arg0 context.Context, arg1 *oci.Container) error
- func (m *MockRuntimeImpl) StopContainer(arg0 context.Context, arg1 *oci.Container, arg2 int64) error
- func (m *MockRuntimeImpl) UnpauseContainer(arg0 context.Context, arg1 *oci.Container) error
- func (m *MockRuntimeImpl) UpdateContainer(arg0 context.Context, arg1 *oci.Container, arg2 *specs.LinuxResources) error
- func (m *MockRuntimeImpl) UpdateContainerStatus(arg0 context.Context, arg1 *oci.Container) error
- type MockRuntimeImplMockRecorder
- func (mr *MockRuntimeImplMockRecorder) AttachContainer(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) CheckpointContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) ContainerStats(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) CreateContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) DeleteContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) ExecContainer(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) ExecSyncContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) PauseContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) PortForwardContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) ReopenContainerLog(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) RestoreContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) SignalContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) StartContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) StopContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) UnpauseContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) UpdateContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRuntimeImplMockRecorder) UpdateContainerStatus(arg0, arg1 interface{}) *gomock.Call
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 ¶
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) (*cgmgr.CgroupStats, 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 ¶
DeleteContainer mocks base method.
func (*MockRuntimeImpl) EXPECT ¶
func (m *MockRuntimeImpl) EXPECT() *MockRuntimeImplMockRecorder
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 ¶
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 ¶
ReopenContainerLog mocks base method.
func (*MockRuntimeImpl) RestoreContainer ¶
func (m *MockRuntimeImpl) RestoreContainer(arg0 context.Context, arg1 *oci.Container, arg2, arg3 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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (mr *MockRuntimeImplMockRecorder) RestoreContainer(arg0, arg1, arg2, arg3 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.