Add proto to delete target
This commit is contained in:
parent
551aa2970f
commit
040f02e60d
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.17.3
|
||||
// protoc-gen-go v1.23.0
|
||||
// protoc v3.13.0
|
||||
// source: proto/ruby_vagrant/ruby-server.proto
|
||||
|
||||
package ruby_vagrant
|
||||
|
||||
import (
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
vagrant_plugin_sdk "github.com/hashicorp/vagrant-plugin-sdk/proto/vagrant_plugin_sdk"
|
||||
any "github.com/golang/protobuf/ptypes/any"
|
||||
empty "github.com/golang/protobuf/ptypes/empty"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
_ "google.golang.org/protobuf/types/known/anypb"
|
||||
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@ -34,55 +33,34 @@ const _ = proto.ProtoPackageIsVersion4
|
||||
type Plugin_Type int32
|
||||
|
||||
const (
|
||||
Plugin_UNKNOWN Plugin_Type = 0
|
||||
Plugin_COMMAND Plugin_Type = 1
|
||||
Plugin_COMMUNICATOR Plugin_Type = 2
|
||||
Plugin_GUEST Plugin_Type = 3
|
||||
Plugin_HOST Plugin_Type = 4
|
||||
Plugin_PROVIDER Plugin_Type = 5
|
||||
Plugin_PROVISIONER Plugin_Type = 6
|
||||
Plugin_SYNCEDFOLDER Plugin_Type = 7
|
||||
Plugin_AUTHENTICATOR Plugin_Type = 8
|
||||
Plugin_LOGPLATFORM Plugin_Type = 9
|
||||
Plugin_LOGVIEWER Plugin_Type = 10
|
||||
Plugin_MAPPER Plugin_Type = 11
|
||||
Plugin_CONFIG Plugin_Type = 12
|
||||
Plugin_PLUGININFO Plugin_Type = 13
|
||||
Plugin_COMMAND Plugin_Type = 0
|
||||
Plugin_COMMUNICATOR Plugin_Type = 1
|
||||
Plugin_GUEST Plugin_Type = 2
|
||||
Plugin_HOST Plugin_Type = 3
|
||||
Plugin_PROVIDER Plugin_Type = 4
|
||||
Plugin_PROVISIONER Plugin_Type = 5
|
||||
Plugin_SYNCED_FOLDER Plugin_Type = 6
|
||||
)
|
||||
|
||||
// Enum value maps for Plugin_Type.
|
||||
var (
|
||||
Plugin_Type_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "COMMAND",
|
||||
2: "COMMUNICATOR",
|
||||
3: "GUEST",
|
||||
4: "HOST",
|
||||
5: "PROVIDER",
|
||||
6: "PROVISIONER",
|
||||
7: "SYNCEDFOLDER",
|
||||
8: "AUTHENTICATOR",
|
||||
9: "LOGPLATFORM",
|
||||
10: "LOGVIEWER",
|
||||
11: "MAPPER",
|
||||
12: "CONFIG",
|
||||
13: "PLUGININFO",
|
||||
0: "COMMAND",
|
||||
1: "COMMUNICATOR",
|
||||
2: "GUEST",
|
||||
3: "HOST",
|
||||
4: "PROVIDER",
|
||||
5: "PROVISIONER",
|
||||
6: "SYNCED_FOLDER",
|
||||
}
|
||||
Plugin_Type_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"COMMAND": 1,
|
||||
"COMMUNICATOR": 2,
|
||||
"GUEST": 3,
|
||||
"HOST": 4,
|
||||
"PROVIDER": 5,
|
||||
"PROVISIONER": 6,
|
||||
"SYNCEDFOLDER": 7,
|
||||
"AUTHENTICATOR": 8,
|
||||
"LOGPLATFORM": 9,
|
||||
"LOGVIEWER": 10,
|
||||
"MAPPER": 11,
|
||||
"CONFIG": 12,
|
||||
"PLUGININFO": 13,
|
||||
"COMMAND": 0,
|
||||
"COMMUNICATOR": 1,
|
||||
"GUEST": 2,
|
||||
"HOST": 3,
|
||||
"PROVIDER": 4,
|
||||
"PROVISIONER": 5,
|
||||
"SYNCED_FOLDER": 6,
|
||||
}
|
||||
)
|
||||
|
||||
@ -214,7 +192,7 @@ func (x *Plugin) GetType() Plugin_Type {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return Plugin_UNKNOWN
|
||||
return Plugin_COMMAND
|
||||
}
|
||||
|
||||
type ParseVagrantfileRequest struct {
|
||||
@ -271,7 +249,7 @@ type ParseVagrantfileResponse struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Vagrantfile representation
|
||||
Vagrantfile *vagrant_plugin_sdk.Vagrantfile_Vagrantfile `protobuf:"bytes,1,opt,name=vagrantfile,proto3" json:"vagrantfile,omitempty"`
|
||||
Vagrantfile *Vagrantfile `protobuf:"bytes,1,opt,name=vagrantfile,proto3" json:"vagrantfile,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ParseVagrantfileResponse) Reset() {
|
||||
@ -306,13 +284,272 @@ func (*ParseVagrantfileResponse) Descriptor() ([]byte, []int) {
|
||||
return file_proto_ruby_vagrant_ruby_server_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *ParseVagrantfileResponse) GetVagrantfile() *vagrant_plugin_sdk.Vagrantfile_Vagrantfile {
|
||||
func (x *ParseVagrantfileResponse) GetVagrantfile() *Vagrantfile {
|
||||
if x != nil {
|
||||
return x.Vagrantfile
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO: Review what needs to be sent here
|
||||
type Provisioner struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Config *any.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Provisioner) Reset() {
|
||||
*x = Provisioner{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_proto_ruby_vagrant_ruby_server_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *Provisioner) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*Provisioner) ProtoMessage() {}
|
||||
|
||||
func (x *Provisioner) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_ruby_vagrant_ruby_server_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use Provisioner.ProtoReflect.Descriptor instead.
|
||||
func (*Provisioner) Descriptor() ([]byte, []int) {
|
||||
return file_proto_ruby_vagrant_ruby_server_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *Provisioner) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Provisioner) GetConfig() *any.Any {
|
||||
if x != nil {
|
||||
return x.Config
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO: Review what needs to be sent here
|
||||
type MachineConfig struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Box string `protobuf:"bytes,2,opt,name=box,proto3" json:"box,omitempty"`
|
||||
Provisioners []*Provisioner `protobuf:"bytes,3,rep,name=provisioners,proto3" json:"provisioners,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MachineConfig) Reset() {
|
||||
*x = MachineConfig{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_proto_ruby_vagrant_ruby_server_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MachineConfig) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MachineConfig) ProtoMessage() {}
|
||||
|
||||
func (x *MachineConfig) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_ruby_vagrant_ruby_server_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MachineConfig.ProtoReflect.Descriptor instead.
|
||||
func (*MachineConfig) Descriptor() ([]byte, []int) {
|
||||
return file_proto_ruby_vagrant_ruby_server_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *MachineConfig) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MachineConfig) GetBox() string {
|
||||
if x != nil {
|
||||
return x.Box
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MachineConfig) GetProvisioners() []*Provisioner {
|
||||
if x != nil {
|
||||
return x.Provisioners
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO: Review what needs to be sent here
|
||||
type Communicator struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// This is the config that belongs to the communicator.
|
||||
// Should be a message type from the core plugin or defined
|
||||
// by a plugin author
|
||||
Config *any.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Communicator) Reset() {
|
||||
*x = Communicator{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_proto_ruby_vagrant_ruby_server_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *Communicator) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*Communicator) ProtoMessage() {}
|
||||
|
||||
func (x *Communicator) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_ruby_vagrant_ruby_server_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use Communicator.ProtoReflect.Descriptor instead.
|
||||
func (*Communicator) Descriptor() ([]byte, []int) {
|
||||
return file_proto_ruby_vagrant_ruby_server_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *Communicator) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Communicator) GetConfig() *any.Any {
|
||||
if x != nil {
|
||||
return x.Config
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO: Review what needs to be sent here
|
||||
type Vagrantfile struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||
Raw string `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"`
|
||||
CurrentVersion string `protobuf:"bytes,3,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
|
||||
MachineConfigs []*MachineConfig `protobuf:"bytes,4,rep,name=machine_configs,json=machineConfigs,proto3" json:"machine_configs,omitempty"`
|
||||
Communicators []*Communicator `protobuf:"bytes,5,rep,name=communicators,proto3" json:"communicators,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Vagrantfile) Reset() {
|
||||
*x = Vagrantfile{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_proto_ruby_vagrant_ruby_server_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *Vagrantfile) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*Vagrantfile) ProtoMessage() {}
|
||||
|
||||
func (x *Vagrantfile) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_ruby_vagrant_ruby_server_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use Vagrantfile.ProtoReflect.Descriptor instead.
|
||||
func (*Vagrantfile) Descriptor() ([]byte, []int) {
|
||||
return file_proto_ruby_vagrant_ruby_server_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *Vagrantfile) GetPath() string {
|
||||
if x != nil {
|
||||
return x.Path
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Vagrantfile) GetRaw() string {
|
||||
if x != nil {
|
||||
return x.Raw
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Vagrantfile) GetCurrentVersion() string {
|
||||
if x != nil {
|
||||
return x.CurrentVersion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Vagrantfile) GetMachineConfigs() []*MachineConfig {
|
||||
if x != nil {
|
||||
return x.MachineConfigs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Vagrantfile) GetCommunicators() []*Communicator {
|
||||
if x != nil {
|
||||
return x.Communicators
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_proto_ruby_vagrant_ruby_server_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_proto_ruby_vagrant_ruby_server_proto_rawDesc = []byte{
|
||||
@ -323,58 +560,82 @@ var file_proto_ruby_vagrant_ruby_server_proto_rawDesc = []byte{
|
||||
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x1a, 0x0c, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
||||
0x49, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f,
|
||||
0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69,
|
||||
0x6e, 0x52, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0xa6, 0x02, 0x0a, 0x06, 0x50,
|
||||
0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63,
|
||||
0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x50, 0x6c, 0x75, 0x67,
|
||||
0x69, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xd3, 0x01,
|
||||
0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
|
||||
0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x10, 0x01,
|
||||
0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x43, 0x41, 0x54, 0x4f, 0x52,
|
||||
0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x55, 0x45, 0x53, 0x54, 0x10, 0x03, 0x12, 0x08, 0x0a,
|
||||
0x04, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 0x4f, 0x56, 0x49,
|
||||
0x44, 0x45, 0x52, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49,
|
||||
0x4f, 0x4e, 0x45, 0x52, 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44,
|
||||
0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x55, 0x54, 0x48,
|
||||
0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x4f, 0x52, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x4c,
|
||||
0x4f, 0x47, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09,
|
||||
0x4c, 0x4f, 0x47, 0x56, 0x49, 0x45, 0x57, 0x45, 0x52, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x4d,
|
||||
0x41, 0x50, 0x50, 0x45, 0x52, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49,
|
||||
0x47, 0x10, 0x0c, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x49, 0x4e, 0x46,
|
||||
0x4f, 0x10, 0x0d, 0x22, 0x2d, 0x0a, 0x17, 0x50, 0x61, 0x72, 0x73, 0x65, 0x56, 0x61, 0x67, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61,
|
||||
0x74, 0x68, 0x22, 0x6c, 0x0a, 0x18, 0x50, 0x61, 0x72, 0x73, 0x65, 0x56, 0x61, 0x67, 0x72, 0x61,
|
||||
0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50,
|
||||
0x0a, 0x0b, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e,
|
||||
0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x56, 0x61, 0x67, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x52, 0x0b, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x32, 0xc7, 0x01, 0x0a, 0x0b, 0x52, 0x75, 0x62, 0x79, 0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74,
|
||||
0x12, 0x4b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x16,
|
||||
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
||||
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x25, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f,
|
||||
0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6c,
|
||||
0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a,
|
||||
0x10, 0x50, 0x61, 0x72, 0x73, 0x65, 0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x12, 0x2a, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61,
|
||||
0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x56, 0x61, 0x67, 0x72, 0x61,
|
||||
0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e,
|
||||
0x6f, 0x22, 0x49, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69,
|
||||
0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69,
|
||||
0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x50, 0x6c, 0x75,
|
||||
0x67, 0x69, 0x6e, 0x52, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0xbe, 0x01, 0x0a,
|
||||
0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x73, 0x68,
|
||||
0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x50, 0x6c,
|
||||
0x75, 0x67, 0x69, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22,
|
||||
0x6c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x4d, 0x4d, 0x41,
|
||||
0x4e, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x43,
|
||||
0x41, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x55, 0x45, 0x53, 0x54, 0x10,
|
||||
0x02, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x50,
|
||||
0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x52, 0x4f,
|
||||
0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x45, 0x52, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x59,
|
||||
0x4e, 0x43, 0x45, 0x44, 0x5f, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x10, 0x06, 0x22, 0x2d, 0x0a,
|
||||
0x17, 0x50, 0x61, 0x72, 0x73, 0x65, 0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x5c, 0x0a, 0x18,
|
||||
0x50, 0x61, 0x72, 0x73, 0x65, 0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x76, 0x61, 0x67, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
|
||||
0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e,
|
||||
0x74, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69,
|
||||
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f,
|
||||
0x72, 0x70, 0x2f, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
|
||||
0x6e, 0x61, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x2f, 0x72, 0x75, 0x62, 0x79, 0x5f, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x74, 0x2e, 0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x0b, 0x76,
|
||||
0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x4f, 0x0a, 0x0b, 0x50, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a,
|
||||
0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
|
||||
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
||||
0x41, 0x6e, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x79, 0x0a, 0x0d, 0x4d,
|
||||
0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x62, 0x6f, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62,
|
||||
0x6f, 0x78, 0x12, 0x42, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65,
|
||||
0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69,
|
||||
0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x65, 0x72, 0x73, 0x22, 0x50, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e,
|
||||
0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x63, 0x6f,
|
||||
0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
|
||||
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
|
||||
0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xee, 0x01, 0x0a, 0x0b, 0x56, 0x61, 0x67,
|
||||
0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03,
|
||||
0x72, 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x27,
|
||||
0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
|
||||
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0f, 0x6d, 0x61, 0x63, 0x68, 0x69,
|
||||
0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x20, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x67,
|
||||
0x72, 0x61, 0x6e, 0x74, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x52, 0x0e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74,
|
||||
0x6f, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x73, 0x68,
|
||||
0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x43, 0x6f,
|
||||
0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d,
|
||||
0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x32, 0xc7, 0x01, 0x0a, 0x0b, 0x52, 0x75,
|
||||
0x62, 0x79, 0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x0a, 0x47, 0x65, 0x74,
|
||||
0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
|
||||
0x25, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x10, 0x50, 0x61, 0x72, 0x73, 0x65, 0x56,
|
||||
0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x2a, 0x2e, 0x68, 0x61, 0x73,
|
||||
0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x50,
|
||||
0x61, 0x72, 0x73, 0x65, 0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f,
|
||||
0x72, 0x70, 0x2e, 0x76, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65,
|
||||
0x56, 0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||
0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x76, 0x61, 0x67, 0x72,
|
||||
0x61, 0x6e, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x73, 0x65, 0x72,
|
||||
0x76, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x75, 0x62, 0x79, 0x5f, 0x76,
|
||||
0x61, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -390,29 +651,38 @@ func file_proto_ruby_vagrant_ruby_server_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_proto_ruby_vagrant_ruby_server_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_proto_ruby_vagrant_ruby_server_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_proto_ruby_vagrant_ruby_server_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||||
var file_proto_ruby_vagrant_ruby_server_proto_goTypes = []interface{}{
|
||||
(Plugin_Type)(0), // 0: hashicorp.vagrant.Plugin.Type
|
||||
(*GetPluginsResponse)(nil), // 1: hashicorp.vagrant.GetPluginsResponse
|
||||
(*Plugin)(nil), // 2: hashicorp.vagrant.Plugin
|
||||
(*ParseVagrantfileRequest)(nil), // 3: hashicorp.vagrant.ParseVagrantfileRequest
|
||||
(*ParseVagrantfileResponse)(nil), // 4: hashicorp.vagrant.ParseVagrantfileResponse
|
||||
(*vagrant_plugin_sdk.Vagrantfile_Vagrantfile)(nil), // 5: hashicorp.vagrant.sdk.Vagrantfile.Vagrantfile
|
||||
(*emptypb.Empty)(nil), // 6: google.protobuf.Empty
|
||||
(Plugin_Type)(0), // 0: hashicorp.vagrant.Plugin.Type
|
||||
(*GetPluginsResponse)(nil), // 1: hashicorp.vagrant.GetPluginsResponse
|
||||
(*Plugin)(nil), // 2: hashicorp.vagrant.Plugin
|
||||
(*ParseVagrantfileRequest)(nil), // 3: hashicorp.vagrant.ParseVagrantfileRequest
|
||||
(*ParseVagrantfileResponse)(nil), // 4: hashicorp.vagrant.ParseVagrantfileResponse
|
||||
(*Provisioner)(nil), // 5: hashicorp.vagrant.Provisioner
|
||||
(*MachineConfig)(nil), // 6: hashicorp.vagrant.MachineConfig
|
||||
(*Communicator)(nil), // 7: hashicorp.vagrant.Communicator
|
||||
(*Vagrantfile)(nil), // 8: hashicorp.vagrant.Vagrantfile
|
||||
(*any.Any)(nil), // 9: google.protobuf.Any
|
||||
(*empty.Empty)(nil), // 10: google.protobuf.Empty
|
||||
}
|
||||
var file_proto_ruby_vagrant_ruby_server_proto_depIdxs = []int32{
|
||||
2, // 0: hashicorp.vagrant.GetPluginsResponse.plugins:type_name -> hashicorp.vagrant.Plugin
|
||||
0, // 1: hashicorp.vagrant.Plugin.type:type_name -> hashicorp.vagrant.Plugin.Type
|
||||
5, // 2: hashicorp.vagrant.ParseVagrantfileResponse.vagrantfile:type_name -> hashicorp.vagrant.sdk.Vagrantfile.Vagrantfile
|
||||
6, // 3: hashicorp.vagrant.RubyVagrant.GetPlugins:input_type -> google.protobuf.Empty
|
||||
3, // 4: hashicorp.vagrant.RubyVagrant.ParseVagrantfile:input_type -> hashicorp.vagrant.ParseVagrantfileRequest
|
||||
1, // 5: hashicorp.vagrant.RubyVagrant.GetPlugins:output_type -> hashicorp.vagrant.GetPluginsResponse
|
||||
4, // 6: hashicorp.vagrant.RubyVagrant.ParseVagrantfile:output_type -> hashicorp.vagrant.ParseVagrantfileResponse
|
||||
5, // [5:7] is the sub-list for method output_type
|
||||
3, // [3:5] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
3, // [3:3] is the sub-list for extension extendee
|
||||
0, // [0:3] is the sub-list for field type_name
|
||||
2, // 0: hashicorp.vagrant.GetPluginsResponse.plugins:type_name -> hashicorp.vagrant.Plugin
|
||||
0, // 1: hashicorp.vagrant.Plugin.type:type_name -> hashicorp.vagrant.Plugin.Type
|
||||
8, // 2: hashicorp.vagrant.ParseVagrantfileResponse.vagrantfile:type_name -> hashicorp.vagrant.Vagrantfile
|
||||
9, // 3: hashicorp.vagrant.Provisioner.config:type_name -> google.protobuf.Any
|
||||
5, // 4: hashicorp.vagrant.MachineConfig.provisioners:type_name -> hashicorp.vagrant.Provisioner
|
||||
9, // 5: hashicorp.vagrant.Communicator.config:type_name -> google.protobuf.Any
|
||||
6, // 6: hashicorp.vagrant.Vagrantfile.machine_configs:type_name -> hashicorp.vagrant.MachineConfig
|
||||
7, // 7: hashicorp.vagrant.Vagrantfile.communicators:type_name -> hashicorp.vagrant.Communicator
|
||||
10, // 8: hashicorp.vagrant.RubyVagrant.GetPlugins:input_type -> google.protobuf.Empty
|
||||
3, // 9: hashicorp.vagrant.RubyVagrant.ParseVagrantfile:input_type -> hashicorp.vagrant.ParseVagrantfileRequest
|
||||
1, // 10: hashicorp.vagrant.RubyVagrant.GetPlugins:output_type -> hashicorp.vagrant.GetPluginsResponse
|
||||
4, // 11: hashicorp.vagrant.RubyVagrant.ParseVagrantfile:output_type -> hashicorp.vagrant.ParseVagrantfileResponse
|
||||
10, // [10:12] is the sub-list for method output_type
|
||||
8, // [8:10] is the sub-list for method input_type
|
||||
8, // [8:8] is the sub-list for extension type_name
|
||||
8, // [8:8] is the sub-list for extension extendee
|
||||
0, // [0:8] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_proto_ruby_vagrant_ruby_server_proto_init() }
|
||||
@ -469,6 +739,54 @@ func file_proto_ruby_vagrant_ruby_server_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_proto_ruby_vagrant_ruby_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*Provisioner); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_proto_ruby_vagrant_ruby_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*MachineConfig); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_proto_ruby_vagrant_ruby_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*Communicator); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_proto_ruby_vagrant_ruby_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*Vagrantfile); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@ -476,7 +794,7 @@ func file_proto_ruby_vagrant_ruby_server_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_proto_ruby_vagrant_ruby_server_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 4,
|
||||
NumMessages: 8,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -57,6 +57,8 @@ service Vagrant {
|
||||
// is already registered this does nothing.
|
||||
rpc UpsertTarget(UpsertTargetRequest) returns (UpsertTargetResponse);
|
||||
|
||||
rpc DeleteTarget(DeleteTargetRequest) returns (google.protobuf.Empty);
|
||||
|
||||
rpc GetTarget(GetTargetRequest) returns (GetTargetResponse);
|
||||
|
||||
rpc FindTarget(FindTargetRequest) returns (FindTargetResponse);
|
||||
@ -1239,6 +1241,11 @@ message UpsertTargetResponse {
|
||||
Target target = 1;
|
||||
}
|
||||
|
||||
message DeleteTargetRequest {
|
||||
sdk.Ref.Project project = 1;
|
||||
sdk.Ref.Target target = 2;
|
||||
}
|
||||
|
||||
message GetTargetRequest {
|
||||
sdk.Ref.Project project = 1;
|
||||
sdk.Ref.Target target = 2;
|
||||
|
||||
@ -48,6 +48,7 @@ type VagrantClient interface {
|
||||
// UpsertTarget upserts a target with a project. If the target
|
||||
// is already registered this does nothing.
|
||||
UpsertTarget(ctx context.Context, in *UpsertTargetRequest, opts ...grpc.CallOption) (*UpsertTargetResponse, error)
|
||||
DeleteTarget(ctx context.Context, in *DeleteTargetRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*GetTargetResponse, error)
|
||||
FindTarget(ctx context.Context, in *FindTargetRequest, opts ...grpc.CallOption) (*FindTargetResponse, error)
|
||||
ListTargets(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListTargetsResponse, error)
|
||||
@ -252,6 +253,15 @@ func (c *vagrantClient) UpsertTarget(ctx context.Context, in *UpsertTargetReques
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *vagrantClient) DeleteTarget(ctx context.Context, in *DeleteTargetRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/DeleteTarget", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *vagrantClient) GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*GetTargetResponse, error) {
|
||||
out := new(GetTargetResponse)
|
||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/GetTarget", in, out, opts...)
|
||||
@ -630,6 +640,7 @@ type VagrantServer interface {
|
||||
// UpsertTarget upserts a target with a project. If the target
|
||||
// is already registered this does nothing.
|
||||
UpsertTarget(context.Context, *UpsertTargetRequest) (*UpsertTargetResponse, error)
|
||||
DeleteTarget(context.Context, *DeleteTargetRequest) (*empty.Empty, error)
|
||||
GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error)
|
||||
FindTarget(context.Context, *FindTargetRequest) (*FindTargetResponse, error)
|
||||
ListTargets(context.Context, *emptypb.Empty) (*ListTargetsResponse, error)
|
||||
@ -746,6 +757,9 @@ func (UnimplementedVagrantServer) ListProjects(context.Context, *emptypb.Empty)
|
||||
func (UnimplementedVagrantServer) UpsertTarget(context.Context, *UpsertTargetRequest) (*UpsertTargetResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpsertTarget not implemented")
|
||||
}
|
||||
func (UnimplementedVagrantServer) DeleteTarget(context.Context, *DeleteTargetRequest) (*empty.Empty, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteTarget not implemented")
|
||||
}
|
||||
func (UnimplementedVagrantServer) GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetTarget not implemented")
|
||||
}
|
||||
@ -1079,6 +1093,24 @@ func _Vagrant_UpsertTarget_Handler(srv interface{}, ctx context.Context, dec fun
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Vagrant_DeleteTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteTargetRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(VagrantServer).DeleteTarget(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/hashicorp.vagrant.Vagrant/DeleteTarget",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(VagrantServer).DeleteTarget(ctx, req.(*DeleteTargetRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Vagrant_GetTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetTargetRequest)
|
||||
if err := dec(in); err != nil {
|
||||
@ -1589,6 +1621,10 @@ var Vagrant_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "UpsertTarget",
|
||||
Handler: _Vagrant_UpsertTarget_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteTarget",
|
||||
Handler: _Vagrant_DeleteTarget_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetTarget",
|
||||
Handler: _Vagrant_GetTarget_Handler,
|
||||
|
||||
@ -16,25 +16,25 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
||||
add_message "hashicorp.vagrant.sdk.Args.DataDir" do
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Args.DataDir.Basis" do
|
||||
optional :config_dir, :string, 1
|
||||
optional :root_dir, :string, 1
|
||||
optional :cache_dir, :string, 2
|
||||
optional :data_dir, :string, 3
|
||||
optional :temp_dir, :string, 4
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Args.DataDir.Project" do
|
||||
optional :config_dir, :string, 1
|
||||
optional :root_dir, :string, 1
|
||||
optional :cache_dir, :string, 2
|
||||
optional :data_dir, :string, 3
|
||||
optional :temp_dir, :string, 4
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Args.DataDir.Target" do
|
||||
optional :config_dir, :string, 1
|
||||
optional :root_dir, :string, 1
|
||||
optional :cache_dir, :string, 2
|
||||
optional :data_dir, :string, 3
|
||||
optional :temp_dir, :string, 4
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Args.DataDir.Component" do
|
||||
optional :config_dir, :string, 1
|
||||
optional :root_dir, :string, 1
|
||||
optional :cache_dir, :string, 2
|
||||
optional :data_dir, :string, 3
|
||||
optional :temp_dir, :string, 4
|
||||
@ -349,9 +349,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
||||
add_message "hashicorp.vagrant.sdk.PluginInfo.ComponentList" do
|
||||
repeated :component, :uint32, 1
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.PluginInfo.Name" do
|
||||
optional :name, :string, 1
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Provider" do
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Provider.UsableResp" do
|
||||
@ -551,6 +548,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
||||
optional :name, :string, 1
|
||||
optional :provider, :string, 2
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Project.TargetIndexResponse" do
|
||||
optional :TargetIndex, :message, 1, "hashicorp.vagrant.sdk.Args.TargetIndex"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Project.MachineNamesResponse" do
|
||||
repeated :names, :string, 1
|
||||
end
|
||||
@ -575,127 +575,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
||||
add_message "hashicorp.vagrant.sdk.Project.DefaultPrivateKeyResponse" do
|
||||
optional :key, :string, 1
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile" do
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.GetVagrantfileRequest" do
|
||||
oneof :component do
|
||||
optional :project, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
||||
optional :box, :message, 2, "hashicorp.vagrant.sdk.Ref.Box"
|
||||
optional :basis, :message, 3, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||
end
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.GetVagrantfileResponse" do
|
||||
optional :vagrantfile, :message, 1, "hashicorp.vagrant.sdk.Vagrantfile.Vagrantfile"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.TargetRequest" do
|
||||
optional :name, :string, 1
|
||||
optional :provider, :string, 2
|
||||
optional :boxes, :message, 3, "hashicorp.vagrant.sdk.BoxCollection"
|
||||
optional :data_path, :string, 4
|
||||
optional :project, :message, 5, "hashicorp.vagrant.sdk.Args.Project"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.TargetResponse" do
|
||||
optional :target, :message, 1, "hashicorp.vagrant.sdk.Ref.Target"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.TargetConfigRequest" do
|
||||
optional :name, :string, 1
|
||||
optional :provider, :string, 2
|
||||
optional :boxes, :message, 3, "hashicorp.vagrant.sdk.BoxCollection"
|
||||
optional :data_path, :string, 4
|
||||
optional :validate_provider, :bool, 5
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.TargetConfigResponse" do
|
||||
optional :target_config, :message, 1, "hashicorp.vagrant.sdk.Vagrantfile.MachineConfig"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.TargetNamesResponse" do
|
||||
repeated :name, :string, 1
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.PrimaryTargetNameResponse" do
|
||||
optional :name, :string, 1
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.ConfigVM" do
|
||||
repeated :allowed_synced_folder_types, :string, 1
|
||||
optional :allow_fstab_modification, :bool, 2
|
||||
optional :allow_hosts_modificaion, :bool, 3
|
||||
optional :base_mac, :string, 4
|
||||
optional :base_address, :string, 5
|
||||
optional :boot_timeout, :int32, 6
|
||||
optional :box, :string, 7
|
||||
optional :ignore_box_vagrantfile, :bool, 8
|
||||
optional :box_check_update, :bool, 9
|
||||
repeated :box_url, :string, 10
|
||||
optional :box_server_url, :string, 11
|
||||
optional :box_version, :string, 12
|
||||
optional :box_download_ca_cert, :string, 13
|
||||
optional :box_download_ca_path, :string, 14
|
||||
optional :box_download_checksum, :string, 15
|
||||
optional :box_download_checksum_type, :string, 16
|
||||
optional :box_download_client_cert, :string, 17
|
||||
optional :box_download_insecure, :bool, 18
|
||||
optional :box_download_location_trusted, :bool, 19
|
||||
map :box_download_options, :string, :string, 20
|
||||
optional :communicator, :string, 21
|
||||
optional :graceful_halt_timeout, :int32, 22
|
||||
optional :guest, :string, 23
|
||||
optional :hostname, :string, 24
|
||||
optional :post_up_message, :string, 25
|
||||
repeated :usable_port_range, :int32, 26
|
||||
repeated :box_extra_download_options, :string, 27
|
||||
repeated :providers, :message, 29, "hashicorp.vagrant.sdk.Vagrantfile.Provider"
|
||||
repeated :networks, :message, 31, "hashicorp.vagrant.sdk.Vagrantfile.Network"
|
||||
repeated :provisioners, :message, 32, "hashicorp.vagrant.sdk.Vagrantfile.Provisioner"
|
||||
repeated :synced_folders, :message, 33, "hashicorp.vagrant.sdk.Vagrantfile.SyncedFolder"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.ConfigVagrant" do
|
||||
optional :host, :string, 1
|
||||
repeated :plugins, :string, 2
|
||||
repeated :sensitive, :string, 3
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.GeneralConfig" do
|
||||
optional :type, :string, 1
|
||||
optional :config, :message, 2, "google.protobuf.Any"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.MachineConfig" do
|
||||
optional :name, :string, 1
|
||||
optional :config_vm, :message, 2, "hashicorp.vagrant.sdk.Vagrantfile.ConfigVM"
|
||||
optional :config_vagrant, :message, 3, "hashicorp.vagrant.sdk.Vagrantfile.ConfigVagrant"
|
||||
repeated :plugin_configs, :message, 4, "hashicorp.vagrant.sdk.Vagrantfile.GeneralConfig"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.Provisioner" do
|
||||
optional :name, :string, 1
|
||||
optional :type, :string, 2
|
||||
optional :before, :string, 3
|
||||
optional :after, :string, 4
|
||||
optional :communicator_required, :bool, 5
|
||||
optional :config, :message, 6, "google.protobuf.Any"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.Provider" do
|
||||
optional :type, :string, 1
|
||||
optional :config, :message, 2, "google.protobuf.Any"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.Network" do
|
||||
optional :type, :string, 1
|
||||
optional :id, :string, 2
|
||||
optional :config, :message, 3, "google.protobuf.Any"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.SyncedFolder" do
|
||||
optional :source, :string, 1
|
||||
optional :destination, :string, 2
|
||||
optional :config, :message, 3, "google.protobuf.Any"
|
||||
optional :create, :bool, 4
|
||||
optional :disabled, :bool, 5
|
||||
optional :group, :string, 6
|
||||
optional :id, :string, 7
|
||||
repeated :mount_options, :string, 8
|
||||
optional :owner, :string, 9
|
||||
optional :type, :string, 10
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.Vagrantfile.Vagrantfile" do
|
||||
optional :path, :string, 1
|
||||
optional :raw, :string, 2
|
||||
optional :current_version, :string, 3
|
||||
repeated :machine_configs, :message, 4, "hashicorp.vagrant.sdk.Vagrantfile.MachineConfig"
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.TargetIndex" do
|
||||
end
|
||||
add_message "hashicorp.vagrant.sdk.TargetIndex.GetRequest" do
|
||||
@ -787,7 +666,6 @@ module Hashicorp
|
||||
StateBag::RemoveResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.StateBag.RemoveResponse").msgclass
|
||||
PluginInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.PluginInfo").msgclass
|
||||
PluginInfo::ComponentList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.PluginInfo.ComponentList").msgclass
|
||||
PluginInfo::Name = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.PluginInfo.Name").msgclass
|
||||
Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Provider").msgclass
|
||||
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
|
||||
@ -848,6 +726,7 @@ module Hashicorp
|
||||
Project::TargetNamesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.TargetNamesResponse").msgclass
|
||||
Project::TargetIdsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.TargetIdsResponse").msgclass
|
||||
Project::MachineAndProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.MachineAndProvider").msgclass
|
||||
Project::TargetIndexResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.TargetIndexResponse").msgclass
|
||||
Project::MachineNamesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.MachineNamesResponse").msgclass
|
||||
Project::ActiveMachinesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.ActiveMachinesResponse").msgclass
|
||||
Project::CwdResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.CwdResponse").msgclass
|
||||
@ -856,24 +735,6 @@ module Hashicorp
|
||||
Project::LocalDataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.LocalDataResponse").msgclass
|
||||
Project::TmpResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.TmpResponse").msgclass
|
||||
Project::DefaultPrivateKeyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.DefaultPrivateKeyResponse").msgclass
|
||||
Vagrantfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile").msgclass
|
||||
Vagrantfile::GetVagrantfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.GetVagrantfileRequest").msgclass
|
||||
Vagrantfile::GetVagrantfileResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.GetVagrantfileResponse").msgclass
|
||||
Vagrantfile::TargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.TargetRequest").msgclass
|
||||
Vagrantfile::TargetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.TargetResponse").msgclass
|
||||
Vagrantfile::TargetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.TargetConfigRequest").msgclass
|
||||
Vagrantfile::TargetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.TargetConfigResponse").msgclass
|
||||
Vagrantfile::TargetNamesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.TargetNamesResponse").msgclass
|
||||
Vagrantfile::PrimaryTargetNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.PrimaryTargetNameResponse").msgclass
|
||||
Vagrantfile::ConfigVM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.ConfigVM").msgclass
|
||||
Vagrantfile::ConfigVagrant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.ConfigVagrant").msgclass
|
||||
Vagrantfile::GeneralConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.GeneralConfig").msgclass
|
||||
Vagrantfile::MachineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.MachineConfig").msgclass
|
||||
Vagrantfile::Provisioner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.Provisioner").msgclass
|
||||
Vagrantfile::Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.Provider").msgclass
|
||||
Vagrantfile::Network = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.Network").msgclass
|
||||
Vagrantfile::SyncedFolder = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.SyncedFolder").msgclass
|
||||
Vagrantfile::Vagrantfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Vagrantfile.Vagrantfile").msgclass
|
||||
TargetIndex = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.TargetIndex").msgclass
|
||||
TargetIndex::GetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.TargetIndex.GetRequest").msgclass
|
||||
TargetIndex::IncludesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.TargetIndex.IncludesRequest").msgclass
|
||||
|
||||
@ -420,9 +420,9 @@ module Hashicorp
|
||||
|
||||
Stub = Service.rpc_stub_class
|
||||
end
|
||||
module VagrantfileService
|
||||
module TargetIndexService
|
||||
# *******************************************************************
|
||||
# Vagrantfile services
|
||||
# TargetIndex services
|
||||
# ******************************************************************
|
||||
class Service
|
||||
|
||||
@ -430,13 +430,13 @@ module Hashicorp
|
||||
|
||||
self.marshal_class_method = :encode
|
||||
self.unmarshal_class_method = :decode
|
||||
self.service_name = 'hashicorp.vagrant.sdk.VagrantfileService'
|
||||
self.service_name = 'hashicorp.vagrant.sdk.TargetIndexService'
|
||||
|
||||
rpc :GetVagrantfile, ::Hashicorp::Vagrant::Sdk::Vagrantfile::GetVagrantfileRequest, ::Hashicorp::Vagrant::Sdk::Vagrantfile::GetVagrantfileResponse
|
||||
rpc :Target, ::Hashicorp::Vagrant::Sdk::Vagrantfile::TargetRequest, ::Hashicorp::Vagrant::Sdk::Vagrantfile::TargetResponse
|
||||
rpc :TargetConfig, ::Hashicorp::Vagrant::Sdk::Vagrantfile::TargetConfigRequest, ::Hashicorp::Vagrant::Sdk::Vagrantfile::TargetConfigResponse
|
||||
rpc :TargetNames, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Vagrantfile::TargetNamesResponse
|
||||
rpc :PrimaryTargetName, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Vagrantfile::PrimaryTargetNameResponse
|
||||
rpc :Delete, ::Hashicorp::Vagrant::Sdk::Args::Target, ::Google::Protobuf::Empty
|
||||
rpc :Get, ::Hashicorp::Vagrant::Sdk::TargetIndex::GetRequest, ::Hashicorp::Vagrant::Sdk::Args::Target
|
||||
rpc :Includes, ::Hashicorp::Vagrant::Sdk::TargetIndex::IncludesRequest, ::Hashicorp::Vagrant::Sdk::TargetIndex::IncludesResponse
|
||||
rpc :Set, ::Hashicorp::Vagrant::Sdk::Args::Target, ::Hashicorp::Vagrant::Sdk::Args::Target
|
||||
rpc :Recover, ::Hashicorp::Vagrant::Sdk::Args::Target, ::Hashicorp::Vagrant::Sdk::Args::Target
|
||||
end
|
||||
|
||||
Stub = Service.rpc_stub_class
|
||||
|
||||
@ -568,6 +568,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
||||
add_message "hashicorp.vagrant.UpsertTargetResponse" do
|
||||
optional :target, :message, 1, "hashicorp.vagrant.Target"
|
||||
end
|
||||
add_message "hashicorp.vagrant.DeleteTargetRequest" do
|
||||
optional :project, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
||||
optional :target, :message, 2, "hashicorp.vagrant.sdk.Ref.Target"
|
||||
end
|
||||
add_message "hashicorp.vagrant.GetTargetRequest" do
|
||||
optional :project, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
||||
optional :target, :message, 2, "hashicorp.vagrant.sdk.Ref.Target"
|
||||
@ -973,6 +977,7 @@ module Hashicorp
|
||||
ListProjectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.ListProjectsResponse").msgclass
|
||||
UpsertTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.UpsertTargetRequest").msgclass
|
||||
UpsertTargetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.UpsertTargetResponse").msgclass
|
||||
DeleteTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.DeleteTargetRequest").msgclass
|
||||
GetTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.GetTargetRequest").msgclass
|
||||
GetTargetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.GetTargetResponse").msgclass
|
||||
FindTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.FindTargetRequest").msgclass
|
||||
|
||||
@ -45,6 +45,7 @@ module Hashicorp
|
||||
# UpsertTarget upserts a target with a project. If the target
|
||||
# is already registered this does nothing.
|
||||
rpc :UpsertTarget, ::Hashicorp::Vagrant::UpsertTargetRequest, ::Hashicorp::Vagrant::UpsertTargetResponse
|
||||
rpc :DeleteTarget, ::Hashicorp::Vagrant::DeleteTargetRequest, ::Google::Protobuf::Empty
|
||||
rpc :GetTarget, ::Hashicorp::Vagrant::GetTargetRequest, ::Hashicorp::Vagrant::GetTargetResponse
|
||||
rpc :FindTarget, ::Hashicorp::Vagrant::FindTargetRequest, ::Hashicorp::Vagrant::FindTargetResponse
|
||||
rpc :ListTargets, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::ListTargetsResponse
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user