Documentation ¶
Overview ¶
Package mocks_system is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) Auth(arg0 context.Context, arg1, arg2, arg3 string) (string, error)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetInfo(arg0 context.Context, arg1 *config.Config) (*dockercompat.Info, error)
- func (m *MockService) GetVersion(arg0 context.Context) (*types.VersionInfo, error)
- func (m *MockService) SubscribeEvents(arg0 context.Context, arg1 map[string][]string) (<-chan *events.Event, <-chan error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Auth(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetVersion(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SubscribeEvents(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) GetInfo ¶
func (m *MockService) GetInfo(arg0 context.Context, arg1 *config.Config) (*dockercompat.Info, error)
GetInfo mocks base method.
func (*MockService) GetVersion ¶
func (m *MockService) GetVersion(arg0 context.Context) (*types.VersionInfo, error)
GetVersion mocks base method.
func (*MockService) SubscribeEvents ¶
func (m *MockService) SubscribeEvents(arg0 context.Context, arg1 map[string][]string) (<-chan *events.Event, <-chan error)
SubscribeEvents mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Auth ¶
func (mr *MockServiceMockRecorder) Auth(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Auth indicates an expected call of Auth.
func (*MockServiceMockRecorder) GetInfo ¶
func (mr *MockServiceMockRecorder) GetInfo(arg0, arg1 interface{}) *gomock.Call
GetInfo indicates an expected call of GetInfo.
func (*MockServiceMockRecorder) GetVersion ¶
func (mr *MockServiceMockRecorder) GetVersion(arg0 interface{}) *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockServiceMockRecorder) SubscribeEvents ¶
func (mr *MockServiceMockRecorder) SubscribeEvents(arg0, arg1 interface{}) *gomock.Call
SubscribeEvents indicates an expected call of SubscribeEvents.
Click to show internal directories.
Click to hide internal directories.