From 8c3393bd617613af2d52e0b26a7d24875dfc9319 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 25 Jul 2022 14:30:29 -0700 Subject: [PATCH] Add `Stop` rpc for ruby internal service --- internal/server/proto/ruby_vagrant/ruby-server.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/server/proto/ruby_vagrant/ruby-server.proto b/internal/server/proto/ruby_vagrant/ruby-server.proto index 0171b3300..d0f7a3161 100644 --- a/internal/server/proto/ruby_vagrant/ruby-server.proto +++ b/internal/server/proto/ruby_vagrant/ruby-server.proto @@ -13,17 +13,22 @@ import "plugin.proto"; // The service that is implemented for the server backend. service RubyVagrant { // Gets available ruby plugins - rpc GetPlugins(google.protobuf.Empty) returns (GetPluginsResponse); + rpc GetPlugins(GetPluginsRequest) returns (GetPluginsResponse); rpc ParseVagrantfile(ParseVagrantfileRequest) returns (ParseVagrantfileResponse); rpc ParseVagrantfileProc(ParseVagrantfileProcRequest) returns (ParseVagrantfileResponse); rpc ParseVagrantfileSubvm(ParseVagrantfileSubvmRequest) returns (ParseVagrantfileResponse); rpc ParseVagrantfileProvider(ParseVagrantfileProviderRequest) returns (ParseVagrantfileResponse); + rpc Stop(google.protobuf.Empty) returns (google.protobuf.Empty); } /******************************************************************** * Plugins ********************************************************************/ +message GetPluginsRequest { + string project_path = 1; +} + message GetPluginsResponse { repeated Plugin plugins = 1; }