pulumirpc

package
v0.16.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DiffResponse_DiffChanges_name = map[int32]string{
	0: "DIFF_UNKNOWN",
	1: "DIFF_NONE",
	2: "DIFF_SOME",
}
View Source
var DiffResponse_DiffChanges_value = map[string]int32{
	"DIFF_UNKNOWN": 0,
	"DIFF_NONE":    1,
	"DIFF_SOME":    2,
}
View Source
var LogSeverity_name = map[int32]string{
	0: "DEBUG",
	1: "INFO",
	2: "WARNING",
	3: "ERROR",
}
View Source
var LogSeverity_value = map[string]int32{
	"DEBUG":   0,
	"INFO":    1,
	"WARNING": 2,
	"ERROR":   3,
}

Functions

func RegisterAnalyzerServer

func RegisterAnalyzerServer(s *grpc.Server, srv AnalyzerServer)

func RegisterEngineServer

func RegisterEngineServer(s *grpc.Server, srv EngineServer)

func RegisterLanguageRuntimeServer

func RegisterLanguageRuntimeServer(s *grpc.Server, srv LanguageRuntimeServer)

func RegisterResourceMonitorServer

func RegisterResourceMonitorServer(s *grpc.Server, srv ResourceMonitorServer)

func RegisterResourceProviderServer

func RegisterResourceProviderServer(s *grpc.Server, srv ResourceProviderServer)

Types

type AnalyzeFailure

type AnalyzeFailure struct {
	Property             string   `protobuf:"bytes,1,opt,name=property" json:"property,omitempty"`
	Reason               string   `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AnalyzeFailure) Descriptor

func (*AnalyzeFailure) Descriptor() ([]byte, []int)

func (*AnalyzeFailure) GetProperty

func (m *AnalyzeFailure) GetProperty() string

func (*AnalyzeFailure) GetReason

func (m *AnalyzeFailure) GetReason() string

func (*AnalyzeFailure) ProtoMessage

func (*AnalyzeFailure) ProtoMessage()

func (*AnalyzeFailure) Reset

func (m *AnalyzeFailure) Reset()

func (*AnalyzeFailure) String

func (m *AnalyzeFailure) String() string

func (*AnalyzeFailure) XXX_DiscardUnknown added in v0.14.3

func (m *AnalyzeFailure) XXX_DiscardUnknown()

func (*AnalyzeFailure) XXX_Marshal added in v0.14.3

func (m *AnalyzeFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeFailure) XXX_Merge added in v0.14.3

func (dst *AnalyzeFailure) XXX_Merge(src proto.Message)

func (*AnalyzeFailure) XXX_Size added in v0.14.3

func (m *AnalyzeFailure) XXX_Size() int

func (*AnalyzeFailure) XXX_Unmarshal added in v0.14.3

func (m *AnalyzeFailure) XXX_Unmarshal(b []byte) error

type AnalyzeRequest

type AnalyzeRequest struct {
	Type                 string          `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AnalyzeRequest) Descriptor

func (*AnalyzeRequest) Descriptor() ([]byte, []int)

func (*AnalyzeRequest) GetProperties

func (m *AnalyzeRequest) GetProperties() *_struct.Struct

func (*AnalyzeRequest) GetType

func (m *AnalyzeRequest) GetType() string

func (*AnalyzeRequest) ProtoMessage

func (*AnalyzeRequest) ProtoMessage()

func (*AnalyzeRequest) Reset

func (m *AnalyzeRequest) Reset()

func (*AnalyzeRequest) String

func (m *AnalyzeRequest) String() string

func (*AnalyzeRequest) XXX_DiscardUnknown added in v0.14.3

func (m *AnalyzeRequest) XXX_DiscardUnknown()

func (*AnalyzeRequest) XXX_Marshal added in v0.14.3

func (m *AnalyzeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeRequest) XXX_Merge added in v0.14.3

func (dst *AnalyzeRequest) XXX_Merge(src proto.Message)

func (*AnalyzeRequest) XXX_Size added in v0.14.3

func (m *AnalyzeRequest) XXX_Size() int

func (*AnalyzeRequest) XXX_Unmarshal added in v0.14.3

func (m *AnalyzeRequest) XXX_Unmarshal(b []byte) error

type AnalyzeResponse

type AnalyzeResponse struct {
	Failures             []*AnalyzeFailure `protobuf:"bytes,1,rep,name=failures" json:"failures,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*AnalyzeResponse) Descriptor

func (*AnalyzeResponse) Descriptor() ([]byte, []int)

func (*AnalyzeResponse) GetFailures

func (m *AnalyzeResponse) GetFailures() []*AnalyzeFailure

func (*AnalyzeResponse) ProtoMessage

func (*AnalyzeResponse) ProtoMessage()

func (*AnalyzeResponse) Reset

func (m *AnalyzeResponse) Reset()

func (*AnalyzeResponse) String

func (m *AnalyzeResponse) String() string

func (*AnalyzeResponse) XXX_DiscardUnknown added in v0.14.3

func (m *AnalyzeResponse) XXX_DiscardUnknown()

func (*AnalyzeResponse) XXX_Marshal added in v0.14.3

func (m *AnalyzeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnalyzeResponse) XXX_Merge added in v0.14.3

func (dst *AnalyzeResponse) XXX_Merge(src proto.Message)

func (*AnalyzeResponse) XXX_Size added in v0.14.3

func (m *AnalyzeResponse) XXX_Size() int

func (*AnalyzeResponse) XXX_Unmarshal added in v0.14.3

func (m *AnalyzeResponse) XXX_Unmarshal(b []byte) error

type AnalyzerClient

type AnalyzerClient interface {
	// Analyze analyzes a single resource object, and returns any errors that it finds.
	Analyze(ctx context.Context, in *AnalyzeRequest, opts ...grpc.CallOption) (*AnalyzeResponse, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error)
}

func NewAnalyzerClient

func NewAnalyzerClient(cc *grpc.ClientConn) AnalyzerClient

type AnalyzerServer

type AnalyzerServer interface {
	// Analyze analyzes a single resource object, and returns any errors that it finds.
	Analyze(context.Context, *AnalyzeRequest) (*AnalyzeResponse, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
}

type CheckFailure

type CheckFailure struct {
	Property             string   `protobuf:"bytes,1,opt,name=property" json:"property,omitempty"`
	Reason               string   `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckFailure) Descriptor

func (*CheckFailure) Descriptor() ([]byte, []int)

func (*CheckFailure) GetProperty

func (m *CheckFailure) GetProperty() string

func (*CheckFailure) GetReason

func (m *CheckFailure) GetReason() string

func (*CheckFailure) ProtoMessage

func (*CheckFailure) ProtoMessage()

func (*CheckFailure) Reset

func (m *CheckFailure) Reset()

func (*CheckFailure) String

func (m *CheckFailure) String() string

func (*CheckFailure) XXX_DiscardUnknown added in v0.14.3

func (m *CheckFailure) XXX_DiscardUnknown()

func (*CheckFailure) XXX_Marshal added in v0.14.3

func (m *CheckFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckFailure) XXX_Merge added in v0.14.3

func (dst *CheckFailure) XXX_Merge(src proto.Message)

func (*CheckFailure) XXX_Size added in v0.14.3

func (m *CheckFailure) XXX_Size() int

func (*CheckFailure) XXX_Unmarshal added in v0.14.3

func (m *CheckFailure) XXX_Unmarshal(b []byte) error

type CheckRequest

type CheckRequest struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
	Olds                 *_struct.Struct `protobuf:"bytes,2,opt,name=olds" json:"olds,omitempty"`
	News                 *_struct.Struct `protobuf:"bytes,3,opt,name=news" json:"news,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*CheckRequest) Descriptor

func (*CheckRequest) Descriptor() ([]byte, []int)

func (*CheckRequest) GetNews

func (m *CheckRequest) GetNews() *_struct.Struct

func (*CheckRequest) GetOlds

func (m *CheckRequest) GetOlds() *_struct.Struct

func (*CheckRequest) GetUrn

func (m *CheckRequest) GetUrn() string

func (*CheckRequest) ProtoMessage

func (*CheckRequest) ProtoMessage()

func (*CheckRequest) Reset

func (m *CheckRequest) Reset()

func (*CheckRequest) String

func (m *CheckRequest) String() string

func (*CheckRequest) XXX_DiscardUnknown added in v0.14.3

func (m *CheckRequest) XXX_DiscardUnknown()

func (*CheckRequest) XXX_Marshal added in v0.14.3

func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckRequest) XXX_Merge added in v0.14.3

func (dst *CheckRequest) XXX_Merge(src proto.Message)

func (*CheckRequest) XXX_Size added in v0.14.3

func (m *CheckRequest) XXX_Size() int

func (*CheckRequest) XXX_Unmarshal added in v0.14.3

func (m *CheckRequest) XXX_Unmarshal(b []byte) error

type CheckResponse

type CheckResponse struct {
	Inputs               *_struct.Struct `protobuf:"bytes,1,opt,name=inputs" json:"inputs,omitempty"`
	Failures             []*CheckFailure `protobuf:"bytes,2,rep,name=failures" json:"failures,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*CheckResponse) Descriptor

func (*CheckResponse) Descriptor() ([]byte, []int)

func (*CheckResponse) GetFailures

func (m *CheckResponse) GetFailures() []*CheckFailure

func (*CheckResponse) GetInputs

func (m *CheckResponse) GetInputs() *_struct.Struct

func (*CheckResponse) ProtoMessage

func (*CheckResponse) ProtoMessage()

func (*CheckResponse) Reset

func (m *CheckResponse) Reset()

func (*CheckResponse) String

func (m *CheckResponse) String() string

func (*CheckResponse) XXX_DiscardUnknown added in v0.14.3

func (m *CheckResponse) XXX_DiscardUnknown()

func (*CheckResponse) XXX_Marshal added in v0.14.3

func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckResponse) XXX_Merge added in v0.14.3

func (dst *CheckResponse) XXX_Merge(src proto.Message)

func (*CheckResponse) XXX_Size added in v0.14.3

func (m *CheckResponse) XXX_Size() int

func (*CheckResponse) XXX_Unmarshal added in v0.14.3

func (m *CheckResponse) XXX_Unmarshal(b []byte) error

type ConfigureErrorMissingKeys

type ConfigureErrorMissingKeys struct {
	MissingKeys          []*ConfigureErrorMissingKeys_MissingKey `protobuf:"bytes,1,rep,name=missingKeys" json:"missingKeys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                `json:"-"`
	XXX_unrecognized     []byte                                  `json:"-"`
	XXX_sizecache        int32                                   `json:"-"`
}

ConfigureErrorMissingKeys is sent as a Detail on an error returned from `ResourceProvider.Configure`.

func (*ConfigureErrorMissingKeys) Descriptor

func (*ConfigureErrorMissingKeys) Descriptor() ([]byte, []int)

func (*ConfigureErrorMissingKeys) GetMissingKeys

func (*ConfigureErrorMissingKeys) ProtoMessage

func (*ConfigureErrorMissingKeys) ProtoMessage()

func (*ConfigureErrorMissingKeys) Reset

func (m *ConfigureErrorMissingKeys) Reset()

func (*ConfigureErrorMissingKeys) String

func (m *ConfigureErrorMissingKeys) String() string

func (*ConfigureErrorMissingKeys) XXX_DiscardUnknown added in v0.14.3

func (m *ConfigureErrorMissingKeys) XXX_DiscardUnknown()

func (*ConfigureErrorMissingKeys) XXX_Marshal added in v0.14.3

func (m *ConfigureErrorMissingKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigureErrorMissingKeys) XXX_Merge added in v0.14.3

func (dst *ConfigureErrorMissingKeys) XXX_Merge(src proto.Message)

func (*ConfigureErrorMissingKeys) XXX_Size added in v0.14.3

func (m *ConfigureErrorMissingKeys) XXX_Size() int

func (*ConfigureErrorMissingKeys) XXX_Unmarshal added in v0.14.3

func (m *ConfigureErrorMissingKeys) XXX_Unmarshal(b []byte) error

type ConfigureErrorMissingKeys_MissingKey

type ConfigureErrorMissingKeys_MissingKey struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigureErrorMissingKeys_MissingKey) Descriptor

func (*ConfigureErrorMissingKeys_MissingKey) Descriptor() ([]byte, []int)

func (*ConfigureErrorMissingKeys_MissingKey) GetDescription

func (m *ConfigureErrorMissingKeys_MissingKey) GetDescription() string

func (*ConfigureErrorMissingKeys_MissingKey) GetName

func (*ConfigureErrorMissingKeys_MissingKey) ProtoMessage

func (*ConfigureErrorMissingKeys_MissingKey) ProtoMessage()

func (*ConfigureErrorMissingKeys_MissingKey) Reset

func (*ConfigureErrorMissingKeys_MissingKey) String

func (*ConfigureErrorMissingKeys_MissingKey) XXX_DiscardUnknown added in v0.14.3

func (m *ConfigureErrorMissingKeys_MissingKey) XXX_DiscardUnknown()

func (*ConfigureErrorMissingKeys_MissingKey) XXX_Marshal added in v0.14.3

func (m *ConfigureErrorMissingKeys_MissingKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigureErrorMissingKeys_MissingKey) XXX_Merge added in v0.14.3

func (*ConfigureErrorMissingKeys_MissingKey) XXX_Size added in v0.14.3

func (*ConfigureErrorMissingKeys_MissingKey) XXX_Unmarshal added in v0.14.3

func (m *ConfigureErrorMissingKeys_MissingKey) XXX_Unmarshal(b []byte) error

type ConfigureRequest

type ConfigureRequest struct {
	Variables            map[string]string `` /* 138-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ConfigureRequest) Descriptor

func (*ConfigureRequest) Descriptor() ([]byte, []int)

func (*ConfigureRequest) GetVariables

func (m *ConfigureRequest) GetVariables() map[string]string

func (*ConfigureRequest) ProtoMessage

func (*ConfigureRequest) ProtoMessage()

func (*ConfigureRequest) Reset

func (m *ConfigureRequest) Reset()

func (*ConfigureRequest) String

func (m *ConfigureRequest) String() string

func (*ConfigureRequest) XXX_DiscardUnknown added in v0.14.3

func (m *ConfigureRequest) XXX_DiscardUnknown()

func (*ConfigureRequest) XXX_Marshal added in v0.14.3

func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigureRequest) XXX_Merge added in v0.14.3

func (dst *ConfigureRequest) XXX_Merge(src proto.Message)

func (*ConfigureRequest) XXX_Size added in v0.14.3

func (m *ConfigureRequest) XXX_Size() int

func (*ConfigureRequest) XXX_Unmarshal added in v0.14.3

func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error

type CreateRequest

type CreateRequest struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*CreateRequest) Descriptor

func (*CreateRequest) Descriptor() ([]byte, []int)

func (*CreateRequest) GetProperties

func (m *CreateRequest) GetProperties() *_struct.Struct

func (*CreateRequest) GetUrn

func (m *CreateRequest) GetUrn() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) Reset

func (m *CreateRequest) Reset()

func (*CreateRequest) String

func (m *CreateRequest) String() string

func (*CreateRequest) XXX_DiscardUnknown added in v0.14.3

func (m *CreateRequest) XXX_DiscardUnknown()

func (*CreateRequest) XXX_Marshal added in v0.14.3

func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRequest) XXX_Merge added in v0.14.3

func (dst *CreateRequest) XXX_Merge(src proto.Message)

func (*CreateRequest) XXX_Size added in v0.14.3

func (m *CreateRequest) XXX_Size() int

func (*CreateRequest) XXX_Unmarshal added in v0.14.3

func (m *CreateRequest) XXX_Unmarshal(b []byte) error

type CreateResponse

type CreateResponse struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*CreateResponse) Descriptor

func (*CreateResponse) Descriptor() ([]byte, []int)

func (*CreateResponse) GetId

func (m *CreateResponse) GetId() string

func (*CreateResponse) GetProperties

func (m *CreateResponse) GetProperties() *_struct.Struct

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) Reset

func (m *CreateResponse) Reset()

func (*CreateResponse) String

func (m *CreateResponse) String() string

func (*CreateResponse) XXX_DiscardUnknown added in v0.14.3

func (m *CreateResponse) XXX_DiscardUnknown()

func (*CreateResponse) XXX_Marshal added in v0.14.3

func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateResponse) XXX_Merge added in v0.14.3

func (dst *CreateResponse) XXX_Merge(src proto.Message)

func (*CreateResponse) XXX_Size added in v0.14.3

func (m *CreateResponse) XXX_Size() int

func (*CreateResponse) XXX_Unmarshal added in v0.14.3

func (m *CreateResponse) XXX_Unmarshal(b []byte) error

type DeleteRequest

type DeleteRequest struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Urn                  string          `protobuf:"bytes,2,opt,name=urn" json:"urn,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,3,opt,name=properties" json:"properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*DeleteRequest) Descriptor

func (*DeleteRequest) Descriptor() ([]byte, []int)

func (*DeleteRequest) GetId

func (m *DeleteRequest) GetId() string

func (*DeleteRequest) GetProperties

func (m *DeleteRequest) GetProperties() *_struct.Struct

func (*DeleteRequest) GetUrn

func (m *DeleteRequest) GetUrn() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) XXX_DiscardUnknown added in v0.14.3

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal added in v0.14.3

func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRequest) XXX_Merge added in v0.14.3

func (dst *DeleteRequest) XXX_Merge(src proto.Message)

func (*DeleteRequest) XXX_Size added in v0.14.3

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal added in v0.14.3

func (m *DeleteRequest) XXX_Unmarshal(b []byte) error

type DiffRequest

type DiffRequest struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Urn                  string          `protobuf:"bytes,2,opt,name=urn" json:"urn,omitempty"`
	Olds                 *_struct.Struct `protobuf:"bytes,3,opt,name=olds" json:"olds,omitempty"`
	News                 *_struct.Struct `protobuf:"bytes,4,opt,name=news" json:"news,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*DiffRequest) Descriptor

func (*DiffRequest) Descriptor() ([]byte, []int)

func (*DiffRequest) GetId

func (m *DiffRequest) GetId() string

func (*DiffRequest) GetNews

func (m *DiffRequest) GetNews() *_struct.Struct

func (*DiffRequest) GetOlds

func (m *DiffRequest) GetOlds() *_struct.Struct

func (*DiffRequest) GetUrn

func (m *DiffRequest) GetUrn() string

func (*DiffRequest) ProtoMessage

func (*DiffRequest) ProtoMessage()

func (*DiffRequest) Reset

func (m *DiffRequest) Reset()

func (*DiffRequest) String

func (m *DiffRequest) String() string

func (*DiffRequest) XXX_DiscardUnknown added in v0.14.3

func (m *DiffRequest) XXX_DiscardUnknown()

func (*DiffRequest) XXX_Marshal added in v0.14.3

func (m *DiffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiffRequest) XXX_Merge added in v0.14.3

func (dst *DiffRequest) XXX_Merge(src proto.Message)

func (*DiffRequest) XXX_Size added in v0.14.3

func (m *DiffRequest) XXX_Size() int

func (*DiffRequest) XXX_Unmarshal added in v0.14.3

func (m *DiffRequest) XXX_Unmarshal(b []byte) error

type DiffResponse

type DiffResponse struct {
	Replaces             []string                 `protobuf:"bytes,1,rep,name=replaces" json:"replaces,omitempty"`
	Stables              []string                 `protobuf:"bytes,2,rep,name=stables" json:"stables,omitempty"`
	DeleteBeforeReplace  bool                     `protobuf:"varint,3,opt,name=deleteBeforeReplace" json:"deleteBeforeReplace,omitempty"`
	Changes              DiffResponse_DiffChanges `protobuf:"varint,4,opt,name=changes,enum=pulumirpc.DiffResponse_DiffChanges" json:"changes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*DiffResponse) Descriptor

func (*DiffResponse) Descriptor() ([]byte, []int)

func (*DiffResponse) GetChanges

func (m *DiffResponse) GetChanges() DiffResponse_DiffChanges

func (*DiffResponse) GetDeleteBeforeReplace

func (m *DiffResponse) GetDeleteBeforeReplace() bool

func (*DiffResponse) GetReplaces

func (m *DiffResponse) GetReplaces() []string

func (*DiffResponse) GetStables

func (m *DiffResponse) GetStables() []string

func (*DiffResponse) ProtoMessage

func (*DiffResponse) ProtoMessage()

func (*DiffResponse) Reset

func (m *DiffResponse) Reset()

func (*DiffResponse) String

func (m *DiffResponse) String() string

func (*DiffResponse) XXX_DiscardUnknown added in v0.14.3

func (m *DiffResponse) XXX_DiscardUnknown()

func (*DiffResponse) XXX_Marshal added in v0.14.3

func (m *DiffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiffResponse) XXX_Merge added in v0.14.3

func (dst *DiffResponse) XXX_Merge(src proto.Message)

func (*DiffResponse) XXX_Size added in v0.14.3

func (m *DiffResponse) XXX_Size() int

func (*DiffResponse) XXX_Unmarshal added in v0.14.3

func (m *DiffResponse) XXX_Unmarshal(b []byte) error

type DiffResponse_DiffChanges

type DiffResponse_DiffChanges int32
const (
	DiffResponse_DIFF_UNKNOWN DiffResponse_DiffChanges = 0
	DiffResponse_DIFF_NONE    DiffResponse_DiffChanges = 1
	DiffResponse_DIFF_SOME    DiffResponse_DiffChanges = 2
)

func (DiffResponse_DiffChanges) EnumDescriptor

func (DiffResponse_DiffChanges) EnumDescriptor() ([]byte, []int)

func (DiffResponse_DiffChanges) String

func (x DiffResponse_DiffChanges) String() string

type EngineClient

type EngineClient interface {
	// Log logs a global message in the engine, including errors and warnings.
	Log(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// GetRootResource gets the URN of the root resource, the resource that should be the root of all
	// otherwise-unparented resources.
	GetRootResource(ctx context.Context, in *GetRootResourceRequest, opts ...grpc.CallOption) (*GetRootResourceResponse, error)
	// SetRootResource sets the URN of the root resource.
	SetRootResource(ctx context.Context, in *SetRootResourceRequest, opts ...grpc.CallOption) (*SetRootResourceResponse, error)
}

func NewEngineClient

func NewEngineClient(cc *grpc.ClientConn) EngineClient

type EngineServer

type EngineServer interface {
	// Log logs a global message in the engine, including errors and warnings.
	Log(context.Context, *LogRequest) (*empty.Empty, error)
	// GetRootResource gets the URN of the root resource, the resource that should be the root of all
	// otherwise-unparented resources.
	GetRootResource(context.Context, *GetRootResourceRequest) (*GetRootResourceResponse, error)
	// SetRootResource sets the URN of the root resource.
	SetRootResource(context.Context, *SetRootResourceRequest) (*SetRootResourceResponse, error)
}

type ErrorCause

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ErrorCause) Descriptor

func (*ErrorCause) Descriptor() ([]byte, []int)

func (*ErrorCause) GetMessage

func (m *ErrorCause) GetMessage() string

func (*ErrorCause) GetStackTrace

func (m *ErrorCause) GetStackTrace() string

func (*ErrorCause) ProtoMessage

func (*ErrorCause) ProtoMessage()

func (*ErrorCause) Reset

func (m *ErrorCause) Reset()

func (*ErrorCause) String

func (m *ErrorCause) String() string

func (*ErrorCause) XXX_DiscardUnknown added in v0.14.3

func (m *ErrorCause) XXX_DiscardUnknown()

func (*ErrorCause) XXX_Marshal added in v0.14.3

func (m *ErrorCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorCause) XXX_Merge added in v0.14.3

func (dst *ErrorCause) XXX_Merge(src proto.Message)

func (*ErrorCause) XXX_Size added in v0.14.3

func (m *ErrorCause) XXX_Size() int

func (*ErrorCause) XXX_Unmarshal added in v0.14.3

func (m *ErrorCause) XXX_Unmarshal(b []byte) error

type ErrorResourceInitFailed added in v0.14.3

type ErrorResourceInitFailed struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
	Reasons              []string        `protobuf:"bytes,3,rep,name=reasons" json:"reasons,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

ErrorResourceInitFailed is sent as a Detail `ResourceProvider.{Create, Update}` fail because a resource was created successfully, but failed to initialize.

func (*ErrorResourceInitFailed) Descriptor added in v0.14.3

func (*ErrorResourceInitFailed) Descriptor() ([]byte, []int)

func (*ErrorResourceInitFailed) GetId added in v0.14.3

func (m *ErrorResourceInitFailed) GetId() string

func (*ErrorResourceInitFailed) GetProperties added in v0.14.3

func (m *ErrorResourceInitFailed) GetProperties() *_struct.Struct

func (*ErrorResourceInitFailed) GetReasons added in v0.14.3

func (m *ErrorResourceInitFailed) GetReasons() []string

func (*ErrorResourceInitFailed) ProtoMessage added in v0.14.3

func (*ErrorResourceInitFailed) ProtoMessage()

func (*ErrorResourceInitFailed) Reset added in v0.14.3

func (m *ErrorResourceInitFailed) Reset()

func (*ErrorResourceInitFailed) String added in v0.14.3

func (m *ErrorResourceInitFailed) String() string

func (*ErrorResourceInitFailed) XXX_DiscardUnknown added in v0.14.3

func (m *ErrorResourceInitFailed) XXX_DiscardUnknown()

func (*ErrorResourceInitFailed) XXX_Marshal added in v0.14.3

func (m *ErrorResourceInitFailed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorResourceInitFailed) XXX_Merge added in v0.14.3

func (dst *ErrorResourceInitFailed) XXX_Merge(src proto.Message)

func (*ErrorResourceInitFailed) XXX_Size added in v0.14.3

func (m *ErrorResourceInitFailed) XXX_Size() int

func (*ErrorResourceInitFailed) XXX_Unmarshal added in v0.14.3

func (m *ErrorResourceInitFailed) XXX_Unmarshal(b []byte) error

type GetRequiredPluginsRequest

type GetRequiredPluginsRequest struct {
	Project              string   `protobuf:"bytes,1,opt,name=project" json:"project,omitempty"`
	Pwd                  string   `protobuf:"bytes,2,opt,name=pwd" json:"pwd,omitempty"`
	Program              string   `protobuf:"bytes,3,opt,name=program" json:"program,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRequiredPluginsRequest) Descriptor

func (*GetRequiredPluginsRequest) Descriptor() ([]byte, []int)

func (*GetRequiredPluginsRequest) GetProgram

func (m *GetRequiredPluginsRequest) GetProgram() string

func (*GetRequiredPluginsRequest) GetProject

func (m *GetRequiredPluginsRequest) GetProject() string

func (*GetRequiredPluginsRequest) GetPwd

func (m *GetRequiredPluginsRequest) GetPwd() string

func (*GetRequiredPluginsRequest) ProtoMessage

func (*GetRequiredPluginsRequest) ProtoMessage()

func (*GetRequiredPluginsRequest) Reset

func (m *GetRequiredPluginsRequest) Reset()

func (*GetRequiredPluginsRequest) String

func (m *GetRequiredPluginsRequest) String() string

func (*GetRequiredPluginsRequest) XXX_DiscardUnknown added in v0.14.3

func (m *GetRequiredPluginsRequest) XXX_DiscardUnknown()

func (*GetRequiredPluginsRequest) XXX_Marshal added in v0.14.3

func (m *GetRequiredPluginsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequiredPluginsRequest) XXX_Merge added in v0.14.3

func (dst *GetRequiredPluginsRequest) XXX_Merge(src proto.Message)

func (*GetRequiredPluginsRequest) XXX_Size added in v0.14.3

func (m *GetRequiredPluginsRequest) XXX_Size() int

func (*GetRequiredPluginsRequest) XXX_Unmarshal added in v0.14.3

func (m *GetRequiredPluginsRequest) XXX_Unmarshal(b []byte) error

type GetRequiredPluginsResponse

type GetRequiredPluginsResponse struct {
	Plugins              []*PluginDependency `protobuf:"bytes,1,rep,name=plugins" json:"plugins,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*GetRequiredPluginsResponse) Descriptor

func (*GetRequiredPluginsResponse) Descriptor() ([]byte, []int)

func (*GetRequiredPluginsResponse) GetPlugins

func (m *GetRequiredPluginsResponse) GetPlugins() []*PluginDependency

func (*GetRequiredPluginsResponse) ProtoMessage

func (*GetRequiredPluginsResponse) ProtoMessage()

func (*GetRequiredPluginsResponse) Reset

func (m *GetRequiredPluginsResponse) Reset()

func (*GetRequiredPluginsResponse) String

func (m *GetRequiredPluginsResponse) String() string

func (*GetRequiredPluginsResponse) XXX_DiscardUnknown added in v0.14.3

func (m *GetRequiredPluginsResponse) XXX_DiscardUnknown()

func (*GetRequiredPluginsResponse) XXX_Marshal added in v0.14.3

func (m *GetRequiredPluginsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequiredPluginsResponse) XXX_Merge added in v0.14.3

func (dst *GetRequiredPluginsResponse) XXX_Merge(src proto.Message)

func (*GetRequiredPluginsResponse) XXX_Size added in v0.14.3

func (m *GetRequiredPluginsResponse) XXX_Size() int

func (*GetRequiredPluginsResponse) XXX_Unmarshal added in v0.14.3

func (m *GetRequiredPluginsResponse) XXX_Unmarshal(b []byte) error

type GetRootResourceRequest added in v0.16.0

type GetRootResourceRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRootResourceRequest) Descriptor added in v0.16.0

func (*GetRootResourceRequest) Descriptor() ([]byte, []int)

func (*GetRootResourceRequest) ProtoMessage added in v0.16.0

func (*GetRootResourceRequest) ProtoMessage()

func (*GetRootResourceRequest) Reset added in v0.16.0

func (m *GetRootResourceRequest) Reset()

func (*GetRootResourceRequest) String added in v0.16.0

func (m *GetRootResourceRequest) String() string

func (*GetRootResourceRequest) XXX_DiscardUnknown added in v0.16.0

func (m *GetRootResourceRequest) XXX_DiscardUnknown()

func (*GetRootResourceRequest) XXX_Marshal added in v0.16.0

func (m *GetRootResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRootResourceRequest) XXX_Merge added in v0.16.0

func (dst *GetRootResourceRequest) XXX_Merge(src proto.Message)

func (*GetRootResourceRequest) XXX_Size added in v0.16.0

func (m *GetRootResourceRequest) XXX_Size() int

func (*GetRootResourceRequest) XXX_Unmarshal added in v0.16.0

func (m *GetRootResourceRequest) XXX_Unmarshal(b []byte) error

type GetRootResourceResponse added in v0.16.0

type GetRootResourceResponse struct {
	// the URN of the root resource, or the empty string if one was not set.
	Urn                  string   `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRootResourceResponse) Descriptor added in v0.16.0

func (*GetRootResourceResponse) Descriptor() ([]byte, []int)

func (*GetRootResourceResponse) GetUrn added in v0.16.0

func (m *GetRootResourceResponse) GetUrn() string

func (*GetRootResourceResponse) ProtoMessage added in v0.16.0

func (*GetRootResourceResponse) ProtoMessage()

func (*GetRootResourceResponse) Reset added in v0.16.0

func (m *GetRootResourceResponse) Reset()

func (*GetRootResourceResponse) String added in v0.16.0

func (m *GetRootResourceResponse) String() string

func (*GetRootResourceResponse) XXX_DiscardUnknown added in v0.16.0

func (m *GetRootResourceResponse) XXX_DiscardUnknown()

func (*GetRootResourceResponse) XXX_Marshal added in v0.16.0

func (m *GetRootResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRootResourceResponse) XXX_Merge added in v0.16.0

func (dst *GetRootResourceResponse) XXX_Merge(src proto.Message)

func (*GetRootResourceResponse) XXX_Size added in v0.16.0

func (m *GetRootResourceResponse) XXX_Size() int

func (*GetRootResourceResponse) XXX_Unmarshal added in v0.16.0

func (m *GetRootResourceResponse) XXX_Unmarshal(b []byte) error

type InvokeRequest

type InvokeRequest struct {
	Tok                  string          `protobuf:"bytes,1,opt,name=tok" json:"tok,omitempty"`
	Args                 *_struct.Struct `protobuf:"bytes,2,opt,name=args" json:"args,omitempty"`
	Provider             string          `protobuf:"bytes,3,opt,name=provider" json:"provider,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*InvokeRequest) Descriptor

func (*InvokeRequest) Descriptor() ([]byte, []int)

func (*InvokeRequest) GetArgs

func (m *InvokeRequest) GetArgs() *_struct.Struct

func (*InvokeRequest) GetProvider added in v0.15.0

func (m *InvokeRequest) GetProvider() string

func (*InvokeRequest) GetTok

func (m *InvokeRequest) GetTok() string

func (*InvokeRequest) ProtoMessage

func (*InvokeRequest) ProtoMessage()

func (*InvokeRequest) Reset

func (m *InvokeRequest) Reset()

func (*InvokeRequest) String

func (m *InvokeRequest) String() string

func (*InvokeRequest) XXX_DiscardUnknown added in v0.14.3

func (m *InvokeRequest) XXX_DiscardUnknown()

func (*InvokeRequest) XXX_Marshal added in v0.14.3

func (m *InvokeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InvokeRequest) XXX_Merge added in v0.14.3

func (dst *InvokeRequest) XXX_Merge(src proto.Message)

func (*InvokeRequest) XXX_Size added in v0.14.3

func (m *InvokeRequest) XXX_Size() int

func (*InvokeRequest) XXX_Unmarshal added in v0.14.3

func (m *InvokeRequest) XXX_Unmarshal(b []byte) error

type InvokeResponse

type InvokeResponse struct {
	Return               *_struct.Struct `protobuf:"bytes,1,opt,name=return" json:"return,omitempty"`
	Failures             []*CheckFailure `protobuf:"bytes,2,rep,name=failures" json:"failures,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*InvokeResponse) Descriptor

func (*InvokeResponse) Descriptor() ([]byte, []int)

func (*InvokeResponse) GetFailures

func (m *InvokeResponse) GetFailures() []*CheckFailure

func (*InvokeResponse) GetReturn

func (m *InvokeResponse) GetReturn() *_struct.Struct

func (*InvokeResponse) ProtoMessage

func (*InvokeResponse) ProtoMessage()

func (*InvokeResponse) Reset

func (m *InvokeResponse) Reset()

func (*InvokeResponse) String

func (m *InvokeResponse) String() string

func (*InvokeResponse) XXX_DiscardUnknown added in v0.14.3

func (m *InvokeResponse) XXX_DiscardUnknown()

func (*InvokeResponse) XXX_Marshal added in v0.14.3

func (m *InvokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InvokeResponse) XXX_Merge added in v0.14.3

func (dst *InvokeResponse) XXX_Merge(src proto.Message)

func (*InvokeResponse) XXX_Size added in v0.14.3

func (m *InvokeResponse) XXX_Size() int

func (*InvokeResponse) XXX_Unmarshal added in v0.14.3

func (m *InvokeResponse) XXX_Unmarshal(b []byte) error

type LanguageRuntimeClient

type LanguageRuntimeClient interface {
	// GetRequiredPlugins computes the complete set of anticipated plugins required by a program.
	GetRequiredPlugins(ctx context.Context, in *GetRequiredPluginsRequest, opts ...grpc.CallOption) (*GetRequiredPluginsResponse, error)
	// Run executes a program and returns its result.
	Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error)
}

func NewLanguageRuntimeClient

func NewLanguageRuntimeClient(cc *grpc.ClientConn) LanguageRuntimeClient

type LanguageRuntimeServer

type LanguageRuntimeServer interface {
	// GetRequiredPlugins computes the complete set of anticipated plugins required by a program.
	GetRequiredPlugins(context.Context, *GetRequiredPluginsRequest) (*GetRequiredPluginsResponse, error)
	// Run executes a program and returns its result.
	Run(context.Context, *RunRequest) (*RunResponse, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
}

type LogRequest

type LogRequest struct {
	// the logging level of this message.
	Severity LogSeverity `protobuf:"varint,1,opt,name=severity,enum=pulumirpc.LogSeverity" json:"severity,omitempty"`
	// the contents of the logged message.
	Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	// the (optional) resource urn this log is associated with.
	Urn string `protobuf:"bytes,3,opt,name=urn" json:"urn,omitempty"`
	// the (optional) stream id that a stream of log messages can be associated with. This allows
	// clients to not have to buffer a large set of log messages that they all want to be
	// conceptually connected.  Instead the messages can be sent as chunks (with the same stream id)
	// and the end display can show the messages as they arrive, while still stitching them together
	// into one total log message.
	//
	// 0/not-given means: do not associate with any stream.
	StreamId int32 `protobuf:"varint,4,opt,name=streamId" json:"streamId,omitempty"`
	// Optional value indicating whether this is a status message.
	Ephemeral            bool     `protobuf:"varint,5,opt,name=ephemeral" json:"ephemeral,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LogRequest) Descriptor

func (*LogRequest) Descriptor() ([]byte, []int)

func (*LogRequest) GetEphemeral added in v0.15.1

func (m *LogRequest) GetEphemeral() bool

func (*LogRequest) GetMessage

func (m *LogRequest) GetMessage() string

func (*LogRequest) GetSeverity

func (m *LogRequest) GetSeverity() LogSeverity

func (*LogRequest) GetStreamId added in v0.14.3

func (m *LogRequest) GetStreamId() int32

func (*LogRequest) GetUrn

func (m *LogRequest) GetUrn() string

func (*LogRequest) ProtoMessage

func (*LogRequest) ProtoMessage()

func (*LogRequest) Reset

func (m *LogRequest) Reset()

func (*LogRequest) String

func (m *LogRequest) String() string

func (*LogRequest) XXX_DiscardUnknown added in v0.14.3

func (m *LogRequest) XXX_DiscardUnknown()

func (*LogRequest) XXX_Marshal added in v0.14.3

func (m *LogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogRequest) XXX_Merge added in v0.14.3

func (dst *LogRequest) XXX_Merge(src proto.Message)

func (*LogRequest) XXX_Size added in v0.14.3

func (m *LogRequest) XXX_Size() int

func (*LogRequest) XXX_Unmarshal added in v0.14.3

func (m *LogRequest) XXX_Unmarshal(b []byte) error

type LogSeverity

type LogSeverity int32

LogSeverity is the severity level of a log message. Errors are fatal; all others are informational.

const (
	LogSeverity_DEBUG   LogSeverity = 0
	LogSeverity_INFO    LogSeverity = 1
	LogSeverity_WARNING LogSeverity = 2
	LogSeverity_ERROR   LogSeverity = 3
)

func (LogSeverity) EnumDescriptor

func (LogSeverity) EnumDescriptor() ([]byte, []int)

func (LogSeverity) String

func (x LogSeverity) String() string

type PluginDependency

type PluginDependency struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Kind                 string   `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
	Version              string   `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PluginDependency is information about a plugin that a program may depend upon.

func (*PluginDependency) Descriptor

func (*PluginDependency) Descriptor() ([]byte, []int)

func (*PluginDependency) GetKind

func (m *PluginDependency) GetKind() string

func (*PluginDependency) GetName

func (m *PluginDependency) GetName() string

func (*PluginDependency) GetVersion

func (m *PluginDependency) GetVersion() string

func (*PluginDependency) ProtoMessage

func (*PluginDependency) ProtoMessage()

func (*PluginDependency) Reset

func (m *PluginDependency) Reset()

func (*PluginDependency) String

func (m *PluginDependency) String() string

func (*PluginDependency) XXX_DiscardUnknown added in v0.14.3

func (m *PluginDependency) XXX_DiscardUnknown()

func (*PluginDependency) XXX_Marshal added in v0.14.3

func (m *PluginDependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PluginDependency) XXX_Merge added in v0.14.3

func (dst *PluginDependency) XXX_Merge(src proto.Message)

func (*PluginDependency) XXX_Size added in v0.14.3

func (m *PluginDependency) XXX_Size() int

func (*PluginDependency) XXX_Unmarshal added in v0.14.3

func (m *PluginDependency) XXX_Unmarshal(b []byte) error

type PluginInfo

type PluginInfo struct {
	Version              string   `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PluginInfo is meta-information about a plugin that is used by the system.

func (*PluginInfo) Descriptor

func (*PluginInfo) Descriptor() ([]byte, []int)

func (*PluginInfo) GetVersion

func (m *PluginInfo) GetVersion() string

func (*PluginInfo) ProtoMessage

func (*PluginInfo) ProtoMessage()

func (*PluginInfo) Reset

func (m *PluginInfo) Reset()

func (*PluginInfo) String

func (m *PluginInfo) String() string

func (*PluginInfo) XXX_DiscardUnknown added in v0.14.3

func (m *PluginInfo) XXX_DiscardUnknown()

func (*PluginInfo) XXX_Marshal added in v0.14.3

func (m *PluginInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PluginInfo) XXX_Merge added in v0.14.3

func (dst *PluginInfo) XXX_Merge(src proto.Message)

func (*PluginInfo) XXX_Size added in v0.14.3

func (m *PluginInfo) XXX_Size() int

func (*PluginInfo) XXX_Unmarshal added in v0.14.3

func (m *PluginInfo) XXX_Unmarshal(b []byte) error

type ReadRequest

type ReadRequest struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Urn                  string          `protobuf:"bytes,2,opt,name=urn" json:"urn,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,3,opt,name=properties" json:"properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ReadRequest) Descriptor

func (*ReadRequest) Descriptor() ([]byte, []int)

func (*ReadRequest) GetId

func (m *ReadRequest) GetId() string

func (*ReadRequest) GetProperties

func (m *ReadRequest) GetProperties() *_struct.Struct

func (*ReadRequest) GetUrn

func (m *ReadRequest) GetUrn() string

func (*ReadRequest) ProtoMessage

func (*ReadRequest) ProtoMessage()

func (*ReadRequest) Reset

func (m *ReadRequest) Reset()

func (*ReadRequest) String

func (m *ReadRequest) String() string

func (*ReadRequest) XXX_DiscardUnknown added in v0.14.3

func (m *ReadRequest) XXX_DiscardUnknown()

func (*ReadRequest) XXX_Marshal added in v0.14.3

func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadRequest) XXX_Merge added in v0.14.3

func (dst *ReadRequest) XXX_Merge(src proto.Message)

func (*ReadRequest) XXX_Size added in v0.14.3

func (m *ReadRequest) XXX_Size() int

func (*ReadRequest) XXX_Unmarshal added in v0.14.3

func (m *ReadRequest) XXX_Unmarshal(b []byte) error

type ReadResourceRequest

type ReadResourceRequest struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Type                 string          `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Name                 string          `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Parent               string          `protobuf:"bytes,4,opt,name=parent" json:"parent,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,5,opt,name=properties" json:"properties,omitempty"`
	Dependencies         []string        `protobuf:"bytes,6,rep,name=dependencies" json:"dependencies,omitempty"`
	Provider             string          `protobuf:"bytes,7,opt,name=provider" json:"provider,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

ReadResourceRequest contains enough information to uniquely qualify and read a resource's state.

func (*ReadResourceRequest) Descriptor

func (*ReadResourceRequest) Descriptor() ([]byte, []int)

func (*ReadResourceRequest) GetDependencies added in v0.15.0

func (m *ReadResourceRequest) GetDependencies() []string

func (*ReadResourceRequest) GetId

func (m *ReadResourceRequest) GetId() string

func (*ReadResourceRequest) GetName

func (m *ReadResourceRequest) GetName() string

func (*ReadResourceRequest) GetParent

func (m *ReadResourceRequest) GetParent() string

func (*ReadResourceRequest) GetProperties

func (m *ReadResourceRequest) GetProperties() *_struct.Struct

func (*ReadResourceRequest) GetProvider added in v0.15.0

func (m *ReadResourceRequest) GetProvider() string

func (*ReadResourceRequest) GetType

func (m *ReadResourceRequest) GetType() string

func (*ReadResourceRequest) ProtoMessage

func (*ReadResourceRequest) ProtoMessage()

func (*ReadResourceRequest) Reset

func (m *ReadResourceRequest) Reset()

func (*ReadResourceRequest) String

func (m *ReadResourceRequest) String() string

func (*ReadResourceRequest) XXX_DiscardUnknown added in v0.14.3

func (m *ReadResourceRequest) XXX_DiscardUnknown()

func (*ReadResourceRequest) XXX_Marshal added in v0.14.3

func (m *ReadResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadResourceRequest) XXX_Merge added in v0.14.3

func (dst *ReadResourceRequest) XXX_Merge(src proto.Message)

func (*ReadResourceRequest) XXX_Size added in v0.14.3

func (m *ReadResourceRequest) XXX_Size() int

func (*ReadResourceRequest) XXX_Unmarshal added in v0.14.3

func (m *ReadResourceRequest) XXX_Unmarshal(b []byte) error

type ReadResourceResponse

type ReadResourceResponse struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

ReadResourceResponse contains the result of reading a resource's state.

func (*ReadResourceResponse) Descriptor

func (*ReadResourceResponse) Descriptor() ([]byte, []int)

func (*ReadResourceResponse) GetProperties

func (m *ReadResourceResponse) GetProperties() *_struct.Struct

func (*ReadResourceResponse) GetUrn

func (m *ReadResourceResponse) GetUrn() string

func (*ReadResourceResponse) ProtoMessage

func (*ReadResourceResponse) ProtoMessage()

func (*ReadResourceResponse) Reset

func (m *ReadResourceResponse) Reset()

func (*ReadResourceResponse) String

func (m *ReadResourceResponse) String() string

func (*ReadResourceResponse) XXX_DiscardUnknown added in v0.14.3

func (m *ReadResourceResponse) XXX_DiscardUnknown()

func (*ReadResourceResponse) XXX_Marshal added in v0.14.3

func (m *ReadResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadResourceResponse) XXX_Merge added in v0.14.3

func (dst *ReadResourceResponse) XXX_Merge(src proto.Message)

func (*ReadResourceResponse) XXX_Size added in v0.14.3

func (m *ReadResourceResponse) XXX_Size() int

func (*ReadResourceResponse) XXX_Unmarshal added in v0.14.3

func (m *ReadResourceResponse) XXX_Unmarshal(b []byte) error

type ReadResponse

type ReadResponse struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ReadResponse) Descriptor

func (*ReadResponse) Descriptor() ([]byte, []int)

func (*ReadResponse) GetId

func (m *ReadResponse) GetId() string

func (*ReadResponse) GetProperties

func (m *ReadResponse) GetProperties() *_struct.Struct

func (*ReadResponse) ProtoMessage

func (*ReadResponse) ProtoMessage()

func (*ReadResponse) Reset

func (m *ReadResponse) Reset()

func (*ReadResponse) String

func (m *ReadResponse) String() string

func (*ReadResponse) XXX_DiscardUnknown added in v0.14.3

func (m *ReadResponse) XXX_DiscardUnknown()

func (*ReadResponse) XXX_Marshal added in v0.14.3

func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadResponse) XXX_Merge added in v0.14.3

func (dst *ReadResponse) XXX_Merge(src proto.Message)

func (*ReadResponse) XXX_Size added in v0.14.3

func (m *ReadResponse) XXX_Size() int

func (*ReadResponse) XXX_Unmarshal added in v0.14.3

func (m *ReadResponse) XXX_Unmarshal(b []byte) error

type RegisterResourceOutputsRequest

type RegisterResourceOutputsRequest struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
	Outputs              *_struct.Struct `protobuf:"bytes,2,opt,name=outputs" json:"outputs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

RegisterResourceOutputsRequest adds extra resource outputs created by the program after registration has occurred.

func (*RegisterResourceOutputsRequest) Descriptor

func (*RegisterResourceOutputsRequest) Descriptor() ([]byte, []int)

func (*RegisterResourceOutputsRequest) GetOutputs

func (*RegisterResourceOutputsRequest) GetUrn

func (*RegisterResourceOutputsRequest) ProtoMessage

func (*RegisterResourceOutputsRequest) ProtoMessage()

func (*RegisterResourceOutputsRequest) Reset

func (m *RegisterResourceOutputsRequest) Reset()

func (*RegisterResourceOutputsRequest) String

func (*RegisterResourceOutputsRequest) XXX_DiscardUnknown added in v0.14.3

func (m *RegisterResourceOutputsRequest) XXX_DiscardUnknown()

func (*RegisterResourceOutputsRequest) XXX_Marshal added in v0.14.3

func (m *RegisterResourceOutputsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterResourceOutputsRequest) XXX_Merge added in v0.14.3

func (dst *RegisterResourceOutputsRequest) XXX_Merge(src proto.Message)

func (*RegisterResourceOutputsRequest) XXX_Size added in v0.14.3

func (m *RegisterResourceOutputsRequest) XXX_Size() int

func (*RegisterResourceOutputsRequest) XXX_Unmarshal added in v0.14.3

func (m *RegisterResourceOutputsRequest) XXX_Unmarshal(b []byte) error

type RegisterResourceRequest

type RegisterResourceRequest struct {
	Type                 string                                                   `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Name                 string                                                   `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Parent               string                                                   `protobuf:"bytes,3,opt,name=parent" json:"parent,omitempty"`
	Custom               bool                                                     `protobuf:"varint,4,opt,name=custom" json:"custom,omitempty"`
	Object               *_struct.Struct                                          `protobuf:"bytes,5,opt,name=object" json:"object,omitempty"`
	Protect              bool                                                     `protobuf:"varint,6,opt,name=protect" json:"protect,omitempty"`
	Dependencies         []string                                                 `protobuf:"bytes,7,rep,name=dependencies" json:"dependencies,omitempty"`
	Provider             string                                                   `protobuf:"bytes,8,opt,name=provider" json:"provider,omitempty"`
	PropertyDependencies map[string]*RegisterResourceRequest_PropertyDependencies `` /* 160-byte string literal not displayed */
	DeleteBeforeReplace  bool                                                     `protobuf:"varint,10,opt,name=deleteBeforeReplace" json:"deleteBeforeReplace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                 `json:"-"`
	XXX_unrecognized     []byte                                                   `json:"-"`
	XXX_sizecache        int32                                                    `json:"-"`
}

RegisterResourceRequest contains information about a resource object that was newly allocated.

func (*RegisterResourceRequest) Descriptor

func (*RegisterResourceRequest) Descriptor() ([]byte, []int)

func (*RegisterResourceRequest) GetCustom

func (m *RegisterResourceRequest) GetCustom() bool

func (*RegisterResourceRequest) GetDeleteBeforeReplace added in v0.16.15

func (m *RegisterResourceRequest) GetDeleteBeforeReplace() bool

func (*RegisterResourceRequest) GetDependencies

func (m *RegisterResourceRequest) GetDependencies() []string

func (*RegisterResourceRequest) GetName

func (m *RegisterResourceRequest) GetName() string

func (*RegisterResourceRequest) GetObject

func (m *RegisterResourceRequest) GetObject() *_struct.Struct

func (*RegisterResourceRequest) GetParent

func (m *RegisterResourceRequest) GetParent() string

func (*RegisterResourceRequest) GetPropertyDependencies added in v0.16.13

func (*RegisterResourceRequest) GetProtect

func (m *RegisterResourceRequest) GetProtect() bool

func (*RegisterResourceRequest) GetProvider added in v0.15.0

func (m *RegisterResourceRequest) GetProvider() string

func (*RegisterResourceRequest) GetType

func (m *RegisterResourceRequest) GetType() string

func (*RegisterResourceRequest) ProtoMessage

func (*RegisterResourceRequest) ProtoMessage()

func (*RegisterResourceRequest) Reset

func (m *RegisterResourceRequest) Reset()

func (*RegisterResourceRequest) String

func (m *RegisterResourceRequest) String() string

func (*RegisterResourceRequest) XXX_DiscardUnknown added in v0.14.3

func (m *RegisterResourceRequest) XXX_DiscardUnknown()

func (*RegisterResourceRequest) XXX_Marshal added in v0.14.3

func (m *RegisterResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterResourceRequest) XXX_Merge added in v0.14.3

func (dst *RegisterResourceRequest) XXX_Merge(src proto.Message)

func (*RegisterResourceRequest) XXX_Size added in v0.14.3

func (m *RegisterResourceRequest) XXX_Size() int

func (*RegisterResourceRequest) XXX_Unmarshal added in v0.14.3

func (m *RegisterResourceRequest) XXX_Unmarshal(b []byte) error

type RegisterResourceRequest_PropertyDependencies added in v0.16.13

type RegisterResourceRequest_PropertyDependencies struct {
	Urns                 []string `protobuf:"bytes,1,rep,name=urns" json:"urns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PropertyDependencies describes the resources that a particular property depends on.

func (*RegisterResourceRequest_PropertyDependencies) Descriptor added in v0.16.13

func (*RegisterResourceRequest_PropertyDependencies) GetUrns added in v0.16.13

func (*RegisterResourceRequest_PropertyDependencies) ProtoMessage added in v0.16.13

func (*RegisterResourceRequest_PropertyDependencies) Reset added in v0.16.13

func (*RegisterResourceRequest_PropertyDependencies) String added in v0.16.13

func (*RegisterResourceRequest_PropertyDependencies) XXX_DiscardUnknown added in v0.16.13

func (m *RegisterResourceRequest_PropertyDependencies) XXX_DiscardUnknown()

func (*RegisterResourceRequest_PropertyDependencies) XXX_Marshal added in v0.16.13

func (m *RegisterResourceRequest_PropertyDependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterResourceRequest_PropertyDependencies) XXX_Merge added in v0.16.13

func (*RegisterResourceRequest_PropertyDependencies) XXX_Size added in v0.16.13

func (*RegisterResourceRequest_PropertyDependencies) XXX_Unmarshal added in v0.16.13

type RegisterResourceResponse

type RegisterResourceResponse struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
	Id                   string          `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	Object               *_struct.Struct `protobuf:"bytes,3,opt,name=object" json:"object,omitempty"`
	Stable               bool            `protobuf:"varint,4,opt,name=stable" json:"stable,omitempty"`
	Stables              []string        `protobuf:"bytes,5,rep,name=stables" json:"stables,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

RegisterResourceResponse is returned by the engine after a resource has finished being initialized. It includes the auto-assigned URN, the provider-assigned ID, and any other properties initialized by the engine.

func (*RegisterResourceResponse) Descriptor

func (*RegisterResourceResponse) Descriptor() ([]byte, []int)

func (*RegisterResourceResponse) GetId

func (m *RegisterResourceResponse) GetId() string

func (*RegisterResourceResponse) GetObject

func (m *RegisterResourceResponse) GetObject() *_struct.Struct

func (*RegisterResourceResponse) GetStable

func (m *RegisterResourceResponse) GetStable() bool

func (*RegisterResourceResponse) GetStables

func (m *RegisterResourceResponse) GetStables() []string

func (*RegisterResourceResponse) GetUrn

func (m *RegisterResourceResponse) GetUrn() string

func (*RegisterResourceResponse) ProtoMessage

func (*RegisterResourceResponse) ProtoMessage()

func (*RegisterResourceResponse) Reset

func (m *RegisterResourceResponse) Reset()

func (*RegisterResourceResponse) String

func (m *RegisterResourceResponse) String() string

func (*RegisterResourceResponse) XXX_DiscardUnknown added in v0.14.3

func (m *RegisterResourceResponse) XXX_DiscardUnknown()

func (*RegisterResourceResponse) XXX_Marshal added in v0.14.3

func (m *RegisterResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterResourceResponse) XXX_Merge added in v0.14.3

func (dst *RegisterResourceResponse) XXX_Merge(src proto.Message)

func (*RegisterResourceResponse) XXX_Size added in v0.14.3

func (m *RegisterResourceResponse) XXX_Size() int

func (*RegisterResourceResponse) XXX_Unmarshal added in v0.14.3

func (m *RegisterResourceResponse) XXX_Unmarshal(b []byte) error

type ResourceMonitorClient

type ResourceMonitorClient interface {
	Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error)
	ReadResource(ctx context.Context, in *ReadResourceRequest, opts ...grpc.CallOption) (*ReadResourceResponse, error)
	RegisterResource(ctx context.Context, in *RegisterResourceRequest, opts ...grpc.CallOption) (*RegisterResourceResponse, error)
	RegisterResourceOutputs(ctx context.Context, in *RegisterResourceOutputsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

func NewResourceMonitorClient

func NewResourceMonitorClient(cc *grpc.ClientConn) ResourceMonitorClient

type ResourceProviderClient

type ResourceProviderClient interface {
	// Configure configures the resource provider with "globals" that control its behavior.
	Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Invoke dynamically executes a built-in function in the provider.
	Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error)
	// Check validates that the given property bag is valid for a resource of the given type and returns the inputs
	// that should be passed to successive calls to Diff, Create, or Update for this resource. As a rule, the provider
	// inputs returned by a call to Check should preserve the original representation of the properties as present in
	// the program inputs. Though this rule is not required for correctness, violations thereof can negatively impact
	// the end-user experience, as the provider inputs are using for detecting and rendering diffs.
	Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
	// Diff checks what impacts a hypothetical update will have on the resource's properties.
	Diff(ctx context.Context, in *DiffRequest, opts ...grpc.CallOption) (*DiffResponse, error)
	// Create allocates a new instance of the provided resource and returns its unique ID afterwards.  (The input ID
	// must be blank.)  If this call fails, the resource must not have been created (i.e., it is "transacational").
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	// Read the current live state associated with a resource.  Enough state must be include in the inputs to uniquely
	// identify the resource; this is typically just the resource ID, but may also include some properties.
	Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error)
	// Update updates an existing resource with new values.
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	// Delete tears down an existing resource with the given ID.  If it fails, the resource is assumed to still exist.
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Cancel signals the provider to abort all outstanding resource operations.
	Cancel(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error)
}

func NewResourceProviderClient

func NewResourceProviderClient(cc *grpc.ClientConn) ResourceProviderClient

type ResourceProviderServer

type ResourceProviderServer interface {
	// Configure configures the resource provider with "globals" that control its behavior.
	Configure(context.Context, *ConfigureRequest) (*empty.Empty, error)
	// Invoke dynamically executes a built-in function in the provider.
	Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
	// Check validates that the given property bag is valid for a resource of the given type and returns the inputs
	// that should be passed to successive calls to Diff, Create, or Update for this resource. As a rule, the provider
	// inputs returned by a call to Check should preserve the original representation of the properties as present in
	// the program inputs. Though this rule is not required for correctness, violations thereof can negatively impact
	// the end-user experience, as the provider inputs are using for detecting and rendering diffs.
	Check(context.Context, *CheckRequest) (*CheckResponse, error)
	// Diff checks what impacts a hypothetical update will have on the resource's properties.
	Diff(context.Context, *DiffRequest) (*DiffResponse, error)
	// Create allocates a new instance of the provided resource and returns its unique ID afterwards.  (The input ID
	// must be blank.)  If this call fails, the resource must not have been created (i.e., it is "transacational").
	Create(context.Context, *CreateRequest) (*CreateResponse, error)
	// Read the current live state associated with a resource.  Enough state must be include in the inputs to uniquely
	// identify the resource; this is typically just the resource ID, but may also include some properties.
	Read(context.Context, *ReadRequest) (*ReadResponse, error)
	// Update updates an existing resource with new values.
	Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
	// Delete tears down an existing resource with the given ID.  If it fails, the resource is assumed to still exist.
	Delete(context.Context, *DeleteRequest) (*empty.Empty, error)
	// Cancel signals the provider to abort all outstanding resource operations.
	Cancel(context.Context, *empty.Empty) (*empty.Empty, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
}

type RunRequest

type RunRequest struct {
	Project              string            `protobuf:"bytes,1,opt,name=project" json:"project,omitempty"`
	Stack                string            `protobuf:"bytes,2,opt,name=stack" json:"stack,omitempty"`
	Pwd                  string            `protobuf:"bytes,3,opt,name=pwd" json:"pwd,omitempty"`
	Program              string            `protobuf:"bytes,4,opt,name=program" json:"program,omitempty"`
	Args                 []string          `protobuf:"bytes,5,rep,name=args" json:"args,omitempty"`
	Config               map[string]string `` /* 132-byte string literal not displayed */
	DryRun               bool              `protobuf:"varint,7,opt,name=dryRun" json:"dryRun,omitempty"`
	Parallel             int32             `protobuf:"varint,8,opt,name=parallel" json:"parallel,omitempty"`
	MonitorAddress       string            `protobuf:"bytes,9,opt,name=monitor_address,json=monitorAddress" json:"monitor_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

RunRequest asks the interpreter to execute a program.

func (*RunRequest) Descriptor

func (*RunRequest) Descriptor() ([]byte, []int)

func (*RunRequest) GetArgs

func (m *RunRequest) GetArgs() []string

func (*RunRequest) GetConfig

func (m *RunRequest) GetConfig() map[string]string

func (*RunRequest) GetDryRun

func (m *RunRequest) GetDryRun() bool

func (*RunRequest) GetMonitorAddress

func (m *RunRequest) GetMonitorAddress() string

func (*RunRequest) GetParallel

func (m *RunRequest) GetParallel() int32

func (*RunRequest) GetProgram

func (m *RunRequest) GetProgram() string

func (*RunRequest) GetProject

func (m *RunRequest) GetProject() string

func (*RunRequest) GetPwd

func (m *RunRequest) GetPwd() string

func (*RunRequest) GetStack

func (m *RunRequest) GetStack() string

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) Reset

func (m *RunRequest) Reset()

func (*RunRequest) String

func (m *RunRequest) String() string

func (*RunRequest) XXX_DiscardUnknown added in v0.14.3

func (m *RunRequest) XXX_DiscardUnknown()

func (*RunRequest) XXX_Marshal added in v0.14.3

func (m *RunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunRequest) XXX_Merge added in v0.14.3

func (dst *RunRequest) XXX_Merge(src proto.Message)

func (*RunRequest) XXX_Size added in v0.14.3

func (m *RunRequest) XXX_Size() int

func (*RunRequest) XXX_Unmarshal added in v0.14.3

func (m *RunRequest) XXX_Unmarshal(b []byte) error

type RunResponse

type RunResponse struct {
	Error                string   `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RunResponse is the response back from the interpreter/source back to the monitor.

func (*RunResponse) Descriptor

func (*RunResponse) Descriptor() ([]byte, []int)

func (*RunResponse) GetError

func (m *RunResponse) GetError() string

func (*RunResponse) ProtoMessage

func (*RunResponse) ProtoMessage()

func (*RunResponse) Reset

func (m *RunResponse) Reset()

func (*RunResponse) String

func (m *RunResponse) String() string

func (*RunResponse) XXX_DiscardUnknown added in v0.14.3

func (m *RunResponse) XXX_DiscardUnknown()

func (*RunResponse) XXX_Marshal added in v0.14.3

func (m *RunResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunResponse) XXX_Merge added in v0.14.3

func (dst *RunResponse) XXX_Merge(src proto.Message)

func (*RunResponse) XXX_Size added in v0.14.3

func (m *RunResponse) XXX_Size() int

func (*RunResponse) XXX_Unmarshal added in v0.14.3

func (m *RunResponse) XXX_Unmarshal(b []byte) error

type SetRootResourceRequest added in v0.16.0

type SetRootResourceRequest struct {
	// the URN of the root resource, or the empty string.
	Urn                  string   `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetRootResourceRequest) Descriptor added in v0.16.0

func (*SetRootResourceRequest) Descriptor() ([]byte, []int)

func (*SetRootResourceRequest) GetUrn added in v0.16.0

func (m *SetRootResourceRequest) GetUrn() string

func (*SetRootResourceRequest) ProtoMessage added in v0.16.0

func (*SetRootResourceRequest) ProtoMessage()

func (*SetRootResourceRequest) Reset added in v0.16.0

func (m *SetRootResourceRequest) Reset()

func (*SetRootResourceRequest) String added in v0.16.0

func (m *SetRootResourceRequest) String() string

func (*SetRootResourceRequest) XXX_DiscardUnknown added in v0.16.0

func (m *SetRootResourceRequest) XXX_DiscardUnknown()

func (*SetRootResourceRequest) XXX_Marshal added in v0.16.0

func (m *SetRootResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetRootResourceRequest) XXX_Merge added in v0.16.0

func (dst *SetRootResourceRequest) XXX_Merge(src proto.Message)

func (*SetRootResourceRequest) XXX_Size added in v0.16.0

func (m *SetRootResourceRequest) XXX_Size() int

func (*SetRootResourceRequest) XXX_Unmarshal added in v0.16.0

func (m *SetRootResourceRequest) XXX_Unmarshal(b []byte) error

type SetRootResourceResponse added in v0.16.0

type SetRootResourceResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetRootResourceResponse) Descriptor added in v0.16.0

func (*SetRootResourceResponse) Descriptor() ([]byte, []int)

func (*SetRootResourceResponse) ProtoMessage added in v0.16.0

func (*SetRootResourceResponse) ProtoMessage()

func (*SetRootResourceResponse) Reset added in v0.16.0

func (m *SetRootResourceResponse) Reset()

func (*SetRootResourceResponse) String added in v0.16.0

func (m *SetRootResourceResponse) String() string

func (*SetRootResourceResponse) XXX_DiscardUnknown added in v0.16.0

func (m *SetRootResourceResponse) XXX_DiscardUnknown()

func (*SetRootResourceResponse) XXX_Marshal added in v0.16.0

func (m *SetRootResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetRootResourceResponse) XXX_Merge added in v0.16.0

func (dst *SetRootResourceResponse) XXX_Merge(src proto.Message)

func (*SetRootResourceResponse) XXX_Size added in v0.16.0

func (m *SetRootResourceResponse) XXX_Size() int

func (*SetRootResourceResponse) XXX_Unmarshal added in v0.16.0

func (m *SetRootResourceResponse) XXX_Unmarshal(b []byte) error

type UpdateRequest

type UpdateRequest struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Urn                  string          `protobuf:"bytes,2,opt,name=urn" json:"urn,omitempty"`
	Olds                 *_struct.Struct `protobuf:"bytes,3,opt,name=olds" json:"olds,omitempty"`
	News                 *_struct.Struct `protobuf:"bytes,4,opt,name=news" json:"news,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*UpdateRequest) Descriptor

func (*UpdateRequest) Descriptor() ([]byte, []int)

func (*UpdateRequest) GetId

func (m *UpdateRequest) GetId() string

func (*UpdateRequest) GetNews

func (m *UpdateRequest) GetNews() *_struct.Struct

func (*UpdateRequest) GetOlds

func (m *UpdateRequest) GetOlds() *_struct.Struct

func (*UpdateRequest) GetUrn

func (m *UpdateRequest) GetUrn() string

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) Reset

func (m *UpdateRequest) Reset()

func (*UpdateRequest) String

func (m *UpdateRequest) String() string

func (*UpdateRequest) XXX_DiscardUnknown added in v0.14.3

func (m *UpdateRequest) XXX_DiscardUnknown()

func (*UpdateRequest) XXX_Marshal added in v0.14.3

func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateRequest) XXX_Merge added in v0.14.3

func (dst *UpdateRequest) XXX_Merge(src proto.Message)

func (*UpdateRequest) XXX_Size added in v0.14.3

func (m *UpdateRequest) XXX_Size() int

func (*UpdateRequest) XXX_Unmarshal added in v0.14.3

func (m *UpdateRequest) XXX_Unmarshal(b []byte) error

type UpdateResponse

type UpdateResponse struct {
	Properties           *_struct.Struct `protobuf:"bytes,1,opt,name=properties" json:"properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*UpdateResponse) Descriptor

func (*UpdateResponse) Descriptor() ([]byte, []int)

func (*UpdateResponse) GetProperties

func (m *UpdateResponse) GetProperties() *_struct.Struct

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) Reset

func (m *UpdateResponse) Reset()

func (*UpdateResponse) String

func (m *UpdateResponse) String() string

func (*UpdateResponse) XXX_DiscardUnknown added in v0.14.3

func (m *UpdateResponse) XXX_DiscardUnknown()

func (*UpdateResponse) XXX_Marshal added in v0.14.3

func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateResponse) XXX_Merge added in v0.14.3

func (dst *UpdateResponse) XXX_Merge(src proto.Message)

func (*UpdateResponse) XXX_Size added in v0.14.3

func (m *UpdateResponse) XXX_Size() int

func (*UpdateResponse) XXX_Unmarshal added in v0.14.3

func (m *UpdateResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL