Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
MockService is an autogenerated mock type for the Service type
func NewMockService ¶
func NewMockService(t interface { mock.TestingT Cleanup(func()) }) *MockService
NewMockService creates a new instance of MockService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockService) Backup ¶
func (_m *MockService) Backup() error
Backup provides a mock function with given fields:
func (*MockService) Start ¶
func (_m *MockService) Start() error
Start provides a mock function with given fields:
func (*MockService) Stop ¶
func (_m *MockService) Stop() error
Stop provides a mock function with given fields:
func (*MockService) Update ¶
func (_m *MockService) Update() error
Update provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.