Skip to content

Commit 05f2879

Browse files
committed
Add proto endpoints for loading global/local ruby plugins
1 parent 009b832 commit 05f2879

File tree

4 files changed

+116
-71
lines changed

4 files changed

+116
-71
lines changed

internal/server/proto/ruby_vagrant/ruby-server.pb.go

Lines changed: 64 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/server/proto/ruby_vagrant/ruby-server.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ import "plugin.proto";
1313
// The service that is implemented for the server backend.
1414
service RubyVagrant {
1515
// Gets available ruby plugins
16-
rpc GetPlugins(GetPluginsRequest) returns (GetPluginsResponse);
16+
rpc GetLocalPlugins(GetPluginsRequest) returns (GetPluginsResponse);
17+
rpc GetGlobalPlugins(google.protobuf.Empty) returns (GetPluginsResponse);
1718
rpc ParseVagrantfile(ParseVagrantfileRequest) returns (ParseVagrantfileResponse);
1819
rpc ParseVagrantfileProc(ParseVagrantfileProcRequest) returns (ParseVagrantfileResponse);
1920
rpc ParseVagrantfileSubvm(ParseVagrantfileSubvmRequest) returns (ParseVagrantfileResponse);

internal/server/proto/ruby_vagrant/ruby-server_grpc.pb.go

Lines changed: 48 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)