Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
11d9e6e3
Commit
11d9e6e3
authored
May 24, 2019
by
Cristian Maglie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented Version grpc command
parent
b951097a
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
217 additions
and
115 deletions
+217
-115
cli/root/root.go
cli/root/root.go
+2
-2
cli/version/version.go
cli/version/version.go
+13
-8
common/formatter/output/lib_structs.go
common/formatter/output/lib_structs.go
+0
-30
daemon/client/client.go
daemon/client/client.go
+9
-0
daemon/daemon.go
daemon/daemon.go
+5
-0
rpc/commands.pb.go
rpc/commands.pb.go
+180
-75
rpc/commands.proto
rpc/commands.proto
+8
-0
No files found.
cli/root/root.go
View file @
11d9e6e3
...
...
@@ -32,7 +32,7 @@ import (
"github.com/arduino/arduino-cli/commands/config"
"github.com/arduino/arduino-cli/commands/generatedocs"
"github.com/arduino/arduino-cli/commands/sketch"
"github.com/arduino/arduino-cli/c
ommands
/version"
"github.com/arduino/arduino-cli/c
li
/version"
"github.com/arduino/arduino-cli/common/formatter"
"github.com/arduino/arduino-cli/configs"
paths
"github.com/arduino/go-paths-helper"
...
...
@@ -42,7 +42,7 @@ import (
"golang.org/x/crypto/ssh/terminal"
)
// Init prepares the cobra root command.
// Init prepares the cobra root command.
func
Init
()
*
cobra
.
Command
{
command
:=
&
cobra
.
Command
{
Use
:
"arduino-cli"
,
...
...
c
ommands
/version/version.go
→
c
li
/version/version.go
View file @
11d9e6e3
...
...
@@ -18,10 +18,9 @@
package
version
import
(
"fmt"
"github.com/arduino/arduino-cli/cli"
"github.com/arduino/arduino-cli/common/formatter"
"github.com/arduino/arduino-cli/common/formatter/output"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
...
...
@@ -38,11 +37,17 @@ func InitCommand() *cobra.Command {
return
versionCommand
}
type
versionOutput
struct
{
Command
string
`json:"command"`
Version
string
`json:"version"`
}
func
run
(
cmd
*
cobra
.
Command
,
args
[]
string
)
{
logrus
.
Info
(
"Calling version command on `arduino`"
)
versionInfo
:=
output
.
VersionResult
{
CommandName
:
cmd
.
Parent
()
.
Name
(),
Version
:
cli
.
Version
,
res
:=
&
versionOutput
{
Command
:
cmd
.
Parent
()
.
Name
(),
Version
:
cli
.
Version
,
}
if
cli
.
OutputJSONOrElse
(
res
)
{
fmt
.
Printf
(
"%s version %s
\n
"
,
res
.
Command
,
res
.
Version
)
}
formatter
.
Print
(
versionInfo
)
}
common/formatter/output/lib_structs.go
deleted
100644 → 0
View file @
b951097a
/*
* This file is part of arduino-cli.
*
* Copyright 2018 ARDUINO SA (http://www.arduino.cc/)
*
* This software is released under the GNU General Public License version 3,
* which covers the main part of arduino-cli.
* The terms of this license can be found at:
* https://www.gnu.org/licenses/gpl-3.0.en.html
*
* You can be released from the requirements of the above licenses by purchasing
* a commercial license. Buying such a license is mandatory if you want to modify or
* otherwise use the software for commercial activities involving the Arduino
* software without disclosing the source code of your own applications. To purchase
* a commercial license, send an email to license@arduino.cc.
*/
package
output
import
"fmt"
// VersionResult represents the output of the version commands.
type
VersionResult
struct
{
CommandName
string
`json:"command,required"`
Version
string
`json:"version,required"`
}
func
(
vr
VersionResult
)
String
()
string
{
return
fmt
.
Sprintf
(
"%s version %s"
,
vr
.
CommandName
,
vr
.
Version
)
}
daemon/client/client.go
View file @
11d9e6e3
...
...
@@ -44,6 +44,15 @@ func main() {
client
:=
rpc
.
NewArduinoCoreClient
(
conn
)
fmt
.
Println
()
// VERSION
fmt
.
Println
(
"=== calling Version"
)
versionResp
,
err
:=
client
.
Version
(
context
.
Background
(),
&
rpc
.
VersionReq
{})
if
err
!=
nil
{
fmt
.
Printf
(
"Error getting version: %s
\n
"
,
err
)
os
.
Exit
(
1
)
}
fmt
.
Printf
(
"---> %+v
\n\v
"
,
versionResp
)
// INIT
fmt
.
Println
(
"=== calling Init"
)
initRespStream
,
err
:=
client
.
Init
(
context
.
Background
(),
&
rpc
.
InitReq
{
...
...
daemon/daemon.go
View file @
11d9e6e3
...
...
@@ -26,6 +26,7 @@ import (
"log"
"net"
"github.com/arduino/arduino-cli/cli"
"github.com/arduino/arduino-cli/commands"
"github.com/arduino/arduino-cli/commands/board"
"github.com/arduino/arduino-cli/commands/compile"
...
...
@@ -119,6 +120,10 @@ func (s *ArduinoCoreServerImpl) Init(req *rpc.InitReq, stream rpc.ArduinoCore_In
return
stream
.
Send
(
resp
)
}
func
(
s
*
ArduinoCoreServerImpl
)
Version
(
ctx
context
.
Context
,
req
*
rpc
.
VersionReq
)
(
*
rpc
.
VersionResp
,
error
)
{
return
&
rpc
.
VersionResp
{
Version
:
cli
.
Version
},
nil
}
func
(
s
*
ArduinoCoreServerImpl
)
Compile
(
req
*
rpc
.
CompileReq
,
stream
rpc
.
ArduinoCore_CompileServer
)
error
{
resp
,
err
:=
compile
.
Compile
(
stream
.
Context
(),
req
,
...
...
rpc/commands.pb.go
View file @
11d9e6e3
...
...
@@ -46,7 +46,7 @@ func (m *Configuration) Reset() { *m = Configuration{} }
func
(
m
*
Configuration
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Configuration
)
ProtoMessage
()
{}
func
(
*
Configuration
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
0
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
0
}
}
func
(
m
*
Configuration
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Configuration
.
Unmarshal
(
m
,
b
)
...
...
@@ -106,7 +106,7 @@ func (m *InitReq) Reset() { *m = InitReq{} }
func
(
m
*
InitReq
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InitReq
)
ProtoMessage
()
{}
func
(
*
InitReq
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
1
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
1
}
}
func
(
m
*
InitReq
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_InitReq
.
Unmarshal
(
m
,
b
)
...
...
@@ -155,7 +155,7 @@ func (m *InitResp) Reset() { *m = InitResp{} }
func
(
m
*
InitResp
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InitResp
)
ProtoMessage
()
{}
func
(
*
InitResp
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
2
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
2
}
}
func
(
m
*
InitResp
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_InitResp
.
Unmarshal
(
m
,
b
)
...
...
@@ -221,7 +221,7 @@ func (m *DestroyReq) Reset() { *m = DestroyReq{} }
func
(
m
*
DestroyReq
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DestroyReq
)
ProtoMessage
()
{}
func
(
*
DestroyReq
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
3
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
3
}
}
func
(
m
*
DestroyReq
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_DestroyReq
.
Unmarshal
(
m
,
b
)
...
...
@@ -258,7 +258,7 @@ func (m *DestroyResp) Reset() { *m = DestroyResp{} }
func
(
m
*
DestroyResp
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DestroyResp
)
ProtoMessage
()
{}
func
(
*
DestroyResp
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
4
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
4
}
}
func
(
m
*
DestroyResp
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_DestroyResp
.
Unmarshal
(
m
,
b
)
...
...
@@ -289,7 +289,7 @@ func (m *RescanReq) Reset() { *m = RescanReq{} }
func
(
m
*
RescanReq
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RescanReq
)
ProtoMessage
()
{}
func
(
*
RescanReq
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
5
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
5
}
}
func
(
m
*
RescanReq
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RescanReq
.
Unmarshal
(
m
,
b
)
...
...
@@ -328,7 +328,7 @@ func (m *RescanResp) Reset() { *m = RescanResp{} }
func
(
m
*
RescanResp
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RescanResp
)
ProtoMessage
()
{}
func
(
*
RescanResp
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
6
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
6
}
}
func
(
m
*
RescanResp
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RescanResp
.
Unmarshal
(
m
,
b
)
...
...
@@ -373,7 +373,7 @@ func (m *UpdateIndexReq) Reset() { *m = UpdateIndexReq{} }
func
(
m
*
UpdateIndexReq
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpdateIndexReq
)
ProtoMessage
()
{}
func
(
*
UpdateIndexReq
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
7
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
7
}
}
func
(
m
*
UpdateIndexReq
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UpdateIndexReq
.
Unmarshal
(
m
,
b
)
...
...
@@ -411,7 +411,7 @@ func (m *UpdateIndexResp) Reset() { *m = UpdateIndexResp{} }
func
(
m
*
UpdateIndexResp
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpdateIndexResp
)
ProtoMessage
()
{}
func
(
*
UpdateIndexResp
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
8
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
8
}
}
func
(
m
*
UpdateIndexResp
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UpdateIndexResp
.
Unmarshal
(
m
,
b
)
...
...
@@ -449,7 +449,7 @@ func (m *UpdateLibrariesIndexReq) Reset() { *m = UpdateLibrariesIndexReq
func
(
m
*
UpdateLibrariesIndexReq
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpdateLibrariesIndexReq
)
ProtoMessage
()
{}
func
(
*
UpdateLibrariesIndexReq
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
9
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
9
}
}
func
(
m
*
UpdateLibrariesIndexReq
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UpdateLibrariesIndexReq
.
Unmarshal
(
m
,
b
)
...
...
@@ -487,7 +487,7 @@ func (m *UpdateLibrariesIndexResp) Reset() { *m = UpdateLibrariesIndexRe
func
(
m
*
UpdateLibrariesIndexResp
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpdateLibrariesIndexResp
)
ProtoMessage
()
{}
func
(
*
UpdateLibrariesIndexResp
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_
3105cb0692c6bdca
,
[]
int
{
10
}
return
fileDescriptor_commands_
92dd81084d7f582d
,
[]
int
{
10
}
}
func
(
m
*
UpdateLibrariesIndexResp
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UpdateLibrariesIndexResp
.
Unmarshal
(
m
,
b
)
...
...
@@ -514,6 +514,74 @@ func (m *UpdateLibrariesIndexResp) GetDownloadProgress() *DownloadProgress {
return
nil
}
type
VersionReq
struct
{
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
VersionReq
)
Reset
()
{
*
m
=
VersionReq
{}
}
func
(
m
*
VersionReq
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
VersionReq
)
ProtoMessage
()
{}
func
(
*
VersionReq
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_92dd81084d7f582d
,
[]
int
{
11
}
}
func
(
m
*
VersionReq
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_VersionReq
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
VersionReq
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_VersionReq
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
VersionReq
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_VersionReq
.
Merge
(
dst
,
src
)
}
func
(
m
*
VersionReq
)
XXX_Size
()
int
{
return
xxx_messageInfo_VersionReq
.
Size
(
m
)
}
func
(
m
*
VersionReq
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_VersionReq
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_VersionReq
proto
.
InternalMessageInfo
type
VersionResp
struct
{
Version
string
`protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
VersionResp
)
Reset
()
{
*
m
=
VersionResp
{}
}
func
(
m
*
VersionResp
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
VersionResp
)
ProtoMessage
()
{}
func
(
*
VersionResp
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_commands_92dd81084d7f582d
,
[]
int
{
12
}
}
func
(
m
*
VersionResp
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_VersionResp
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
VersionResp
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_VersionResp
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
VersionResp
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_VersionResp
.
Merge
(
dst
,
src
)
}
func
(
m
*
VersionResp
)
XXX_Size
()
int
{
return
xxx_messageInfo_VersionResp
.
Size
(
m
)
}
func
(
m
*
VersionResp
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_VersionResp
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_VersionResp
proto
.
InternalMessageInfo
func
(
m
*
VersionResp
)
GetVersion
()
string
{
if
m
!=
nil
{
return
m
.
Version
}
return
""
}
func
init
()
{
proto
.
RegisterType
((
*
Configuration
)(
nil
),
"cc.arduino.core.rpc.Configuration"
)
proto
.
RegisterType
((
*
InitReq
)(
nil
),
"cc.arduino.core.rpc.InitReq"
)
...
...
@@ -526,6 +594,8 @@ func init() {
proto
.
RegisterType
((
*
UpdateIndexResp
)(
nil
),
"cc.arduino.core.rpc.UpdateIndexResp"
)
proto
.
RegisterType
((
*
UpdateLibrariesIndexReq
)(
nil
),
"cc.arduino.core.rpc.UpdateLibrariesIndexReq"
)
proto
.
RegisterType
((
*
UpdateLibrariesIndexResp
)(
nil
),
"cc.arduino.core.rpc.UpdateLibrariesIndexResp"
)
proto
.
RegisterType
((
*
VersionReq
)(
nil
),
"cc.arduino.core.rpc.VersionReq"
)
proto
.
RegisterType
((
*
VersionResp
)(
nil
),
"cc.arduino.core.rpc.VersionResp"
)
}
// Reference imports to suppress errors if they are not otherwise used.
...
...
@@ -550,6 +620,7 @@ type ArduinoCoreClient interface {
UpdateIndex
(
ctx
context
.
Context
,
in
*
UpdateIndexReq
,
opts
...
grpc
.
CallOption
)
(
ArduinoCore_UpdateIndexClient
,
error
)
// Update libraries index
UpdateLibrariesIndex
(
ctx
context
.
Context
,
in
*
UpdateLibrariesIndexReq
,
opts
...
grpc
.
CallOption
)
(
ArduinoCore_UpdateLibrariesIndexClient
,
error
)
Version
(
ctx
context
.
Context
,
in
*
VersionReq
,
opts
...
grpc
.
CallOption
)
(
*
VersionResp
,
error
)
// Requests details about a board
BoardDetails
(
ctx
context
.
Context
,
in
*
BoardDetailsReq
,
opts
...
grpc
.
CallOption
)
(
*
BoardDetailsResp
,
error
)
BoardAttach
(
ctx
context
.
Context
,
in
*
BoardAttachReq
,
opts
...
grpc
.
CallOption
)
(
ArduinoCore_BoardAttachClient
,
error
)
...
...
@@ -693,6 +764,15 @@ func (x *arduinoCoreUpdateLibrariesIndexClient) Recv() (*UpdateLibrariesIndexRes
return
m
,
nil
}
func
(
c
*
arduinoCoreClient
)
Version
(
ctx
context
.
Context
,
in
*
VersionReq
,
opts
...
grpc
.
CallOption
)
(
*
VersionResp
,
error
)
{
out
:=
new
(
VersionResp
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/cc.arduino.core.rpc.ArduinoCore/Version"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
arduinoCoreClient
)
BoardDetails
(
ctx
context
.
Context
,
in
*
BoardDetailsReq
,
opts
...
grpc
.
CallOption
)
(
*
BoardDetailsResp
,
error
)
{
out
:=
new
(
BoardDetailsResp
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/cc.arduino.core.rpc.ArduinoCore/BoardDetails"
,
in
,
out
,
opts
...
)
...
...
@@ -1120,6 +1200,7 @@ type ArduinoCoreServer interface {
UpdateIndex
(
*
UpdateIndexReq
,
ArduinoCore_UpdateIndexServer
)
error
// Update libraries index
UpdateLibrariesIndex
(
*
UpdateLibrariesIndexReq
,
ArduinoCore_UpdateLibrariesIndexServer
)
error
Version
(
context
.
Context
,
*
VersionReq
)
(
*
VersionResp
,
error
)
// Requests details about a board
BoardDetails
(
context
.
Context
,
*
BoardDetailsReq
)
(
*
BoardDetailsResp
,
error
)
BoardAttach
(
*
BoardAttachReq
,
ArduinoCore_BoardAttachServer
)
error
...
...
@@ -1244,6 +1325,24 @@ func (x *arduinoCoreUpdateLibrariesIndexServer) Send(m *UpdateLibrariesIndexResp
return
x
.
ServerStream
.
SendMsg
(
m
)
}
func
_ArduinoCore_Version_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
VersionReq
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
ArduinoCoreServer
)
.
Version
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/cc.arduino.core.rpc.ArduinoCore/Version"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ArduinoCoreServer
)
.
Version
(
ctx
,
req
.
(
*
VersionReq
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_ArduinoCore_BoardDetails_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
BoardDetailsReq
)
if
err
:=
dec
(
in
);
err
!=
nil
{
...
...
@@ -1613,6 +1712,10 @@ var _ArduinoCore_serviceDesc = grpc.ServiceDesc{
MethodName
:
"Rescan"
,
Handler
:
_ArduinoCore_Rescan_Handler
,
},
{
MethodName
:
"Version"
,
Handler
:
_ArduinoCore_Version_Handler
,
},
{
MethodName
:
"BoardDetails"
,
Handler
:
_ArduinoCore_BoardDetails_Handler
,
...
...
@@ -1717,68 +1820,70 @@ var _ArduinoCore_serviceDesc = grpc.ServiceDesc{
Metadata
:
"commands.proto"
,
}
func
init
()
{
proto
.
RegisterFile
(
"commands.proto"
,
fileDescriptor_commands_3105cb0692c6bdca
)
}
var
fileDescriptor_commands_3105cb0692c6bdca
=
[]
byte
{
// 955 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xb4
,
0x97
,
0xdd
,
0x72
,
0x1b
,
0x35
,
0x14
,
0xc7
,
0x71
,
0x5a
,
0x9a
,
0xe4
,
0xd8
,
0x4e
,
0x1b
,
0x35
,
0x40
,
0x66
,
0x87
,
0xd2
,
0x74
,
0xeb
,
0x24
,
0x2d
,
0x43
,
0xdd
,
0x4e
,
0xe0
,
0x86
,
0x1b
,
0x66
,
0xdc
,
0x98
,
0x96
,
0x4c
,
0x0b
,
0x74
,
0x96
,
0x7a
,
0x86
,
0x29
,
0x0c
,
0x1e
,
0x79
,
0x57
,
0x71
,
0x34
,
0x59
,
0xaf
,
0x16
,
0x69
,
0x4d
,
0xf1
,
0x03
,
0xf0
,
0x12
,
0xbc
,
0x06
,
0x8f
,
0xc1
,
0x4b
,
0x21
,
0x69
,
0xa5
,
0xb5
,
0xd7
,
0xd9
,
0x5d
,
0x2f
,
0xf5
,
0xf4
,
0xca
,
0x96
,
0xce
,
0xef
,
0x7c
,
0xe8
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
,
0x71
,
0xf5
,
0x4a
,
0x47
,
0xe3
,
0x0a
,
0x57
,
0x3e
,
0x1a
,
0x05
,
0xa8
,
0xce
,
0xf6
,
0x1b
,
0xb4
,
0x8d
,
0xc9
,
0x88
,
0xec
,
0xb0
,
0xca
,
0x7d
,
0xae
,
0xb1
,
0xa3
,
0x3a
,
0x98
,
0x54
,
0xc1
,
0xcf
,
0xd0
,
0x34
,
0x9b
,
0x5a
,
0x61
,
0xf7
,
0xab
,
0xdc
,
0xac
,
0xc0
,
0x3a
,
0xab
,
0x21
,
0x11
,
0x3f
,
0xed
,
0xbc
,
0x71
,
0xc7
,
0x34
,
0xb9
,
0x98
,
0x8e
,
0x24
,
0x32
,
0x79
,
0x6c
,
0x70
,
0xfb
,
0xf9
,
0xc8
,
0x0f
,
0xe9
,
0x63
,
0xe9
,
0x35
,
0xba
,
0xa1
,
0xff
,
0xcf
,
0xfb
,
0xf2
,
0xbf
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0x64
,
0x89
,
0x9b
,
0xca
,
0x5d
,
0x0e
,
0x00
,
0x00
,
func
init
()
{
proto
.
RegisterFile
(
"commands.proto"
,
fileDescriptor_commands_92dd81084d7f582d
)
}
var
fileDescriptor_commands_92dd81084d7f582d
=
[]
byte
{
// 992 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x09
,
0x6e
,
0x88
,
0x02
,
0xff
,
0xb4
,
0x97
,
0xdd
,
0x72
,
0xdb
,
0x44
,
0x14
,
0x80
,
0x71
,
0x5a
,
0x9a
,
0xe4
,
0xd8
,
0x4e
,
0x9b
,
0x6d
,
0x80
,
0x8c
,
0x86
,
0xd2
,
0x54
,
0x75
,
0x92
,
0x96
,
0xa1
,
0x6e
,
0x27
,
0x70
,
0xc3
,
0x0d
,
0x33
,
0x6e
,
0x42
,
0x4b
,
0xa6
,
0x05
,
0x3a
,
0xa2
,
0x66
,
0x98
,
0xc2
,
0xe0
,
0x59
,
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xe4
,
0x0e
,
0x00
,
0x00
,
}
rpc/commands.proto
View file @
11d9e6e3
...
...
@@ -48,6 +48,8 @@ service ArduinoCore {
// Update libraries index
rpc
UpdateLibrariesIndex
(
UpdateLibrariesIndexReq
)
returns
(
stream
UpdateLibrariesIndexResp
)
{}
rpc
Version
(
VersionReq
)
returns
(
VersionResp
)
{}
// BOARD COMMANDS
// --------------
...
...
@@ -148,3 +150,9 @@ message UpdateLibrariesIndexReq {
message
UpdateLibrariesIndexResp
{
DownloadProgress
download_progress
=
1
;
}
message
VersionReq
{}
message
VersionResp
{
string
version
=
1
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment