Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Attach(arg0 context.Context, arg1 string, arg2 bool) (io.Writer, io.ReadCloser, error)
- func (m *MockClient) Create(arg0 context.Context, arg1 *types.Container) (*types.Container, error)
- func (m *MockClient) Dispose() error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(arg0 context.Context, arg1 string) (*types.Container, error)
- func (m *MockClient) List(arg0 context.Context, arg1 ...client.Filter) ([]*types.Container, error)
- func (m *MockClient) Pause(arg0 context.Context, arg1 string) error
- func (m *MockClient) ProjectInfo(arg0 context.Context) (types0.ProjectInfo, error)
- func (m *MockClient) Remove(arg0 context.Context, arg1 string, arg2 bool) error
- func (m *MockClient) Rename(arg0 context.Context, arg1, arg2 string) error
- func (m *MockClient) Restart(arg0 context.Context, arg1 string, arg2 int64) error
- func (m *MockClient) Resume(arg0 context.Context, arg1 string) error
- func (m *MockClient) Start(arg0 context.Context, arg1 string) error
- func (m *MockClient) Stop(arg0 context.Context, arg1 string, arg2 *types.StopOpts) error
- func (m *MockClient) Update(arg0 context.Context, arg1 string, arg2 *types.UpdateOpts) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Attach(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Dispose() *gomock.Call
- func (mr *MockClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Pause(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ProjectInfo(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Remove(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Rename(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Restart(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Resume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Stop(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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) Rename ¶
func (m *MockClient) Rename(arg0 context.Context, arg1, arg2 string) error
Rename 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) 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) 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.