ocimock

package
v0.0.0-...-ec24d73 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: Apache-2.0 Imports: 8 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 *oci.Container, arg1 io.Reader, arg2, arg3 io.WriteCloser, arg4 bool, arg5 <-chan remotecommand.TerminalSize) error

AttachContainer mocks base method

func (*MockRuntimeImpl) ContainerStats

func (m *MockRuntimeImpl) ContainerStats(arg0 *oci.Container) (*oci.ContainerStats, error)

ContainerStats mocks base method

func (*MockRuntimeImpl) CreateContainer

func (m *MockRuntimeImpl) CreateContainer(arg0 *oci.Container, arg1 string) error

CreateContainer mocks base method

func (*MockRuntimeImpl) DeleteContainer

func (m *MockRuntimeImpl) DeleteContainer(arg0 *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 *oci.Container, arg1 []string, arg2 io.Reader, arg3, arg4 io.WriteCloser, arg5 bool, arg6 <-chan remotecommand.TerminalSize) error

ExecContainer mocks base method

func (*MockRuntimeImpl) ExecSyncContainer

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

ExecSyncContainer mocks base method

func (*MockRuntimeImpl) PauseContainer

func (m *MockRuntimeImpl) PauseContainer(arg0 *oci.Container) error

PauseContainer mocks base method

func (*MockRuntimeImpl) PortForwardContainer

func (m *MockRuntimeImpl) PortForwardContainer(arg0 *oci.Container, arg1 int32, arg2 io.ReadWriter) error

PortForwardContainer mocks base method

func (*MockRuntimeImpl) ReopenContainerLog

func (m *MockRuntimeImpl) ReopenContainerLog(arg0 *oci.Container) error

ReopenContainerLog mocks base method

func (*MockRuntimeImpl) SignalContainer

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

SignalContainer mocks base method

func (*MockRuntimeImpl) StartContainer

func (m *MockRuntimeImpl) StartContainer(arg0 *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 *oci.Container) error

UnpauseContainer mocks base method

func (*MockRuntimeImpl) UpdateContainer

func (m *MockRuntimeImpl) UpdateContainer(arg0 *oci.Container, arg1 *specs_go.LinuxResources) error

UpdateContainer mocks base method

func (*MockRuntimeImpl) UpdateContainerStatus

func (m *MockRuntimeImpl) UpdateContainerStatus(arg0 *oci.Container) error

UpdateContainerStatus mocks base method

func (*MockRuntimeImpl) WaitContainerStateStopped

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

WaitContainerStateStopped 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 interface{}) *gomock.Call

AttachContainer indicates an expected call of AttachContainer

func (*MockRuntimeImplMockRecorder) ContainerStats

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

ContainerStats indicates an expected call of ContainerStats

func (*MockRuntimeImplMockRecorder) CreateContainer

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

CreateContainer indicates an expected call of CreateContainer

func (*MockRuntimeImplMockRecorder) DeleteContainer

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

DeleteContainer indicates an expected call of DeleteContainer

func (*MockRuntimeImplMockRecorder) ExecContainer

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

ExecContainer indicates an expected call of ExecContainer

func (*MockRuntimeImplMockRecorder) ExecSyncContainer

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

ExecSyncContainer indicates an expected call of ExecSyncContainer

func (*MockRuntimeImplMockRecorder) PauseContainer

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

PauseContainer indicates an expected call of PauseContainer

func (*MockRuntimeImplMockRecorder) PortForwardContainer

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

PortForwardContainer indicates an expected call of PortForwardContainer

func (*MockRuntimeImplMockRecorder) ReopenContainerLog

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

ReopenContainerLog indicates an expected call of ReopenContainerLog

func (*MockRuntimeImplMockRecorder) SignalContainer

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

SignalContainer indicates an expected call of SignalContainer

func (*MockRuntimeImplMockRecorder) StartContainer

func (mr *MockRuntimeImplMockRecorder) StartContainer(arg0 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 interface{}) *gomock.Call

UnpauseContainer indicates an expected call of UnpauseContainer

func (*MockRuntimeImplMockRecorder) UpdateContainer

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

UpdateContainer indicates an expected call of UpdateContainer

func (*MockRuntimeImplMockRecorder) UpdateContainerStatus

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

UpdateContainerStatus indicates an expected call of UpdateContainerStatus

func (*MockRuntimeImplMockRecorder) WaitContainerStateStopped

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

WaitContainerStateStopped indicates an expected call of WaitContainerStateStopped

Jump to

Keyboard shortcuts

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