-
-
Notifications
You must be signed in to change notification settings - Fork 398
/
Copy pathcore.proto
101 lines (83 loc) · 2.22 KB
/
core.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// This file is part of arduino-cli.
//
// Copyright 2020 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 [email protected].
syntax = "proto3";
package cc.arduino.cli.commands;
option go_package = "github.com/arduino/arduino-cli/rpc/commands";
import "commands/common.proto";
message PlatformInstallReq {
Instance instance = 1;
string platform_package = 2;
string architecture = 3;
string version = 4;
}
message PlatformInstallResp {
DownloadProgress progress = 1;
TaskProgress task_progress = 2;
}
message PlatformDownloadReq {
Instance instance = 1;
string platform_package = 2;
string architecture = 3;
string version = 4;
}
message PlatformDownloadResp {
DownloadProgress progress = 1;
}
message PlatformUninstallReq {
Instance instance = 1;
string platform_package = 2;
string architecture = 3;
}
message PlatformUninstallResp {
TaskProgress task_progress = 1;
}
message PlatformUpgradeReq {
Instance instance = 1;
string platform_package = 2;
string architecture = 3;
}
message PlatformUpgradeResp {
DownloadProgress progress = 1;
TaskProgress task_progress = 2;
}
message PlatformSearchReq {
Instance instance = 1;
string search_args = 2;
bool all_versions = 3;
}
message PlatformSearchResp {
repeated Platform search_output = 1;
}
message PlatformListReq {
Instance instance = 1;
bool updatable_only = 2;
}
message PlatformListResp {
repeated Platform installed_platform = 1;
}
message Platform {
string ID = 1;
string Installed = 2;
string Latest = 3;
string Name = 4;
string Maintainer = 5;
string Website = 6;
string Email = 7;
repeated Board Boards = 8;
}
message Board {
string name = 1;
string fqbn = 2;
}