Regen proto files.
This commit is contained in:
parent
401ecb15a9
commit
ee7824deb6
|
@ -16,7 +16,7 @@
|
|||
// limitations under the License.
|
||||
//
|
||||
'use strict';
|
||||
var grpc = require('grpc');
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var runtime_pb = require('./runtime_pb.js');
|
||||
var plugin_pb = require('./plugin_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// source: runtime.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
|
@ -12,11 +13,13 @@ var goog = jspb;
|
|||
var proto = { pulumirpc: {} }, global = proto;
|
||||
|
||||
var plugin_pb = require('./plugin_pb.js');
|
||||
goog.object.extend(proto, plugin_pb);
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
goog.object.extend(proto, google_protobuf_empty_pb);
|
||||
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
||||
goog.object.extend(proto, google_protobuf_struct_pb);
|
||||
goog.exportSymbol('proto.pulumirpc.ConstructRequest', null, global);
|
||||
goog.exportSymbol('proto.pulumirpc.ConstructResponse', null, global);
|
||||
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
|
@ -32,19 +35,47 @@ proto.pulumirpc.ConstructRequest = function(opt_data) {
|
|||
};
|
||||
goog.inherits(proto.pulumirpc.ConstructRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.displayName = 'proto.pulumirpc.ConstructRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.pulumirpc.ConstructResponse = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.pulumirpc.ConstructResponse, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.pulumirpc.ConstructResponse.displayName = 'proto.pulumirpc.ConstructResponse';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto suitable for use in Soy templates.
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
||||
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
||||
* for transitional soy proto support: http://goto/soy-param-migration
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
|
@ -54,8 +85,8 @@ proto.pulumirpc.ConstructRequest.prototype.toObject = function(opt_includeInstan
|
|||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
||||
* instance for transitional soy proto support:
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.pulumirpc.ConstructRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
|
@ -204,9 +235,12 @@ proto.pulumirpc.ConstructRequest.prototype.getLibrarypath = function() {
|
|||
};
|
||||
|
||||
|
||||
/** @param {string} value */
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.setLibrarypath = function(value) {
|
||||
jspb.Message.setProto3StringField(this, 1, value);
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
|
@ -219,9 +253,12 @@ proto.pulumirpc.ConstructRequest.prototype.getResource = function() {
|
|||
};
|
||||
|
||||
|
||||
/** @param {string} value */
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.setResource = function(value) {
|
||||
jspb.Message.setProto3StringField(this, 2, value);
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
|
@ -234,9 +271,12 @@ proto.pulumirpc.ConstructRequest.prototype.getName = function() {
|
|||
};
|
||||
|
||||
|
||||
/** @param {string} value */
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.setName = function(value) {
|
||||
jspb.Message.setProto3StringField(this, 3, value);
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
|
@ -250,20 +290,27 @@ proto.pulumirpc.ConstructRequest.prototype.getArgs = function() {
|
|||
};
|
||||
|
||||
|
||||
/** @param {?proto.google.protobuf.Struct|undefined} value */
|
||||
/**
|
||||
* @param {?proto.google.protobuf.Struct|undefined} value
|
||||
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.setArgs = function(value) {
|
||||
jspb.Message.setWrapperField(this, 4, value);
|
||||
return jspb.Message.setWrapperField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.clearArgs = function() {
|
||||
this.setArgs(undefined);
|
||||
return this.setArgs(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {!boolean}
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.hasArgs = function() {
|
||||
return jspb.Message.getField(this, 4) != null;
|
||||
|
@ -280,20 +327,27 @@ proto.pulumirpc.ConstructRequest.prototype.getOpts = function() {
|
|||
};
|
||||
|
||||
|
||||
/** @param {?proto.google.protobuf.Struct|undefined} value */
|
||||
/**
|
||||
* @param {?proto.google.protobuf.Struct|undefined} value
|
||||
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.setOpts = function(value) {
|
||||
jspb.Message.setWrapperField(this, 5, value);
|
||||
return jspb.Message.setWrapperField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.clearOpts = function() {
|
||||
this.setOpts(undefined);
|
||||
return this.setOpts(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {!boolean}
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.pulumirpc.ConstructRequest.prototype.hasOpts = function() {
|
||||
return jspb.Message.getField(this, 5) != null;
|
||||
|
@ -301,34 +355,19 @@ proto.pulumirpc.ConstructRequest.prototype.hasOpts = function() {
|
|||
|
||||
|
||||
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.pulumirpc.ConstructResponse = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.pulumirpc.ConstructResponse, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
proto.pulumirpc.ConstructResponse.displayName = 'proto.pulumirpc.ConstructResponse';
|
||||
}
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto suitable for use in Soy templates.
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
||||
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
||||
* for transitional soy proto support: http://goto/soy-param-migration
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.pulumirpc.ConstructResponse.prototype.toObject = function(opt_includeInstance) {
|
||||
|
@ -338,8 +377,8 @@ proto.pulumirpc.ConstructResponse.prototype.toObject = function(opt_includeInsta
|
|||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
||||
* instance for transitional soy proto support:
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.pulumirpc.ConstructResponse} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
|
@ -439,20 +478,27 @@ proto.pulumirpc.ConstructResponse.prototype.getOuts = function() {
|
|||
};
|
||||
|
||||
|
||||
/** @param {?proto.google.protobuf.Struct|undefined} value */
|
||||
/**
|
||||
* @param {?proto.google.protobuf.Struct|undefined} value
|
||||
* @return {!proto.pulumirpc.ConstructResponse} returns this
|
||||
*/
|
||||
proto.pulumirpc.ConstructResponse.prototype.setOuts = function(value) {
|
||||
jspb.Message.setWrapperField(this, 1, value);
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.pulumirpc.ConstructResponse} returns this
|
||||
*/
|
||||
proto.pulumirpc.ConstructResponse.prototype.clearOuts = function() {
|
||||
this.setOuts(undefined);
|
||||
return this.setOuts(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {!boolean}
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.pulumirpc.ConstructResponse.prototype.hasOuts = function() {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import * as child_process from "child_process";
|
||||
import * as grpc from "grpc";
|
||||
import * as readline from "readline";
|
||||
import * as runtime from "../runtime";
|
||||
import * as settings from "../runtime/settings";
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import * as grpc from "grpc";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import * as runtime from "../../runtime";
|
||||
|
||||
//tslint:disable
|
||||
|
|
|
@ -3,15 +3,16 @@
|
|||
|
||||
package pulumirpc
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "github.com/golang/protobuf/ptypes/empty"
|
||||
import _struct "github.com/golang/protobuf/ptypes/struct"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "github.com/golang/protobuf/ptypes/empty"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
grpc "google.golang.org/grpc"
|
||||
codes "google.golang.org/grpc/codes"
|
||||
status "google.golang.org/grpc/status"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
|
@ -23,14 +24,14 @@ var _ = math.Inf
|
|||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||
|
||||
type ConstructRequest struct {
|
||||
LibraryPath string `protobuf:"bytes,1,opt,name=libraryPath" json:"libraryPath,omitempty"`
|
||||
Resource string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
|
||||
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
|
||||
Args *_struct.Struct `protobuf:"bytes,4,opt,name=args" json:"args,omitempty"`
|
||||
Opts *_struct.Struct `protobuf:"bytes,5,opt,name=opts" json:"opts,omitempty"`
|
||||
LibraryPath string `protobuf:"bytes,1,opt,name=libraryPath,proto3" json:"libraryPath,omitempty"`
|
||||
Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
|
||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Args *_struct.Struct `protobuf:"bytes,4,opt,name=args,proto3" json:"args,omitempty"`
|
||||
Opts *_struct.Struct `protobuf:"bytes,5,opt,name=opts,proto3" json:"opts,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
|
@ -40,16 +41,17 @@ func (m *ConstructRequest) Reset() { *m = ConstructRequest{} }
|
|||
func (m *ConstructRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConstructRequest) ProtoMessage() {}
|
||||
func (*ConstructRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_runtime_775b1abeaa5bed1a, []int{0}
|
||||
return fileDescriptor_86e2dd377c869464, []int{0}
|
||||
}
|
||||
|
||||
func (m *ConstructRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConstructRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConstructRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConstructRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConstructRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConstructRequest.Merge(dst, src)
|
||||
func (m *ConstructRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConstructRequest.Merge(m, src)
|
||||
}
|
||||
func (m *ConstructRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ConstructRequest.Size(m)
|
||||
|
@ -96,7 +98,7 @@ func (m *ConstructRequest) GetOpts() *_struct.Struct {
|
|||
}
|
||||
|
||||
type ConstructResponse struct {
|
||||
Outs *_struct.Struct `protobuf:"bytes,1,opt,name=outs" json:"outs,omitempty"`
|
||||
Outs *_struct.Struct `protobuf:"bytes,1,opt,name=outs,proto3" json:"outs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
|
@ -106,16 +108,17 @@ func (m *ConstructResponse) Reset() { *m = ConstructResponse{} }
|
|||
func (m *ConstructResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConstructResponse) ProtoMessage() {}
|
||||
func (*ConstructResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_runtime_775b1abeaa5bed1a, []int{1}
|
||||
return fileDescriptor_86e2dd377c869464, []int{1}
|
||||
}
|
||||
|
||||
func (m *ConstructResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConstructResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConstructResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConstructResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConstructResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConstructResponse.Merge(dst, src)
|
||||
func (m *ConstructResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConstructResponse.Merge(m, src)
|
||||
}
|
||||
func (m *ConstructResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ConstructResponse.Size(m)
|
||||
|
@ -138,43 +141,73 @@ func init() {
|
|||
proto.RegisterType((*ConstructResponse)(nil), "pulumirpc.ConstructResponse")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("runtime.proto", fileDescriptor_86e2dd377c869464) }
|
||||
|
||||
var fileDescriptor_86e2dd377c869464 = []byte{
|
||||
// 256 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xcd, 0x4a, 0xc4, 0x30,
|
||||
0x1c, 0xc4, 0xad, 0xd6, 0x8f, 0x66, 0x15, 0x34, 0x17, 0x43, 0x77, 0x0f, 0xa5, 0xa7, 0x05, 0x21,
|
||||
0x0b, 0xeb, 0x0b, 0x08, 0x5e, 0x3c, 0x4a, 0xf7, 0x09, 0xda, 0x12, 0x6b, 0xa1, 0x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 0xb8, 0xb3, 0x7c, 0x11, 0xd9, 0x74, 0x4c,
|
||||
0x2e, 0xf5, 0xb4, 0xb7, 0x9e, 0x4f, 0x94, 0xaf, 0x7e, 0x87, 0x31, 0xbf, 0x3c, 0x69, 0x2e, 0x42,
|
||||
0xd6, 0xe3, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x96, 0x81, 0xd7, 0xc9, 0xc3, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
var _ grpc.ClientConnInterface
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for Runtime service
|
||||
const _ = grpc.SupportPackageIsVersion6
|
||||
|
||||
// RuntimeClient is the client API for Runtime service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type RuntimeClient interface {
|
||||
Construct(ctx context.Context, in *ConstructRequest, opts ...grpc.CallOption) (*ConstructResponse, error)
|
||||
}
|
||||
|
||||
type runtimeClient struct {
|
||||
cc *grpc.ClientConn
|
||||
cc grpc.ClientConnInterface
|
||||
}
|
||||
|
||||
func NewRuntimeClient(cc *grpc.ClientConn) RuntimeClient {
|
||||
func NewRuntimeClient(cc grpc.ClientConnInterface) RuntimeClient {
|
||||
return &runtimeClient{cc}
|
||||
}
|
||||
|
||||
func (c *runtimeClient) Construct(ctx context.Context, in *ConstructRequest, opts ...grpc.CallOption) (*ConstructResponse, error) {
|
||||
out := new(ConstructResponse)
|
||||
err := grpc.Invoke(ctx, "/pulumirpc.Runtime/Construct", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/pulumirpc.Runtime/Construct", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for Runtime service
|
||||
|
||||
// RuntimeServer is the server API for Runtime service.
|
||||
type RuntimeServer interface {
|
||||
Construct(context.Context, *ConstructRequest) (*ConstructResponse, error)
|
||||
}
|
||||
|
||||
// UnimplementedRuntimeServer can be embedded to have forward compatible implementations.
|
||||
type UnimplementedRuntimeServer struct {
|
||||
}
|
||||
|
||||
func (*UnimplementedRuntimeServer) Construct(ctx context.Context, req *ConstructRequest) (*ConstructResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Construct not implemented")
|
||||
}
|
||||
|
||||
func RegisterRuntimeServer(s *grpc.Server, srv RuntimeServer) {
|
||||
s.RegisterService(&_Runtime_serviceDesc, srv)
|
||||
}
|
||||
|
@ -209,25 +242,3 @@ var _Runtime_serviceDesc = grpc.ServiceDesc{
|
|||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "runtime.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("runtime.proto", fileDescriptor_runtime_775b1abeaa5bed1a) }
|
||||
|
||||
var fileDescriptor_runtime_775b1abeaa5bed1a = []byte{
|
||||
// 256 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x90, 0xcd, 0x4a, 0xc4, 0x30,
|
||||
0x1c, 0xc4, 0xad, 0xd6, 0x8f, 0x66, 0x15, 0x34, 0x17, 0x43, 0x77, 0x0f, 0xa5, 0xa7, 0x05, 0x21,
|
||||
0x0b, 0xeb, 0x0b, 0x08, 0x5e, 0x3c, 0x4a, 0xf7, 0x09, 0xda, 0x12, 0x6b, 0xa1, 0x4d, 0xe2, 0xff,
|
||||
0xe3, 0xb0, 0x2f, 0xe7, 0xb3, 0xc9, 0x26, 0x5a, 0x96, 0x22, 0x7a, 0x4b, 0xe6, 0x37, 0xfc, 0x67,
|
||||
0x18, 0x71, 0x03, 0x6c, 0xa9, 0x1f, 0x8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, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x96, 0x81, 0xd7, 0xc9, 0xc3, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: runtime.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
|
@ -23,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
|
|||
package='pulumirpc',
|
||||
syntax='proto3',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n\rruntime.proto\x12\tpulumirpc\x1a\x0cplugin.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x95\x01\n\x10\x43onstructRequest\x12\x13\n\x0blibraryPath\x18\x01 \x01(\t\x12\x10\n\x08resource\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12%\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12%\n\x04opts\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\":\n\x11\x43onstructResponse\x12%\n\x04outs\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct2S\n\x07Runtime\x12H\n\tConstruct\x12\x1b.pulumirpc.ConstructRequest\x1a\x1c.pulumirpc.ConstructResponse\"\x00\x62\x06proto3')
|
||||
serialized_pb=b'\n\rruntime.proto\x12\tpulumirpc\x1a\x0cplugin.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x95\x01\n\x10\x43onstructRequest\x12\x13\n\x0blibraryPath\x18\x01 \x01(\t\x12\x10\n\x08resource\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12%\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12%\n\x04opts\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\":\n\x11\x43onstructResponse\x12%\n\x04outs\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct2S\n\x07Runtime\x12H\n\tConstruct\x12\x1b.pulumirpc.ConstructRequest\x1a\x1c.pulumirpc.ConstructResponse\"\x00\x62\x06proto3'
|
||||
,
|
||||
dependencies=[plugin__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,])
|
||||
|
||||
|
@ -40,21 +38,21 @@ _CONSTRUCTREQUEST = _descriptor.Descriptor(
|
|||
_descriptor.FieldDescriptor(
|
||||
name='libraryPath', full_name='pulumirpc.ConstructRequest.libraryPath', index=0,
|
||||
number=1, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
has_default_value=False, default_value=b"".decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='resource', full_name='pulumirpc.ConstructRequest.resource', index=1,
|
||||
number=2, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
has_default_value=False, default_value=b"".decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='name', full_name='pulumirpc.ConstructRequest.name', index=2,
|
||||
number=3, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
has_default_value=False, default_value=b"".decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
|
|
Loading…
Reference in a new issue