mirror of https://github.com/pulumi/pulumi.git
690 lines
24 KiB
Go
690 lines
24 KiB
Go
// Copyright 2016-2018, Pulumi Corporation.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.26.0
|
|
// protoc v3.20.1
|
|
// source: pulumi/engine/engine.proto
|
|
|
|
package engine
|
|
|
|
import (
|
|
context "context"
|
|
_go "github.com/pulumi/pulumi/sdk/v3/proto/go"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
_ "google.golang.org/protobuf/types/known/emptypb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type AboutRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Stack string `protobuf:"bytes,1,opt,name=stack,proto3" json:"stack,omitempty"`
|
|
TransitiveDependencies bool `protobuf:"varint,2,opt,name=transitiveDependencies,proto3" json:"transitiveDependencies,omitempty"`
|
|
}
|
|
|
|
func (x *AboutRequest) Reset() {
|
|
*x = AboutRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AboutRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AboutRequest) ProtoMessage() {}
|
|
|
|
func (x *AboutRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AboutRequest.ProtoReflect.Descriptor instead.
|
|
func (*AboutRequest) Descriptor() ([]byte, []int) {
|
|
return file_pulumi_engine_engine_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *AboutRequest) GetStack() string {
|
|
if x != nil {
|
|
return x.Stack
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutRequest) GetTransitiveDependencies() bool {
|
|
if x != nil {
|
|
return x.TransitiveDependencies
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AboutBackend struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
|
|
Organizations []string `protobuf:"bytes,4,rep,name=organizations,proto3" json:"organizations,omitempty"`
|
|
}
|
|
|
|
func (x *AboutBackend) Reset() {
|
|
*x = AboutBackend{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AboutBackend) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AboutBackend) ProtoMessage() {}
|
|
|
|
func (x *AboutBackend) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AboutBackend.ProtoReflect.Descriptor instead.
|
|
func (*AboutBackend) Descriptor() ([]byte, []int) {
|
|
return file_pulumi_engine_engine_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AboutBackend) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutBackend) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutBackend) GetUser() string {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutBackend) GetOrganizations() []string {
|
|
if x != nil {
|
|
return x.Organizations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AboutState struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`
|
|
}
|
|
|
|
func (x *AboutState) Reset() {
|
|
*x = AboutState{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AboutState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AboutState) ProtoMessage() {}
|
|
|
|
func (x *AboutState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AboutState.ProtoReflect.Descriptor instead.
|
|
func (*AboutState) Descriptor() ([]byte, []int) {
|
|
return file_pulumi_engine_engine_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *AboutState) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutState) GetUrn() string {
|
|
if x != nil {
|
|
return x.Urn
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AboutStack struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Resources []*AboutState `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
|
|
PendingOperations []*AboutState `protobuf:"bytes,3,rep,name=pendingOperations,proto3" json:"pendingOperations,omitempty"`
|
|
}
|
|
|
|
func (x *AboutStack) Reset() {
|
|
*x = AboutStack{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AboutStack) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AboutStack) ProtoMessage() {}
|
|
|
|
func (x *AboutStack) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AboutStack.ProtoReflect.Descriptor instead.
|
|
func (*AboutStack) Descriptor() ([]byte, []int) {
|
|
return file_pulumi_engine_engine_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *AboutStack) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutStack) GetResources() []*AboutState {
|
|
if x != nil {
|
|
return x.Resources
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AboutStack) GetPendingOperations() []*AboutState {
|
|
if x != nil {
|
|
return x.PendingOperations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AboutResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
GoVersion string `protobuf:"bytes,2,opt,name=goVersion,proto3" json:"goVersion,omitempty"`
|
|
GoCompiler string `protobuf:"bytes,3,opt,name=goCompiler,proto3" json:"goCompiler,omitempty"`
|
|
Plugins []*_go.PluginDependency `protobuf:"bytes,4,rep,name=plugins,proto3" json:"plugins,omitempty"`
|
|
Runtime string `protobuf:"bytes,5,opt,name=runtime,proto3" json:"runtime,omitempty"`
|
|
Language *_go.AboutResponse `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"`
|
|
Dependencies []*_go.DependencyInfo `protobuf:"bytes,7,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
|
|
Backend *AboutBackend `protobuf:"bytes,8,opt,name=backend,proto3" json:"backend,omitempty"`
|
|
Stack *AboutStack `protobuf:"bytes,9,opt,name=stack,proto3" json:"stack,omitempty"`
|
|
Errors []string `protobuf:"bytes,10,rep,name=errors,proto3" json:"errors,omitempty"`
|
|
}
|
|
|
|
func (x *AboutResponse) Reset() {
|
|
*x = AboutResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AboutResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AboutResponse) ProtoMessage() {}
|
|
|
|
func (x *AboutResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pulumi_engine_engine_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AboutResponse.ProtoReflect.Descriptor instead.
|
|
func (*AboutResponse) Descriptor() ([]byte, []int) {
|
|
return file_pulumi_engine_engine_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *AboutResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutResponse) GetGoVersion() string {
|
|
if x != nil {
|
|
return x.GoVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutResponse) GetGoCompiler() string {
|
|
if x != nil {
|
|
return x.GoCompiler
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutResponse) GetPlugins() []*_go.PluginDependency {
|
|
if x != nil {
|
|
return x.Plugins
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AboutResponse) GetRuntime() string {
|
|
if x != nil {
|
|
return x.Runtime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AboutResponse) GetLanguage() *_go.AboutResponse {
|
|
if x != nil {
|
|
return x.Language
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AboutResponse) GetDependencies() []*_go.DependencyInfo {
|
|
if x != nil {
|
|
return x.Dependencies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AboutResponse) GetBackend() *AboutBackend {
|
|
if x != nil {
|
|
return x.Backend
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AboutResponse) GetStack() *AboutStack {
|
|
if x != nil {
|
|
return x.Stack
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AboutResponse) GetErrors() []string {
|
|
if x != nil {
|
|
return x.Errors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_pulumi_engine_engine_proto protoreflect.FileDescriptor
|
|
|
|
var file_pulumi_engine_engine_proto_rawDesc = []byte{
|
|
0x0a, 0x1a, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f,
|
|
0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x70, 0x75,
|
|
0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x1a, 0x1b,
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
|
|
0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x70, 0x75, 0x6c,
|
|
0x75, 0x6d, 0x69, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x1a, 0x15, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x2f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x0c, 0x41, 0x62, 0x6f, 0x75, 0x74,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x36, 0x0a,
|
|
0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e,
|
|
0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x74,
|
|
0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65,
|
|
0x6e, 0x63, 0x69, 0x65, 0x73, 0x22, 0x6e, 0x0a, 0x0c, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x42, 0x61,
|
|
0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x75,
|
|
0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12,
|
|
0x24, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x32, 0x0a, 0x0a, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x53, 0x74,
|
|
0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, 0x22, 0xa8, 0x01, 0x0a, 0x0a, 0x41, 0x62,
|
|
0x6f, 0x75, 0x74, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09,
|
|
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x67, 0x69,
|
|
0x6e, 0x65, 0x2e, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x72,
|
|
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x70, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e,
|
|
0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x53, 0x74, 0x61, 0x74,
|
|
0x65, 0x52, 0x11, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb3, 0x03, 0x0a, 0x0d, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x67, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e,
|
|
0x0a, 0x0a, 0x67, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0a, 0x67, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x35,
|
|
0x0a, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x1b, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6c, 0x75, 0x67,
|
|
0x69, 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x07, 0x70, 0x6c,
|
|
0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12,
|
|
0x34, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x18, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x62,
|
|
0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x6c, 0x61, 0x6e,
|
|
0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65,
|
|
0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x75,
|
|
0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,
|
|
0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,
|
|
0x63, 0x69, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70,
|
|
0x63, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x42, 0x61,
|
|
0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x32,
|
|
0x0a, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
|
|
0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
|
|
0x2e, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x05, 0x73, 0x74, 0x61,
|
|
0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03,
|
|
0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x32, 0x54, 0x0a, 0x06, 0x45, 0x6e,
|
|
0x67, 0x69, 0x6e, 0x65, 0x12, 0x4a, 0x0a, 0x05, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x2e,
|
|
0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
|
|
0x2e, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
|
|
0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
|
|
0x2e, 0x41, 0x62, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
|
|
0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70,
|
|
0x75, 0x6c, 0x75, 0x6d, 0x69, 0x2f, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x2f, 0x73, 0x64, 0x6b,
|
|
0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x6e, 0x67,
|
|
0x69, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_pulumi_engine_engine_proto_rawDescOnce sync.Once
|
|
file_pulumi_engine_engine_proto_rawDescData = file_pulumi_engine_engine_proto_rawDesc
|
|
)
|
|
|
|
func file_pulumi_engine_engine_proto_rawDescGZIP() []byte {
|
|
file_pulumi_engine_engine_proto_rawDescOnce.Do(func() {
|
|
file_pulumi_engine_engine_proto_rawDescData = protoimpl.X.CompressGZIP(file_pulumi_engine_engine_proto_rawDescData)
|
|
})
|
|
return file_pulumi_engine_engine_proto_rawDescData
|
|
}
|
|
|
|
var file_pulumi_engine_engine_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
var file_pulumi_engine_engine_proto_goTypes = []interface{}{
|
|
(*AboutRequest)(nil), // 0: pulumirpc.engine.AboutRequest
|
|
(*AboutBackend)(nil), // 1: pulumirpc.engine.AboutBackend
|
|
(*AboutState)(nil), // 2: pulumirpc.engine.AboutState
|
|
(*AboutStack)(nil), // 3: pulumirpc.engine.AboutStack
|
|
(*AboutResponse)(nil), // 4: pulumirpc.engine.AboutResponse
|
|
(*_go.PluginDependency)(nil), // 5: pulumirpc.PluginDependency
|
|
(*_go.AboutResponse)(nil), // 6: pulumirpc.AboutResponse
|
|
(*_go.DependencyInfo)(nil), // 7: pulumirpc.DependencyInfo
|
|
}
|
|
var file_pulumi_engine_engine_proto_depIdxs = []int32{
|
|
2, // 0: pulumirpc.engine.AboutStack.resources:type_name -> pulumirpc.engine.AboutState
|
|
2, // 1: pulumirpc.engine.AboutStack.pendingOperations:type_name -> pulumirpc.engine.AboutState
|
|
5, // 2: pulumirpc.engine.AboutResponse.plugins:type_name -> pulumirpc.PluginDependency
|
|
6, // 3: pulumirpc.engine.AboutResponse.language:type_name -> pulumirpc.AboutResponse
|
|
7, // 4: pulumirpc.engine.AboutResponse.dependencies:type_name -> pulumirpc.DependencyInfo
|
|
1, // 5: pulumirpc.engine.AboutResponse.backend:type_name -> pulumirpc.engine.AboutBackend
|
|
3, // 6: pulumirpc.engine.AboutResponse.stack:type_name -> pulumirpc.engine.AboutStack
|
|
0, // 7: pulumirpc.engine.Engine.About:input_type -> pulumirpc.engine.AboutRequest
|
|
4, // 8: pulumirpc.engine.Engine.About:output_type -> pulumirpc.engine.AboutResponse
|
|
8, // [8:9] is the sub-list for method output_type
|
|
7, // [7:8] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_pulumi_engine_engine_proto_init() }
|
|
func file_pulumi_engine_engine_proto_init() {
|
|
if File_pulumi_engine_engine_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_pulumi_engine_engine_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AboutRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pulumi_engine_engine_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AboutBackend); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pulumi_engine_engine_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AboutState); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pulumi_engine_engine_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AboutStack); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pulumi_engine_engine_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AboutResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_pulumi_engine_engine_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 5,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_pulumi_engine_engine_proto_goTypes,
|
|
DependencyIndexes: file_pulumi_engine_engine_proto_depIdxs,
|
|
MessageInfos: file_pulumi_engine_engine_proto_msgTypes,
|
|
}.Build()
|
|
File_pulumi_engine_engine_proto = out.File
|
|
file_pulumi_engine_engine_proto_rawDesc = nil
|
|
file_pulumi_engine_engine_proto_goTypes = nil
|
|
file_pulumi_engine_engine_proto_depIdxs = nil
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
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.SupportPackageIsVersion6
|
|
|
|
// EngineClient is the client API for Engine service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type EngineClient interface {
|
|
// About returns information about the pulumi engine, and the current workspace.
|
|
About(ctx context.Context, in *AboutRequest, opts ...grpc.CallOption) (*AboutResponse, error)
|
|
}
|
|
|
|
type engineClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewEngineClient(cc grpc.ClientConnInterface) EngineClient {
|
|
return &engineClient{cc}
|
|
}
|
|
|
|
func (c *engineClient) About(ctx context.Context, in *AboutRequest, opts ...grpc.CallOption) (*AboutResponse, error) {
|
|
out := new(AboutResponse)
|
|
err := c.cc.Invoke(ctx, "/pulumirpc.engine.Engine/About", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// EngineServer is the server API for Engine service.
|
|
type EngineServer interface {
|
|
// About returns information about the pulumi engine, and the current workspace.
|
|
About(context.Context, *AboutRequest) (*AboutResponse, error)
|
|
}
|
|
|
|
// UnimplementedEngineServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedEngineServer struct {
|
|
}
|
|
|
|
func (*UnimplementedEngineServer) About(context.Context, *AboutRequest) (*AboutResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method About not implemented")
|
|
}
|
|
|
|
func RegisterEngineServer(s *grpc.Server, srv EngineServer) {
|
|
s.RegisterService(&_Engine_serviceDesc, srv)
|
|
}
|
|
|
|
func _Engine_About_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AboutRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EngineServer).About(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/pulumirpc.engine.Engine/About",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EngineServer).About(ctx, req.(*AboutRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _Engine_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "pulumirpc.engine.Engine",
|
|
HandlerType: (*EngineServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "About",
|
|
Handler: _Engine_About_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "pulumi/engine/engine.proto",
|
|
}
|