vaguerent/proto/gen/plugin_services_pb.rb
2022-04-25 12:23:50 -05:00

98 lines
3.8 KiB
Ruby

# Generated by the protocol buffer compiler. DO NOT EDIT!
# Source: plugin.proto for package 'hashicorp.vagrant.sdk'
require 'grpc'
require_relative 'plugin_pb'
module Hashicorp
module Vagrant
module Sdk
module TerminalUIService
# *******************************************************************
# Terminal UI Service
# ******************************************************************
#
# TerminalUIService is a service that provides "sdk/terminal.UI" interface
# to plugins. Plugins don't interact with this directly, they usually
# interact with it indirectly via a terminal.UI implementation.
class Service
include GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'hashicorp.vagrant.sdk.TerminalUIService'
rpc :Output, ::Hashicorp::Vagrant::Sdk::TerminalUI::OutputRequest, ::Google::Protobuf::Empty
rpc :Events, stream(::Hashicorp::Vagrant::Sdk::TerminalUI::Event), stream(::Hashicorp::Vagrant::Sdk::TerminalUI::Response)
rpc :IsInteractive, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::TerminalUI::IsInteractiveResponse
end
Stub = Service.rpc_stub_class
end
module Mapper
# Mapper is a specialized type of plugin that provides type mappers
# to convert to/from various types.
class Service
include GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'hashicorp.vagrant.sdk.Mapper'
# ListMappers returns the list of mappers that this plugin supports.
rpc :ListMappers, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Map::ListResponse
# Map executes a mapper.
rpc :Map, ::Hashicorp::Vagrant::Sdk::Map::Request, ::Hashicorp::Vagrant::Sdk::Map::Response
end
Stub = Service.rpc_stub_class
end
module Provider
# *******************************************************************
# Provider Plugin Service
# ******************************************************************
#
# Provider service is a provider that takes some set of arguments changes
# the state of a machine
class Service
include GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'hashicorp.vagrant.sdk.Provider'
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
end
Stub = Service.rpc_stub_class
end
module Provisioner
# *******************************************************************
# Provisioner Plugin Service
# ******************************************************************
#
# A Provisioner runs actions against a VM
class Service
include GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'hashicorp.vagrant.sdk.Provisioner'
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
end
Stub = Service.rpc_stub_class
end
end
end
end