diff --git a/go.mod b/go.mod index 3dbb38d7db1..4de816c36d9 100644 --- a/go.mod +++ b/go.mod @@ -26,19 +26,16 @@ require ( github.com/mattn/go-colorable v0.1.2 github.com/mattn/go-runewidth v0.0.2 // indirect github.com/miekg/dns v1.0.5 // indirect - github.com/mitchellh/go-homedir v1.1.0 github.com/oleksandr/bonjour v0.0.0-20160508152359-5dcf00d8b228 // indirect github.com/pkg/errors v0.8.1 github.com/pmylund/sortutil v0.0.0-20120526081524-abeda66eb583 github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5 github.com/schollz/closestmatch v2.1.0+incompatible - github.com/sergi/go-diff v1.0.0 github.com/sirupsen/logrus v1.4.2 github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a // indirect github.com/spf13/cobra v0.0.5 github.com/spf13/jwalterweatherman v1.0.0 github.com/spf13/viper v1.3.2 - github.com/stretchr/objx v0.2.0 // indirect github.com/stretchr/testify v1.4.0 go.bug.st/cleanup v1.0.0 go.bug.st/downloader v1.1.0 diff --git a/go.sum b/go.sum index 973ca95cfc5..053a04e555d 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,7 @@ bou.ke/monkey v1.0.1 h1:zEMLInw9xvNakzUUPjfS4Ds6jYPqCFx3m7bRmG5NH2U= bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/arduino/board-discovery v0.0.0-20180823133458-1ba29327fb0c h1:agh2JT96G8egU7FEb13L4dq3fnCN7lxXhJ86t69+W7s= github.com/arduino/board-discovery v0.0.0-20180823133458-1ba29327fb0c/go.mod h1:HK7SpkEax/3P+0w78iRQx1sz1vCDYYw9RXwHjQTB5i8= @@ -25,8 +26,6 @@ github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8Nz github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= -github.com/creack/goselect v0.0.0-20180328191401-176c667f75aa h1:tIUhmTixVssck4oJ9jKcqaNOF8ua4YxN3UHP0ymBHuQ= -github.com/creack/goselect v0.0.0-20180328191401-176c667f75aa/go.mod h1:gHrIcH/9UZDn2qgeTUeW5K9eZsVYCH6/60J/FHysWyE= github.com/creack/goselect v0.1.1 h1:tiSSgKE1eJtxs1h/VgGQWuXUP0YS4CDIFMp6vaI1ls0= github.com/creack/goselect v0.1.1/go.mod h1:a/NhLweNvqIYMuxcMOuWY516Cimucms3DglDzQP3hKY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -102,8 +101,6 @@ github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNue github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/schollz/closestmatch v2.1.0+incompatible h1:Uel2GXEpJqOWBrlyI+oY9LTiyyjYS17cCYRqP13/SHk= github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= -github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= @@ -124,8 +121,6 @@ github.com/spf13/viper v1.3.2 h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0 h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/rpc/commands/commands.pb.go b/rpc/commands/commands.pb.go index ef60158b7d3..59fe7937ed8 100644 --- a/rpc/commands/commands.pb.go +++ b/rpc/commands/commands.pb.go @@ -8,8 +8,6 @@ import ( fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" math "math" ) @@ -24,91 +22,18 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package -// Configuration contains information to instantiate an Arduino Platform Service -type Configuration struct { - // dataDir represents the current root of the arduino tree (defaulted to - // `$HOME/.arduino15` on linux). - DataDir string `protobuf:"bytes,1,opt,name=dataDir,proto3" json:"dataDir,omitempty"` - // sketchbookDir represents the current root of the sketchbooks tree - // (defaulted to `$HOME/Arduino`). - SketchbookDir string `protobuf:"bytes,2,opt,name=sketchbookDir,proto3" json:"sketchbookDir,omitempty"` - // ArduinoIDEDirectory is the directory of the Arduino IDE if the CLI runs - // together with it. - DownloadsDir string `protobuf:"bytes,3,opt,name=downloadsDir,proto3" json:"downloadsDir,omitempty"` - // BoardManagerAdditionalUrls contains the additional URL for 3rd party - // packages - BoardManagerAdditionalUrls []string `protobuf:"bytes,4,rep,name=boardManagerAdditionalUrls,proto3" json:"boardManagerAdditionalUrls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3690061a1131852d, []int{0} -} - -func (m *Configuration) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Configuration.Unmarshal(m, b) -} -func (m *Configuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Configuration.Marshal(b, m, deterministic) -} -func (m *Configuration) XXX_Merge(src proto.Message) { - xxx_messageInfo_Configuration.Merge(m, src) -} -func (m *Configuration) XXX_Size() int { - return xxx_messageInfo_Configuration.Size(m) -} -func (m *Configuration) XXX_DiscardUnknown() { - xxx_messageInfo_Configuration.DiscardUnknown(m) -} - -var xxx_messageInfo_Configuration proto.InternalMessageInfo - -func (m *Configuration) GetDataDir() string { - if m != nil { - return m.DataDir - } - return "" -} - -func (m *Configuration) GetSketchbookDir() string { - if m != nil { - return m.SketchbookDir - } - return "" -} - -func (m *Configuration) GetDownloadsDir() string { - if m != nil { - return m.DownloadsDir - } - return "" -} - -func (m *Configuration) GetBoardManagerAdditionalUrls() []string { - if m != nil { - return m.BoardManagerAdditionalUrls - } - return nil -} - type InitReq struct { - Configuration *Configuration `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"` - LibraryManagerOnly bool `protobuf:"varint,2,opt,name=library_manager_only,json=libraryManagerOnly,proto3" json:"library_manager_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LibraryManagerOnly bool `protobuf:"varint,2,opt,name=library_manager_only,json=libraryManagerOnly,proto3" json:"library_manager_only,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } 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_3690061a1131852d, []int{1} + return fileDescriptor_3690061a1131852d, []int{0} } func (m *InitReq) XXX_Unmarshal(b []byte) error { @@ -129,13 +54,6 @@ func (m *InitReq) XXX_DiscardUnknown() { var xxx_messageInfo_InitReq proto.InternalMessageInfo -func (m *InitReq) GetConfiguration() *Configuration { - if m != nil { - return m.Configuration - } - return nil -} - func (m *InitReq) GetLibraryManagerOnly() bool { if m != nil { return m.LibraryManagerOnly @@ -158,7 +76,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_3690061a1131852d, []int{2} + return fileDescriptor_3690061a1131852d, []int{1} } func (m *InitResp) XXX_Unmarshal(b []byte) error { @@ -225,7 +143,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_3690061a1131852d, []int{3} + return fileDescriptor_3690061a1131852d, []int{2} } func (m *DestroyReq) XXX_Unmarshal(b []byte) error { @@ -263,7 +181,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_3690061a1131852d, []int{4} + return fileDescriptor_3690061a1131852d, []int{3} } func (m *DestroyResp) XXX_Unmarshal(b []byte) error { @@ -295,7 +213,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_3690061a1131852d, []int{5} + return fileDescriptor_3690061a1131852d, []int{4} } func (m *RescanReq) XXX_Unmarshal(b []byte) error { @@ -335,7 +253,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_3690061a1131852d, []int{6} + return fileDescriptor_3690061a1131852d, []int{5} } func (m *RescanResp) XXX_Unmarshal(b []byte) error { @@ -381,7 +299,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_3690061a1131852d, []int{7} + return fileDescriptor_3690061a1131852d, []int{6} } func (m *UpdateIndexReq) XXX_Unmarshal(b []byte) error { @@ -420,7 +338,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_3690061a1131852d, []int{8} + return fileDescriptor_3690061a1131852d, []int{7} } func (m *UpdateIndexResp) XXX_Unmarshal(b []byte) error { @@ -459,7 +377,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_3690061a1131852d, []int{9} + return fileDescriptor_3690061a1131852d, []int{8} } func (m *UpdateLibrariesIndexReq) XXX_Unmarshal(b []byte) error { @@ -498,7 +416,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_3690061a1131852d, []int{10} + return fileDescriptor_3690061a1131852d, []int{9} } func (m *UpdateLibrariesIndexResp) XXX_Unmarshal(b []byte) error { @@ -536,7 +454,7 @@ 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_3690061a1131852d, []int{11} + return fileDescriptor_3690061a1131852d, []int{10} } func (m *VersionReq) XXX_Unmarshal(b []byte) error { @@ -568,7 +486,7 @@ 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_3690061a1131852d, []int{12} + return fileDescriptor_3690061a1131852d, []int{11} } func (m *VersionResp) XXX_Unmarshal(b []byte) error { @@ -597,7 +515,6 @@ func (m *VersionResp) GetVersion() string { } func init() { - proto.RegisterType((*Configuration)(nil), "cc.arduino.cli.commands.Configuration") proto.RegisterType((*InitReq)(nil), "cc.arduino.cli.commands.InitReq") proto.RegisterType((*InitResp)(nil), "cc.arduino.cli.commands.InitResp") proto.RegisterType((*DestroyReq)(nil), "cc.arduino.cli.commands.DestroyReq") @@ -615,72 +532,67 @@ func init() { func init() { proto.RegisterFile("commands/commands.proto", fileDescriptor_3690061a1131852d) } var fileDescriptor_3690061a1131852d = []byte{ - // 1036 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x98, 0xcb, 0x53, 0x1b, 0x37, - 0x18, 0xc0, 0x63, 0x92, 0xf2, 0xf8, 0x8c, 0x49, 0xa2, 0x38, 0xc1, 0xe3, 0x13, 0xd9, 0x3c, 0x30, - 0x50, 0x0c, 0x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 0x44, 0xa2, 0x6f, 0x8b, 0x1c, 0xce, 0x30, 0x52, 0x89, 0x7c, 0xf7, 0x49, 0x76, 0x92, 0xa3, - 0x53, 0xa8, 0x19, 0xc2, 0x2c, 0xc9, 0x46, 0x91, 0xa7, 0xe9, 0x8e, 0x6c, 0x96, 0x45, 0x25, 0x47, - 0xbf, 0x41, 0xd5, 0x08, 0xf5, 0x86, 0xac, 0x17, 0x99, 0xda, 0x05, 0x69, 0x95, 0x03, 0x25, 0x7f, - 0xb7, 0xfd, 0x71, 0x6b, 0x44, 0xc3, 0xb3, 0xcb, 0xa1, 0x42, 0x76, 0x8c, 0x89, 0xfd, 0xb9, 0xed, - 0xfa, 0x74, 0x47, 0x70, 0x37, 0xfe, 0x67, 0xc4, 0x70, 0x5e, 0xff, 0xbd, 0xff, 0xf5, 0xff, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x05, 0x1a, 0xb0, 0x56, 0xa8, 0x10, 0x00, 0x00, + // 948 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x97, 0xdd, 0x52, 0x1b, 0x37, + 0x14, 0xc7, 0xb3, 0x24, 0x05, 0x7c, 0x0c, 0x24, 0x51, 0x9c, 0xe0, 0xf1, 0x95, 0xb3, 0x69, 0x8a, + 0x81, 0x62, 0x28, 0xed, 0xb4, 0x17, 0x9d, 0x5e, 0x90, 0xd0, 0x0b, 0xd2, 0x74, 0xc8, 0x2c, 0x85, + 0xe9, 0xe4, 0xc6, 0x95, 0x77, 0x15, 0xd0, 0xb0, 0xac, 0x14, 0x69, 0xa1, 0xf5, 0x55, 0x9f, 0xa0, + 0x2f, 0xd4, 0x17, 0xe9, 0xeb, 0x74, 0xa4, 0x95, 0xe4, 0x35, 0x78, 0x3f, 0x1c, 0xc8, 0x15, 0xec, + 0x39, 0xbf, 0xf3, 0x3f, 0xab, 0xf3, 0x21, 0xdb, 0xb0, 0x1a,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 0x89, 0x29, 0xdf, 0x9a, 0x81, 0xb6, 0xab, 0x65, 0x3d, 0xd9, 0x30, 0xee, 0x95, 0xae, + 0xd6, 0x0d, 0xb6, 0x7c, 0xb5, 0xa6, 0xe0, 0x3a, 0xeb, 0x3f, 0x1e, 0x74, 0x8c, 0x2f, 0x20, 0x92, + 0xc5, 0x57, 0x64, 0x9f, 0x70, 0x92, 0x44, 0x24, 0x09, 0x29, 0x91, 0xe8, 0xfb, 0x2a, 0xc1, 0x29, + 0x41, 0xea, 0x45, 0x7e, 0xf8, 0xa4, 0x38, 0xc9, 0xd1, 0x07, 0x58, 0x36, 0x84, 0x59, 0x92, 0xf5, + 0x2a, 0xa5, 0xf1, 0x8e, 0x6c, 0xd4, 0x45, 0x25, 0x47, 0x7f, 0x40, 0xd3, 0x18, 0xf5, 0x86, 0xac, + 0x55, 0x85, 0xda, 0x05, 0xe9, 0xd5, 0x03, 0x25, 0x7f, 0xb5, 0xf5, 0x7e, 0xf3, 0x94, 0xa6, 0x67, + 0x97, 0x43, 0x85, 0x6c, 0x9b, 0x10, 0xfb, 0x77, 0x2b, 0x8c, 0xe9, 0xb6, 0xe0, 0xa1, 0xfb, 0x1d, + 0x3e, 0x9c, 0xd7, 0x3f, 0x75, 0xbf, 0xfd, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xd5, 0xf5, 0x48, 0xa1, + 0xa3, 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1318,86 +1230,6 @@ type ArduinoCoreServer interface { LibraryList(context.Context, *LibraryListReq) (*LibraryListResp, error) } -// UnimplementedArduinoCoreServer can be embedded to have forward compatible implementations. -type UnimplementedArduinoCoreServer struct { -} - -func (*UnimplementedArduinoCoreServer) Init(req *InitReq, srv ArduinoCore_InitServer) error { - return status.Errorf(codes.Unimplemented, "method Init not implemented") -} -func (*UnimplementedArduinoCoreServer) Destroy(ctx context.Context, req *DestroyReq) (*DestroyResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method Destroy not implemented") -} -func (*UnimplementedArduinoCoreServer) Rescan(ctx context.Context, req *RescanReq) (*RescanResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") -} -func (*UnimplementedArduinoCoreServer) UpdateIndex(req *UpdateIndexReq, srv ArduinoCore_UpdateIndexServer) error { - return status.Errorf(codes.Unimplemented, "method UpdateIndex not implemented") -} -func (*UnimplementedArduinoCoreServer) UpdateLibrariesIndex(req *UpdateLibrariesIndexReq, srv ArduinoCore_UpdateLibrariesIndexServer) error { - return status.Errorf(codes.Unimplemented, "method UpdateLibrariesIndex not implemented") -} -func (*UnimplementedArduinoCoreServer) Version(ctx context.Context, req *VersionReq) (*VersionResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method Version not implemented") -} -func (*UnimplementedArduinoCoreServer) BoardDetails(ctx context.Context, req *BoardDetailsReq) (*BoardDetailsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method BoardDetails not implemented") -} -func (*UnimplementedArduinoCoreServer) BoardAttach(req *BoardAttachReq, srv ArduinoCore_BoardAttachServer) error { - return status.Errorf(codes.Unimplemented, "method BoardAttach not implemented") -} -func (*UnimplementedArduinoCoreServer) BoardList(ctx context.Context, req *BoardListReq) (*BoardListResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method BoardList not implemented") -} -func (*UnimplementedArduinoCoreServer) BoardListAll(ctx context.Context, req *BoardListAllReq) (*BoardListAllResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method BoardListAll not implemented") -} -func (*UnimplementedArduinoCoreServer) Compile(req *CompileReq, srv ArduinoCore_CompileServer) error { - return status.Errorf(codes.Unimplemented, "method Compile not implemented") -} -func (*UnimplementedArduinoCoreServer) PlatformInstall(req *PlatformInstallReq, srv ArduinoCore_PlatformInstallServer) error { - return status.Errorf(codes.Unimplemented, "method PlatformInstall not implemented") -} -func (*UnimplementedArduinoCoreServer) PlatformDownload(req *PlatformDownloadReq, srv ArduinoCore_PlatformDownloadServer) error { - return status.Errorf(codes.Unimplemented, "method PlatformDownload not implemented") -} -func (*UnimplementedArduinoCoreServer) PlatformUninstall(req *PlatformUninstallReq, srv ArduinoCore_PlatformUninstallServer) error { - return status.Errorf(codes.Unimplemented, "method PlatformUninstall not implemented") -} -func (*UnimplementedArduinoCoreServer) PlatformUpgrade(req *PlatformUpgradeReq, srv ArduinoCore_PlatformUpgradeServer) error { - return status.Errorf(codes.Unimplemented, "method PlatformUpgrade not implemented") -} -func (*UnimplementedArduinoCoreServer) Upload(req *UploadReq, srv ArduinoCore_UploadServer) error { - return status.Errorf(codes.Unimplemented, "method Upload not implemented") -} -func (*UnimplementedArduinoCoreServer) PlatformSearch(ctx context.Context, req *PlatformSearchReq) (*PlatformSearchResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlatformSearch not implemented") -} -func (*UnimplementedArduinoCoreServer) PlatformList(ctx context.Context, req *PlatformListReq) (*PlatformListResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlatformList not implemented") -} -func (*UnimplementedArduinoCoreServer) LibraryDownload(req *LibraryDownloadReq, srv ArduinoCore_LibraryDownloadServer) error { - return status.Errorf(codes.Unimplemented, "method LibraryDownload not implemented") -} -func (*UnimplementedArduinoCoreServer) LibraryInstall(req *LibraryInstallReq, srv ArduinoCore_LibraryInstallServer) error { - return status.Errorf(codes.Unimplemented, "method LibraryInstall not implemented") -} -func (*UnimplementedArduinoCoreServer) LibraryUninstall(req *LibraryUninstallReq, srv ArduinoCore_LibraryUninstallServer) error { - return status.Errorf(codes.Unimplemented, "method LibraryUninstall not implemented") -} -func (*UnimplementedArduinoCoreServer) LibraryUpgradeAll(req *LibraryUpgradeAllReq, srv ArduinoCore_LibraryUpgradeAllServer) error { - return status.Errorf(codes.Unimplemented, "method LibraryUpgradeAll not implemented") -} -func (*UnimplementedArduinoCoreServer) LibraryResolveDependencies(ctx context.Context, req *LibraryResolveDependenciesReq) (*LibraryResolveDependenciesResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method LibraryResolveDependencies not implemented") -} -func (*UnimplementedArduinoCoreServer) LibrarySearch(ctx context.Context, req *LibrarySearchReq) (*LibrarySearchResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method LibrarySearch not implemented") -} -func (*UnimplementedArduinoCoreServer) LibraryList(ctx context.Context, req *LibraryListReq) (*LibraryListResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method LibraryList not implemented") -} - func RegisterArduinoCoreServer(s *grpc.Server, srv ArduinoCoreServer) { s.RegisterService(&_ArduinoCore_serviceDesc, srv) } diff --git a/rpc/commands/commands.proto b/rpc/commands/commands.proto index 5ac10861b0c..ecc761eb87a 100644 --- a/rpc/commands/commands.proto +++ b/rpc/commands/commands.proto @@ -91,17 +91,7 @@ service ArduinoCore { rpc LibraryList(LibraryListReq) returns (LibraryListResp); } -// DEPRECATED -// Configuration is deprecated, use the Settings Service instead -message Configuration { - string dataDir = 1; - string sketchbookDir = 2; - string downloadsDir = 3; - repeated string boardManagerAdditionalUrls = 4; -} - message InitReq { - Configuration configuration = 1; // DEPRECATED this field will be ignored bool library_manager_only = 2; } diff --git a/rpc/monitor/monitor.pb.go b/rpc/monitor/monitor.pb.go index 641ef31de7d..78238c1565a 100644 --- a/rpc/monitor/monitor.pb.go +++ b/rpc/monitor/monitor.pb.go @@ -9,8 +9,6 @@ import ( proto "github.com/golang/protobuf/proto" _struct "github.com/golang/protobuf/ptypes/struct" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" math "math" ) @@ -325,14 +323,6 @@ type MonitorServer interface { StreamingOpen(Monitor_StreamingOpenServer) error } -// UnimplementedMonitorServer can be embedded to have forward compatible implementations. -type UnimplementedMonitorServer struct { -} - -func (*UnimplementedMonitorServer) StreamingOpen(srv Monitor_StreamingOpenServer) error { - return status.Errorf(codes.Unimplemented, "method StreamingOpen not implemented") -} - func RegisterMonitorServer(s *grpc.Server, srv MonitorServer) { s.RegisterService(&_Monitor_serviceDesc, srv) } diff --git a/rpc/settings/settings.pb.go b/rpc/settings/settings.pb.go index 73f9ff1c2ce..1bbc54f255d 100644 --- a/rpc/settings/settings.pb.go +++ b/rpc/settings/settings.pb.go @@ -8,8 +8,6 @@ import ( fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" math "math" ) @@ -345,23 +343,6 @@ type SettingsServer interface { SetValue(context.Context, *Value) (*SetValueResponse, error) } -// UnimplementedSettingsServer can be embedded to have forward compatible implementations. -type UnimplementedSettingsServer struct { -} - -func (*UnimplementedSettingsServer) GetAll(ctx context.Context, req *GetAllRequest) (*RawData, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAll not implemented") -} -func (*UnimplementedSettingsServer) Merge(ctx context.Context, req *RawData) (*MergeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Merge not implemented") -} -func (*UnimplementedSettingsServer) GetValue(ctx context.Context, req *GetValueRequest) (*Value, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetValue not implemented") -} -func (*UnimplementedSettingsServer) SetValue(ctx context.Context, req *Value) (*SetValueResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetValue not implemented") -} - func RegisterSettingsServer(s *grpc.Server, srv SettingsServer) { s.RegisterService(&_Settings_serviceDesc, srv) }