Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCli
- func (m *MockCli) Compile(arg0 context.Context, arg1 *commands.CompileRequest, arg2, arg3 io.Writer, ...) (*commands.CompileResponse, error)
- func (m *MockCli) CreateInstance() *commands.Instance
- func (m *MockCli) EXPECT() *MockCliMockRecorder
- func (m *MockCli) GetPlatforms(arg0 *commands.PlatformListRequest) ([]*commands.Platform, error)
- func (m *MockCli) InitSettings(arg0 string)
- func (m *MockCli) LibraryInstall(arg0 context.Context, arg1 *commands.LibraryInstallRequest, ...) error
- func (m *MockCli) LibraryList(arg0 context.Context, arg1 *commands.LibraryListRequest) (*commands.LibraryListResponse, error)
- func (m *MockCli) LibrarySearch(arg0 context.Context, arg1 *commands.LibrarySearchRequest) (*commands.LibrarySearchResponse, error)
- func (m *MockCli) LibraryUninstall(arg0 context.Context, arg1 *commands.LibraryUninstallRequest, ...) error
- func (m *MockCli) PlatformInstall(arg0 context.Context, arg1 *commands.PlatformInstallRequest, ...) (*commands.PlatformInstallResponse, error)
- func (m *MockCli) PlatformSearch(arg0 *commands.PlatformSearchRequest) (*commands.PlatformSearchResponse, error)
- func (m *MockCli) PlatformUninstall(arg0 context.Context, arg1 *commands.PlatformUninstallRequest, ...) (*commands.PlatformUninstallResponse, error)
- func (m *MockCli) UpdateIndex(arg0 context.Context, arg1 *commands.UpdateIndexRequest, ...) error
- func (m *MockCli) UpdateLibrariesIndex(arg0 context.Context, arg1 *commands.UpdateLibrariesIndexRequest, ...) error
- func (m *MockCli) Version() string
- type MockCliMockRecorder
- func (mr *MockCliMockRecorder) Compile(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) CreateInstance() *gomock.Call
- func (mr *MockCliMockRecorder) GetPlatforms(arg0 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) InitSettings(arg0 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) LibraryInstall(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) LibraryList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) LibrarySearch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) LibraryUninstall(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) PlatformInstall(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) PlatformSearch(arg0 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) PlatformUninstall(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) UpdateIndex(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) UpdateLibrariesIndex(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCliMockRecorder) Version() *gomock.Call
- type MockSerialPort
- type MockSerialPortMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCli ¶
type MockCli struct {
// contains filtered or unexported fields
}
MockCli is a mock of Cli interface.
func NewMockCli ¶
func NewMockCli(ctrl *gomock.Controller) *MockCli
NewMockCli creates a new mock instance.
func (*MockCli) Compile ¶
func (m *MockCli) Compile(arg0 context.Context, arg1 *commands.CompileRequest, arg2, arg3 io.Writer, arg4 commands.TaskProgressCB, arg5 bool) (*commands.CompileResponse, error)
Compile mocks base method.
func (*MockCli) CreateInstance ¶
CreateInstance mocks base method.
func (*MockCli) EXPECT ¶
func (m *MockCli) EXPECT() *MockCliMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCli) GetPlatforms ¶
GetPlatforms mocks base method.
func (*MockCli) InitSettings ¶
InitSettings mocks base method.
func (*MockCli) LibraryInstall ¶
func (m *MockCli) LibraryInstall(arg0 context.Context, arg1 *commands.LibraryInstallRequest, arg2 commands.DownloadProgressCB, arg3 commands.TaskProgressCB) error
LibraryInstall mocks base method.
func (*MockCli) LibraryList ¶
func (m *MockCli) LibraryList(arg0 context.Context, arg1 *commands.LibraryListRequest) (*commands.LibraryListResponse, error)
LibraryList mocks base method.
func (*MockCli) LibrarySearch ¶
func (m *MockCli) LibrarySearch(arg0 context.Context, arg1 *commands.LibrarySearchRequest) (*commands.LibrarySearchResponse, error)
LibrarySearch mocks base method.
func (*MockCli) LibraryUninstall ¶
func (m *MockCli) LibraryUninstall(arg0 context.Context, arg1 *commands.LibraryUninstallRequest, arg2 commands.TaskProgressCB) error
LibraryUninstall mocks base method.
func (*MockCli) PlatformInstall ¶
func (m *MockCli) PlatformInstall(arg0 context.Context, arg1 *commands.PlatformInstallRequest, arg2 commands.DownloadProgressCB, arg3 commands.TaskProgressCB) (*commands.PlatformInstallResponse, error)
PlatformInstall mocks base method.
func (*MockCli) PlatformSearch ¶
func (m *MockCli) PlatformSearch(arg0 *commands.PlatformSearchRequest) (*commands.PlatformSearchResponse, error)
PlatformSearch mocks base method.
func (*MockCli) PlatformUninstall ¶
func (m *MockCli) PlatformUninstall(arg0 context.Context, arg1 *commands.PlatformUninstallRequest, arg2 func(*commands.TaskProgress)) (*commands.PlatformUninstallResponse, error)
PlatformUninstall mocks base method.
func (*MockCli) UpdateIndex ¶
func (m *MockCli) UpdateIndex(arg0 context.Context, arg1 *commands.UpdateIndexRequest, arg2 commands.DownloadProgressCB) error
UpdateIndex mocks base method.
func (*MockCli) UpdateLibrariesIndex ¶
func (m *MockCli) UpdateLibrariesIndex(arg0 context.Context, arg1 *commands.UpdateLibrariesIndexRequest, arg2 commands.DownloadProgressCB) error
UpdateLibrariesIndex mocks base method.
type MockCliMockRecorder ¶
type MockCliMockRecorder struct {
// contains filtered or unexported fields
}
MockCliMockRecorder is the mock recorder for MockCli.
func (*MockCliMockRecorder) Compile ¶
func (mr *MockCliMockRecorder) Compile(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Compile indicates an expected call of Compile.
func (*MockCliMockRecorder) CreateInstance ¶
func (mr *MockCliMockRecorder) CreateInstance() *gomock.Call
CreateInstance indicates an expected call of CreateInstance.
func (*MockCliMockRecorder) GetPlatforms ¶
func (mr *MockCliMockRecorder) GetPlatforms(arg0 interface{}) *gomock.Call
GetPlatforms indicates an expected call of GetPlatforms.
func (*MockCliMockRecorder) InitSettings ¶
func (mr *MockCliMockRecorder) InitSettings(arg0 interface{}) *gomock.Call
InitSettings indicates an expected call of InitSettings.
func (*MockCliMockRecorder) LibraryInstall ¶
func (mr *MockCliMockRecorder) LibraryInstall(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
LibraryInstall indicates an expected call of LibraryInstall.
func (*MockCliMockRecorder) LibraryList ¶
func (mr *MockCliMockRecorder) LibraryList(arg0, arg1 interface{}) *gomock.Call
LibraryList indicates an expected call of LibraryList.
func (*MockCliMockRecorder) LibrarySearch ¶
func (mr *MockCliMockRecorder) LibrarySearch(arg0, arg1 interface{}) *gomock.Call
LibrarySearch indicates an expected call of LibrarySearch.
func (*MockCliMockRecorder) LibraryUninstall ¶
func (mr *MockCliMockRecorder) LibraryUninstall(arg0, arg1, arg2 interface{}) *gomock.Call
LibraryUninstall indicates an expected call of LibraryUninstall.
func (*MockCliMockRecorder) PlatformInstall ¶
func (mr *MockCliMockRecorder) PlatformInstall(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PlatformInstall indicates an expected call of PlatformInstall.
func (*MockCliMockRecorder) PlatformSearch ¶
func (mr *MockCliMockRecorder) PlatformSearch(arg0 interface{}) *gomock.Call
PlatformSearch indicates an expected call of PlatformSearch.
func (*MockCliMockRecorder) PlatformUninstall ¶
func (mr *MockCliMockRecorder) PlatformUninstall(arg0, arg1, arg2 interface{}) *gomock.Call
PlatformUninstall indicates an expected call of PlatformUninstall.
func (*MockCliMockRecorder) UpdateIndex ¶
func (mr *MockCliMockRecorder) UpdateIndex(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateIndex indicates an expected call of UpdateIndex.
func (*MockCliMockRecorder) UpdateLibrariesIndex ¶
func (mr *MockCliMockRecorder) UpdateLibrariesIndex(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateLibrariesIndex indicates an expected call of UpdateLibrariesIndex.
func (*MockCliMockRecorder) Version ¶
func (mr *MockCliMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
type MockSerialPort ¶
type MockSerialPort struct {
// contains filtered or unexported fields
}
MockSerialPort is a mock of SerialPort interface.
func NewMockSerialPort ¶
func NewMockSerialPort(ctrl *gomock.Controller) *MockSerialPort
NewMockSerialPort creates a new mock instance.
func (*MockSerialPort) EXPECT ¶
func (m *MockSerialPort) EXPECT() *MockSerialPortMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSerialPort) SetTargets ¶
func (m *MockSerialPort) SetTargets(arg0 string, arg1 int)
SetTargets mocks base method.
func (*MockSerialPort) Streaming ¶
func (m *MockSerialPort) Streaming() bool
Streaming mocks base method.
type MockSerialPortMockRecorder ¶
type MockSerialPortMockRecorder struct {
// contains filtered or unexported fields
}
MockSerialPortMockRecorder is the mock recorder for MockSerialPort.
func (*MockSerialPortMockRecorder) Close ¶
func (mr *MockSerialPortMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSerialPortMockRecorder) SetTargets ¶
func (mr *MockSerialPortMockRecorder) SetTargets(arg0, arg1 interface{}) *gomock.Call
SetTargets indicates an expected call of SetTargets.
func (*MockSerialPortMockRecorder) Streaming ¶
func (mr *MockSerialPortMockRecorder) Streaming() *gomock.Call
Streaming indicates an expected call of Streaming.
func (*MockSerialPortMockRecorder) Watch ¶
func (mr *MockSerialPortMockRecorder) Watch() *gomock.Call
Watch indicates an expected call of Watch.