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