Generated proto updates
This commit is contained in:
parent
097c4547db
commit
aaf0ae8504
@ -1,18 +1,18 @@
|
|||||||
// 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.17.3
|
||||||
// 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"
|
||||||
_ "github.com/golang/protobuf/ptypes/any"
|
|
||||||
empty "github.com/golang/protobuf/ptypes/empty"
|
|
||||||
vagrant_plugin_sdk "github.com/hashicorp/vagrant-plugin-sdk/proto/vagrant_plugin_sdk"
|
vagrant_plugin_sdk "github.com/hashicorp/vagrant-plugin-sdk/proto/vagrant_plugin_sdk"
|
||||||
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"
|
||||||
|
_ "google.golang.org/protobuf/types/known/anypb"
|
||||||
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
||||||
reflect "reflect"
|
reflect "reflect"
|
||||||
sync "sync"
|
sync "sync"
|
||||||
)
|
)
|
||||||
@ -398,7 +398,7 @@ var file_proto_ruby_vagrant_ruby_server_proto_goTypes = []interface{}{
|
|||||||
(*ParseVagrantfileRequest)(nil), // 3: hashicorp.vagrant.ParseVagrantfileRequest
|
(*ParseVagrantfileRequest)(nil), // 3: hashicorp.vagrant.ParseVagrantfileRequest
|
||||||
(*ParseVagrantfileResponse)(nil), // 4: hashicorp.vagrant.ParseVagrantfileResponse
|
(*ParseVagrantfileResponse)(nil), // 4: hashicorp.vagrant.ParseVagrantfileResponse
|
||||||
(*vagrant_plugin_sdk.Vagrantfile_Vagrantfile)(nil), // 5: hashicorp.vagrant.sdk.Vagrantfile.Vagrantfile
|
(*vagrant_plugin_sdk.Vagrantfile_Vagrantfile)(nil), // 5: hashicorp.vagrant.sdk.Vagrantfile.Vagrantfile
|
||||||
(*empty.Empty)(nil), // 6: google.protobuf.Empty
|
(*emptypb.Empty)(nil), // 6: 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,10 +4,10 @@ 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
|
||||||
@ -20,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)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,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 {
|
||||||
@ -55,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()
|
||||||
}
|
}
|
||||||
@ -64,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) {
|
||||||
@ -84,7 +84,7 @@ func RegisterRubyVagrantServer(s grpc.ServiceRegistrar, srv RubyVagrantServer) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
}
|
}
|
||||||
@ -96,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)
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -4,10 +4,10 @@ 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
|
||||||
@ -22,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
|
||||||
@ -44,14 +44,14 @@ 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)
|
||||||
// UpsertTarget upserts a target with a project. If the target
|
// UpsertTarget upserts a target with a project. If the target
|
||||||
// is already registered this does nothing.
|
// is already registered this does nothing.
|
||||||
UpsertTarget(ctx context.Context, in *UpsertTargetRequest, opts ...grpc.CallOption) (*UpsertTargetResponse, error)
|
UpsertTarget(ctx context.Context, in *UpsertTargetRequest, opts ...grpc.CallOption) (*UpsertTargetResponse, error)
|
||||||
DeleteTarget(ctx context.Context, in *DeleteTargetRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
DeleteTarget(ctx context.Context, in *DeleteTargetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||||
GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*GetTargetResponse, error)
|
GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*GetTargetResponse, error)
|
||||||
FindTarget(ctx context.Context, in *FindTargetRequest, opts ...grpc.CallOption) (*FindTargetResponse, error)
|
FindTarget(ctx context.Context, in *FindTargetRequest, opts ...grpc.CallOption) (*FindTargetResponse, error)
|
||||||
ListTargets(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListTargetsResponse, 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.
|
||||||
@ -73,7 +73,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
|
||||||
@ -90,11 +90,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
|
||||||
@ -103,11 +103,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
|
||||||
@ -127,7 +127,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 {
|
||||||
@ -163,7 +163,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 {
|
||||||
@ -235,7 +235,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 {
|
||||||
@ -253,8 +253,8 @@ func (c *vagrantClient) UpsertTarget(ctx context.Context, in *UpsertTargetReques
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) DeleteTarget(ctx context.Context, in *DeleteTargetRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
func (c *vagrantClient) DeleteTarget(ctx context.Context, in *DeleteTargetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
||||||
out := new(empty.Empty)
|
out := new(emptypb.Empty)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/DeleteTarget", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/DeleteTarget", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@ -280,7 +280,7 @@ func (c *vagrantClient) FindTarget(ctx context.Context, in *FindTargetRequest, o
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *vagrantClient) ListTargets(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListTargetsResponse, error) {
|
func (c *vagrantClient) ListTargets(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListTargetsResponse, error) {
|
||||||
out := new(ListTargetsResponse)
|
out := new(ListTargetsResponse)
|
||||||
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/ListTargets", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/hashicorp.vagrant.Vagrant/ListTargets", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -348,8 +348,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
|
||||||
@ -425,7 +425,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 {
|
||||||
@ -434,8 +434,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
|
||||||
@ -443,7 +443,7 @@ 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
|
||||||
@ -486,7 +486,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
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -498,18 +498,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 {
|
||||||
@ -527,7 +527,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 {
|
||||||
@ -614,11 +614,11 @@ 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
|
||||||
@ -636,14 +636,14 @@ 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)
|
||||||
// UpsertTarget upserts a target with a project. If the target
|
// UpsertTarget upserts a target with a project. If the target
|
||||||
// is already registered this does nothing.
|
// is already registered this does nothing.
|
||||||
UpsertTarget(context.Context, *UpsertTargetRequest) (*UpsertTargetResponse, error)
|
UpsertTarget(context.Context, *UpsertTargetRequest) (*UpsertTargetResponse, error)
|
||||||
DeleteTarget(context.Context, *DeleteTargetRequest) (*empty.Empty, error)
|
DeleteTarget(context.Context, *DeleteTargetRequest) (*emptypb.Empty, error)
|
||||||
GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error)
|
GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error)
|
||||||
FindTarget(context.Context, *FindTargetRequest) (*FindTargetResponse, error)
|
FindTarget(context.Context, *FindTargetRequest) (*FindTargetResponse, error)
|
||||||
ListTargets(context.Context, *empty.Empty) (*ListTargetsResponse, 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.
|
||||||
@ -665,7 +665,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
|
||||||
@ -682,11 +682,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
|
||||||
@ -695,11 +695,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
|
||||||
@ -715,7 +715,7 @@ type VagrantServer interface {
|
|||||||
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) {
|
||||||
@ -727,7 +727,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) {
|
||||||
@ -751,13 +751,13 @@ 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) UpsertTarget(context.Context, *UpsertTargetRequest) (*UpsertTargetResponse, error) {
|
func (UnimplementedVagrantServer) UpsertTarget(context.Context, *UpsertTargetRequest) (*UpsertTargetResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method UpsertTarget not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method UpsertTarget not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) DeleteTarget(context.Context, *DeleteTargetRequest) (*empty.Empty, error) {
|
func (UnimplementedVagrantServer) DeleteTarget(context.Context, *DeleteTargetRequest) (*emptypb.Empty, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteTarget not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteTarget not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error) {
|
func (UnimplementedVagrantServer) GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error) {
|
||||||
@ -766,7 +766,7 @@ func (UnimplementedVagrantServer) GetTarget(context.Context, *GetTargetRequest)
|
|||||||
func (UnimplementedVagrantServer) FindTarget(context.Context, *FindTargetRequest) (*FindTargetResponse, error) {
|
func (UnimplementedVagrantServer) FindTarget(context.Context, *FindTargetRequest) (*FindTargetResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method FindTarget not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method FindTarget not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedVagrantServer) ListTargets(context.Context, *empty.Empty) (*ListTargetsResponse, error) {
|
func (UnimplementedVagrantServer) ListTargets(context.Context, *emptypb.Empty) (*ListTargetsResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method ListTargets 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 {
|
||||||
@ -781,7 +781,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) {
|
||||||
@ -799,25 +799,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) {
|
||||||
@ -842,7 +842,7 @@ func RegisterVagrantServer(s grpc.ServiceRegistrar, srv VagrantServer) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
}
|
}
|
||||||
@ -854,7 +854,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)
|
||||||
}
|
}
|
||||||
@ -914,7 +914,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
|
||||||
}
|
}
|
||||||
@ -926,7 +926,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)
|
||||||
}
|
}
|
||||||
@ -1058,7 +1058,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
|
||||||
}
|
}
|
||||||
@ -1070,7 +1070,7 @@ 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)
|
||||||
}
|
}
|
||||||
@ -1148,7 +1148,7 @@ func _Vagrant_FindTarget_Handler(srv interface{}, ctx context.Context, dec func(
|
|||||||
}
|
}
|
||||||
|
|
||||||
func _Vagrant_ListTargets_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
|
||||||
}
|
}
|
||||||
@ -1160,7 +1160,7 @@ func _Vagrant_ListTargets_Handler(srv interface{}, ctx context.Context, dec func
|
|||||||
FullMethod: "/hashicorp.vagrant.Vagrant/ListTargets",
|
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).ListTargets(ctx, req.(*empty.Empty))
|
return srv.(VagrantServer).ListTargets(ctx, req.(*emptypb.Empty))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
@ -1352,7 +1352,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
|
||||||
}
|
}
|
||||||
@ -1364,7 +1364,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)
|
||||||
}
|
}
|
||||||
@ -1388,7 +1388,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
|
||||||
}
|
}
|
||||||
@ -1413,7 +1413,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
|
||||||
}
|
}
|
||||||
@ -1422,7 +1422,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)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1435,7 +1435,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
|
||||||
}
|
}
|
||||||
@ -1447,7 +1447,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)
|
||||||
}
|
}
|
||||||
@ -1471,7 +1471,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
|
||||||
}
|
}
|
||||||
@ -1483,7 +1483,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)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -507,6 +507,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.sdk.Target.UpdatedAtResponse" do
|
add_message "hashicorp.vagrant.sdk.Target.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.Target.GetUUIDResponse" do
|
||||||
|
optional :uuid, :string, 1
|
||||||
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Target.SetUUIDRequest" do
|
||||||
|
optional :uuid, :string, 1
|
||||||
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Target.Machine" do
|
add_message "hashicorp.vagrant.sdk.Target.Machine" do
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Target.Machine.SetIDRequest" do
|
add_message "hashicorp.vagrant.sdk.Target.Machine.SetIDRequest" do
|
||||||
@ -521,12 +527,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.sdk.Target.Machine.GetStateResponse" do
|
add_message "hashicorp.vagrant.sdk.Target.Machine.GetStateResponse" do
|
||||||
optional :state, :message, 1, "hashicorp.vagrant.sdk.Args.Target.Machine.State"
|
optional :state, :message, 1, "hashicorp.vagrant.sdk.Args.Target.Machine.State"
|
||||||
end
|
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
|
|
||||||
add_message "hashicorp.vagrant.sdk.Target.Machine.ConnectionInfoResponse" do
|
add_message "hashicorp.vagrant.sdk.Target.Machine.ConnectionInfoResponse" do
|
||||||
map :connection_info, :string, :message, 1, "google.protobuf.Any"
|
map :connection_info, :string, :message, 1, "google.protobuf.Any"
|
||||||
end
|
end
|
||||||
@ -563,6 +563,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
add_message "hashicorp.vagrant.sdk.Project.VagrantfileNameResponse" do
|
add_message "hashicorp.vagrant.sdk.Project.VagrantfileNameResponse" do
|
||||||
optional :name, :string, 1
|
optional :name, :string, 1
|
||||||
end
|
end
|
||||||
|
add_message "hashicorp.vagrant.sdk.Project.VagrantfilePathResponse" do
|
||||||
|
optional :path, :string, 1
|
||||||
|
end
|
||||||
add_message "hashicorp.vagrant.sdk.Project.HomeResponse" do
|
add_message "hashicorp.vagrant.sdk.Project.HomeResponse" do
|
||||||
optional :path, :string, 1
|
optional :path, :string, 1
|
||||||
end
|
end
|
||||||
@ -833,13 +836,13 @@ module Hashicorp
|
|||||||
Target::VagrantfileNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.VagrantfileNameResponse").msgclass
|
Target::VagrantfileNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.VagrantfileNameResponse").msgclass
|
||||||
Target::VagrantfilePathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.VagrantfilePathResponse").msgclass
|
Target::VagrantfilePathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.VagrantfilePathResponse").msgclass
|
||||||
Target::UpdatedAtResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.UpdatedAtResponse").msgclass
|
Target::UpdatedAtResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.UpdatedAtResponse").msgclass
|
||||||
|
Target::GetUUIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.GetUUIDResponse").msgclass
|
||||||
|
Target::SetUUIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.SetUUIDRequest").msgclass
|
||||||
Target::Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine").msgclass
|
Target::Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine").msgclass
|
||||||
Target::Machine::SetIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SetIDRequest").msgclass
|
Target::Machine::SetIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SetIDRequest").msgclass
|
||||||
Target::Machine::GetIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.GetIDResponse").msgclass
|
Target::Machine::GetIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.GetIDResponse").msgclass
|
||||||
Target::Machine::SetStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SetStateRequest").msgclass
|
Target::Machine::SetStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SetStateRequest").msgclass
|
||||||
Target::Machine::GetStateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.GetStateResponse").msgclass
|
Target::Machine::GetStateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.GetStateResponse").msgclass
|
||||||
Target::Machine::GetUUIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.GetUUIDResponse").msgclass
|
|
||||||
Target::Machine::SetUUIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SetUUIDRequest").msgclass
|
|
||||||
Target::Machine::ConnectionInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.ConnectionInfoResponse").msgclass
|
Target::Machine::ConnectionInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.ConnectionInfoResponse").msgclass
|
||||||
Target::Machine::UIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.UIDResponse").msgclass
|
Target::Machine::UIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.UIDResponse").msgclass
|
||||||
Target::Machine::SyncedFoldersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SyncedFoldersResponse").msgclass
|
Target::Machine::SyncedFoldersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Target.Machine.SyncedFoldersResponse").msgclass
|
||||||
@ -852,6 +855,7 @@ module Hashicorp
|
|||||||
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::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::VagrantfileNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.VagrantfileNameResponse").msgclass
|
||||||
|
Project::VagrantfilePathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.VagrantfilePathResponse").msgclass
|
||||||
Project::HomeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.HomeResponse").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::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::TmpResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Project.TmpResponse").msgclass
|
||||||
|
|||||||
@ -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
|
||||||
@ -57,7 +57,7 @@ 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
|
||||||
@ -74,7 +74,7 @@ module Hashicorp
|
|||||||
module PluginInfoService
|
module PluginInfoService
|
||||||
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
|
||||||
@ -95,7 +95,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
|
||||||
@ -149,7 +149,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
|
||||||
@ -165,7 +165,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
|
||||||
@ -185,7 +185,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
|
||||||
@ -221,7 +221,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
|
||||||
@ -237,7 +237,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
|
||||||
@ -261,7 +261,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
|
||||||
@ -285,7 +285,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
|
||||||
@ -301,7 +301,7 @@ module Hashicorp
|
|||||||
module BasisService
|
module BasisService
|
||||||
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
|
||||||
@ -320,7 +320,7 @@ 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
|
||||||
@ -337,11 +337,12 @@ module Hashicorp
|
|||||||
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
||||||
rpc :Specialize, ::Google::Protobuf::Any, ::Google::Protobuf::Any
|
rpc :Specialize, ::Google::Protobuf::Any, ::Google::Protobuf::Any
|
||||||
rpc :Provider, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Provider
|
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
|
rpc :UpdatedAt, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::UpdatedAtResponse
|
||||||
rpc :Communicate, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Communicator
|
rpc :Communicate, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Communicator
|
||||||
rpc :Save, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
rpc :Save, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
||||||
|
rpc :SetUUID, ::Hashicorp::Vagrant::Sdk::Target::SetUUIDRequest, ::Google::Protobuf::Empty
|
||||||
|
rpc :GetUUID, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::GetUUIDResponse
|
||||||
|
rpc :Destroy, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
||||||
end
|
end
|
||||||
|
|
||||||
Stub = Service.rpc_stub_class
|
Stub = Service.rpc_stub_class
|
||||||
@ -349,7 +350,7 @@ module Hashicorp
|
|||||||
module TargetMachineService
|
module TargetMachineService
|
||||||
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
|
||||||
@ -367,18 +368,17 @@ module Hashicorp
|
|||||||
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
||||||
rpc :Specialize, ::Google::Protobuf::Any, ::Google::Protobuf::Any
|
rpc :Specialize, ::Google::Protobuf::Any, ::Google::Protobuf::Any
|
||||||
rpc :Provider, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Provider
|
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
|
rpc :UpdatedAt, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::UpdatedAtResponse
|
||||||
rpc :Communicate, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Communicator
|
rpc :Communicate, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Communicator
|
||||||
rpc :Save, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
rpc :Save, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
||||||
|
rpc :SetUUID, ::Hashicorp::Vagrant::Sdk::Target::SetUUIDRequest, ::Google::Protobuf::Empty
|
||||||
|
rpc :GetUUID, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::GetUUIDResponse
|
||||||
|
rpc :Destroy, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
||||||
# Machine specific
|
# Machine specific
|
||||||
rpc :SetID, ::Hashicorp::Vagrant::Sdk::Target::Machine::SetIDRequest, ::Google::Protobuf::Empty
|
rpc :SetID, ::Hashicorp::Vagrant::Sdk::Target::Machine::SetIDRequest, ::Google::Protobuf::Empty
|
||||||
rpc :GetID, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::Machine::GetIDResponse
|
rpc :GetID, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Target::Machine::GetIDResponse
|
||||||
rpc :SetState, ::Hashicorp::Vagrant::Sdk::Target::Machine::SetStateRequest, ::Google::Protobuf::Empty
|
rpc :SetState, ::Hashicorp::Vagrant::Sdk::Target::Machine::SetStateRequest, ::Google::Protobuf::Empty
|
||||||
rpc :GetState, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Target::Machine::State
|
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
|
rpc :Box, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Target::Machine::Box
|
||||||
rpc :Guest, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Guest
|
rpc :Guest, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Guest
|
||||||
rpc :Reload, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
rpc :Reload, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
||||||
@ -395,7 +395,7 @@ 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
|
||||||
@ -407,6 +407,7 @@ module Hashicorp
|
|||||||
rpc :CWD, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::CwdResponse
|
rpc :CWD, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::CwdResponse
|
||||||
rpc :DataDir, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::DataDir::Project
|
rpc :DataDir, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::DataDir::Project
|
||||||
rpc :VagrantfileName, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::VagrantfileNameResponse
|
rpc :VagrantfileName, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::VagrantfileNameResponse
|
||||||
|
rpc :VagrantfilePath, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::VagrantfilePathResponse
|
||||||
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
rpc :UI, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::TerminalUI
|
||||||
rpc :Home, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::HomeResponse
|
rpc :Home, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::HomeResponse
|
||||||
rpc :LocalData, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::LocalDataResponse
|
rpc :LocalData, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Project::LocalDataResponse
|
||||||
@ -426,7 +427,7 @@ 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
|
||||||
@ -447,7 +448,7 @@ 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
|
||||||
|
|||||||
@ -56,6 +56,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :metadata, :message, 9, "hashicorp.vagrant.sdk.Args.MetadataSet"
|
optional :metadata, :message, 9, "hashicorp.vagrant.sdk.Args.MetadataSet"
|
||||||
optional :configuration, :message, 10, "hashicorp.vagrant.sdk.Vagrantfile.MachineConfig"
|
optional :configuration, :message, 10, "hashicorp.vagrant.sdk.Vagrantfile.MachineConfig"
|
||||||
optional :record, :message, 11, "google.protobuf.Any"
|
optional :record, :message, 11, "google.protobuf.Any"
|
||||||
|
optional :provider, :string, 12
|
||||||
optional :remote_enabled, :bool, 100
|
optional :remote_enabled, :bool, 100
|
||||||
optional :data_source, :message, 101, "hashicorp.vagrant.Job.DataSource"
|
optional :data_source, :message, 101, "hashicorp.vagrant.Job.DataSource"
|
||||||
end
|
end
|
||||||
@ -64,8 +65,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||||||
optional :box, :message, 7, "hashicorp.vagrant.sdk.Args.Target.Machine.Box"
|
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.Target.Machine.State"
|
optional :state, :message, 10, "hashicorp.vagrant.sdk.Args.Target.Machine.State"
|
||||||
optional :provider, :string, 11
|
|
||||||
optional :physical_state, :enum, 50, "hashicorp.vagrant.Operation.PhysicalState"
|
|
||||||
end
|
end
|
||||||
add_message "hashicorp.vagrant.Vagrantfile" do
|
add_message "hashicorp.vagrant.Vagrantfile" do
|
||||||
optional :resource_id, :string, 1
|
optional :resource_id, :string, 1
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user