Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockIContainers
- func (m *MockIContainers) EXPECT() *MockIContainersMockRecorder
- func (m *MockIContainers) EnsureService(ctx context.Context, spec docker.ServiceSpec) (docker.ServiceState, error)
- func (m *MockIContainers) Exec(ctx context.Context, name string, spec docker.ExecSpec) (docker.ExecResult, error)
- func (m *MockIContainers) InspectService(ctx context.Context, name string) (docker.ServiceState, error)
- func (m *MockIContainers) SignalService(ctx context.Context, name, signal string) error
- func (m *MockIContainers) StopService(ctx context.Context, name string) error
- type MockIContainersMockRecorder
- func (mr *MockIContainersMockRecorder) EnsureService(ctx, spec any) *gomock.Call
- func (mr *MockIContainersMockRecorder) Exec(ctx, name, spec any) *gomock.Call
- func (mr *MockIContainersMockRecorder) InspectService(ctx, name any) *gomock.Call
- func (mr *MockIContainersMockRecorder) SignalService(ctx, name, signal any) *gomock.Call
- func (mr *MockIContainersMockRecorder) StopService(ctx, name any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIContainers ¶
type MockIContainers struct {
// contains filtered or unexported fields
}
MockIContainers is a mock of IContainers interface.
func NewMockIContainers ¶
func NewMockIContainers(ctrl *gomock.Controller) *MockIContainers
NewMockIContainers creates a new mock instance.
func (*MockIContainers) EXPECT ¶
func (m *MockIContainers) EXPECT() *MockIContainersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIContainers) EnsureService ¶
func (m *MockIContainers) EnsureService(ctx context.Context, spec docker.ServiceSpec) (docker.ServiceState, error)
EnsureService mocks base method.
func (*MockIContainers) Exec ¶
func (m *MockIContainers) Exec(ctx context.Context, name string, spec docker.ExecSpec) (docker.ExecResult, error)
Exec mocks base method.
func (*MockIContainers) InspectService ¶
func (m *MockIContainers) InspectService(ctx context.Context, name string) (docker.ServiceState, error)
InspectService mocks base method.
func (*MockIContainers) SignalService ¶
func (m *MockIContainers) SignalService(ctx context.Context, name, signal string) error
SignalService mocks base method.
func (*MockIContainers) StopService ¶
func (m *MockIContainers) StopService(ctx context.Context, name string) error
StopService mocks base method.
type MockIContainersMockRecorder ¶
type MockIContainersMockRecorder struct {
// contains filtered or unexported fields
}
MockIContainersMockRecorder is the mock recorder for MockIContainers.
func (*MockIContainersMockRecorder) EnsureService ¶
func (mr *MockIContainersMockRecorder) EnsureService(ctx, spec any) *gomock.Call
EnsureService indicates an expected call of EnsureService.
func (*MockIContainersMockRecorder) Exec ¶
func (mr *MockIContainersMockRecorder) Exec(ctx, name, spec any) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockIContainersMockRecorder) InspectService ¶
func (mr *MockIContainersMockRecorder) InspectService(ctx, name any) *gomock.Call
InspectService indicates an expected call of InspectService.
func (*MockIContainersMockRecorder) SignalService ¶
func (mr *MockIContainersMockRecorder) SignalService(ctx, name, signal any) *gomock.Call
SignalService indicates an expected call of SignalService.
func (*MockIContainersMockRecorder) StopService ¶
func (mr *MockIContainersMockRecorder) StopService(ctx, name any) *gomock.Call
StopService indicates an expected call of StopService.