pulumi/sdk/proto/go/errors.pb.go
joeduffy 22584e7e37 Make some resource model changes
This commit changes two things about our resource model:

* Stop performing Pulumi Engine-side diffing of resource state.
  Instead, we defer to the resource plugins themselves to determine
  whether a change was made and, if so, the extent of it.  This
  manifests as a simple change to the Diff function; it is done in
  a backwards compatible way so that we continue with legacy diffing
  for existing resource provider plugins.

* Add a Read RPC method for resource providers.  It simply takes a
  resource's ID and URN, plus an optional bag of further qualifying
  state, and it returns the current property state as read back from
  the actual live environment.  Note that the optional bag of state
  must at least include enough additional properties for resources
  wherein the ID is insufficient for the provider to perform a lookup.
  It may, however, include the full bag of prior state, for instance
  in the case of a refresh operation.

This is part of pulumi/pulumi#1108.
2018-04-05 08:14:25 -07:00

56 lines
1.8 KiB
Go

// Code generated by protoc-gen-go.
// source: errors.proto
// DO NOT EDIT!
package pulumirpc
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type ErrorCause struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
StackTrace string `protobuf:"bytes,2,opt,name=stackTrace" json:"stackTrace,omitempty"`
}
func (m *ErrorCause) Reset() { *m = ErrorCause{} }
func (m *ErrorCause) String() string { return proto.CompactTextString(m) }
func (*ErrorCause) ProtoMessage() {}
func (*ErrorCause) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *ErrorCause) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *ErrorCause) GetStackTrace() string {
if m != nil {
return m.StackTrace
}
return ""
}
func init() {
proto.RegisterType((*ErrorCause)(nil), "pulumirpc.ErrorCause")
}
func init() { proto.RegisterFile("errors.proto", fileDescriptor2) }
var fileDescriptor2 = []byte{
// 106 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0x2d, 0x2a, 0xca,
0x2f, 0x2a, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2c, 0x28, 0xcd, 0x29, 0xcd, 0xcd,
0x2c, 0x2a, 0x48, 0x56, 0x72, 0xe3, 0xe2, 0x72, 0x05, 0x49, 0x39, 0x27, 0x96, 0x16, 0xa7, 0x0a,
0x49, 0x70, 0xb1, 0xe7, 0xa6, 0x16, 0x17, 0x27, 0xa6, 0xa7, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70,
0x06, 0xc1, 0xb8, 0x42, 0x72, 0x5c, 0x5c, 0xc5, 0x25, 0x89, 0xc9, 0xd9, 0x21, 0x45, 0x89, 0xc9,
0xa9, 0x12, 0x4c, 0x60, 0x49, 0x24, 0x91, 0x24, 0x36, 0xb0, 0xc9, 0xc6, 0x80, 0x00, 0x00, 0x00,
0xff, 0xff, 0xbe, 0x60, 0x19, 0xf9, 0x69, 0x00, 0x00, 0x00,
}