-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from infinimesh/mockery
Resolve #81- Add mockery and export mocks for Golang ConnectPRC, gRPC and Protobuf
- Loading branch information
Showing
26 changed files
with
9,598 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
with-expecter: true | ||
outpkg: "{{.PackageName}}_mocks" | ||
packages: | ||
github.com/infinimesh/proto/eventbus: | ||
interfaces: | ||
EventsServiceClient: | ||
github.com/infinimesh/proto/eventbus/eventbusconnect: | ||
interfaces: | ||
EventsServiceClient: | ||
|
||
github.com/infinimesh/proto/handsfree: | ||
interfaces: | ||
HandsfreeServiceClient: | ||
github.com/infinimesh/proto/handsfree/handsfreeconnect: | ||
interfaces: | ||
HandsfreeServiceClient: | ||
|
||
github.com/infinimesh/proto/node: | ||
interfaces: | ||
AccountsServiceClient: | ||
DevicesServiceClient: | ||
NamespacesServiceClient: | ||
SessionsServiceClient: | ||
ShadowServiceClient: | ||
InternalServiceClient: | ||
|
||
github.com/infinimesh/proto/node/nodeconnect: | ||
interfaces: | ||
AccountsServiceClient: | ||
DevicesServiceClient: | ||
NamespacesServiceClient: | ||
SessionsServiceClient: | ||
ShadowServiceClient: | ||
InternalServiceClient: | ||
|
||
github.com/infinimesh/proto/shadow: | ||
interfaces: | ||
ShadowServiceClient: | ||
ShadowService_StreamShadowServer: | ||
github.com/infinimesh/proto/shadow/shadowconnect: | ||
interfaces: | ||
ShadowServiceClient: | ||
|
||
github.com/infinimesh/proto/plugins: | ||
interfaces: | ||
PluginsServiceClient: | ||
github.com/infinimesh/proto/plugins/pluginsconnect: | ||
interfaces: | ||
PluginsServiceClient: | ||
|
||
github.com/infinimesh/proto/timeseries: | ||
interfaces: | ||
TimeseriesServiceClient: | ||
github.com/infinimesh/proto/timeseries/timeseriesconnect: | ||
interfaces: | ||
TimeseriesServiceClient: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
mocks/github.com/infinimesh/proto/eventbus/eventbusconnect/mock_EventsServiceClient.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
115 changes: 115 additions & 0 deletions
115
mocks/github.com/infinimesh/proto/eventbus/mock_EventsServiceClient.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.