diff --git a/lib/vagrant/proto/gen/plugin/core_pb.rb b/lib/vagrant/proto/gen/plugin/core_pb.rb index f2147294e..0a394dff8 100644 --- a/lib/vagrant/proto/gen/plugin/core_pb.rb +++ b/lib/vagrant/proto/gen/plugin/core_pb.rb @@ -3,7 +3,7 @@ require 'google/protobuf' -require_relative './plugin_pb' +require 'plugin_pb' require 'google/protobuf/any_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do diff --git a/lib/vagrant/proto/gen/plugin/core_services_pb.rb b/lib/vagrant/proto/gen/plugin/core_services_pb.rb index 29bc50344..d39f18207 100644 --- a/lib/vagrant/proto/gen/plugin/core_services_pb.rb +++ b/lib/vagrant/proto/gen/plugin/core_services_pb.rb @@ -2,7 +2,7 @@ # Source: core.proto for package 'hashicorp.vagrant.sdk' require 'grpc' -require_relative './core_pb' +require 'core_pb' module Hashicorp module Vagrant diff --git a/lib/vagrant/proto/gen/plugin/plugin_pb.rb b/lib/vagrant/proto/gen/plugin/plugin_pb.rb index 883d64806..e817222e5 100644 --- a/lib/vagrant/proto/gen/plugin/plugin_pb.rb +++ b/lib/vagrant/proto/gen/plugin/plugin_pb.rb @@ -6,7 +6,7 @@ require 'google/protobuf' require 'google/protobuf/any_pb' require 'google/protobuf/empty_pb' require 'google/rpc/status_pb' -require_relative './protostructure_pb' +require 'protostructure_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("plugin.proto", :syntax => :proto3) do add_message "hashicorp.vagrant.sdk.Args" do @@ -249,6 +249,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do optional :template_data, :bytes, 3 optional :success, :bool, 4 end + add_message "hashicorp.vagrant.sdk.Command" do + end + add_message "hashicorp.vagrant.sdk.Command.HelpResp" do + optional :help, :string, 1 + end + add_message "hashicorp.vagrant.sdk.Command.SynopsisResp" do + optional :synopsis, :string, 1 + end + add_message "hashicorp.vagrant.sdk.Command.FlagsResp" do + optional :flags, :string, 1 + end add_message "hashicorp.vagrant.sdk.Communicator" do end add_message "hashicorp.vagrant.sdk.Communicator.MatchResp" do @@ -368,6 +379,10 @@ module Hashicorp Provider::UsableResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Provider.UsableResp").msgclass Provider::InstalledResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Provider.InstalledResp").msgclass Provider::ActionResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Provider.ActionResp").msgclass + Command = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Command").msgclass + Command::HelpResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Command.HelpResp").msgclass + Command::SynopsisResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Command.SynopsisResp").msgclass + Command::FlagsResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Command.FlagsResp").msgclass Communicator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Communicator").msgclass Communicator::MatchResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Communicator.MatchResp").msgclass Communicator::InitResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Communicator.InitResp").msgclass diff --git a/lib/vagrant/proto/gen/plugin/plugin_services_pb.rb b/lib/vagrant/proto/gen/plugin/plugin_services_pb.rb index b0b43b740..e28979ab2 100644 --- a/lib/vagrant/proto/gen/plugin/plugin_services_pb.rb +++ b/lib/vagrant/proto/gen/plugin/plugin_services_pb.rb @@ -2,7 +2,7 @@ # Source: plugin.proto for package 'hashicorp.vagrant.sdk' require 'grpc' -require_relative './plugin_pb' +require 'plugin_pb' module Hashicorp module Vagrant @@ -141,6 +141,12 @@ module Hashicorp rpc :ConfigStruct, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Config::StructResp rpc :Configure, ::Hashicorp::Vagrant::Sdk::Config::ConfigureRequest, ::Google::Protobuf::Empty rpc :Documentation, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Config::Documentation + rpc :SynopsisSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec + rpc :Synopsis, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Hashicorp::Vagrant::Sdk::Command::SynopsisResp + rpc :HelpSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec + rpc :Help, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Hashicorp::Vagrant::Sdk::Command::HelpResp + rpc :FlagsSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec + rpc :Flags, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Hashicorp::Vagrant::Sdk::Command::FlagsResp end Stub = Service.rpc_stub_class