Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockContainerManager
- func (m *MockContainerManager) Attach(arg0 context.Context, arg1 string, arg2 *streams.AttachConfig) error
- func (m *MockContainerManager) Create(arg0 context.Context, arg1 *types.Container) (*types.Container, error)
- func (m *MockContainerManager) Dispose(arg0 context.Context) error
- func (m *MockContainerManager) EXPECT() *MockContainerManagerMockRecorder
- func (m *MockContainerManager) Get(arg0 context.Context, arg1 string) (*types.Container, error)
- func (m *MockContainerManager) List(arg0 context.Context) ([]*types.Container, error)
- func (m *MockContainerManager) Load(arg0 context.Context) error
- func (m *MockContainerManager) Metrics(ctx context.Context, id string) (*types.Metrics, error)
- func (m *MockContainerManager) Pause(arg0 context.Context, arg1 string) error
- func (m *MockContainerManager) Remove(arg0 context.Context, arg1 string, arg2 bool, arg3 *types.StopOpts) error
- func (m *MockContainerManager) Rename(arg0 context.Context, arg1, arg2 string) error
- func (m *MockContainerManager) Restart(arg0 context.Context, arg1 string, arg2 int64) error
- func (m *MockContainerManager) Restore(arg0 context.Context) error
- func (m *MockContainerManager) Start(arg0 context.Context, arg1 string) error
- func (m *MockContainerManager) Stop(arg0 context.Context, arg1 string, arg2 *types.StopOpts) error
- func (m *MockContainerManager) Unpause(arg0 context.Context, arg1 string) error
- func (m *MockContainerManager) Update(arg0 context.Context, arg1 string, arg2 *types.UpdateOpts) error
- type MockContainerManagerMockRecorder
- func (mr *MockContainerManagerMockRecorder) Attach(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Dispose(arg0 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Load(arg0 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Metrics(ctx, id interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Pause(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Remove(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Rename(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Restart(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Restore(arg0 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Stop(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Unpause(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerManagerMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockcontainerRepository
- func (m *MockcontainerRepository) Delete(containerId string) error
- func (m *MockcontainerRepository) EXPECT() *MockcontainerRepositoryMockRecorder
- func (m *MockcontainerRepository) Prune() error
- func (m *MockcontainerRepository) Read(containerId string) (*types.Container, error)
- func (m *MockcontainerRepository) ReadAll() ([]*types.Container, error)
- func (m *MockcontainerRepository) Save(container *types.Container) (*types.Container, error)
- type MockcontainerRepositoryMockRecorder
- func (mr *MockcontainerRepositoryMockRecorder) Delete(containerId interface{}) *gomock.Call
- func (mr *MockcontainerRepositoryMockRecorder) Prune() *gomock.Call
- func (mr *MockcontainerRepositoryMockRecorder) Read(containerId interface{}) *gomock.Call
- func (mr *MockcontainerRepositoryMockRecorder) ReadAll() *gomock.Call
- func (mr *MockcontainerRepositoryMockRecorder) Save(container interface{}) *gomock.Call
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 ¶
func (m *MockContainerManager) Create(arg0 context.Context, arg1 *types.Container) (*types.Container, error)
Create mocks base method.
func (*MockContainerManager) Dispose ¶
func (m *MockContainerManager) Dispose(arg0 context.Context) error
Dispose mocks base method.
func (*MockContainerManager) EXPECT ¶
func (m *MockContainerManager) EXPECT() *MockContainerManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainerManager) Load ¶
func (m *MockContainerManager) Load(arg0 context.Context) error
Load 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) 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) 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 ¶
func (m *MockcontainerRepository) EXPECT() *MockcontainerRepositoryMockRecorder
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
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 ¶
func (mr *MockcontainerRepositoryMockRecorder) Prune() *gomock.Call
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 ¶
func (mr *MockcontainerRepositoryMockRecorder) ReadAll() *gomock.Call
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