mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0, EPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContainerManager

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

MockContainerManager is a mock of ContainerManager interface.

func NewMockContainerManager

func NewMockContainerManager(ctrl *gomock.Controller) *MockContainerManager

NewMockContainerManager creates a new mock instance.

func (*MockContainerManager) Attach

func (m *MockContainerManager) Attach(arg0 context.Context, arg1 string, arg2 *streams.AttachConfig) error

Attach mocks base method.

func (*MockContainerManager) Create

Create mocks base method.

func (*MockContainerManager) Dispose

func (m *MockContainerManager) Dispose(arg0 context.Context) error

Dispose mocks base method.

func (*MockContainerManager) EXPECT

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

func (*MockContainerManager) Get

Get mocks base method.

func (*MockContainerManager) List

List mocks base method.

func (*MockContainerManager) Load

func (m *MockContainerManager) Load(arg0 context.Context) error

Load mocks base method.

func (*MockContainerManager) Metrics

func (m *MockContainerManager) Metrics(ctx context.Context, id string) (*types.Metrics, error)

Metrics mocks base method

func (*MockContainerManager) Pause

func (m *MockContainerManager) Pause(arg0 context.Context, arg1 string) error

Pause mocks base method.

func (*MockContainerManager) Remove

func (m *MockContainerManager) Remove(arg0 context.Context, arg1 string, arg2 bool, arg3 *types.StopOpts) error

Remove mocks base method.

func (*MockContainerManager) Rename

func (m *MockContainerManager) Rename(arg0 context.Context, arg1, arg2 string) error

Rename mocks base method.

func (*MockContainerManager) Restart

func (m *MockContainerManager) Restart(arg0 context.Context, arg1 string, arg2 int64) error

Restart mocks base method.

func (*MockContainerManager) Restore

func (m *MockContainerManager) Restore(arg0 context.Context) error

Restore mocks base method.

func (*MockContainerManager) Start

func (m *MockContainerManager) Start(arg0 context.Context, arg1 string) error

Start mocks base method.

func (*MockContainerManager) Stop

func (m *MockContainerManager) Stop(arg0 context.Context, arg1 string, arg2 *types.StopOpts) error

Stop mocks base method.

func (*MockContainerManager) Unpause

func (m *MockContainerManager) Unpause(arg0 context.Context, arg1 string) error

Unpause mocks base method.

func (*MockContainerManager) Update

func (m *MockContainerManager) Update(arg0 context.Context, arg1 string, arg2 *types.UpdateOpts) error

Update mocks base method.

type MockContainerManagerMockRecorder

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

MockContainerManagerMockRecorder is the mock recorder for MockContainerManager.

func (*MockContainerManagerMockRecorder) Attach

func (mr *MockContainerManagerMockRecorder) Attach(arg0, arg1, arg2 interface{}) *gomock.Call

Attach indicates an expected call of AttachContainer.

func (*MockContainerManagerMockRecorder) Create

func (mr *MockContainerManagerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockContainerManagerMockRecorder) Dispose

func (mr *MockContainerManagerMockRecorder) Dispose(arg0 interface{}) *gomock.Call

Dispose indicates an expected call of Dispose.

func (*MockContainerManagerMockRecorder) Get

func (mr *MockContainerManagerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockContainerManagerMockRecorder) List

func (mr *MockContainerManagerMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockContainerManagerMockRecorder) Load

func (mr *MockContainerManagerMockRecorder) Load(arg0 interface{}) *gomock.Call

Load indicates an expected call of Load.

func (*MockContainerManagerMockRecorder) Metrics

func (mr *MockContainerManagerMockRecorder) Metrics(ctx, id interface{}) *gomock.Call

Metrics indicates an expected call of Metrics

func (*MockContainerManagerMockRecorder) Pause

func (mr *MockContainerManagerMockRecorder) Pause(arg0, arg1 interface{}) *gomock.Call

Pause indicates an expected call of Pause.

func (*MockContainerManagerMockRecorder) Remove

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

Remove indicates an expected call of Remove.

func (*MockContainerManagerMockRecorder) Rename

func (mr *MockContainerManagerMockRecorder) Rename(arg0, arg1, arg2 interface{}) *gomock.Call

Rename indicates an expected call of Rename.

func (*MockContainerManagerMockRecorder) Restart

func (mr *MockContainerManagerMockRecorder) Restart(arg0, arg1, arg2 interface{}) *gomock.Call

Restart indicates an expected call of Restart.

func (*MockContainerManagerMockRecorder) Restore

func (mr *MockContainerManagerMockRecorder) Restore(arg0 interface{}) *gomock.Call

Restore indicates an expected call of Restore.

func (*MockContainerManagerMockRecorder) Start

func (mr *MockContainerManagerMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockContainerManagerMockRecorder) Stop

func (mr *MockContainerManagerMockRecorder) Stop(arg0, arg1, arg2 interface{}) *gomock.Call

Stop indicates an expected call of Stop.

func (*MockContainerManagerMockRecorder) Unpause

func (mr *MockContainerManagerMockRecorder) Unpause(arg0, arg1 interface{}) *gomock.Call

Unpause indicates an expected call of Unpause.

func (*MockContainerManagerMockRecorder) Update

func (mr *MockContainerManagerMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockcontainerRepository

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

MockcontainerRepository is a mock of containerRepository interface

func NewMockcontainerRepository

func NewMockcontainerRepository(ctrl *gomock.Controller) *MockcontainerRepository

NewMockcontainerRepository creates a new mock instance

func (*MockcontainerRepository) Delete

func (m *MockcontainerRepository) Delete(containerId string) error

Delete mocks base method

func (*MockcontainerRepository) EXPECT

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

func (*MockcontainerRepository) Prune

func (m *MockcontainerRepository) Prune() error

Prune mocks base method

func (*MockcontainerRepository) Read

func (m *MockcontainerRepository) Read(containerId string) (*types.Container, error)

Read mocks base method

func (*MockcontainerRepository) ReadAll

func (m *MockcontainerRepository) ReadAll() ([]*types.Container, error)

ReadAll mocks base method

func (*MockcontainerRepository) Save

func (m *MockcontainerRepository) Save(container *types.Container) (*types.Container, error)

Save mocks base method

type MockcontainerRepositoryMockRecorder

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

MockcontainerRepositoryMockRecorder is the mock recorder for MockcontainerRepository

func (*MockcontainerRepositoryMockRecorder) Delete

func (mr *MockcontainerRepositoryMockRecorder) Delete(containerId interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockcontainerRepositoryMockRecorder) Prune

Prune indicates an expected call of Prune

func (*MockcontainerRepositoryMockRecorder) Read

func (mr *MockcontainerRepositoryMockRecorder) Read(containerId interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockcontainerRepositoryMockRecorder) ReadAll

ReadAll indicates an expected call of ReadAll

func (*MockcontainerRepositoryMockRecorder) Save

func (mr *MockcontainerRepositoryMockRecorder) Save(container interface{}) *gomock.Call

Save indicates an expected call of Save

Jump to

Keyboard shortcuts

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