mocks

package
v0.1.0-M4 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0, EPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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 MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Attach

func (m *MockClient) Attach(arg0 context.Context, arg1 string, arg2 bool) (io.Writer, io.ReadCloser, error)

Attach mocks base method.

func (*MockClient) Create

func (m *MockClient) Create(arg0 context.Context, arg1 *types.Container) (*types.Container, error)

Create mocks base method.

func (*MockClient) Dispose

func (m *MockClient) Dispose() error

Dispose mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Get

func (m *MockClient) Get(arg0 context.Context, arg1 string) (*types.Container, error)

Get mocks base method.

func (*MockClient) List

func (m *MockClient) List(arg0 context.Context, arg1 ...client.Filter) ([]*types.Container, error)

List mocks base method.

func (*MockClient) Logs

func (m *MockClient) Logs(arg0 context.Context, arg1 string, arg2 int32) error

Locks mocks base method.

func (*MockClient) Pause

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

Pause mocks base method.

func (*MockClient) ProjectInfo

func (m *MockClient) ProjectInfo(arg0 context.Context) (types0.ProjectInfo, error)

ProjectInfo mocks base method.

func (*MockClient) Remove

func (m *MockClient) Remove(arg0 context.Context, arg1 string, arg2 bool) error

Remove mocks base method.

func (*MockClient) Rename

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

Rename mocks base method.

func (*MockClient) Restart

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

Restart mocks base method.

func (*MockClient) Resume

func (m *MockClient) Resume(arg0 context.Context, arg1 string) error

Resume mocks base method.

func (*MockClient) Start

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

Start mocks base method.

func (*MockClient) Stop

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

Stop mocks base method.

func (*MockClient) Update

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

Update mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Attach

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

Attach indicates an expected call of Attach.

func (*MockClientMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockClientMockRecorder) Dispose

func (mr *MockClientMockRecorder) Dispose() *gomock.Call

Dispose indicates an expected call of Dispose.

func (*MockClientMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockClientMockRecorder) List

func (mr *MockClientMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockClientMockRecorder) Logs

func (mr *MockClientMockRecorder) Logs(arg0, arg1, arg2 interface{}) *gomock.Call

Logs indicates an expected call of Logs.

func (*MockClientMockRecorder) Pause

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

Pause indicates an expected call of Pause.

func (*MockClientMockRecorder) ProjectInfo

func (mr *MockClientMockRecorder) ProjectInfo(arg0 interface{}) *gomock.Call

ProjectInfo indicates an expected call of ProjectInfo.

func (*MockClientMockRecorder) Remove

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

Remove indicates an expected call of Remove.

func (*MockClientMockRecorder) Rename

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

Rename indicates an expected call of Rename.

func (*MockClientMockRecorder) Restart

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

Restart indicates an expected call of Restart.

func (*MockClientMockRecorder) Resume

func (mr *MockClientMockRecorder) Resume(arg0, arg1 interface{}) *gomock.Call

Resume indicates an expected call of Resume.

func (*MockClientMockRecorder) Start

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

Start indicates an expected call of Start.

func (*MockClientMockRecorder) Stop

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

Stop indicates an expected call of Stop.

func (*MockClientMockRecorder) Update

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

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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