Remote init from provider grpc api

This commit is contained in:
sophia 2022-01-24 11:06:51 -06:00 committed by Paul Hinze
parent 809e4044a0
commit 526b7f2318
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
3 changed files with 0 additions and 17 deletions

View File

@ -120,8 +120,6 @@ module Hashicorp
rpc :UsableSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec
rpc :Installed, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Hashicorp::Vagrant::Sdk::Provider::InstalledResp
rpc :InstalledSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec
rpc :Init, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Google::Protobuf::Empty
rpc :InitSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec
rpc :Action, ::Hashicorp::Vagrant::Sdk::Provider::ActionRequest, ::Google::Protobuf::Empty
rpc :ActionSpec, ::Hashicorp::Vagrant::Sdk::Provider::ActionRequest, ::Hashicorp::Vagrant::Sdk::FuncSpec
rpc :MachineIdChanged, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Google::Protobuf::Empty

View File

@ -28,11 +28,6 @@ module VagrantPlugins
res.is_installed
end
# @param [Sdk::Args::Machine]
def init(machine)
# TODO
end
# @param [Symbol] name of the action to run
def action(name, *args)
d = Type::Direct.new(arguments: args)

View File

@ -62,16 +62,6 @@ module VagrantPlugins
end
end
def init_spec(*_)
# TODO
nil
end
def init(req, ctx)
# TODO
nil
end
def action_spec(req, _unused_call)
SDK::FuncSpec.new(
name: "capability_spec",