Skip to content

[skip changelog] Add documentation for platform components of the gRPC interface #696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions rpc/commands/commands.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions rpc/commands/commands.proto
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,26 @@ service ArduinoCore {

rpc Compile(CompileReq) returns (stream CompileResp);

// Download and install a platform and its tool dependencies.
rpc PlatformInstall(PlatformInstallReq) returns (stream PlatformInstallResp);

// Download a platform and its tool dependencies to the `staging/packages`
// subdirectory of the data directory.
rpc PlatformDownload(PlatformDownloadReq) returns (stream PlatformDownloadResp);

// Uninstall a platform as well as its tool dependencies that are not used by
// other installed platforms.
rpc PlatformUninstall(PlatformUninstallReq) returns (stream PlatformUninstallResp);

// Upgrade an installed platform to the latest version.
rpc PlatformUpgrade(PlatformUpgradeReq) returns (stream PlatformUpgradeResp);

rpc Upload(UploadReq) returns (stream UploadResp);

// Search for a platform in the platforms indexes.
rpc PlatformSearch(PlatformSearchReq) returns (PlatformSearchResp);

// List all installed platforms.
rpc PlatformList(PlatformListReq) returns (PlatformListResp);

rpc LibraryDownload(LibraryDownloadReq) returns (stream LibraryDownloadResp);
Expand Down
153 changes: 98 additions & 55 deletions rpc/commands/core.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading