Update generated proto files
This commit is contained in:
parent
af409b3f4d
commit
37d42bc8ef
@ -1,17 +1,17 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.23.0
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v3.13.0
|
// protoc v3.15.6
|
||||||
// source: proto/ruby_vagrant/ruby-server.proto
|
// source: proto/ruby_vagrant/ruby-server.proto
|
||||||
|
|
||||||
package ruby_vagrant
|
package ruby_vagrant
|
||||||
|
|
||||||
import (
|
import (
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
any "github.com/golang/protobuf/ptypes/any"
|
|
||||||
empty "github.com/golang/protobuf/ptypes/empty"
|
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
anypb "google.golang.org/protobuf/types/known/anypb"
|
||||||
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
||||||
reflect "reflect"
|
reflect "reflect"
|
||||||
sync "sync"
|
sync "sync"
|
||||||
)
|
)
|
||||||
@ -298,7 +298,7 @@ type Provisioner struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
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"`
|
Config *anypb.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Provisioner) Reset() {
|
func (x *Provisioner) Reset() {
|
||||||
@ -340,7 +340,7 @@ func (x *Provisioner) GetName() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Provisioner) GetConfig() *any.Any {
|
func (x *Provisioner) GetConfig() *anypb.Any {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Config
|
return x.Config
|
||||||
}
|
}
|
||||||
@ -421,7 +421,7 @@ type Communicator struct {
|
|||||||
// This is the config that belongs to the communicator.
|
// This is the config that belongs to the communicator.
|
||||||
// Should be a message type from the core plugin or defined
|
// Should be a message type from the core plugin or defined
|
||||||
// by a plugin author
|
// by a plugin author
|
||||||
Config *any.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
Config *anypb.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Communicator) Reset() {
|
func (x *Communicator) Reset() {
|
||||||
@ -463,7 +463,7 @@ func (x *Communicator) GetName() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Communicator) GetConfig() *any.Any {
|
func (x *Communicator) GetConfig() *anypb.Any {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Config
|
return x.Config
|
||||||
}
|
}
|
||||||
@ -662,8 +662,8 @@ var file_proto_ruby_vagrant_ruby_server_proto_goTypes = []interface{}{
|
|||||||
(*MachineConfig)(nil), // 6: hashicorp.vagrant.MachineConfig
|
(*MachineConfig)(nil), // 6: hashicorp.vagrant.MachineConfig
|
||||||
(*Communicator)(nil), // 7: hashicorp.vagrant.Communicator
|
(*Communicator)(nil), // 7: hashicorp.vagrant.Communicator
|
||||||
(*Vagrantfile)(nil), // 8: hashicorp.vagrant.Vagrantfile
|
(*Vagrantfile)(nil), // 8: hashicorp.vagrant.Vagrantfile
|
||||||
(*any.Any)(nil), // 9: google.protobuf.Any
|
(*anypb.Any)(nil), // 9: google.protobuf.Any
|
||||||
(*empty.Empty)(nil), // 10: google.protobuf.Empty
|
(*emptypb.Empty)(nil), // 10: google.protobuf.Empty
|
||||||
}
|
}
|
||||||
var file_proto_ruby_vagrant_ruby_server_proto_depIdxs = []int32{
|
var file_proto_ruby_vagrant_ruby_server_proto_depIdxs = []int32{
|
||||||
2, // 0: hashicorp.vagrant.GetPluginsResponse.plugins:type_name -> hashicorp.vagrant.Plugin
|
2, // 0: hashicorp.vagrant.GetPluginsResponse.plugins:type_name -> hashicorp.vagrant.Plugin
|
||||||
|
|||||||
@ -4,14 +4,15 @@ package ruby_vagrant
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
empty "github.com/golang/protobuf/ptypes/empty"
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
// is compatible with the grpc package it is being compiled against.
|
// is compatible with the grpc package it is being compiled against.
|
||||||
|
// Requires gRPC-Go v1.32.0 or later.
|
||||||
const _ = grpc.SupportPackageIsVersion7
|
const _ = grpc.SupportPackageIsVersion7
|
||||||
|
|
||||||
// RubyVagrantClient is the client API for RubyVagrant service.
|
// RubyVagrantClient is the client API for RubyVagrant service.
|
||||||
@ -19,7 +20,7 @@ const _ = grpc.SupportPackageIsVersion7
|
|||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
||||||
type RubyVagrantClient interface {
|
type RubyVagrantClient interface {
|
||||||
// Gets available ruby plugins
|
// Gets available ruby plugins
|
||||||
GetPlugins(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetPluginsResponse, error)
|
GetPlugins(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetPluginsResponse, error)
|
||||||
ParseVagrantfile(ctx context.Context, in *ParseVagrantfileRequest, opts ...grpc.CallOption) (*ParseVagrantfileResponse, error)
|
ParseVagrantfile(ctx context.Context, in *ParseVagrantfileRequest, opts ...grpc.CallOption) (*ParseVagrantfileResponse, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,7 +32,7 @@ func NewRubyVagrantClient(cc grpc.ClientConnInterface) RubyVagrantClient {
|
|||||||
return &rubyVagrantClient{cc}
|
return &rubyVagrantClient{cc}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *rubyVagrantClient) GetPlugins(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetPluginsResponse, error) {
|
func (c *rubyVagrantClient) GetPlugins(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetPluginsResponse, error) {
|
||||||
out := new(GetPluginsResponse)
|
out := new(GetPluginsResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.RubyVagrant/GetPlugins", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.RubyVagrant/GetPlugins", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -54,7 +55,7 @@ func (c *rubyVagrantClient) ParseVagrantfile(ctx context.Context, in *ParseVagra
|
|||||||
// for forward compatibility
|
// for forward compatibility
|
||||||
type RubyVagrantServer interface {
|
type RubyVagrantServer interface {
|
||||||
// Gets available ruby plugins
|
// Gets available ruby plugins
|
||||||
GetPlugins(context.Context, *empty.Empty) (*GetPluginsResponse, error)
|
GetPlugins(context.Context, *emptypb.Empty) (*GetPluginsResponse, error)
|
||||||
ParseVagrantfile(context.Context, *ParseVagrantfileRequest) (*ParseVagrantfileResponse, error)
|
ParseVagrantfile(context.Context, *ParseVagrantfileRequest) (*ParseVagrantfileResponse, error)
|
||||||
mustEmbedUnimplementedRubyVagrantServer()
|
mustEmbedUnimplementedRubyVagrantServer()
|
||||||
}
|
}
|
||||||
@ -63,7 +64,7 @@ type RubyVagrantServer interface {
|
|||||||
type UnimplementedRubyVagrantServer struct {
|
type UnimplementedRubyVagrantServer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (UnimplementedRubyVagrantServer) GetPlugins(context.Context, *empty.Empty) (*GetPluginsResponse, error) {
|
func (UnimplementedRubyVagrantServer) GetPlugins(context.Context, *emptypb.Empty) (*GetPluginsResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method GetPlugins not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method GetPlugins not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedRubyVagrantServer) ParseVagrantfile(context.Context, *ParseVagrantfileRequest) (*ParseVagrantfileResponse, error) {
|
func (UnimplementedRubyVagrantServer) ParseVagrantfile(context.Context, *ParseVagrantfileRequest) (*ParseVagrantfileResponse, error) {
|
||||||
@ -79,11 +80,11 @@ type UnsafeRubyVagrantServer interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func RegisterRubyVagrantServer(s grpc.ServiceRegistrar, srv RubyVagrantServer) {
|
func RegisterRubyVagrantServer(s grpc.ServiceRegistrar, srv RubyVagrantServer) {
|
||||||
s.RegisterService(&_RubyVagrant_serviceDesc, srv)
|
s.RegisterService(&RubyVagrant_ServiceDesc, srv)
|
||||||
}
|
}
|
||||||
|
|
||||||
func _RubyVagrant_GetPlugins_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _RubyVagrant_GetPlugins_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(empty.Empty)
|
in := new(emptypb.Empty)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -95,7 +96,7 @@ func _RubyVagrant_GetPlugins_Handler(srv interface{}, ctx context.Context, dec f
|
|||||||
FullMethod: "/hashicorp.vagrant.RubyVagrant/GetPlugins",
|
FullMethod: "/hashicorp.vagrant.RubyVagrant/GetPlugins",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(RubyVagrantServer).GetPlugins(ctx, req.(*empty.Empty))
|
return srv.(RubyVagrantServer).GetPlugins(ctx, req.(*emptypb.Empty))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
@ -118,7 +119,10 @@ func _RubyVagrant_ParseVagrantfile_Handler(srv interface{}, ctx context.Context,
|
|||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
var _RubyVagrant_serviceDesc = grpc.ServiceDesc{
|
// RubyVagrant_ServiceDesc is the grpc.ServiceDesc for RubyVagrant service.
|
||||||
|
// It's only intended for direct use with grpc.RegisterService,
|
||||||
|
// and not to be introspected or modified (even as a copy)
|
||||||
|
var RubyVagrant_ServiceDesc = grpc.ServiceDesc{
|
||||||
ServiceName: "hashicorp.vagrant.RubyVagrant",
|
ServiceName: "hashicorp.vagrant.RubyVagrant",
|
||||||
HandlerType: (*RubyVagrantServer)(nil),
|
HandlerType: (*RubyVagrantServer)(nil),
|
||||||
Methods: []grpc.MethodDesc{
|
Methods: []grpc.MethodDesc{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -4,14 +4,15 @@ package vagrant_server
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
empty "github.com/golang/protobuf/ptypes/empty"
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
// is compatible with the grpc package it is being compiled against.
|
// is compatible with the grpc package it is being compiled against.
|
||||||
|
// Requires gRPC-Go v1.32.0 or later.
|
||||||
const _ = grpc.SupportPackageIsVersion7
|
const _ = grpc.SupportPackageIsVersion7
|
||||||
|
|
||||||
// VagrantClient is the client API for Vagrant service.
|
// VagrantClient is the client API for Vagrant service.
|
||||||
@ -21,11 +22,11 @@ type VagrantClient interface {
|
|||||||
// GetVersionInfo returns information about the server. This RPC call does
|
// GetVersionInfo returns information about the server. This RPC call does
|
||||||
// NOT require authentication. It can be used by clients to determine if they
|
// NOT require authentication. It can be used by clients to determine if they
|
||||||
// are capable of talking to this server.
|
// are capable of talking to this server.
|
||||||
GetVersionInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetVersionInfoResponse, error)
|
GetVersionInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetVersionInfoResponse, error)
|
||||||
UpsertBasis(ctx context.Context, in *UpsertBasisRequest, opts ...grpc.CallOption) (*UpsertBasisResponse, error)
|
UpsertBasis(ctx context.Context, in *UpsertBasisRequest, opts ...grpc.CallOption) (*UpsertBasisResponse, error)
|
||||||
GetBasis(ctx context.Context, in *GetBasisRequest, opts ...grpc.CallOption) (*GetBasisResponse, error)
|
GetBasis(ctx context.Context, in *GetBasisRequest, opts ...grpc.CallOption) (*GetBasisResponse, error)
|
||||||
FindBasis(ctx context.Context, in *FindBasisRequest, opts ...grpc.CallOption) (*FindBasisResponse, error)
|
FindBasis(ctx context.Context, in *FindBasisRequest, opts ...grpc.CallOption) (*FindBasisResponse, error)
|
||||||
ListBasis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListBasisResponse, error)
|
ListBasis(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListBasisResponse, error)
|
||||||
// ListTasks returns the tasks.
|
// ListTasks returns the tasks.
|
||||||
ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)
|
ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)
|
||||||
// GetTask returns a task
|
// GetTask returns a task
|
||||||
@ -43,13 +44,13 @@ type VagrantClient interface {
|
|||||||
// ListProjects returns a list of all the projects. There is no equivalent
|
// ListProjects returns a list of all the projects. There is no equivalent
|
||||||
// ListApplications because applications are a part of projects and you
|
// ListApplications because applications are a part of projects and you
|
||||||
// can use GetProject to get more information about the project.
|
// can use GetProject to get more information about the project.
|
||||||
ListProjects(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListProjectsResponse, error)
|
ListProjects(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListProjectsResponse, error)
|
||||||
// UpsertMachine upserts a machine with a project. If the machine
|
// UpsertTarget upserts a target with a project. If the target
|
||||||
// is already registered this does nothing.
|
// is already registered this does nothing.
|
||||||
UpsertMachine(ctx context.Context, in *UpsertMachineRequest, opts ...grpc.CallOption) (*UpsertMachineResponse, error)
|
UpsertTarget(ctx context.Context, in *UpsertTargetRequest, opts ...grpc.CallOption) (*UpsertTargetResponse, error)
|
||||||
GetMachine(ctx context.Context, in *GetMachineRequest, opts ...grpc.CallOption) (*GetMachineResponse, error)
|
GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*GetTargetResponse, error)
|
||||||
FindMachine(ctx context.Context, in *FindMachineRequest, opts ...grpc.CallOption) (*FindMachineResponse, error)
|
FindTarget(ctx context.Context, in *FindTargetRequest, opts ...grpc.CallOption) (*FindTargetResponse, error)
|
||||||
ListMachines(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListMachinesResponse, error)
|
ListTargets(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListTargetsResponse, error)
|
||||||
// GetLogStream reads the log stream for a deployment. This will immediately
|
// GetLogStream reads the log stream for a deployment. This will immediately
|
||||||
// send a single LogEntry with the lines we have so far. If there are no
|
// send a single LogEntry with the lines we have so far. If there are no
|
||||||
// available lines this will NOT block and instead will return an error.
|
// available lines this will NOT block and instead will return an error.
|
||||||
@ -71,7 +72,7 @@ type VagrantClient interface {
|
|||||||
//
|
//
|
||||||
// This RPC always returns immediately. You must use GetJob or GetJobStream
|
// This RPC always returns immediately. You must use GetJob or GetJobStream
|
||||||
// to wait on the status of the cancellation.
|
// to wait on the status of the cancellation.
|
||||||
CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||||
// GetJob queries a job by ID.
|
// GetJob queries a job by ID.
|
||||||
GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error)
|
GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error)
|
||||||
// INTERNAL: ListJobs lists all the jobs the server has processed. This
|
// INTERNAL: ListJobs lists all the jobs the server has processed. This
|
||||||
@ -88,11 +89,11 @@ type VagrantClient interface {
|
|||||||
// GetRunner gets information about a single runner.
|
// GetRunner gets information about a single runner.
|
||||||
GetRunner(ctx context.Context, in *GetRunnerRequest, opts ...grpc.CallOption) (*Runner, error)
|
GetRunner(ctx context.Context, in *GetRunnerRequest, opts ...grpc.CallOption) (*Runner, error)
|
||||||
// GetServerConfig sets configuration for the Vagrant server.
|
// GetServerConfig sets configuration for the Vagrant server.
|
||||||
GetServerConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetServerConfigResponse, error)
|
GetServerConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetServerConfigResponse, error)
|
||||||
// SetServerConfig sets configuration for the Vagrant server.
|
// SetServerConfig sets configuration for the Vagrant server.
|
||||||
SetServerConfig(ctx context.Context, in *SetServerConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
SetServerConfig(ctx context.Context, in *SetServerConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||||
// CreateSnapshot creates a new database snapshot.
|
// CreateSnapshot creates a new database snapshot.
|
||||||
CreateSnapshot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (Vagrant_CreateSnapshotClient, error)
|
CreateSnapshot(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (Vagrant_CreateSnapshotClient, error)
|
||||||
// RestoreSnapshot performs a database restore with the given snapshot.
|
// RestoreSnapshot performs a database restore with the given snapshot.
|
||||||
// This API doesn't do a full online restore, it only stages the restore
|
// This API doesn't do a full online restore, it only stages the restore
|
||||||
// for the next server start to finalize the restore. See the arguments for
|
// for the next server start to finalize the restore. See the arguments for
|
||||||
@ -101,11 +102,11 @@ type VagrantClient interface {
|
|||||||
// BootstrapToken returns the initial token for the server. This can only
|
// BootstrapToken returns the initial token for the server. This can only
|
||||||
// be requested once on first startup. After initial request this will
|
// be requested once on first startup. After initial request this will
|
||||||
// always return a PermissionDenied error.
|
// always return a PermissionDenied error.
|
||||||
BootstrapToken(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NewTokenResponse, error)
|
BootstrapToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NewTokenResponse, error)
|
||||||
// Generate a new invite token that users can exchange for a login token.
|
// Generate a new invite token that users can exchange for a login token.
|
||||||
GenerateInviteToken(ctx context.Context, in *InviteTokenRequest, opts ...grpc.CallOption) (*NewTokenResponse, error)
|
GenerateInviteToken(ctx context.Context, in *InviteTokenRequest, opts ...grpc.CallOption) (*NewTokenResponse, error)
|
||||||
// Generate a new login token that users can use to login directly.
|
// Generate a new login token that users can use to login directly.
|
||||||
GenerateLoginToken(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NewTokenResponse, error)
|
GenerateLoginToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NewTokenResponse, error)
|
||||||
// Exchange a invite token for a login token.
|
// Exchange a invite token for a login token.
|
||||||
ConvertInviteToken(ctx context.Context, in *ConvertInviteTokenRequest, opts ...grpc.CallOption) (*NewTokenResponse, error)
|
ConvertInviteToken(ctx context.Context, in *ConvertInviteTokenRequest, opts ...grpc.CallOption) (*NewTokenResponse, error)
|
||||||
// RunnerConfig is called to register a runner and receive the configuration
|
// RunnerConfig is called to register a runner and receive the configuration
|
||||||
@ -125,7 +126,7 @@ func NewVagrantClient(cc grpc.ClientConnInterface) VagrantClient {
|
|||||||
return &vagrantClient{cc}
|
return &vagrantClient{cc}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) GetVersionInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetVersionInfoResponse, error) {
|
func (c *vagrantClient) GetVersionInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetVersionInfoResponse, error) {
|
||||||
out := new(GetVersionInfoResponse)
|
out := new(GetVersionInfoResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/GetVersionInfo", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/GetVersionInfo", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -161,7 +162,7 @@ func (c *vagrantClient) FindBasis(ctx context.Context, in *FindBasisRequest, opt
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) ListBasis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListBasisResponse, error) {
|
func (c *vagrantClient) ListBasis(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListBasisResponse, error) {
|
||||||
out := new(ListBasisResponse)
|
out := new(ListBasisResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/ListBasis", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/ListBasis", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -233,7 +234,7 @@ func (c *vagrantClient) FindProject(ctx context.Context, in *FindProjectRequest,
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) ListProjects(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListProjectsResponse, error) {
|
func (c *vagrantClient) ListProjects(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListProjectsResponse, error) {
|
||||||
out := new(ListProjectsResponse)
|
out := new(ListProjectsResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/ListProjects", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/ListProjects", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -242,36 +243,36 @@ func (c *vagrantClient) ListProjects(ctx context.Context, in *empty.Empty, opts
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) UpsertMachine(ctx context.Context, in *UpsertMachineRequest, opts ...grpc.CallOption) (*UpsertMachineResponse, error) {
|
func (c *vagrantClient) UpsertTarget(ctx context.Context, in *UpsertTargetRequest, opts ...grpc.CallOption) (*UpsertTargetResponse, error) {
|
||||||
out := new(UpsertMachineResponse)
|
out := new(UpsertTargetResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/UpsertMachine", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/UpsertTarget", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) GetMachine(ctx context.Context, in *GetMachineRequest, opts ...grpc.CallOption) (*GetMachineResponse, error) {
|
func (c *vagrantClient) GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*GetTargetResponse, error) {
|
||||||
out := new(GetMachineResponse)
|
out := new(GetTargetResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/GetMachine", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/GetTarget", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) FindMachine(ctx context.Context, in *FindMachineRequest, opts ...grpc.CallOption) (*FindMachineResponse, error) {
|
func (c *vagrantClient) FindTarget(ctx context.Context, in *FindTargetRequest, opts ...grpc.CallOption) (*FindTargetResponse, error) {
|
||||||
out := new(FindMachineResponse)
|
out := new(FindTargetResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/FindMachine", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/FindTarget", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) ListMachines(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListMachinesResponse, error) {
|
func (c *vagrantClient) ListTargets(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListTargetsResponse, error) {
|
||||||
out := new(ListMachinesResponse)
|
out := new(ListTargetsResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/ListMachines", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/ListTargets", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -279,7 +280,7 @@ func (c *vagrantClient) ListMachines(ctx context.Context, in *empty.Empty, opts
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) GetLogStream(ctx context.Context, in *GetLogStreamRequest, opts ...grpc.CallOption) (Vagrant_GetLogStreamClient, error) {
|
func (c *vagrantClient) GetLogStream(ctx context.Context, in *GetLogStreamRequest, opts ...grpc.CallOption) (Vagrant_GetLogStreamClient, error) {
|
||||||
stream, err := c.cc.NewStream(ctx, &_Vagrant_serviceDesc.Streams[0], "/hashicorp.vagrant.Vagrant/GetLogStream", opts...)
|
stream, err := c.cc.NewStream(ctx, &Vagrant_ServiceDesc.Streams[0], "/hashicorp.vagrant.Vagrant/GetLogStream", opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -337,8 +338,8 @@ func (c *vagrantClient) QueueJob(ctx context.Context, in *QueueJobRequest, opts
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
func (c *vagrantClient) CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
||||||
out := new(empty.Empty)
|
out := new(emptypb.Empty)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/CancelJob", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/CancelJob", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@ -374,7 +375,7 @@ func (c *vagrantClient) ValidateJob(ctx context.Context, in *ValidateJobRequest,
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) GetJobStream(ctx context.Context, in *GetJobStreamRequest, opts ...grpc.CallOption) (Vagrant_GetJobStreamClient, error) {
|
func (c *vagrantClient) GetJobStream(ctx context.Context, in *GetJobStreamRequest, opts ...grpc.CallOption) (Vagrant_GetJobStreamClient, error) {
|
||||||
stream, err := c.cc.NewStream(ctx, &_Vagrant_serviceDesc.Streams[1], "/hashicorp.vagrant.Vagrant/GetJobStream", opts...)
|
stream, err := c.cc.NewStream(ctx, &Vagrant_ServiceDesc.Streams[1], "/hashicorp.vagrant.Vagrant/GetJobStream", opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -414,7 +415,7 @@ func (c *vagrantClient) GetRunner(ctx context.Context, in *GetRunnerRequest, opt
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) GetServerConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetServerConfigResponse, error) {
|
func (c *vagrantClient) GetServerConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetServerConfigResponse, error) {
|
||||||
out := new(GetServerConfigResponse)
|
out := new(GetServerConfigResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/GetServerConfig", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/GetServerConfig", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -423,8 +424,8 @@ func (c *vagrantClient) GetServerConfig(ctx context.Context, in *empty.Empty, op
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) SetServerConfig(ctx context.Context, in *SetServerConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
func (c *vagrantClient) SetServerConfig(ctx context.Context, in *SetServerConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
||||||
out := new(empty.Empty)
|
out := new(emptypb.Empty)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/SetServerConfig", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/SetServerConfig", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@ -432,8 +433,8 @@ func (c *vagrantClient) SetServerConfig(ctx context.Context, in *SetServerConfig
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) CreateSnapshot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (Vagrant_CreateSnapshotClient, error) {
|
func (c *vagrantClient) CreateSnapshot(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (Vagrant_CreateSnapshotClient, error) {
|
||||||
stream, err := c.cc.NewStream(ctx, &_Vagrant_serviceDesc.Streams[2], "/hashicorp.vagrant.Vagrant/CreateSnapshot", opts...)
|
stream, err := c.cc.NewStream(ctx, &Vagrant_ServiceDesc.Streams[2], "/hashicorp.vagrant.Vagrant/CreateSnapshot", opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -465,7 +466,7 @@ func (x *vagrantCreateSnapshotClient) Recv() (*CreateSnapshotResponse, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) RestoreSnapshot(ctx context.Context, opts ...grpc.CallOption) (Vagrant_RestoreSnapshotClient, error) {
|
func (c *vagrantClient) RestoreSnapshot(ctx context.Context, opts ...grpc.CallOption) (Vagrant_RestoreSnapshotClient, error) {
|
||||||
stream, err := c.cc.NewStream(ctx, &_Vagrant_serviceDesc.Streams[3], "/hashicorp.vagrant.Vagrant/RestoreSnapshot", opts...)
|
stream, err := c.cc.NewStream(ctx, &Vagrant_ServiceDesc.Streams[3], "/hashicorp.vagrant.Vagrant/RestoreSnapshot", opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -475,7 +476,7 @@ func (c *vagrantClient) RestoreSnapshot(ctx context.Context, opts ...grpc.CallOp
|
|||||||
|
|
||||||
type Vagrant_RestoreSnapshotClient interface {
|
type Vagrant_RestoreSnapshotClient interface {
|
||||||
Send(*RestoreSnapshotRequest) error
|
Send(*RestoreSnapshotRequest) error
|
||||||
CloseAndRecv() (*empty.Empty, error)
|
CloseAndRecv() (*emptypb.Empty, error)
|
||||||
grpc.ClientStream
|
grpc.ClientStream
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -487,18 +488,18 @@ func (x *vagrantRestoreSnapshotClient) Send(m *RestoreSnapshotRequest) error {
|
|||||||
return x.ClientStream.SendMsg(m)
|
return x.ClientStream.SendMsg(m)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *vagrantRestoreSnapshotClient) CloseAndRecv() (*empty.Empty, error) {
|
func (x *vagrantRestoreSnapshotClient) CloseAndRecv() (*emptypb.Empty, error) {
|
||||||
if err := x.ClientStream.CloseSend(); err != nil {
|
if err := x.ClientStream.CloseSend(); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
m := new(empty.Empty)
|
m := new(emptypb.Empty)
|
||||||
if err := x.ClientStream.RecvMsg(m); err != nil {
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return m, nil
|
return m, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) BootstrapToken(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NewTokenResponse, error) {
|
func (c *vagrantClient) BootstrapToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NewTokenResponse, error) {
|
||||||
out := new(NewTokenResponse)
|
out := new(NewTokenResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/BootstrapToken", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/BootstrapToken", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -516,7 +517,7 @@ func (c *vagrantClient) GenerateInviteToken(ctx context.Context, in *InviteToken
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) GenerateLoginToken(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NewTokenResponse, error) {
|
func (c *vagrantClient) GenerateLoginToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NewTokenResponse, error) {
|
||||||
out := new(NewTokenResponse)
|
out := new(NewTokenResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/GenerateLoginToken", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/GenerateLoginToken", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -535,7 +536,7 @@ func (c *vagrantClient) ConvertInviteToken(ctx context.Context, in *ConvertInvit
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) RunnerConfig(ctx context.Context, opts ...grpc.CallOption) (Vagrant_RunnerConfigClient, error) {
|
func (c *vagrantClient) RunnerConfig(ctx context.Context, opts ...grpc.CallOption) (Vagrant_RunnerConfigClient, error) {
|
||||||
stream, err := c.cc.NewStream(ctx, &_Vagrant_serviceDesc.Streams[4], "/hashicorp.vagrant.Vagrant/RunnerConfig", opts...)
|
stream, err := c.cc.NewStream(ctx, &Vagrant_ServiceDesc.Streams[4], "/hashicorp.vagrant.Vagrant/RunnerConfig", opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -566,7 +567,7 @@ func (x *vagrantRunnerConfigClient) Recv() (*RunnerConfigResponse, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) RunnerJobStream(ctx context.Context, opts ...grpc.CallOption) (Vagrant_RunnerJobStreamClient, error) {
|
func (c *vagrantClient) RunnerJobStream(ctx context.Context, opts ...grpc.CallOption) (Vagrant_RunnerJobStreamClient, error) {
|
||||||
stream, err := c.cc.NewStream(ctx, &_Vagrant_serviceDesc.Streams[5], "/hashicorp.vagrant.Vagrant/RunnerJobStream", opts...)
|
stream, err := c.cc.NewStream(ctx, &Vagrant_ServiceDesc.Streams[5], "/hashicorp.vagrant.Vagrant/RunnerJobStream", opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -597,17 +598,17 @@ func (x *vagrantRunnerJobStreamClient) Recv() (*RunnerJobStreamResponse, error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// VagrantServer is the server API for Vagrant service.
|
// VagrantServer is the server API for Vagrant service.
|
||||||
// All implementations must embed UnimplementedVagrantServer
|
// All implementations should embed UnimplementedVagrantServer
|
||||||
// for forward compatibility
|
// for forward compatibility
|
||||||
type VagrantServer interface {
|
type VagrantServer interface {
|
||||||
// GetVersionInfo returns information about the server. This RPC call does
|
// GetVersionInfo returns information about the server. This RPC call does
|
||||||
// NOT require authentication. It can be used by clients to determine if they
|
// NOT require authentication. It can be used by clients to determine if they
|
||||||
// are capable of talking to this server.
|
// are capable of talking to this server.
|
||||||
GetVersionInfo(context.Context, *empty.Empty) (*GetVersionInfoResponse, error)
|
GetVersionInfo(context.Context, *emptypb.Empty) (*GetVersionInfoResponse, error)
|
||||||
UpsertBasis(context.Context, *UpsertBasisRequest) (*UpsertBasisResponse, error)
|
UpsertBasis(context.Context, *UpsertBasisRequest) (*UpsertBasisResponse, error)
|
||||||
GetBasis(context.Context, *GetBasisRequest) (*GetBasisResponse, error)
|
GetBasis(context.Context, *GetBasisRequest) (*GetBasisResponse, error)
|
||||||
FindBasis(context.Context, *FindBasisRequest) (*FindBasisResponse, error)
|
FindBasis(context.Context, *FindBasisRequest) (*FindBasisResponse, error)
|
||||||
ListBasis(context.Context, *empty.Empty) (*ListBasisResponse, error)
|
ListBasis(context.Context, *emptypb.Empty) (*ListBasisResponse, error)
|
||||||
// ListTasks returns the tasks.
|
// ListTasks returns the tasks.
|
||||||
ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
|
ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
|
||||||
// GetTask returns a task
|
// GetTask returns a task
|
||||||
@ -625,13 +626,13 @@ type VagrantServer interface {
|
|||||||
// ListProjects returns a list of all the projects. There is no equivalent
|
// ListProjects returns a list of all the projects. There is no equivalent
|
||||||
// ListApplications because applications are a part of projects and you
|
// ListApplications because applications are a part of projects and you
|
||||||
// can use GetProject to get more information about the project.
|
// can use GetProject to get more information about the project.
|
||||||
ListProjects(context.Context, *empty.Empty) (*ListProjectsResponse, error)
|
ListProjects(context.Context, *emptypb.Empty) (*ListProjectsResponse, error)
|
||||||
// UpsertMachine upserts a machine with a project. If the machine
|
// UpsertTarget upserts a target with a project. If the target
|
||||||
// is already registered this does nothing.
|
// is already registered this does nothing.
|
||||||
UpsertMachine(context.Context, *UpsertMachineRequest) (*UpsertMachineResponse, error)
|
UpsertTarget(context.Context, *UpsertTargetRequest) (*UpsertTargetResponse, error)
|
||||||
GetMachine(context.Context, *GetMachineRequest) (*GetMachineResponse, error)
|
GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error)
|
||||||
FindMachine(context.Context, *FindMachineRequest) (*FindMachineResponse, error)
|
FindTarget(context.Context, *FindTargetRequest) (*FindTargetResponse, error)
|
||||||
ListMachines(context.Context, *empty.Empty) (*ListMachinesResponse, error)
|
ListTargets(context.Context, *emptypb.Empty) (*ListTargetsResponse, error)
|
||||||
// GetLogStream reads the log stream for a deployment. This will immediately
|
// GetLogStream reads the log stream for a deployment. This will immediately
|
||||||
// send a single LogEntry with the lines we have so far. If there are no
|
// send a single LogEntry with the lines we have so far. If there are no
|
||||||
// available lines this will NOT block and instead will return an error.
|
// available lines this will NOT block and instead will return an error.
|
||||||
@ -653,7 +654,7 @@ type VagrantServer interface {
|
|||||||
//
|
//
|
||||||
// This RPC always returns immediately. You must use GetJob or GetJobStream
|
// This RPC always returns immediately. You must use GetJob or GetJobStream
|
||||||
// to wait on the status of the cancellation.
|
// to wait on the status of the cancellation.
|
||||||
CancelJob(context.Context, *CancelJobRequest) (*empty.Empty, error)
|
CancelJob(context.Context, *CancelJobRequest) (*emptypb.Empty, error)
|
||||||
// GetJob queries a job by ID.
|
// GetJob queries a job by ID.
|
||||||
GetJob(context.Context, *GetJobRequest) (*Job, error)
|
GetJob(context.Context, *GetJobRequest) (*Job, error)
|
||||||
// INTERNAL: ListJobs lists all the jobs the server has processed. This
|
// INTERNAL: ListJobs lists all the jobs the server has processed. This
|
||||||
@ -670,11 +671,11 @@ type VagrantServer interface {
|
|||||||
// GetRunner gets information about a single runner.
|
// GetRunner gets information about a single runner.
|
||||||
GetRunner(context.Context, *GetRunnerRequest) (*Runner, error)
|
GetRunner(context.Context, *GetRunnerRequest) (*Runner, error)
|
||||||
// GetServerConfig sets configuration for the Vagrant server.
|
// GetServerConfig sets configuration for the Vagrant server.
|
||||||
GetServerConfig(context.Context, *empty.Empty) (*GetServerConfigResponse, error)
|
GetServerConfig(context.Context, *emptypb.Empty) (*GetServerConfigResponse, error)
|
||||||
// SetServerConfig sets configuration for the Vagrant server.
|
// SetServerConfig sets configuration for the Vagrant server.
|
||||||
SetServerConfig(context.Context, *SetServerConfigRequest) (*empty.Empty, error)
|
SetServerConfig(context.Context, *SetServerConfigRequest) (*emptypb.Empty, error)
|
||||||
// CreateSnapshot creates a new database snapshot.
|
// CreateSnapshot creates a new database snapshot.
|
||||||
CreateSnapshot(*empty.Empty, Vagrant_CreateSnapshotServer) error
|
CreateSnapshot(*emptypb.Empty, Vagrant_CreateSnapshotServer) error
|
||||||
// RestoreSnapshot performs a database restore with the given snapshot.
|
// RestoreSnapshot performs a database restore with the given snapshot.
|
||||||
// This API doesn't do a full online restore, it only stages the restore
|
// This API doesn't do a full online restore, it only stages the restore
|
||||||
// for the next server start to finalize the restore. See the arguments for
|
// for the next server start to finalize the restore. See the arguments for
|
||||||
@ -683,11 +684,11 @@ type VagrantServer interface {
|
|||||||
// BootstrapToken returns the initial token for the server. This can only
|
// BootstrapToken returns the initial token for the server. This can only
|
||||||
// be requested once on first startup. After initial request this will
|
// be requested once on first startup. After initial request this will
|
||||||
// always return a PermissionDenied error.
|
// always return a PermissionDenied error.
|
||||||
BootstrapToken(context.Context, *empty.Empty) (*NewTokenResponse, error)
|
BootstrapToken(context.Context, *emptypb.Empty) (*NewTokenResponse, error)
|
||||||
// Generate a new invite token that users can exchange for a login token.
|
// Generate a new invite token that users can exchange for a login token.
|
||||||
GenerateInviteToken(context.Context, *InviteTokenRequest) (*NewTokenResponse, error)
|
GenerateInviteToken(context.Context, *InviteTokenRequest) (*NewTokenResponse, error)
|
||||||
// Generate a new login token that users can use to login directly.
|
// Generate a new login token that users can use to login directly.
|
||||||
GenerateLoginToken(context.Context, *empty.Empty) (*NewTokenResponse, error)
|
GenerateLoginToken(context.Context, *emptypb.Empty) (*NewTokenResponse, error)
|
||||||
// Exchange a invite token for a login token.
|
// Exchange a invite token for a login token.
|
||||||
ConvertInviteToken(context.Context, *ConvertInviteTokenRequest) (*NewTokenResponse, error)
|
ConvertInviteToken(context.Context, *ConvertInviteTokenRequest) (*NewTokenResponse, error)
|
||||||
// RunnerConfig is called to register a runner and receive the configuration
|
// RunnerConfig is called to register a runner and receive the configuration
|
||||||
@ -697,14 +698,13 @@ type VagrantServer interface {
|
|||||||
// RunnerJobStream is called by a runner to request a single job for
|
// RunnerJobStream is called by a runner to request a single job for
|
||||||
// execution and update the status of that job.
|
// execution and update the status of that job.
|
||||||
RunnerJobStream(Vagrant_RunnerJobStreamServer) error
|
RunnerJobStream(Vagrant_RunnerJobStreamServer) error
|
||||||
mustEmbedUnimplementedVagrantServer()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnimplementedVagrantServer must be embedded to have forward compatible implementations.
|
// UnimplementedVagrantServer should be embedded to have forward compatible implementations.
|
||||||
type UnimplementedVagrantServer struct {
|
type UnimplementedVagrantServer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (UnimplementedVagrantServer) GetVersionInfo(context.Context, *empty.Empty) (*GetVersionInfoResponse, error) {
|
func (UnimplementedVagrantServer) GetVersionInfo(context.Context, *emptypb.Empty) (*GetVersionInfoResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method GetVersionInfo not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method GetVersionInfo not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) UpsertBasis(context.Context, *UpsertBasisRequest) (*UpsertBasisResponse, error) {
|
func (UnimplementedVagrantServer) UpsertBasis(context.Context, *UpsertBasisRequest) (*UpsertBasisResponse, error) {
|
||||||
@ -716,7 +716,7 @@ func (UnimplementedVagrantServer) GetBasis(context.Context, *GetBasisRequest) (*
|
|||||||
func (UnimplementedVagrantServer) FindBasis(context.Context, *FindBasisRequest) (*FindBasisResponse, error) {
|
func (UnimplementedVagrantServer) FindBasis(context.Context, *FindBasisRequest) (*FindBasisResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method FindBasis not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method FindBasis not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) ListBasis(context.Context, *empty.Empty) (*ListBasisResponse, error) {
|
func (UnimplementedVagrantServer) ListBasis(context.Context, *emptypb.Empty) (*ListBasisResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method ListBasis not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method ListBasis not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error) {
|
func (UnimplementedVagrantServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error) {
|
||||||
@ -740,20 +740,20 @@ func (UnimplementedVagrantServer) GetProject(context.Context, *GetProjectRequest
|
|||||||
func (UnimplementedVagrantServer) FindProject(context.Context, *FindProjectRequest) (*FindProjectResponse, error) {
|
func (UnimplementedVagrantServer) FindProject(context.Context, *FindProjectRequest) (*FindProjectResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method FindProject not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method FindProject not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) ListProjects(context.Context, *empty.Empty) (*ListProjectsResponse, error) {
|
func (UnimplementedVagrantServer) ListProjects(context.Context, *emptypb.Empty) (*ListProjectsResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method ListProjects not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method ListProjects not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) UpsertMachine(context.Context, *UpsertMachineRequest) (*UpsertMachineResponse, error) {
|
func (UnimplementedVagrantServer) UpsertTarget(context.Context, *UpsertTargetRequest) (*UpsertTargetResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method UpsertMachine not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method UpsertTarget not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) GetMachine(context.Context, *GetMachineRequest) (*GetMachineResponse, error) {
|
func (UnimplementedVagrantServer) GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method GetMachine not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method GetTarget not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) FindMachine(context.Context, *FindMachineRequest) (*FindMachineResponse, error) {
|
func (UnimplementedVagrantServer) FindTarget(context.Context, *FindTargetRequest) (*FindTargetResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method FindMachine not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method FindTarget not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) ListMachines(context.Context, *empty.Empty) (*ListMachinesResponse, error) {
|
func (UnimplementedVagrantServer) ListTargets(context.Context, *emptypb.Empty) (*ListTargetsResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method ListMachines not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method ListTargets not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) GetLogStream(*GetLogStreamRequest, Vagrant_GetLogStreamServer) error {
|
func (UnimplementedVagrantServer) GetLogStream(*GetLogStreamRequest, Vagrant_GetLogStreamServer) error {
|
||||||
return status.Errorf(codes.Unimplemented, "method GetLogStream not implemented")
|
return status.Errorf(codes.Unimplemented, "method GetLogStream not implemented")
|
||||||
@ -767,7 +767,7 @@ func (UnimplementedVagrantServer) GetConfig(context.Context, *ConfigGetRequest)
|
|||||||
func (UnimplementedVagrantServer) QueueJob(context.Context, *QueueJobRequest) (*QueueJobResponse, error) {
|
func (UnimplementedVagrantServer) QueueJob(context.Context, *QueueJobRequest) (*QueueJobResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method QueueJob not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method QueueJob not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) CancelJob(context.Context, *CancelJobRequest) (*empty.Empty, error) {
|
func (UnimplementedVagrantServer) CancelJob(context.Context, *CancelJobRequest) (*emptypb.Empty, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CancelJob not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CancelJob not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) GetJob(context.Context, *GetJobRequest) (*Job, error) {
|
func (UnimplementedVagrantServer) GetJob(context.Context, *GetJobRequest) (*Job, error) {
|
||||||
@ -785,25 +785,25 @@ func (UnimplementedVagrantServer) GetJobStream(*GetJobStreamRequest, Vagrant_Get
|
|||||||
func (UnimplementedVagrantServer) GetRunner(context.Context, *GetRunnerRequest) (*Runner, error) {
|
func (UnimplementedVagrantServer) GetRunner(context.Context, *GetRunnerRequest) (*Runner, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method GetRunner not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method GetRunner not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) GetServerConfig(context.Context, *empty.Empty) (*GetServerConfigResponse, error) {
|
func (UnimplementedVagrantServer) GetServerConfig(context.Context, *emptypb.Empty) (*GetServerConfigResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method GetServerConfig not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method GetServerConfig not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) SetServerConfig(context.Context, *SetServerConfigRequest) (*empty.Empty, error) {
|
func (UnimplementedVagrantServer) SetServerConfig(context.Context, *SetServerConfigRequest) (*emptypb.Empty, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method SetServerConfig not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method SetServerConfig not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) CreateSnapshot(*empty.Empty, Vagrant_CreateSnapshotServer) error {
|
func (UnimplementedVagrantServer) CreateSnapshot(*emptypb.Empty, Vagrant_CreateSnapshotServer) error {
|
||||||
return status.Errorf(codes.Unimplemented, "method CreateSnapshot not implemented")
|
return status.Errorf(codes.Unimplemented, "method CreateSnapshot not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) RestoreSnapshot(Vagrant_RestoreSnapshotServer) error {
|
func (UnimplementedVagrantServer) RestoreSnapshot(Vagrant_RestoreSnapshotServer) error {
|
||||||
return status.Errorf(codes.Unimplemented, "method RestoreSnapshot not implemented")
|
return status.Errorf(codes.Unimplemented, "method RestoreSnapshot not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) BootstrapToken(context.Context, *empty.Empty) (*NewTokenResponse, error) {
|
func (UnimplementedVagrantServer) BootstrapToken(context.Context, *emptypb.Empty) (*NewTokenResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method BootstrapToken not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method BootstrapToken not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) GenerateInviteToken(context.Context, *InviteTokenRequest) (*NewTokenResponse, error) {
|
func (UnimplementedVagrantServer) GenerateInviteToken(context.Context, *InviteTokenRequest) (*NewTokenResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method GenerateInviteToken not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method GenerateInviteToken not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) GenerateLoginToken(context.Context, *empty.Empty) (*NewTokenResponse, error) {
|
func (UnimplementedVagrantServer) GenerateLoginToken(context.Context, *emptypb.Empty) (*NewTokenResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method GenerateLoginToken not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method GenerateLoginToken not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) ConvertInviteToken(context.Context, *ConvertInviteTokenRequest) (*NewTokenResponse, error) {
|
func (UnimplementedVagrantServer) ConvertInviteToken(context.Context, *ConvertInviteTokenRequest) (*NewTokenResponse, error) {
|
||||||
@ -815,7 +815,6 @@ func (UnimplementedVagrantServer) RunnerConfig(Vagrant_RunnerConfigServer) error
|
|||||||
func (UnimplementedVagrantServer) RunnerJobStream(Vagrant_RunnerJobStreamServer) error {
|
func (UnimplementedVagrantServer) RunnerJobStream(Vagrant_RunnerJobStreamServer) error {
|
||||||
return status.Errorf(codes.Unimplemented, "method RunnerJobStream not implemented")
|
return status.Errorf(codes.Unimplemented, "method RunnerJobStream not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) mustEmbedUnimplementedVagrantServer() {}
|
|
||||||
|
|
||||||
// UnsafeVagrantServer may be embedded to opt out of forward compatibility for this service.
|
// UnsafeVagrantServer may be embedded to opt out of forward compatibility for this service.
|
||||||
// Use of this interface is not recommended, as added methods to VagrantServer will
|
// Use of this interface is not recommended, as added methods to VagrantServer will
|
||||||
@ -825,11 +824,11 @@ type UnsafeVagrantServer interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func RegisterVagrantServer(s grpc.ServiceRegistrar, srv VagrantServer) {
|
func RegisterVagrantServer(s grpc.ServiceRegistrar, srv VagrantServer) {
|
||||||
s.RegisterService(&_Vagrant_serviceDesc, srv)
|
s.RegisterService(&Vagrant_ServiceDesc, srv)
|
||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_GetVersionInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_GetVersionInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(empty.Empty)
|
in := new(emptypb.Empty)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -841,7 +840,7 @@ func _Vagrant_GetVersionInfo_Handler(srv interface{}, ctx context.Context, dec f
|
|||||||
FullMethod: "/hashicorp.vagrant.Vagrant/GetVersionInfo",
|
FullMethod: "/hashicorp.vagrant.Vagrant/GetVersionInfo",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).GetVersionInfo(ctx, req.(*empty.Empty))
|
return srv.(VagrantServer).GetVersionInfo(ctx, req.(*emptypb.Empty))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
@ -901,7 +900,7 @@ func _Vagrant_FindBasis_Handler(srv interface{}, ctx context.Context, dec func(i
|
|||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_ListBasis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_ListBasis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(empty.Empty)
|
in := new(emptypb.Empty)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -913,7 +912,7 @@ func _Vagrant_ListBasis_Handler(srv interface{}, ctx context.Context, dec func(i
|
|||||||
FullMethod: "/hashicorp.vagrant.Vagrant/ListBasis",
|
FullMethod: "/hashicorp.vagrant.Vagrant/ListBasis",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).ListBasis(ctx, req.(*empty.Empty))
|
return srv.(VagrantServer).ListBasis(ctx, req.(*emptypb.Empty))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
@ -1045,7 +1044,7 @@ func _Vagrant_FindProject_Handler(srv interface{}, ctx context.Context, dec func
|
|||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_ListProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_ListProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(empty.Empty)
|
in := new(emptypb.Empty)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -1057,79 +1056,79 @@ func _Vagrant_ListProjects_Handler(srv interface{}, ctx context.Context, dec fun
|
|||||||
FullMethod: "/hashicorp.vagrant.Vagrant/ListProjects",
|
FullMethod: "/hashicorp.vagrant.Vagrant/ListProjects",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).ListProjects(ctx, req.(*empty.Empty))
|
return srv.(VagrantServer).ListProjects(ctx, req.(*emptypb.Empty))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_UpsertMachine_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_UpsertTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(UpsertMachineRequest)
|
in := new(UpsertTargetRequest)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if interceptor == nil {
|
if interceptor == nil {
|
||||||
return srv.(VagrantServer).UpsertMachine(ctx, in)
|
return srv.(VagrantServer).UpsertTarget(ctx, in)
|
||||||
}
|
}
|
||||||
info := &grpc.UnaryServerInfo{
|
info := &grpc.UnaryServerInfo{
|
||||||
Server: srv,
|
Server: srv,
|
||||||
FullMethod: "/hashicorp.vagrant.Vagrant/UpsertMachine",
|
FullMethod: "/hashicorp.vagrant.Vagrant/UpsertTarget",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).UpsertMachine(ctx, req.(*UpsertMachineRequest))
|
return srv.(VagrantServer).UpsertTarget(ctx, req.(*UpsertTargetRequest))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_GetMachine_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_GetTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(GetMachineRequest)
|
in := new(GetTargetRequest)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if interceptor == nil {
|
if interceptor == nil {
|
||||||
return srv.(VagrantServer).GetMachine(ctx, in)
|
return srv.(VagrantServer).GetTarget(ctx, in)
|
||||||
}
|
}
|
||||||
info := &grpc.UnaryServerInfo{
|
info := &grpc.UnaryServerInfo{
|
||||||
Server: srv,
|
Server: srv,
|
||||||
FullMethod: "/hashicorp.vagrant.Vagrant/GetMachine",
|
FullMethod: "/hashicorp.vagrant.Vagrant/GetTarget",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).GetMachine(ctx, req.(*GetMachineRequest))
|
return srv.(VagrantServer).GetTarget(ctx, req.(*GetTargetRequest))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_FindMachine_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_FindTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(FindMachineRequest)
|
in := new(FindTargetRequest)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if interceptor == nil {
|
if interceptor == nil {
|
||||||
return srv.(VagrantServer).FindMachine(ctx, in)
|
return srv.(VagrantServer).FindTarget(ctx, in)
|
||||||
}
|
}
|
||||||
info := &grpc.UnaryServerInfo{
|
info := &grpc.UnaryServerInfo{
|
||||||
Server: srv,
|
Server: srv,
|
||||||
FullMethod: "/hashicorp.vagrant.Vagrant/FindMachine",
|
FullMethod: "/hashicorp.vagrant.Vagrant/FindTarget",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).FindMachine(ctx, req.(*FindMachineRequest))
|
return srv.(VagrantServer).FindTarget(ctx, req.(*FindTargetRequest))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_ListMachines_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_ListTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(empty.Empty)
|
in := new(emptypb.Empty)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if interceptor == nil {
|
if interceptor == nil {
|
||||||
return srv.(VagrantServer).ListMachines(ctx, in)
|
return srv.(VagrantServer).ListTargets(ctx, in)
|
||||||
}
|
}
|
||||||
info := &grpc.UnaryServerInfo{
|
info := &grpc.UnaryServerInfo{
|
||||||
Server: srv,
|
Server: srv,
|
||||||
FullMethod: "/hashicorp.vagrant.Vagrant/ListMachines",
|
FullMethod: "/hashicorp.vagrant.Vagrant/ListTargets",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).ListMachines(ctx, req.(*empty.Empty))
|
return srv.(VagrantServer).ListTargets(ctx, req.(*emptypb.Empty))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
@ -1321,7 +1320,7 @@ func _Vagrant_GetRunner_Handler(srv interface{}, ctx context.Context, dec func(i
|
|||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_GetServerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_GetServerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(empty.Empty)
|
in := new(emptypb.Empty)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -1333,7 +1332,7 @@ func _Vagrant_GetServerConfig_Handler(srv interface{}, ctx context.Context, dec
|
|||||||
FullMethod: "/hashicorp.vagrant.Vagrant/GetServerConfig",
|
FullMethod: "/hashicorp.vagrant.Vagrant/GetServerConfig",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).GetServerConfig(ctx, req.(*empty.Empty))
|
return srv.(VagrantServer).GetServerConfig(ctx, req.(*emptypb.Empty))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
@ -1357,7 +1356,7 @@ func _Vagrant_SetServerConfig_Handler(srv interface{}, ctx context.Context, dec
|
|||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_CreateSnapshot_Handler(srv interface{}, stream grpc.ServerStream) error {
|
func _Vagrant_CreateSnapshot_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||||||
m := new(empty.Empty)
|
m := new(emptypb.Empty)
|
||||||
if err := stream.RecvMsg(m); err != nil {
|
if err := stream.RecvMsg(m); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -1382,7 +1381,7 @@ func _Vagrant_RestoreSnapshot_Handler(srv interface{}, stream grpc.ServerStream)
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Vagrant_RestoreSnapshotServer interface {
|
type Vagrant_RestoreSnapshotServer interface {
|
||||||
SendAndClose(*empty.Empty) error
|
SendAndClose(*emptypb.Empty) error
|
||||||
Recv() (*RestoreSnapshotRequest, error)
|
Recv() (*RestoreSnapshotRequest, error)
|
||||||
grpc.ServerStream
|
grpc.ServerStream
|
||||||
}
|
}
|
||||||
@ -1391,7 +1390,7 @@ type vagrantRestoreSnapshotServer struct {
|
|||||||
grpc.ServerStream
|
grpc.ServerStream
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *vagrantRestoreSnapshotServer) SendAndClose(m *empty.Empty) error {
|
func (x *vagrantRestoreSnapshotServer) SendAndClose(m *emptypb.Empty) error {
|
||||||
return x.ServerStream.SendMsg(m)
|
return x.ServerStream.SendMsg(m)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1404,7 +1403,7 @@ func (x *vagrantRestoreSnapshotServer) Recv() (*RestoreSnapshotRequest, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_BootstrapToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_BootstrapToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(empty.Empty)
|
in := new(emptypb.Empty)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -1416,7 +1415,7 @@ func _Vagrant_BootstrapToken_Handler(srv interface{}, ctx context.Context, dec f
|
|||||||
FullMethod: "/hashicorp.vagrant.Vagrant/BootstrapToken",
|
FullMethod: "/hashicorp.vagrant.Vagrant/BootstrapToken",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).BootstrapToken(ctx, req.(*empty.Empty))
|
return srv.(VagrantServer).BootstrapToken(ctx, req.(*emptypb.Empty))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
@ -1440,7 +1439,7 @@ func _Vagrant_GenerateInviteToken_Handler(srv interface{}, ctx context.Context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_GenerateLoginToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Vagrant_GenerateLoginToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(empty.Empty)
|
in := new(emptypb.Empty)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -1452,7 +1451,7 @@ func _Vagrant_GenerateLoginToken_Handler(srv interface{}, ctx context.Context, d
|
|||||||
FullMethod: "/hashicorp.vagrant.Vagrant/GenerateLoginToken",
|
FullMethod: "/hashicorp.vagrant.Vagrant/GenerateLoginToken",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(VagrantServer).GenerateLoginToken(ctx, req.(*empty.Empty))
|
return srv.(VagrantServer).GenerateLoginToken(ctx, req.(*emptypb.Empty))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
@ -1527,7 +1526,10 @@ func (x *vagrantRunnerJobStreamServer) Recv() (*RunnerJobStreamRequest, error) {
|
|||||||
return m, nil
|
return m, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var _Vagrant_serviceDesc = grpc.ServiceDesc{
|
// Vagrant_ServiceDesc is the grpc.ServiceDesc for Vagrant service.
|
||||||
|
// It's only intended for direct use with grpc.RegisterService,
|
||||||
|
// and not to be introspected or modified (even as a copy)
|
||||||
|
var Vagrant_ServiceDesc = grpc.ServiceDesc{
|
||||||
ServiceName: "hashicorp.vagrant.Vagrant",
|
ServiceName: "hashicorp.vagrant.Vagrant",
|
||||||
HandlerType: (*VagrantServer)(nil),
|
HandlerType: (*VagrantServer)(nil),
|
||||||
Methods: []grpc.MethodDesc{
|
Methods: []grpc.MethodDesc{
|
||||||
@ -1584,20 +1586,20 @@ var _Vagrant_serviceDesc = grpc.ServiceDesc{
|
|||||||
Handler: _Vagrant_ListProjects_Handler,
|
Handler: _Vagrant_ListProjects_Handler,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MethodName: "UpsertMachine",
|
MethodName: "UpsertTarget",
|
||||||
Handler: _Vagrant_UpsertMachine_Handler,
|
Handler: _Vagrant_UpsertTarget_Handler,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MethodName: "GetMachine",
|
MethodName: "GetTarget",
|
||||||
Handler: _Vagrant_GetMachine_Handler,
|
Handler: _Vagrant_GetTarget_Handler,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MethodName: "FindMachine",
|
MethodName: "FindTarget",
|
||||||
Handler: _Vagrant_FindMachine_Handler,
|
Handler: _Vagrant_FindTarget_Handler,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MethodName: "ListMachines",
|
MethodName: "ListTargets",
|
||||||
Handler: _Vagrant_ListMachines_Handler,
|
Handler: _Vagrant_ListTargets_Handler,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MethodName: "SetConfig",
|
MethodName: "SetConfig",
|
||||||
|
|||||||
@ -8,7 +8,7 @@ module Plugin
|
|||||||
module GRPCBroker
|
module GRPCBroker
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
|
|||||||
@ -10,7 +10,7 @@ module Hashicorp
|
|||||||
# The service that is implemented for the server backend.
|
# The service that is implemented for the server backend.
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
|
|||||||
@ -16,32 +16,95 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.sdk.Args.DataDir" do
|
add_message "hashicorp.vagrant.sdk.Args.DataDir" do
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Args.DataDir.Basis" do
|
add_message "hashicorp.vagrant.sdk.Args.DataDir.Basis" do
|
||||||
optional :cache_dir, :string, 1
|
optional :root_dir, :string, 1
|
||||||
optional :data_dir, :string, 2
|
optional :cache_dir, :string, 2
|
||||||
optional :root_dir, :string, 3
|
optional :data_dir, :string, 3
|
||||||
optional :temp_dir, :string, 4
|
optional :temp_dir, :string, 4
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Args.DataDir.Project" do
|
add_message "hashicorp.vagrant.sdk.Args.DataDir.Project" do
|
||||||
optional :cache_dir, :string, 1
|
optional :root_dir, :string, 1
|
||||||
optional :data_dir, :string, 2
|
optional :cache_dir, :string, 2
|
||||||
optional :root_dir, :string, 3
|
optional :data_dir, :string, 3
|
||||||
optional :temp_dir, :string, 4
|
optional :temp_dir, :string, 4
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Args.DataDir.Machine" do
|
add_message "hashicorp.vagrant.sdk.Args.DataDir.Target" do
|
||||||
optional :cache_dir, :string, 1
|
optional :root_dir, :string, 1
|
||||||
optional :data_dir, :string, 2
|
optional :cache_dir, :string, 2
|
||||||
optional :root_dir, :string, 3
|
optional :data_dir, :string, 3
|
||||||
optional :temp_dir, :string, 4
|
optional :temp_dir, :string, 4
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Args.DataDir.Component" do
|
add_message "hashicorp.vagrant.sdk.Args.DataDir.Component" do
|
||||||
optional :cache_dir, :string, 1
|
optional :root_dir, :string, 1
|
||||||
optional :data_dir, :string, 2
|
optional :cache_dir, :string, 2
|
||||||
optional :root_dir, :string, 3
|
optional :data_dir, :string, 3
|
||||||
optional :temp_dir, :string, 4
|
optional :temp_dir, :string, 4
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Args.MachineIndex" do
|
add_message "hashicorp.vagrant.sdk.Args.MetadataSet" do
|
||||||
|
map :metadata, :string, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Args.MachineIndex.Entry" do
|
add_message "hashicorp.vagrant.sdk.Args.TerminalUI" do
|
||||||
|
optional :stream_id, :uint32, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Logger" do
|
||||||
|
optional :name, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.JobInfo" do
|
||||||
|
optional :local, :bool, 1
|
||||||
|
optional :resource_id, :string, 2
|
||||||
|
optional :resource_type, :enum, 3, "hashicorp.vagrant.sdk.Args.JobInfo.ResourceType"
|
||||||
|
optional :id, :string, 4
|
||||||
|
end
|
||||||
|
add_enum "hashicorp.vagrant.sdk.Args.JobInfo.ResourceType" do
|
||||||
|
value :BASIS, 0
|
||||||
|
value :PROJECT, 1
|
||||||
|
value :TARGET, 2
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Basis" do
|
||||||
|
optional :stream_id, :uint32, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Project" do
|
||||||
|
optional :stream_id, :uint32, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Provider" do
|
||||||
|
optional :stream_id, :uint32, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Target" do
|
||||||
|
optional :stream_id, :uint32, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Target.State" do
|
||||||
|
optional :state, :enum, 1, "hashicorp.vagrant.sdk.Args.Target.State.State"
|
||||||
|
end
|
||||||
|
add_enum "hashicorp.vagrant.sdk.Args.Target.State.State" do
|
||||||
|
value :UNKNOWN, 0
|
||||||
|
value :PENDING, 1
|
||||||
|
value :CREATED, 2
|
||||||
|
value :DESTROYED, 3
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Target.Machine" do
|
||||||
|
optional :stream_id, :uint32, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Target.Machine.Box" do
|
||||||
|
optional :name, :string, 1
|
||||||
|
optional :provider, :string, 2
|
||||||
|
optional :version, :string, 3
|
||||||
|
optional :directory, :string, 4
|
||||||
|
map :metadata, :string, :string, 5
|
||||||
|
optional :metadata_url, :string, 6
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Target.Machine.State" do
|
||||||
|
optional :id, :string, 1
|
||||||
|
optional :short_description, :string, 2
|
||||||
|
optional :long_description, :string, 3
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.StateBag" do
|
||||||
|
optional :stream_id, :uint32, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Args.Host" do
|
||||||
|
optional :stream_id, :uint32, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.TargetIndex" do
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.TargetIndex.Entry" do
|
||||||
optional :id, :string, 1
|
optional :id, :string, 1
|
||||||
optional :local_data_path, :string, 2
|
optional :local_data_path, :string, 2
|
||||||
optional :name, :string, 3
|
optional :name, :string, 3
|
||||||
@ -50,79 +113,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :vagrantfile_name, :string, 6
|
optional :vagrantfile_name, :string, 6
|
||||||
optional :vagrantfile_path, :string, 7
|
optional :vagrantfile_path, :string, 7
|
||||||
optional :updated_at, :string, 8
|
optional :updated_at, :string, 8
|
||||||
optional :extra_data, :message, 9, "hashicorp.vagrant.sdk.Args.Options"
|
map :extra_data, :string, :string, 9
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Args.BoxCollection" do
|
add_message "hashicorp.vagrant.sdk.BoxCollection" do
|
||||||
optional :directory, :string, 1
|
optional :directory, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Box" do
|
add_message "hashicorp.vagrant.sdk.SSHInfo" do
|
||||||
optional :name, :string, 1
|
|
||||||
optional :provider, :string, 2
|
|
||||||
optional :version, :string, 3
|
|
||||||
optional :directory, :string, 4
|
|
||||||
map :metadata, :string, :string, 5
|
|
||||||
optional :metadata_url, :string, 6
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Project" do
|
|
||||||
optional :cwd, :string, 1
|
|
||||||
optional :data_dir, :string, 2
|
|
||||||
optional :vagrantfile_name, :string, 3
|
|
||||||
optional :ui, :message, 4, "hashicorp.vagrant.sdk.Args.TerminalUI"
|
|
||||||
optional :home_path, :string, 5
|
|
||||||
optional :local_data_path, :string, 6
|
|
||||||
optional :tmp_path, :string, 7
|
|
||||||
optional :aliases_path, :string, 8
|
|
||||||
optional :boxes_path, :string, 9
|
|
||||||
optional :gems_path, :string, 10
|
|
||||||
optional :default_private_key_path, :string, 11
|
|
||||||
optional :server_addr, :string, 12
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Machine" do
|
|
||||||
optional :resource_id, :string, 1
|
|
||||||
optional :server_addr, :string, 2
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Configuration" do
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Configuration.Vagrant" do
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Configuration.VM" do
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Configuration.Provider" do
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.LabelSet" do
|
|
||||||
map :labels, :string, :string, 1
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Options" do
|
|
||||||
optional :opt, :message, 1, "hashicorp.vagrant.sdk.Args.LabelSet"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Vagrantfile" do
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.JobInfo" do
|
|
||||||
optional :local, :bool, 1
|
|
||||||
optional :workspace, :string, 2
|
|
||||||
optional :id, :string, 3
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.Logger" do
|
|
||||||
optional :name, :string, 1
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.TerminalUI" do
|
|
||||||
optional :stream_id, :uint32, 1
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.StateBag" do
|
|
||||||
map :data, :string, :message, 1, "hashicorp.vagrant.sdk.Args.StateBag.Value"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.StateBag.Value" do
|
|
||||||
oneof :value do
|
|
||||||
optional :text, :string, 1
|
|
||||||
optional :map, :message, 2, "google.protobuf.Any"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.MachineState" do
|
|
||||||
optional :id, :string, 1
|
|
||||||
optional :short_description, :string, 2
|
|
||||||
optional :long_description, :string, 3
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Args.SSHInfo" do
|
|
||||||
optional :host, :string, 1
|
optional :host, :string, 1
|
||||||
optional :port, :string, 2
|
optional :port, :string, 2
|
||||||
optional :private_key_path, :string, 3
|
optional :private_key_path, :string, 3
|
||||||
@ -141,7 +137,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :ssh_command, :string, 16
|
optional :ssh_command, :string, 16
|
||||||
optional :proxy_command, :string, 17
|
optional :proxy_command, :string, 17
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Args.WinrmInfo" do
|
add_message "hashicorp.vagrant.sdk.WinrmInfo" do
|
||||||
optional :username, :string, 1
|
optional :username, :string, 1
|
||||||
optional :password, :string, 2
|
optional :password, :string, 2
|
||||||
optional :host, :string, 3
|
optional :host, :string, 3
|
||||||
@ -150,13 +146,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :max_tries, :int64, 6
|
optional :max_tries, :int64, 6
|
||||||
optional :retry_delay, :int64, 7
|
optional :retry_delay, :int64, 7
|
||||||
optional :timeout, :int64, 8
|
optional :timeout, :int64, 8
|
||||||
optional :transport, :enum, 9, "hashicorp.vagrant.sdk.Args.WinrmInfo.Transport"
|
optional :transport, :enum, 9, "hashicorp.vagrant.sdk.WinrmInfo.Transport"
|
||||||
optional :ssl_peer_verification, :bool, 10
|
optional :ssl_peer_verification, :bool, 10
|
||||||
optional :execution_time_limit, :string, 11
|
optional :execution_time_limit, :string, 11
|
||||||
optional :basic_auth_only, :bool, 12
|
optional :basic_auth_only, :bool, 12
|
||||||
optional :codepage, :string, 13
|
optional :codepage, :string, 13
|
||||||
end
|
end
|
||||||
add_enum "hashicorp.vagrant.sdk.Args.WinrmInfo.Transport" do
|
add_enum "hashicorp.vagrant.sdk.WinrmInfo.Transport" do
|
||||||
value :NEGOTIATE, 0
|
value :NEGOTIATE, 0
|
||||||
value :SSL, 1
|
value :SSL, 1
|
||||||
value :PLAINTEXT, 2
|
value :PLAINTEXT, 2
|
||||||
@ -299,6 +295,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.sdk.Map.ListResponse" do
|
add_message "hashicorp.vagrant.sdk.Map.ListResponse" do
|
||||||
repeated :funcs, :message, 1, "hashicorp.vagrant.sdk.FuncSpec"
|
repeated :funcs, :message, 1, "hashicorp.vagrant.sdk.FuncSpec"
|
||||||
end
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.StateBag" do
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.StateBag.GetRequest" do
|
||||||
|
optional :key, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.StateBag.GetResponse" do
|
||||||
|
optional :value, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.StateBag.GetOkResponse" do
|
||||||
|
optional :ok, :bool, 1
|
||||||
|
optional :value, :string, 2
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.StateBag.PutRequest" do
|
||||||
|
optional :key, :string, 1
|
||||||
|
optional :value, :string, 2
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.StateBag.PutResponse" do
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.StateBag.RemoveRequest" do
|
||||||
|
optional :key, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.StateBag.RemoveResponse" do
|
||||||
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Provider" do
|
add_message "hashicorp.vagrant.sdk.Provider" do
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Provider.UsableResp" do
|
add_message "hashicorp.vagrant.sdk.Provider.UsableResp" do
|
||||||
@ -375,9 +394,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.sdk.Communicator.FileTransferResp" do
|
add_message "hashicorp.vagrant.sdk.Communicator.FileTransferResp" do
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Communicator.ExecutionRequest" do
|
add_message "hashicorp.vagrant.sdk.Communicator.ExecutionRequest" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Args.Machine"
|
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Args.Target.Machine"
|
||||||
optional :command, :string, 2
|
optional :command, :string, 2
|
||||||
optional :options, :message, 3, "hashicorp.vagrant.sdk.Args.LabelSet"
|
optional :options, :message, 3, "hashicorp.vagrant.sdk.Args.MetadataSet"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Communicator.ExecuteResp" do
|
add_message "hashicorp.vagrant.sdk.Communicator.ExecuteResp" do
|
||||||
optional :exit_code, :int32, 1
|
optional :exit_code, :int32, 1
|
||||||
@ -411,6 +430,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Host.Capability" do
|
add_message "hashicorp.vagrant.sdk.Host.Capability" do
|
||||||
end
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Host.Capability.NamedRequest" do
|
||||||
|
optional :name, :string, 1
|
||||||
|
optional :func_args, :message, 2, "hashicorp.vagrant.sdk.FuncSpec.Args"
|
||||||
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Host.Capability.CheckResp" do
|
add_message "hashicorp.vagrant.sdk.Host.Capability.CheckResp" do
|
||||||
optional :has_capability, :bool, 1
|
optional :has_capability, :bool, 1
|
||||||
end
|
end
|
||||||
@ -422,112 +445,79 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.sdk.Ref.Box" do
|
add_message "hashicorp.vagrant.sdk.Ref.Box" do
|
||||||
optional :resource_id, :string, 1
|
optional :resource_id, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Ref.Project" do
|
add_message "hashicorp.vagrant.sdk.Ref.Basis" do
|
||||||
optional :project_id, :string, 1
|
optional :resource_id, :string, 1
|
||||||
|
optional :path, :string, 2
|
||||||
|
optional :name, :string, 3
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Ref.Machine" do
|
add_message "hashicorp.vagrant.sdk.Ref.Project" do
|
||||||
|
optional :resource_id, :string, 1
|
||||||
|
optional :path, :string, 2
|
||||||
|
optional :basis, :message, 3, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
|
optional :name, :string, 4
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Ref.Target" do
|
||||||
|
optional :resource_id, :string, 1
|
||||||
|
optional :project, :message, 2, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
|
optional :name, :string, 3
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Target" do
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Target.ResourceIdResponse" do
|
||||||
optional :resource_id, :string, 1
|
optional :resource_id, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Machine" do
|
add_message "hashicorp.vagrant.sdk.Target.RecordResponse" do
|
||||||
|
optional :record, :message, 1, "google.protobuf.Any"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.SetNameRequest" do
|
add_message "hashicorp.vagrant.sdk.Target.NameResponse" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
optional :name, :string, 2
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.SetNameResponse" do
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.GetNameRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.GetNameResponse" do
|
|
||||||
optional :name, :string, 1
|
optional :name, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.SetIDRequest" do
|
add_message "hashicorp.vagrant.sdk.Target.ProjectResponse" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
optional :project, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :id, :string, 2
|
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.SetIDResponse" do
|
add_message "hashicorp.vagrant.sdk.Target.SetNameRequest" do
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.GetIDRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.GetIDResponse" do
|
|
||||||
optional :id, :string, 1
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.SetStateRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
optional :state, :message, 2, "hashicorp.vagrant.sdk.Args.MachineState"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.SetStateResponse" do
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.GetStateRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.GetStateResponse" do
|
|
||||||
optional :state, :message, 1, "hashicorp.vagrant.sdk.Args.MachineState"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.GetUUIDRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.GetUUIDResponse" do
|
|
||||||
optional :uuid, :string, 1
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.SetUUIDRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
optional :uuid, :string, 2
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.SetUUIDResponse" do
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.BoxRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.BoxResponse" do
|
|
||||||
optional :box, :message, 1, "hashicorp.vagrant.sdk.Args.Box"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.DatadirRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.DatadirResponse" do
|
|
||||||
optional :datadir, :message, 1, "hashicorp.vagrant.sdk.Args.DataDir.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.LocalDataPathRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.LocalDataPathResponse" do
|
|
||||||
optional :path, :string, 1
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.ProviderRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.ProviderResponse" do
|
|
||||||
optional :provider, :string, 1
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.VagrantfileNameRequest" do
|
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.VagrantfileNameResponse" do
|
|
||||||
optional :name, :string, 1
|
optional :name, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.VagrantfilePathRequest" do
|
add_message "hashicorp.vagrant.sdk.Target.VagrantfileNameResponse" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
optional :name, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.VagrantfilePathResponse" do
|
add_message "hashicorp.vagrant.sdk.Target.VagrantfilePathResponse" do
|
||||||
optional :path, :string, 1
|
optional :path, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.UpdatedAtRequest" do
|
add_message "hashicorp.vagrant.sdk.Target.UpdatedAtResponse" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.UpdatedAtResponse" do
|
|
||||||
optional :updated_at, :message, 1, "google.protobuf.Timestamp"
|
optional :updated_at, :message, 1, "google.protobuf.Timestamp"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.UIRequest" do
|
add_message "hashicorp.vagrant.sdk.Target.Machine" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.sdk.Ref.Machine"
|
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Machine.UIResponse" do
|
add_message "hashicorp.vagrant.sdk.Target.Machine.SetIDRequest" do
|
||||||
optional :ui, :message, 1, "hashicorp.vagrant.sdk.Args.TerminalUI"
|
optional :id, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Target.Machine.GetIDResponse" do
|
||||||
|
optional :id, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Target.Machine.SetStateRequest" do
|
||||||
|
optional :state, :message, 1, "hashicorp.vagrant.sdk.Args.Target.Machine.State"
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Target.Machine.GetStateResponse" do
|
||||||
|
optional :state, :message, 1, "hashicorp.vagrant.sdk.Args.Target.Machine.State"
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Target.Machine.GetUUIDResponse" do
|
||||||
|
optional :uuid, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Target.Machine.SetUUIDRequest" do
|
||||||
|
optional :uuid, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Project" do
|
add_message "hashicorp.vagrant.sdk.Project" do
|
||||||
end
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.TargetRequest" do
|
||||||
|
optional :name, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.TargetNamesResponse" do
|
||||||
|
repeated :names, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.TargetIdsResponse" do
|
||||||
|
repeated :ids, :string, 1
|
||||||
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Project.MachineAndProvider" do
|
add_message "hashicorp.vagrant.sdk.Project.MachineAndProvider" do
|
||||||
optional :name, :string, 1
|
optional :name, :string, 1
|
||||||
optional :provider, :string, 2
|
optional :provider, :string, 2
|
||||||
@ -535,12 +525,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.sdk.Project.MachineNamesResponse" do
|
add_message "hashicorp.vagrant.sdk.Project.MachineNamesResponse" do
|
||||||
repeated :names, :string, 1
|
repeated :names, :string, 1
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Project.ActiveMachinesRequest" do
|
|
||||||
optional :env, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.sdk.Project.ActiveMachinesResponse" do
|
add_message "hashicorp.vagrant.sdk.Project.ActiveMachinesResponse" do
|
||||||
repeated :machines, :message, 1, "hashicorp.vagrant.sdk.Project.MachineAndProvider"
|
repeated :machines, :message, 1, "hashicorp.vagrant.sdk.Project.MachineAndProvider"
|
||||||
end
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.CwdResponse" do
|
||||||
|
optional :path, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.VagrantfileNameResponse" do
|
||||||
|
optional :name, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.HomeResponse" do
|
||||||
|
optional :path, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.LocalDataResponse" do
|
||||||
|
optional :path, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.TmpResponse" do
|
||||||
|
optional :path, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.DefaultPrivateKeyResponse" do
|
||||||
|
optional :key, :string, 1
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -551,30 +556,30 @@ module Hashicorp
|
|||||||
Args::DataDir = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir").msgclass
|
Args::DataDir = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir").msgclass
|
||||||
Args::DataDir::Basis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir.Basis").msgclass
|
Args::DataDir::Basis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir.Basis").msgclass
|
||||||
Args::DataDir::Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir.Project").msgclass
|
Args::DataDir::Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir.Project").msgclass
|
||||||
Args::DataDir::Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir.Machine").msgclass
|
Args::DataDir::Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir.Target").msgclass
|
||||||
Args::DataDir::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir.Component").msgclass
|
Args::DataDir::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.DataDir.Component").msgclass
|
||||||
Args::MachineIndex = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.MachineIndex").msgclass
|
Args::MetadataSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.MetadataSet").msgclass
|
||||||
Args::MachineIndex::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.MachineIndex.Entry").msgclass
|
|
||||||
Args::BoxCollection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.BoxCollection").msgclass
|
|
||||||
Args::Box = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Box").msgclass
|
|
||||||
Args::Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Project").msgclass
|
|
||||||
Args::Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Machine").msgclass
|
|
||||||
Args::Configuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Configuration").msgclass
|
|
||||||
Args::Configuration::Vagrant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Configuration.Vagrant").msgclass
|
|
||||||
Args::Configuration::VM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Configuration.VM").msgclass
|
|
||||||
Args::Configuration::Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Configuration.Provider").msgclass
|
|
||||||
Args::LabelSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.LabelSet").msgclass
|
|
||||||
Args::Options = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Options").msgclass
|
|
||||||
Args::Vagrantfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Vagrantfile").msgclass
|
|
||||||
Args::JobInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.JobInfo").msgclass
|
|
||||||
Args::Logger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Logger").msgclass
|
|
||||||
Args::TerminalUI = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.TerminalUI").msgclass
|
Args::TerminalUI = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.TerminalUI").msgclass
|
||||||
|
Args::Logger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Logger").msgclass
|
||||||
|
Args::JobInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.JobInfo").msgclass
|
||||||
|
Args::JobInfo::ResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.JobInfo.ResourceType").enummodule
|
||||||
|
Args::Basis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Basis").msgclass
|
||||||
|
Args::Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Project").msgclass
|
||||||
|
Args::Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Provider").msgclass
|
||||||
|
Args::Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Target").msgclass
|
||||||
|
Args::Target::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Target.State").msgclass
|
||||||
|
Args::Target::State::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Target.State.State").enummodule
|
||||||
|
Args::Target::Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Target.Machine").msgclass
|
||||||
|
Args::Target::Machine::Box = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Target.Machine.Box").msgclass
|
||||||
|
Args::Target::Machine::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Target.Machine.State").msgclass
|
||||||
Args::StateBag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.StateBag").msgclass
|
Args::StateBag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.StateBag").msgclass
|
||||||
Args::StateBag::Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.StateBag.Value").msgclass
|
Args::Host = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.Host").msgclass
|
||||||
Args::MachineState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.MachineState").msgclass
|
TargetIndex = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.TargetIndex").msgclass
|
||||||
Args::SSHInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.SSHInfo").msgclass
|
TargetIndex::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.TargetIndex.Entry").msgclass
|
||||||
Args::WinrmInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.WinrmInfo").msgclass
|
BoxCollection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.BoxCollection").msgclass
|
||||||
Args::WinrmInfo::Transport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Args.WinrmInfo.Transport").enummodule
|
SSHInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.SSHInfo").msgclass
|
||||||
|
WinrmInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.WinrmInfo").msgclass
|
||||||
|
WinrmInfo::Transport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.WinrmInfo.Transport").enummodule
|
||||||
FuncSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.FuncSpec").msgclass
|
FuncSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.FuncSpec").msgclass
|
||||||
FuncSpec::Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.FuncSpec.Value").msgclass
|
FuncSpec::Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.FuncSpec.Value").msgclass
|
||||||
FuncSpec::Args = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.FuncSpec.Args").msgclass
|
FuncSpec::Args = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.FuncSpec.Args").msgclass
|
||||||
@ -608,6 +613,14 @@ module Hashicorp
|
|||||||
Map::Request = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Map.Request").msgclass
|
Map::Request = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Map.Request").msgclass
|
||||||
Map::Response = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Map.Response").msgclass
|
Map::Response = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Map.Response").msgclass
|
||||||
Map::ListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Map.ListResponse").msgclass
|
Map::ListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Map.ListResponse").msgclass
|
||||||
|
StateBag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.StateBag").msgclass
|
||||||
|
StateBag::GetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.StateBag.GetRequest").msgclass
|
||||||
|
StateBag::GetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.StateBag.GetResponse").msgclass
|
||||||
|
StateBag::GetOkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.StateBag.GetOkResponse").msgclass
|
||||||
|
StateBag::PutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.StateBag.PutRequest").msgclass
|
||||||
|
StateBag::PutResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.StateBag.PutResponse").msgclass
|
||||||
|
StateBag::RemoveRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.StateBag.RemoveRequest").msgclass
|
||||||
|
StateBag::RemoveResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.StateBag.RemoveResponse").msgclass
|
||||||
Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Provider").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::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::InstalledResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Provider.InstalledResp").msgclass
|
||||||
@ -641,50 +654,43 @@ module Hashicorp
|
|||||||
Host = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host").msgclass
|
Host = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host").msgclass
|
||||||
Host::DetectResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host.DetectResp").msgclass
|
Host::DetectResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host.DetectResp").msgclass
|
||||||
Host::Capability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host.Capability").msgclass
|
Host::Capability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host.Capability").msgclass
|
||||||
|
Host::Capability::NamedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host.Capability.NamedRequest").msgclass
|
||||||
Host::Capability::CheckResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host.Capability.CheckResp").msgclass
|
Host::Capability::CheckResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host.Capability.CheckResp").msgclass
|
||||||
Host::Capability::Resp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host.Capability.Resp").msgclass
|
Host::Capability::Resp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Host.Capability.Resp").msgclass
|
||||||
Ref = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Ref").msgclass
|
Ref = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Ref").msgclass
|
||||||
Ref::Box = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Ref.Box").msgclass
|
Ref::Box = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Ref.Box").msgclass
|
||||||
|
Ref::Basis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Ref.Basis").msgclass
|
||||||
Ref::Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Ref.Project").msgclass
|
Ref::Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Ref.Project").msgclass
|
||||||
Ref::Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Ref.Machine").msgclass
|
Ref::Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Ref.Target").msgclass
|
||||||
Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine").msgclass
|
Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target").msgclass
|
||||||
Machine::SetNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.SetNameRequest").msgclass
|
Target::ResourceIdResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.ResourceIdResponse").msgclass
|
||||||
Machine::SetNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.SetNameResponse").msgclass
|
Target::RecordResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.RecordResponse").msgclass
|
||||||
Machine::GetNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.GetNameRequest").msgclass
|
Target::NameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.NameResponse").msgclass
|
||||||
Machine::GetNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.GetNameResponse").msgclass
|
Target::ProjectResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.ProjectResponse").msgclass
|
||||||
Machine::SetIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.SetIDRequest").msgclass
|
Target::SetNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.SetNameRequest").msgclass
|
||||||
Machine::SetIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.SetIDResponse").msgclass
|
Target::VagrantfileNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.VagrantfileNameResponse").msgclass
|
||||||
Machine::GetIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.GetIDRequest").msgclass
|
Target::VagrantfilePathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.VagrantfilePathResponse").msgclass
|
||||||
Machine::GetIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.GetIDResponse").msgclass
|
Target::UpdatedAtResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.UpdatedAtResponse").msgclass
|
||||||
Machine::SetStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.SetStateRequest").msgclass
|
Target::Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine").msgclass
|
||||||
Machine::SetStateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.SetStateResponse").msgclass
|
Target::Machine::SetIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SetIDRequest").msgclass
|
||||||
Machine::GetStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.GetStateRequest").msgclass
|
Target::Machine::GetIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.GetIDResponse").msgclass
|
||||||
Machine::GetStateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.GetStateResponse").msgclass
|
Target::Machine::SetStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SetStateRequest").msgclass
|
||||||
Machine::GetUUIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.GetUUIDRequest").msgclass
|
Target::Machine::GetStateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.GetStateResponse").msgclass
|
||||||
Machine::GetUUIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.GetUUIDResponse").msgclass
|
Target::Machine::GetUUIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.GetUUIDResponse").msgclass
|
||||||
Machine::SetUUIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.SetUUIDRequest").msgclass
|
Target::Machine::SetUUIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SetUUIDRequest").msgclass
|
||||||
Machine::SetUUIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.SetUUIDResponse").msgclass
|
|
||||||
Machine::BoxRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.BoxRequest").msgclass
|
|
||||||
Machine::BoxResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.BoxResponse").msgclass
|
|
||||||
Machine::DatadirRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.DatadirRequest").msgclass
|
|
||||||
Machine::DatadirResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.DatadirResponse").msgclass
|
|
||||||
Machine::LocalDataPathRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.LocalDataPathRequest").msgclass
|
|
||||||
Machine::LocalDataPathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.LocalDataPathResponse").msgclass
|
|
||||||
Machine::ProviderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.ProviderRequest").msgclass
|
|
||||||
Machine::ProviderResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.ProviderResponse").msgclass
|
|
||||||
Machine::VagrantfileNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.VagrantfileNameRequest").msgclass
|
|
||||||
Machine::VagrantfileNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.VagrantfileNameResponse").msgclass
|
|
||||||
Machine::VagrantfilePathRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.VagrantfilePathRequest").msgclass
|
|
||||||
Machine::VagrantfilePathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.VagrantfilePathResponse").msgclass
|
|
||||||
Machine::UpdatedAtRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.UpdatedAtRequest").msgclass
|
|
||||||
Machine::UpdatedAtResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.UpdatedAtResponse").msgclass
|
|
||||||
Machine::UIRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.UIRequest").msgclass
|
|
||||||
Machine::UIResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Machine.UIResponse").msgclass
|
|
||||||
Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project").msgclass
|
Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project").msgclass
|
||||||
|
Project::TargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.TargetRequest").msgclass
|
||||||
|
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::MachineAndProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.MachineAndProvider").msgclass
|
||||||
Project::MachineNamesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.MachineNamesResponse").msgclass
|
Project::MachineNamesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.MachineNamesResponse").msgclass
|
||||||
Project::ActiveMachinesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.ActiveMachinesRequest").msgclass
|
|
||||||
Project::ActiveMachinesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.ActiveMachinesResponse").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
|
||||||
|
Project::VagrantfileNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.VagrantfileNameResponse").msgclass
|
||||||
|
Project::HomeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.HomeResponse").msgclass
|
||||||
|
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
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -17,7 +17,7 @@ module Hashicorp
|
|||||||
# interact with it indirectly via a terminal.UI implementation.
|
# interact with it indirectly via a terminal.UI implementation.
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -35,7 +35,7 @@ module Hashicorp
|
|||||||
# to convert to/from various types.
|
# to convert to/from various types.
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -49,6 +49,28 @@ module Hashicorp
|
|||||||
|
|
||||||
Stub = Service.rpc_stub_class
|
Stub = Service.rpc_stub_class
|
||||||
end
|
end
|
||||||
|
module StateBagService
|
||||||
|
# *
|
||||||
|
# Core plugin services
|
||||||
|
#
|
||||||
|
# Core State Bag //
|
||||||
|
#
|
||||||
|
class Service
|
||||||
|
|
||||||
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
|
self.marshal_class_method = :encode
|
||||||
|
self.unmarshal_class_method = :decode
|
||||||
|
self.service_name = 'hashicorp.vagrant.sdk.StateBagService'
|
||||||
|
|
||||||
|
rpc :Get, ::Hashicorp::Vagrant::Sdk::StateBag::GetRequest, ::Hashicorp::Vagrant::Sdk::StateBag::GetResponse
|
||||||
|
rpc :GetOk, ::Hashicorp::Vagrant::Sdk::StateBag::GetRequest, ::Hashicorp::Vagrant::Sdk::StateBag::GetOkResponse
|
||||||
|
rpc :Put, ::Hashicorp::Vagrant::Sdk::StateBag::PutRequest, ::Hashicorp::Vagrant::Sdk::StateBag::PutResponse
|
||||||
|
rpc :Remove, ::Hashicorp::Vagrant::Sdk::StateBag::RemoveRequest, ::Hashicorp::Vagrant::Sdk::StateBag::RemoveResponse
|
||||||
|
end
|
||||||
|
|
||||||
|
Stub = Service.rpc_stub_class
|
||||||
|
end
|
||||||
module ProviderService
|
module ProviderService
|
||||||
# service CommunicatorService {
|
# service CommunicatorService {
|
||||||
# rpc Match(Communicator.MatchRequest) returns (Communicator);
|
# rpc Match(Communicator.MatchRequest) returns (Communicator);
|
||||||
@ -62,7 +84,7 @@ module Hashicorp
|
|||||||
# the state of a machine
|
# the state of a machine
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -116,7 +138,7 @@ module Hashicorp
|
|||||||
# A Provisioner runs actions against a VM
|
# A Provisioner runs actions against a VM
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -132,7 +154,7 @@ module Hashicorp
|
|||||||
module CommandService
|
module CommandService
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -152,7 +174,7 @@ module Hashicorp
|
|||||||
module CommunicatorService
|
module CommunicatorService
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -188,7 +210,7 @@ module Hashicorp
|
|||||||
module ConfigService
|
module ConfigService
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -204,7 +226,7 @@ module Hashicorp
|
|||||||
module GuestService
|
module GuestService
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -226,7 +248,7 @@ module Hashicorp
|
|||||||
module HostService
|
module HostService
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -237,6 +259,10 @@ module Hashicorp
|
|||||||
rpc :Documentation, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Config::Documentation
|
rpc :Documentation, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Config::Documentation
|
||||||
rpc :Detect, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Hashicorp::Vagrant::Sdk::Host::DetectResp
|
rpc :Detect, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Hashicorp::Vagrant::Sdk::Host::DetectResp
|
||||||
rpc :DetectSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec
|
rpc :DetectSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec
|
||||||
|
rpc :HasCapability, ::Hashicorp::Vagrant::Sdk::Host::Capability::NamedRequest, ::Hashicorp::Vagrant::Sdk::Host::Capability::CheckResp
|
||||||
|
rpc :HasCapabilitySpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec
|
||||||
|
rpc :Capability, ::Hashicorp::Vagrant::Sdk::Host::Capability::NamedRequest, ::Hashicorp::Vagrant::Sdk::Host::Capability::Resp
|
||||||
|
rpc :CapabilitySpec, ::Hashicorp::Vagrant::Sdk::Host::Capability::NamedRequest, ::Hashicorp::Vagrant::Sdk::FuncSpec
|
||||||
end
|
end
|
||||||
|
|
||||||
Stub = Service.rpc_stub_class
|
Stub = Service.rpc_stub_class
|
||||||
@ -244,7 +270,7 @@ module Hashicorp
|
|||||||
module SyncedFolderService
|
module SyncedFolderService
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -257,35 +283,83 @@ module Hashicorp
|
|||||||
|
|
||||||
Stub = Service.rpc_stub_class
|
Stub = Service.rpc_stub_class
|
||||||
end
|
end
|
||||||
module MachineService
|
module BasisService
|
||||||
# *******************************************************************
|
|
||||||
# Machine services
|
|
||||||
# ******************************************************************
|
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
self.service_name = 'hashicorp.vagrant.sdk.MachineService'
|
self.service_name = 'hashicorp.vagrant.sdk.BasisService'
|
||||||
|
|
||||||
# Getters and Setters
|
rpc :DataDir, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::DataDir::Basis
|
||||||
rpc :SetName, ::Hashicorp::Vagrant::Sdk::Machine::SetNameRequest, ::Hashicorp::Vagrant::Sdk::Machine::SetNameResponse
|
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
||||||
rpc :GetName, ::Hashicorp::Vagrant::Sdk::Machine::GetNameRequest, ::Hashicorp::Vagrant::Sdk::Machine::GetNameResponse
|
end
|
||||||
rpc :SetID, ::Hashicorp::Vagrant::Sdk::Machine::SetIDRequest, ::Hashicorp::Vagrant::Sdk::Machine::SetIDResponse
|
|
||||||
rpc :GetID, ::Hashicorp::Vagrant::Sdk::Machine::GetIDRequest, ::Hashicorp::Vagrant::Sdk::Machine::GetIDResponse
|
Stub = Service.rpc_stub_class
|
||||||
rpc :SetState, ::Hashicorp::Vagrant::Sdk::Machine::SetStateRequest, ::Hashicorp::Vagrant::Sdk::Machine::SetStateResponse
|
end
|
||||||
rpc :GetState, ::Hashicorp::Vagrant::Sdk::Machine::GetStateRequest, ::Hashicorp::Vagrant::Sdk::Machine::GetStateResponse
|
module TargetService
|
||||||
rpc :SetUUID, ::Hashicorp::Vagrant::Sdk::Machine::SetUUIDRequest, ::Hashicorp::Vagrant::Sdk::Machine::SetUUIDResponse
|
# *******************************************************************
|
||||||
rpc :GetUUID, ::Hashicorp::Vagrant::Sdk::Machine::GetUUIDRequest, ::Hashicorp::Vagrant::Sdk::Machine::GetUUIDResponse
|
# Target services
|
||||||
rpc :Box, ::Hashicorp::Vagrant::Sdk::Machine::BoxRequest, ::Hashicorp::Vagrant::Sdk::Machine::BoxResponse
|
# ******************************************************************
|
||||||
rpc :Datadir, ::Hashicorp::Vagrant::Sdk::Machine::DatadirRequest, ::Hashicorp::Vagrant::Sdk::Machine::DatadirResponse
|
class Service
|
||||||
rpc :LocalDataPath, ::Hashicorp::Vagrant::Sdk::Machine::LocalDataPathRequest, ::Hashicorp::Vagrant::Sdk::Machine::LocalDataPathResponse
|
|
||||||
rpc :Provider, ::Hashicorp::Vagrant::Sdk::Machine::ProviderRequest, ::Hashicorp::Vagrant::Sdk::Machine::ProviderResponse
|
include ::GRPC::GenericService
|
||||||
rpc :VagrantfileName, ::Hashicorp::Vagrant::Sdk::Machine::VagrantfileNameRequest, ::Hashicorp::Vagrant::Sdk::Machine::VagrantfileNameResponse
|
|
||||||
rpc :VagrantfilePath, ::Hashicorp::Vagrant::Sdk::Machine::VagrantfilePathRequest, ::Hashicorp::Vagrant::Sdk::Machine::VagrantfilePathResponse
|
self.marshal_class_method = :encode
|
||||||
rpc :UpdatedAt, ::Hashicorp::Vagrant::Sdk::Machine::UpdatedAtRequest, ::Hashicorp::Vagrant::Sdk::Machine::UpdatedAtResponse
|
self.unmarshal_class_method = :decode
|
||||||
rpc :UI, ::Hashicorp::Vagrant::Sdk::Machine::UIRequest, ::Hashicorp::Vagrant::Sdk::Machine::UIResponse
|
self.service_name = 'hashicorp.vagrant.sdk.TargetService'
|
||||||
|
|
||||||
|
rpc :ResourceId, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::ResourceIdResponse
|
||||||
|
rpc :Record, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::RecordResponse
|
||||||
|
rpc :Name, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::NameResponse
|
||||||
|
rpc :SetName, ::Hashicorp::Vagrant::Sdk::Target::SetNameRequest, ::Google::Protobuf::Empty
|
||||||
|
rpc :Project, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Project
|
||||||
|
rpc :Metadata, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::MetadataSet
|
||||||
|
rpc :DataDir, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::DataDir::Target
|
||||||
|
rpc :State, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Target::State
|
||||||
|
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
||||||
|
rpc :Specialize, ::Google::Protobuf::Any, ::Google::Protobuf::Any
|
||||||
|
rpc :Provider, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Provider
|
||||||
|
rpc :VagrantfileName, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::VagrantfileNameResponse
|
||||||
|
rpc :VagrantfilePath, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::VagrantfilePathResponse
|
||||||
|
rpc :UpdatedAt, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::UpdatedAtResponse
|
||||||
|
end
|
||||||
|
|
||||||
|
Stub = Service.rpc_stub_class
|
||||||
|
end
|
||||||
|
module TargetMachineService
|
||||||
|
class Service
|
||||||
|
|
||||||
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
|
self.marshal_class_method = :encode
|
||||||
|
self.unmarshal_class_method = :decode
|
||||||
|
self.service_name = 'hashicorp.vagrant.sdk.TargetMachineService'
|
||||||
|
|
||||||
|
# Required so a machine can properly act as a target
|
||||||
|
rpc :ResourceId, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::ResourceIdResponse
|
||||||
|
rpc :Record, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::RecordResponse
|
||||||
|
rpc :Name, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::NameResponse
|
||||||
|
rpc :SetName, ::Hashicorp::Vagrant::Sdk::Target::SetNameRequest, ::Google::Protobuf::Empty
|
||||||
|
rpc :Project, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Project
|
||||||
|
rpc :Metadata, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::MetadataSet
|
||||||
|
rpc :DataDir, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::DataDir::Target
|
||||||
|
rpc :State, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Target::State
|
||||||
|
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
||||||
|
rpc :Specialize, ::Google::Protobuf::Any, ::Google::Protobuf::Any
|
||||||
|
rpc :Provider, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Provider
|
||||||
|
rpc :VagrantfileName, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::VagrantfileNameResponse
|
||||||
|
rpc :VagrantfilePath, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::VagrantfilePathResponse
|
||||||
|
rpc :UpdatedAt, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::UpdatedAtResponse
|
||||||
|
# Machine specific
|
||||||
|
rpc :SetID, ::Hashicorp::Vagrant::Sdk::Target::Machine::SetIDRequest, ::Google::Protobuf::Empty
|
||||||
|
rpc :GetID, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::Machine::GetIDResponse
|
||||||
|
rpc :SetState, ::Hashicorp::Vagrant::Sdk::Target::Machine::SetStateRequest, ::Google::Protobuf::Empty
|
||||||
|
rpc :GetState, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Target::Machine::State
|
||||||
|
rpc :SetUUID, ::Hashicorp::Vagrant::Sdk::Target::Machine::SetUUIDRequest, ::Google::Protobuf::Empty
|
||||||
|
rpc :GetUUID, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::Machine::GetUUIDResponse
|
||||||
|
rpc :Box, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Target::Machine::Box
|
||||||
end
|
end
|
||||||
|
|
||||||
Stub = Service.rpc_stub_class
|
Stub = Service.rpc_stub_class
|
||||||
@ -296,14 +370,26 @@ module Hashicorp
|
|||||||
# ******************************************************************
|
# ******************************************************************
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
self.service_name = 'hashicorp.vagrant.sdk.ProjectService'
|
self.service_name = 'hashicorp.vagrant.sdk.ProjectService'
|
||||||
|
|
||||||
rpc :MachineNames, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::MachineNamesResponse
|
rpc :MachineNames, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::MachineNamesResponse
|
||||||
rpc :ActiveMachines, ::Hashicorp::Vagrant::Sdk::Project::ActiveMachinesRequest, ::Hashicorp::Vagrant::Sdk::Project::ActiveMachinesResponse
|
# rpc ActiveMachines(google.protobuf.Empty) returns (Project.ActiveMachinesResponse);
|
||||||
|
rpc :CWD, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::CwdResponse
|
||||||
|
rpc :DataDir, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::DataDir::Project
|
||||||
|
rpc :VagrantfileName, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::VagrantfileNameResponse
|
||||||
|
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
||||||
|
rpc :Home, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::HomeResponse
|
||||||
|
rpc :LocalData, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::LocalDataResponse
|
||||||
|
rpc :Tmp, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::TmpResponse
|
||||||
|
rpc :DefaultPrivateKey, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::DefaultPrivateKeyResponse
|
||||||
|
rpc :Host, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Host
|
||||||
|
rpc :Target, ::Hashicorp::Vagrant::Sdk::Project::TargetRequest, ::Hashicorp::Vagrant::Sdk::Args::Target
|
||||||
|
rpc :TargetNames, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::TargetNamesResponse
|
||||||
|
rpc :TargetIds, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::TargetIdsResponse
|
||||||
end
|
end
|
||||||
|
|
||||||
Stub = Service.rpc_stub_class
|
Stub = Service.rpc_stub_class
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
require 'google/protobuf'
|
require 'google/protobuf'
|
||||||
|
|
||||||
|
require 'google/protobuf/any_pb'
|
||||||
require 'google/protobuf/empty_pb'
|
require 'google/protobuf/empty_pb'
|
||||||
require 'google/protobuf/timestamp_pb'
|
require 'google/protobuf/timestamp_pb'
|
||||||
require 'google/rpc/status_pb'
|
require 'google/rpc/status_pb'
|
||||||
@ -26,51 +27,48 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :resource_id, :string, 1
|
optional :resource_id, :string, 1
|
||||||
optional :name, :string, 2
|
optional :name, :string, 2
|
||||||
optional :path, :string, 3
|
optional :path, :string, 3
|
||||||
repeated :projects, :message, 4, "hashicorp.vagrant.Ref.Project"
|
repeated :projects, :message, 4, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :remote_enabled, :bool, 5
|
optional :metadata, :message, 5, "hashicorp.vagrant.sdk.Args.MetadataSet"
|
||||||
optional :data_source, :message, 6, "hashicorp.vagrant.Job.DataSource"
|
optional :configuration, :message, 6, "google.protobuf.Any"
|
||||||
|
optional :remote_enabled, :bool, 100
|
||||||
|
optional :data_source, :message, 101, "hashicorp.vagrant.Job.DataSource"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Project" do
|
add_message "hashicorp.vagrant.Project" do
|
||||||
optional :resource_id, :string, 1
|
optional :resource_id, :string, 1
|
||||||
optional :name, :string, 2
|
optional :name, :string, 2
|
||||||
optional :path, :string, 3
|
optional :path, :string, 3
|
||||||
repeated :machines, :message, 4, "hashicorp.vagrant.Ref.Machine"
|
repeated :targets, :message, 4, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
optional :basis, :message, 5, "hashicorp.vagrant.Ref.Basis"
|
optional :basis, :message, 5, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
optional :remote_enabled, :bool, 6
|
optional :metadata, :message, 6, "hashicorp.vagrant.sdk.Args.MetadataSet"
|
||||||
optional :data_source, :message, 7, "hashicorp.vagrant.Job.DataSource"
|
optional :configuration, :message, 7, "google.protobuf.Any"
|
||||||
|
optional :remote_enabled, :bool, 100
|
||||||
|
optional :data_source, :message, 101, "hashicorp.vagrant.Job.DataSource"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Machine" do
|
add_message "hashicorp.vagrant.Target" do
|
||||||
optional :datadir, :message, 1, "hashicorp.vagrant.sdk.Args.DataDir.Machine"
|
optional :resource_id, :string, 1
|
||||||
optional :resource_id, :string, 2
|
optional :datadir, :message, 2, "hashicorp.vagrant.sdk.Args.DataDir.Target"
|
||||||
optional :id, :string, 3
|
optional :name, :string, 3
|
||||||
optional :name, :string, 4
|
optional :project, :message, 4, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :project, :message, 5, "hashicorp.vagrant.Ref.Project"
|
optional :state, :enum, 5, "hashicorp.vagrant.Operation.PhysicalState"
|
||||||
optional :status, :message, 6, "hashicorp.vagrant.Status"
|
repeated :subtargets, :message, 6, "hashicorp.vagrant.Target"
|
||||||
optional :box, :message, 7, "hashicorp.vagrant.sdk.Args.Box"
|
optional :parent, :message, 7, "hashicorp.vagrant.Target"
|
||||||
optional :uuid, :string, 8
|
optional :uuid, :string, 8
|
||||||
|
optional :metadata, :message, 9, "hashicorp.vagrant.sdk.Args.MetadataSet"
|
||||||
|
optional :configuration, :message, 10, "google.protobuf.Any"
|
||||||
|
optional :record, :message, 11, "google.protobuf.Any"
|
||||||
|
optional :remote_enabled, :bool, 100
|
||||||
|
optional :data_source, :message, 101, "hashicorp.vagrant.Job.DataSource"
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.Target.Machine" do
|
||||||
|
optional :id, :string, 1
|
||||||
|
optional :box, :message, 7, "hashicorp.vagrant.sdk.Args.Target.Machine.Box"
|
||||||
optional :uid, :string, 9
|
optional :uid, :string, 9
|
||||||
optional :state, :message, 10, "hashicorp.vagrant.sdk.Args.MachineState"
|
optional :state, :message, 10, "hashicorp.vagrant.sdk.Args.Target.Machine.State"
|
||||||
|
optional :provider, :string, 11
|
||||||
optional :physical_state, :enum, 50, "hashicorp.vagrant.Operation.PhysicalState"
|
optional :physical_state, :enum, 50, "hashicorp.vagrant.Operation.PhysicalState"
|
||||||
optional :remote_enabled, :bool, 51
|
|
||||||
optional :data_source, :message, 52, "hashicorp.vagrant.Job.DataSource"
|
|
||||||
optional :provider, :string, 53
|
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Ref" do
|
add_message "hashicorp.vagrant.Ref" do
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Ref.Machine" do
|
|
||||||
optional :resource_id, :string, 1
|
|
||||||
optional :name, :string, 2
|
|
||||||
optional :project, :message, 3, "hashicorp.vagrant.Ref.Project"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.Ref.Project" do
|
|
||||||
optional :resource_id, :string, 1
|
|
||||||
optional :name, :string, 2
|
|
||||||
optional :basis, :message, 3, "hashicorp.vagrant.Ref.Basis"
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.Ref.Basis" do
|
|
||||||
optional :resource_id, :string, 1
|
|
||||||
optional :name, :string, 2
|
|
||||||
end
|
|
||||||
add_message "hashicorp.vagrant.Ref.Component" do
|
add_message "hashicorp.vagrant.Ref.Component" do
|
||||||
optional :type, :enum, 1, "hashicorp.vagrant.Component.Type"
|
optional :type, :enum, 1, "hashicorp.vagrant.Component.Type"
|
||||||
optional :name, :string, 2
|
optional :name, :string, 2
|
||||||
@ -78,21 +76,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.Ref.Operation" do
|
add_message "hashicorp.vagrant.Ref.Operation" do
|
||||||
oneof :target do
|
oneof :target do
|
||||||
optional :id, :string, 1
|
optional :id, :string, 1
|
||||||
optional :machine_sequence, :message, 2, "hashicorp.vagrant.Ref.MachineOperationSeq"
|
optional :target_sequence, :message, 2, "hashicorp.vagrant.Ref.TargetOperationSeq"
|
||||||
optional :project_sequence, :message, 3, "hashicorp.vagrant.Ref.ProjectOperationSeq"
|
optional :project_sequence, :message, 3, "hashicorp.vagrant.Ref.ProjectOperationSeq"
|
||||||
optional :basis_sequence, :message, 4, "hashicorp.vagrant.Ref.BasisOperationSeq"
|
optional :basis_sequence, :message, 4, "hashicorp.vagrant.Ref.BasisOperationSeq"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Ref.MachineOperationSeq" do
|
add_message "hashicorp.vagrant.Ref.TargetOperationSeq" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.Ref.Machine"
|
optional :target, :message, 1, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
optional :number, :uint64, 2
|
optional :number, :uint64, 2
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Ref.ProjectOperationSeq" do
|
add_message "hashicorp.vagrant.Ref.ProjectOperationSeq" do
|
||||||
optional :project, :message, 1, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :number, :uint64, 2
|
optional :number, :uint64, 2
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Ref.BasisOperationSeq" do
|
add_message "hashicorp.vagrant.Ref.BasisOperationSeq" do
|
||||||
optional :basis, :message, 1, "hashicorp.vagrant.Ref.Basis"
|
optional :basis, :message, 1, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
optional :number, :uint64, 2
|
optional :number, :uint64, 2
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Ref.Runner" do
|
add_message "hashicorp.vagrant.Ref.Runner" do
|
||||||
@ -146,8 +144,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_enum "hashicorp.vagrant.Operation.PhysicalState" do
|
add_enum "hashicorp.vagrant.Operation.PhysicalState" do
|
||||||
value :UNKNOWN, 0
|
value :UNKNOWN, 0
|
||||||
value :PENDING, 1
|
value :PENDING, 1
|
||||||
value :CREATED, 3
|
value :CREATED, 2
|
||||||
value :DESTROYED, 4
|
value :DESTROYED, 3
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.OperationOrder" do
|
add_message "hashicorp.vagrant.OperationOrder" do
|
||||||
optional :order, :enum, 2, "hashicorp.vagrant.OperationOrder.Order"
|
optional :order, :enum, 2, "hashicorp.vagrant.OperationOrder.Order"
|
||||||
@ -180,9 +178,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Job" do
|
add_message "hashicorp.vagrant.Job" do
|
||||||
optional :id, :string, 1
|
optional :id, :string, 1
|
||||||
optional :basis, :message, 2, "hashicorp.vagrant.Ref.Basis"
|
optional :basis, :message, 2, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
optional :project, :message, 3, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 3, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :machine, :message, 4, "hashicorp.vagrant.Ref.Machine"
|
optional :target, :message, 4, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
optional :target_runner, :message, 5, "hashicorp.vagrant.Ref.Runner"
|
optional :target_runner, :message, 5, "hashicorp.vagrant.Ref.Runner"
|
||||||
map :labels, :string, :string, 6
|
map :labels, :string, :string, 6
|
||||||
optional :data_source, :message, 7, "hashicorp.vagrant.Job.DataSource"
|
optional :data_source, :message, 7, "hashicorp.vagrant.Job.DataSource"
|
||||||
@ -510,7 +508,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :basis, :message, 1, "hashicorp.vagrant.Basis"
|
optional :basis, :message, 1, "hashicorp.vagrant.Basis"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.GetBasisRequest" do
|
add_message "hashicorp.vagrant.GetBasisRequest" do
|
||||||
optional :basis, :message, 1, "hashicorp.vagrant.Ref.Basis"
|
optional :basis, :message, 1, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.GetBasisResponse" do
|
add_message "hashicorp.vagrant.GetBasisResponse" do
|
||||||
optional :basis, :message, 1, "hashicorp.vagrant.Basis"
|
optional :basis, :message, 1, "hashicorp.vagrant.Basis"
|
||||||
@ -523,7 +521,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :basis, :message, 2, "hashicorp.vagrant.Basis"
|
optional :basis, :message, 2, "hashicorp.vagrant.Basis"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.ListBasisResponse" do
|
add_message "hashicorp.vagrant.ListBasisResponse" do
|
||||||
repeated :basis, :message, 1, "hashicorp.vagrant.Ref.Basis"
|
repeated :basis, :message, 1, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.UpsertProjectRequest" do
|
add_message "hashicorp.vagrant.UpsertProjectRequest" do
|
||||||
optional :project, :message, 1, "hashicorp.vagrant.Project"
|
optional :project, :message, 1, "hashicorp.vagrant.Project"
|
||||||
@ -532,7 +530,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :project, :message, 1, "hashicorp.vagrant.Project"
|
optional :project, :message, 1, "hashicorp.vagrant.Project"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.GetProjectRequest" do
|
add_message "hashicorp.vagrant.GetProjectRequest" do
|
||||||
optional :project, :message, 1, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.GetProjectResponse" do
|
add_message "hashicorp.vagrant.GetProjectResponse" do
|
||||||
optional :project, :message, 1, "hashicorp.vagrant.Project"
|
optional :project, :message, 1, "hashicorp.vagrant.Project"
|
||||||
@ -545,38 +543,38 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :project, :message, 2, "hashicorp.vagrant.Project"
|
optional :project, :message, 2, "hashicorp.vagrant.Project"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.ListProjectsResponse" do
|
add_message "hashicorp.vagrant.ListProjectsResponse" do
|
||||||
repeated :projects, :message, 1, "hashicorp.vagrant.Ref.Project"
|
repeated :projects, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.UpsertMachineRequest" do
|
add_message "hashicorp.vagrant.UpsertTargetRequest" do
|
||||||
optional :project, :message, 1, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :machine, :message, 2, "hashicorp.vagrant.Machine"
|
optional :target, :message, 2, "hashicorp.vagrant.Target"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.UpsertMachineResponse" do
|
add_message "hashicorp.vagrant.UpsertTargetResponse" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.Machine"
|
optional :target, :message, 1, "hashicorp.vagrant.Target"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.GetMachineRequest" do
|
add_message "hashicorp.vagrant.GetTargetRequest" do
|
||||||
optional :project, :message, 1, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 1, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :machine, :message, 2, "hashicorp.vagrant.Ref.Machine"
|
optional :target, :message, 2, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.GetMachineResponse" do
|
add_message "hashicorp.vagrant.GetTargetResponse" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.Machine"
|
optional :target, :message, 1, "hashicorp.vagrant.Target"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.FindMachineRequest" do
|
add_message "hashicorp.vagrant.FindTargetRequest" do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.Machine"
|
optional :target, :message, 1, "hashicorp.vagrant.Target"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.FindMachineResponse" do
|
add_message "hashicorp.vagrant.FindTargetResponse" do
|
||||||
optional :found, :bool, 1
|
optional :found, :bool, 1
|
||||||
optional :machine, :message, 2, "hashicorp.vagrant.Machine"
|
optional :target, :message, 2, "hashicorp.vagrant.Target"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.ListMachinesResponse" do
|
add_message "hashicorp.vagrant.ListTargetsResponse" do
|
||||||
repeated :machines, :message, 1, "hashicorp.vagrant.Ref.Machine"
|
repeated :targets, :message, 1, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.GetLogStreamRequest" do
|
add_message "hashicorp.vagrant.GetLogStreamRequest" do
|
||||||
optional :limit_backlog, :int32, 4
|
optional :limit_backlog, :int32, 4
|
||||||
oneof :scope do
|
oneof :scope do
|
||||||
optional :basis, :message, 1, "hashicorp.vagrant.Ref.Basis"
|
optional :basis, :message, 1, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
optional :project, :message, 2, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 2, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :machine, :message, 3, "hashicorp.vagrant.Ref.Machine"
|
optional :target, :message, 3, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.LogBatch" do
|
add_message "hashicorp.vagrant.LogBatch" do
|
||||||
@ -592,8 +590,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :name, :string, 1
|
optional :name, :string, 1
|
||||||
optional :value, :string, 2
|
optional :value, :string, 2
|
||||||
oneof :scope do
|
oneof :scope do
|
||||||
optional :machine, :message, 3, "hashicorp.vagrant.Ref.Machine"
|
optional :target, :message, 3, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
optional :project, :message, 4, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 4, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :runner, :message, 5, "hashicorp.vagrant.Ref.Runner"
|
optional :runner, :message, 5, "hashicorp.vagrant.Ref.Runner"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -605,8 +603,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.ConfigGetRequest" do
|
add_message "hashicorp.vagrant.ConfigGetRequest" do
|
||||||
optional :prefix, :string, 1
|
optional :prefix, :string, 1
|
||||||
oneof :scope do
|
oneof :scope do
|
||||||
optional :machine, :message, 2, "hashicorp.vagrant.Ref.Machine"
|
optional :target, :message, 2, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
optional :project, :message, 3, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 3, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :runner, :message, 4, "hashicorp.vagrant.Ref.RunnerId"
|
optional :runner, :message, 4, "hashicorp.vagrant.Ref.RunnerId"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -796,9 +794,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.GetLatestTaskRequest" do
|
add_message "hashicorp.vagrant.GetLatestTaskRequest" do
|
||||||
oneof :scope do
|
oneof :scope do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.Ref.Machine"
|
optional :target, :message, 1, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
optional :project, :message, 2, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 2, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :basis, :message, 3, "hashicorp.vagrant.Ref.Basis"
|
optional :basis, :message, 3, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.ListTasksRequest" do
|
add_message "hashicorp.vagrant.ListTasksRequest" do
|
||||||
@ -806,9 +804,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :physical_state, :enum, 5, "hashicorp.vagrant.Operation.PhysicalState"
|
optional :physical_state, :enum, 5, "hashicorp.vagrant.Operation.PhysicalState"
|
||||||
optional :order, :message, 6, "hashicorp.vagrant.OperationOrder"
|
optional :order, :message, 6, "hashicorp.vagrant.OperationOrder"
|
||||||
oneof :scope do
|
oneof :scope do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.Ref.Machine"
|
optional :target, :message, 1, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
optional :project, :message, 2, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 2, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :basis, :message, 3, "hashicorp.vagrant.Ref.Basis"
|
optional :basis, :message, 3, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.ListTasksResponse" do
|
add_message "hashicorp.vagrant.ListTasksResponse" do
|
||||||
@ -829,9 +827,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :cli_args, :message, 12, "hashicorp.vagrant.sdk.Command.Arguments"
|
optional :cli_args, :message, 12, "hashicorp.vagrant.sdk.Command.Arguments"
|
||||||
optional :command_name, :string, 13
|
optional :command_name, :string, 13
|
||||||
oneof :scope do
|
oneof :scope do
|
||||||
optional :machine, :message, 1, "hashicorp.vagrant.Ref.Machine"
|
optional :target, :message, 1, "hashicorp.vagrant.sdk.Ref.Target"
|
||||||
optional :project, :message, 2, "hashicorp.vagrant.Ref.Project"
|
optional :project, :message, 2, "hashicorp.vagrant.sdk.Ref.Project"
|
||||||
optional :basis, :message, 3, "hashicorp.vagrant.Ref.Basis"
|
optional :basis, :message, 3, "hashicorp.vagrant.sdk.Ref.Basis"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -844,14 +842,12 @@ module Hashicorp
|
|||||||
VersionInfo::ProtocolVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.VersionInfo.ProtocolVersion").msgclass
|
VersionInfo::ProtocolVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.VersionInfo.ProtocolVersion").msgclass
|
||||||
Basis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Basis").msgclass
|
Basis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Basis").msgclass
|
||||||
Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Project").msgclass
|
Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Project").msgclass
|
||||||
Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Machine").msgclass
|
Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Target").msgclass
|
||||||
|
Target::Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Target.Machine").msgclass
|
||||||
Ref = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref").msgclass
|
Ref = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref").msgclass
|
||||||
Ref::Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.Machine").msgclass
|
|
||||||
Ref::Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.Project").msgclass
|
|
||||||
Ref::Basis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.Basis").msgclass
|
|
||||||
Ref::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.Component").msgclass
|
Ref::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.Component").msgclass
|
||||||
Ref::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.Operation").msgclass
|
Ref::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.Operation").msgclass
|
||||||
Ref::MachineOperationSeq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.MachineOperationSeq").msgclass
|
Ref::TargetOperationSeq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.TargetOperationSeq").msgclass
|
||||||
Ref::ProjectOperationSeq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.ProjectOperationSeq").msgclass
|
Ref::ProjectOperationSeq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.ProjectOperationSeq").msgclass
|
||||||
Ref::BasisOperationSeq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.BasisOperationSeq").msgclass
|
Ref::BasisOperationSeq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.BasisOperationSeq").msgclass
|
||||||
Ref::Runner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.Runner").msgclass
|
Ref::Runner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Ref.Runner").msgclass
|
||||||
@ -956,13 +952,13 @@ module Hashicorp
|
|||||||
FindProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.FindProjectRequest").msgclass
|
FindProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.FindProjectRequest").msgclass
|
||||||
FindProjectResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.FindProjectResponse").msgclass
|
FindProjectResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.FindProjectResponse").msgclass
|
||||||
ListProjectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.ListProjectsResponse").msgclass
|
ListProjectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.ListProjectsResponse").msgclass
|
||||||
UpsertMachineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.UpsertMachineRequest").msgclass
|
UpsertTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.UpsertTargetRequest").msgclass
|
||||||
UpsertMachineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.UpsertMachineResponse").msgclass
|
UpsertTargetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.UpsertTargetResponse").msgclass
|
||||||
GetMachineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.GetMachineRequest").msgclass
|
GetTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.GetTargetRequest").msgclass
|
||||||
GetMachineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.GetMachineResponse").msgclass
|
GetTargetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.GetTargetResponse").msgclass
|
||||||
FindMachineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.FindMachineRequest").msgclass
|
FindTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.FindTargetRequest").msgclass
|
||||||
FindMachineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.FindMachineResponse").msgclass
|
FindTargetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.FindTargetResponse").msgclass
|
||||||
ListMachinesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.ListMachinesResponse").msgclass
|
ListTargetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.ListTargetsResponse").msgclass
|
||||||
GetLogStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.GetLogStreamRequest").msgclass
|
GetLogStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.GetLogStreamRequest").msgclass
|
||||||
LogBatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.LogBatch").msgclass
|
LogBatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.LogBatch").msgclass
|
||||||
LogBatch::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.LogBatch.Entry").msgclass
|
LogBatch::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.LogBatch.Entry").msgclass
|
||||||
|
|||||||
@ -10,7 +10,7 @@ module Hashicorp
|
|||||||
# The service that is implemented for the server backend.
|
# The service that is implemented for the server backend.
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
include GRPC::GenericService
|
include ::GRPC::GenericService
|
||||||
|
|
||||||
self.marshal_class_method = :encode
|
self.marshal_class_method = :encode
|
||||||
self.unmarshal_class_method = :decode
|
self.unmarshal_class_method = :decode
|
||||||
@ -42,12 +42,12 @@ module Hashicorp
|
|||||||
# ListApplications because applications are a part of projects and you
|
# ListApplications because applications are a part of projects and you
|
||||||
# can use GetProject to get more information about the project.
|
# can use GetProject to get more information about the project.
|
||||||
rpc :ListProjects, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::ListProjectsResponse
|
rpc :ListProjects, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::ListProjectsResponse
|
||||||
# UpsertMachine upserts a machine with a project. If the machine
|
# UpsertTarget upserts a target with a project. If the target
|
||||||
# is already registered this does nothing.
|
# is already registered this does nothing.
|
||||||
rpc :UpsertMachine, ::Hashicorp::Vagrant::UpsertMachineRequest, ::Hashicorp::Vagrant::UpsertMachineResponse
|
rpc :UpsertTarget, ::Hashicorp::Vagrant::UpsertTargetRequest, ::Hashicorp::Vagrant::UpsertTargetResponse
|
||||||
rpc :GetMachine, ::Hashicorp::Vagrant::GetMachineRequest, ::Hashicorp::Vagrant::GetMachineResponse
|
rpc :GetTarget, ::Hashicorp::Vagrant::GetTargetRequest, ::Hashicorp::Vagrant::GetTargetResponse
|
||||||
rpc :FindMachine, ::Hashicorp::Vagrant::FindMachineRequest, ::Hashicorp::Vagrant::FindMachineResponse
|
rpc :FindTarget, ::Hashicorp::Vagrant::FindTargetRequest, ::Hashicorp::Vagrant::FindTargetResponse
|
||||||
rpc :ListMachines, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::ListMachinesResponse
|
rpc :ListTargets, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::ListTargetsResponse
|
||||||
# GetLogStream reads the log stream for a deployment. This will immediately
|
# GetLogStream reads the log stream for a deployment. This will immediately
|
||||||
# send a single LogEntry with the lines we have so far. If there are no
|
# send a single LogEntry with the lines we have so far. If there are no
|
||||||
# available lines this will NOT block and instead will return an error.
|
# available lines this will NOT block and instead will return an error.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user