pulumirpc

package
v2.2.2-0...-17ad7ea Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 9 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 EnforcementLevel_name = map[int32]string{
	0: "ADVISORY",
	1: "MANDATORY",
	2: "DISABLED",
}
View Source
var EnforcementLevel_value = map[string]int32{
	"ADVISORY":  0,
	"MANDATORY": 1,
	"DISABLED":  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,
}
View Source
var PropertyDiff_Kind_name = map[int32]string{
	0: "ADD",
	1: "ADD_REPLACE",
	2: "DELETE",
	3: "DELETE_REPLACE",
	4: "UPDATE",
	5: "UPDATE_REPLACE",
}
View Source
var PropertyDiff_Kind_value = map[string]int32{
	"ADD":            0,
	"ADD_REPLACE":    1,
	"DELETE":         2,
	"DELETE_REPLACE": 3,
	"UPDATE":         4,
	"UPDATE_REPLACE": 5,
}

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 AnalyzeDiagnostic

type AnalyzeDiagnostic struct {
	PolicyName           string           `protobuf:"bytes,1,opt,name=policyName,proto3" json:"policyName,omitempty"`
	PolicyPackName       string           `protobuf:"bytes,2,opt,name=policyPackName,proto3" json:"policyPackName,omitempty"`
	PolicyPackVersion    string           `protobuf:"bytes,3,opt,name=policyPackVersion,proto3" json:"policyPackVersion,omitempty"`
	Description          string           `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Message              string           `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	Tags                 []string         `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	EnforcementLevel     EnforcementLevel `protobuf:"varint,7,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"`
	Urn                  string           `protobuf:"bytes,8,opt,name=urn,proto3" json:"urn,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*AnalyzeDiagnostic) Descriptor

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

func (*AnalyzeDiagnostic) GetDescription

func (m *AnalyzeDiagnostic) GetDescription() string

func (*AnalyzeDiagnostic) GetEnforcementLevel

func (m *AnalyzeDiagnostic) GetEnforcementLevel() EnforcementLevel

func (*AnalyzeDiagnostic) GetMessage

func (m *AnalyzeDiagnostic) GetMessage() string

func (*AnalyzeDiagnostic) GetPolicyName

func (m *AnalyzeDiagnostic) GetPolicyName() string

func (*AnalyzeDiagnostic) GetPolicyPackName

func (m *AnalyzeDiagnostic) GetPolicyPackName() string

func (*AnalyzeDiagnostic) GetPolicyPackVersion

func (m *AnalyzeDiagnostic) GetPolicyPackVersion() string

func (*AnalyzeDiagnostic) GetTags

func (m *AnalyzeDiagnostic) GetTags() []string

func (*AnalyzeDiagnostic) GetUrn

func (m *AnalyzeDiagnostic) GetUrn() string

func (*AnalyzeDiagnostic) ProtoMessage

func (*AnalyzeDiagnostic) ProtoMessage()

func (*AnalyzeDiagnostic) Reset

func (m *AnalyzeDiagnostic) Reset()

func (*AnalyzeDiagnostic) String

func (m *AnalyzeDiagnostic) String() string

func (*AnalyzeDiagnostic) XXX_DiscardUnknown

func (m *AnalyzeDiagnostic) XXX_DiscardUnknown()

func (*AnalyzeDiagnostic) XXX_Marshal

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

func (*AnalyzeDiagnostic) XXX_Merge

func (m *AnalyzeDiagnostic) XXX_Merge(src proto.Message)

func (*AnalyzeDiagnostic) XXX_Size

func (m *AnalyzeDiagnostic) XXX_Size() int

func (*AnalyzeDiagnostic) XXX_Unmarshal

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

type AnalyzeRequest

type AnalyzeRequest struct {
	Type                 string                    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Properties           *_struct.Struct           `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	Urn                  string                    `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`
	Name                 string                    `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Options              *AnalyzerResourceOptions  `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`
	Provider             *AnalyzerProviderResource `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*AnalyzeRequest) Descriptor

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

func (*AnalyzeRequest) GetName

func (m *AnalyzeRequest) GetName() string

func (*AnalyzeRequest) GetOptions

func (m *AnalyzeRequest) GetOptions() *AnalyzerResourceOptions

func (*AnalyzeRequest) GetProperties

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

func (*AnalyzeRequest) GetProvider

func (m *AnalyzeRequest) GetProvider() *AnalyzerProviderResource

func (*AnalyzeRequest) GetType

func (m *AnalyzeRequest) GetType() string

func (*AnalyzeRequest) GetUrn

func (m *AnalyzeRequest) GetUrn() 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

func (m *AnalyzeRequest) XXX_DiscardUnknown()

func (*AnalyzeRequest) XXX_Marshal

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

func (*AnalyzeRequest) XXX_Merge

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

func (*AnalyzeRequest) XXX_Size

func (m *AnalyzeRequest) XXX_Size() int

func (*AnalyzeRequest) XXX_Unmarshal

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

type AnalyzeResponse

type AnalyzeResponse struct {
	Diagnostics          []*AnalyzeDiagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*AnalyzeResponse) Descriptor

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

func (*AnalyzeResponse) GetDiagnostics

func (m *AnalyzeResponse) GetDiagnostics() []*AnalyzeDiagnostic

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

func (m *AnalyzeResponse) XXX_DiscardUnknown()

func (*AnalyzeResponse) XXX_Marshal

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

func (*AnalyzeResponse) XXX_Merge

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

func (*AnalyzeResponse) XXX_Size

func (m *AnalyzeResponse) XXX_Size() int

func (*AnalyzeResponse) XXX_Unmarshal

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

type AnalyzeStackRequest

type AnalyzeStackRequest struct {
	Resources            []*AnalyzerResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*AnalyzeStackRequest) Descriptor

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

func (*AnalyzeStackRequest) GetResources

func (m *AnalyzeStackRequest) GetResources() []*AnalyzerResource

func (*AnalyzeStackRequest) ProtoMessage

func (*AnalyzeStackRequest) ProtoMessage()

func (*AnalyzeStackRequest) Reset

func (m *AnalyzeStackRequest) Reset()

func (*AnalyzeStackRequest) String

func (m *AnalyzeStackRequest) String() string

func (*AnalyzeStackRequest) XXX_DiscardUnknown

func (m *AnalyzeStackRequest) XXX_DiscardUnknown()

func (*AnalyzeStackRequest) XXX_Marshal

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

func (*AnalyzeStackRequest) XXX_Merge

func (m *AnalyzeStackRequest) XXX_Merge(src proto.Message)

func (*AnalyzeStackRequest) XXX_Size

func (m *AnalyzeStackRequest) XXX_Size() int

func (*AnalyzeStackRequest) XXX_Unmarshal

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

type AnalyzerClient

type AnalyzerClient interface {
	// Analyze analyzes a single resource object, and returns any errors that it finds.
	// Called with the "inputs" to the resource, before it is updated.
	Analyze(ctx context.Context, in *AnalyzeRequest, opts ...grpc.CallOption) (*AnalyzeResponse, error)
	// AnalyzeStack analyzes all resources within a stack, at the end of a successful
	// preview or update. The provided resources are the "outputs", after any mutations
	// have taken place.
	AnalyzeStack(ctx context.Context, in *AnalyzeStackRequest, opts ...grpc.CallOption) (*AnalyzeResponse, error)
	// GetAnalyzerInfo returns metadata about the analyzer (e.g., list of policies contained).
	GetAnalyzerInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AnalyzerInfo, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error)
	// Configure configures the analyzer, passing configuration properties for each policy.
	Configure(ctx context.Context, in *ConfigureAnalyzerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

AnalyzerClient is the client API for Analyzer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAnalyzerClient

func NewAnalyzerClient(cc grpc.ClientConnInterface) AnalyzerClient

type AnalyzerInfo

type AnalyzerInfo struct {
	Name                 string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName          string                   `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
	Policies             []*PolicyInfo            `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"`
	Version              string                   `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	SupportsConfig       bool                     `protobuf:"varint,5,opt,name=supportsConfig,proto3" json:"supportsConfig,omitempty"`
	InitialConfig        map[string]*PolicyConfig `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

AnalyzerInfo provides metadata about a PolicyPack inside an analyzer.

func (*AnalyzerInfo) Descriptor

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

func (*AnalyzerInfo) GetDisplayName

func (m *AnalyzerInfo) GetDisplayName() string

func (*AnalyzerInfo) GetInitialConfig

func (m *AnalyzerInfo) GetInitialConfig() map[string]*PolicyConfig

func (*AnalyzerInfo) GetName

func (m *AnalyzerInfo) GetName() string

func (*AnalyzerInfo) GetPolicies

func (m *AnalyzerInfo) GetPolicies() []*PolicyInfo

func (*AnalyzerInfo) GetSupportsConfig

func (m *AnalyzerInfo) GetSupportsConfig() bool

func (*AnalyzerInfo) GetVersion

func (m *AnalyzerInfo) GetVersion() string

func (*AnalyzerInfo) ProtoMessage

func (*AnalyzerInfo) ProtoMessage()

func (*AnalyzerInfo) Reset

func (m *AnalyzerInfo) Reset()

func (*AnalyzerInfo) String

func (m *AnalyzerInfo) String() string

func (*AnalyzerInfo) XXX_DiscardUnknown

func (m *AnalyzerInfo) XXX_DiscardUnknown()

func (*AnalyzerInfo) XXX_Marshal

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

func (*AnalyzerInfo) XXX_Merge

func (m *AnalyzerInfo) XXX_Merge(src proto.Message)

func (*AnalyzerInfo) XXX_Size

func (m *AnalyzerInfo) XXX_Size() int

func (*AnalyzerInfo) XXX_Unmarshal

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

type AnalyzerPropertyDependencies

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

AnalyzerPropertyDependencies describes the resources that a particular property depends on.

func (*AnalyzerPropertyDependencies) Descriptor

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

func (*AnalyzerPropertyDependencies) GetUrns

func (m *AnalyzerPropertyDependencies) GetUrns() []string

func (*AnalyzerPropertyDependencies) ProtoMessage

func (*AnalyzerPropertyDependencies) ProtoMessage()

func (*AnalyzerPropertyDependencies) Reset

func (m *AnalyzerPropertyDependencies) Reset()

func (*AnalyzerPropertyDependencies) String

func (*AnalyzerPropertyDependencies) XXX_DiscardUnknown

func (m *AnalyzerPropertyDependencies) XXX_DiscardUnknown()

func (*AnalyzerPropertyDependencies) XXX_Marshal

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

func (*AnalyzerPropertyDependencies) XXX_Merge

func (m *AnalyzerPropertyDependencies) XXX_Merge(src proto.Message)

func (*AnalyzerPropertyDependencies) XXX_Size

func (m *AnalyzerPropertyDependencies) XXX_Size() int

func (*AnalyzerPropertyDependencies) XXX_Unmarshal

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

type AnalyzerProviderResource

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

AnalyzerProviderResource provides information about a resource's provider.

func (*AnalyzerProviderResource) Descriptor

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

func (*AnalyzerProviderResource) GetName

func (m *AnalyzerProviderResource) GetName() string

func (*AnalyzerProviderResource) GetProperties

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

func (*AnalyzerProviderResource) GetType

func (m *AnalyzerProviderResource) GetType() string

func (*AnalyzerProviderResource) GetUrn

func (m *AnalyzerProviderResource) GetUrn() string

func (*AnalyzerProviderResource) ProtoMessage

func (*AnalyzerProviderResource) ProtoMessage()

func (*AnalyzerProviderResource) Reset

func (m *AnalyzerProviderResource) Reset()

func (*AnalyzerProviderResource) String

func (m *AnalyzerProviderResource) String() string

func (*AnalyzerProviderResource) XXX_DiscardUnknown

func (m *AnalyzerProviderResource) XXX_DiscardUnknown()

func (*AnalyzerProviderResource) XXX_Marshal

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

func (*AnalyzerProviderResource) XXX_Merge

func (m *AnalyzerProviderResource) XXX_Merge(src proto.Message)

func (*AnalyzerProviderResource) XXX_Size

func (m *AnalyzerProviderResource) XXX_Size() int

func (*AnalyzerProviderResource) XXX_Unmarshal

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

type AnalyzerResource

type AnalyzerResource struct {
	Type                 string                                   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Properties           *_struct.Struct                          `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	Urn                  string                                   `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`
	Name                 string                                   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Options              *AnalyzerResourceOptions                 `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`
	Provider             *AnalyzerProviderResource                `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
	Parent               string                                   `protobuf:"bytes,7,opt,name=parent,proto3" json:"parent,omitempty"`
	Dependencies         []string                                 `protobuf:"bytes,8,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	PropertyDependencies map[string]*AnalyzerPropertyDependencies `` /* 181-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

AnalyzerResource defines the view of a Pulumi-managed resource as sent to Analyzers. The properties of the resource are specific to the type of analysis being performed. See the Analyzer service definition for more information.

func (*AnalyzerResource) Descriptor

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

func (*AnalyzerResource) GetDependencies

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

func (*AnalyzerResource) GetName

func (m *AnalyzerResource) GetName() string

func (*AnalyzerResource) GetOptions

func (m *AnalyzerResource) GetOptions() *AnalyzerResourceOptions

func (*AnalyzerResource) GetParent

func (m *AnalyzerResource) GetParent() string

func (*AnalyzerResource) GetProperties

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

func (*AnalyzerResource) GetPropertyDependencies

func (m *AnalyzerResource) GetPropertyDependencies() map[string]*AnalyzerPropertyDependencies

func (*AnalyzerResource) GetProvider

func (m *AnalyzerResource) GetProvider() *AnalyzerProviderResource

func (*AnalyzerResource) GetType

func (m *AnalyzerResource) GetType() string

func (*AnalyzerResource) GetUrn

func (m *AnalyzerResource) GetUrn() string

func (*AnalyzerResource) ProtoMessage

func (*AnalyzerResource) ProtoMessage()

func (*AnalyzerResource) Reset

func (m *AnalyzerResource) Reset()

func (*AnalyzerResource) String

func (m *AnalyzerResource) String() string

func (*AnalyzerResource) XXX_DiscardUnknown

func (m *AnalyzerResource) XXX_DiscardUnknown()

func (*AnalyzerResource) XXX_Marshal

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

func (*AnalyzerResource) XXX_Merge

func (m *AnalyzerResource) XXX_Merge(src proto.Message)

func (*AnalyzerResource) XXX_Size

func (m *AnalyzerResource) XXX_Size() int

func (*AnalyzerResource) XXX_Unmarshal

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

type AnalyzerResourceOptions

type AnalyzerResourceOptions struct {
	Protect                    bool                                    `protobuf:"varint,1,opt,name=protect,proto3" json:"protect,omitempty"`
	IgnoreChanges              []string                                `protobuf:"bytes,2,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"`
	DeleteBeforeReplace        bool                                    `protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"`
	DeleteBeforeReplaceDefined bool                                    `protobuf:"varint,4,opt,name=deleteBeforeReplaceDefined,proto3" json:"deleteBeforeReplaceDefined,omitempty"`
	AdditionalSecretOutputs    []string                                `protobuf:"bytes,5,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"`
	Aliases                    []string                                `protobuf:"bytes,6,rep,name=aliases,proto3" json:"aliases,omitempty"`
	CustomTimeouts             *AnalyzerResourceOptions_CustomTimeouts `protobuf:"bytes,7,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"`
	XXX_NoUnkeyedLiteral       struct{}                                `json:"-"`
	XXX_unrecognized           []byte                                  `json:"-"`
	XXX_sizecache              int32                                   `json:"-"`
}

AnalyzerResourceOptions defines the options associated with a resource.

func (*AnalyzerResourceOptions) Descriptor

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

func (*AnalyzerResourceOptions) GetAdditionalSecretOutputs

func (m *AnalyzerResourceOptions) GetAdditionalSecretOutputs() []string

func (*AnalyzerResourceOptions) GetAliases

func (m *AnalyzerResourceOptions) GetAliases() []string

func (*AnalyzerResourceOptions) GetCustomTimeouts

func (*AnalyzerResourceOptions) GetDeleteBeforeReplace

func (m *AnalyzerResourceOptions) GetDeleteBeforeReplace() bool

func (*AnalyzerResourceOptions) GetDeleteBeforeReplaceDefined

func (m *AnalyzerResourceOptions) GetDeleteBeforeReplaceDefined() bool

func (*AnalyzerResourceOptions) GetIgnoreChanges

func (m *AnalyzerResourceOptions) GetIgnoreChanges() []string

func (*AnalyzerResourceOptions) GetProtect

func (m *AnalyzerResourceOptions) GetProtect() bool

func (*AnalyzerResourceOptions) ProtoMessage

func (*AnalyzerResourceOptions) ProtoMessage()

func (*AnalyzerResourceOptions) Reset

func (m *AnalyzerResourceOptions) Reset()

func (*AnalyzerResourceOptions) String

func (m *AnalyzerResourceOptions) String() string

func (*AnalyzerResourceOptions) XXX_DiscardUnknown

func (m *AnalyzerResourceOptions) XXX_DiscardUnknown()

func (*AnalyzerResourceOptions) XXX_Marshal

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

func (*AnalyzerResourceOptions) XXX_Merge

func (m *AnalyzerResourceOptions) XXX_Merge(src proto.Message)

func (*AnalyzerResourceOptions) XXX_Size

func (m *AnalyzerResourceOptions) XXX_Size() int

func (*AnalyzerResourceOptions) XXX_Unmarshal

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

type AnalyzerResourceOptions_CustomTimeouts

type AnalyzerResourceOptions_CustomTimeouts struct {
	Create               float64  `protobuf:"fixed64,1,opt,name=create,proto3" json:"create,omitempty"`
	Update               float64  `protobuf:"fixed64,2,opt,name=update,proto3" json:"update,omitempty"`
	Delete               float64  `protobuf:"fixed64,3,opt,name=delete,proto3" json:"delete,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CustomTimeouts allows a user to be able to create a set of custom timeout parameters.

func (*AnalyzerResourceOptions_CustomTimeouts) Descriptor

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

func (*AnalyzerResourceOptions_CustomTimeouts) GetCreate

func (*AnalyzerResourceOptions_CustomTimeouts) GetDelete

func (*AnalyzerResourceOptions_CustomTimeouts) GetUpdate

func (*AnalyzerResourceOptions_CustomTimeouts) ProtoMessage

func (*AnalyzerResourceOptions_CustomTimeouts) Reset

func (*AnalyzerResourceOptions_CustomTimeouts) String

func (*AnalyzerResourceOptions_CustomTimeouts) XXX_DiscardUnknown

func (m *AnalyzerResourceOptions_CustomTimeouts) XXX_DiscardUnknown()

func (*AnalyzerResourceOptions_CustomTimeouts) XXX_Marshal

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

func (*AnalyzerResourceOptions_CustomTimeouts) XXX_Merge

func (*AnalyzerResourceOptions_CustomTimeouts) XXX_Size

func (*AnalyzerResourceOptions_CustomTimeouts) XXX_Unmarshal

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

type AnalyzerServer

type AnalyzerServer interface {
	// Analyze analyzes a single resource object, and returns any errors that it finds.
	// Called with the "inputs" to the resource, before it is updated.
	Analyze(context.Context, *AnalyzeRequest) (*AnalyzeResponse, error)
	// AnalyzeStack analyzes all resources within a stack, at the end of a successful
	// preview or update. The provided resources are the "outputs", after any mutations
	// have taken place.
	AnalyzeStack(context.Context, *AnalyzeStackRequest) (*AnalyzeResponse, error)
	// GetAnalyzerInfo returns metadata about the analyzer (e.g., list of policies contained).
	GetAnalyzerInfo(context.Context, *empty.Empty) (*AnalyzerInfo, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
	// Configure configures the analyzer, passing configuration properties for each policy.
	Configure(context.Context, *ConfigureAnalyzerRequest) (*empty.Empty, error)
}

AnalyzerServer is the server API for Analyzer service.

type CheckFailure

type CheckFailure struct {
	Property             string   `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
	Reason               string   `protobuf:"bytes,2,opt,name=reason,proto3" 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

func (m *CheckFailure) XXX_DiscardUnknown()

func (*CheckFailure) XXX_Marshal

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

func (*CheckFailure) XXX_Merge

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

func (*CheckFailure) XXX_Size

func (m *CheckFailure) XXX_Size() int

func (*CheckFailure) XXX_Unmarshal

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

type CheckRequest

type CheckRequest struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
	Olds                 *_struct.Struct `protobuf:"bytes,2,opt,name=olds,proto3" json:"olds,omitempty"`
	News                 *_struct.Struct `protobuf:"bytes,3,opt,name=news,proto3" 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

func (m *CheckRequest) XXX_DiscardUnknown()

func (*CheckRequest) XXX_Marshal

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

func (*CheckRequest) XXX_Merge

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

func (*CheckRequest) XXX_Size

func (m *CheckRequest) XXX_Size() int

func (*CheckRequest) XXX_Unmarshal

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

type CheckResponse

type CheckResponse struct {
	Inputs               *_struct.Struct `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"`
	Failures             []*CheckFailure `protobuf:"bytes,2,rep,name=failures,proto3" 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

func (m *CheckResponse) XXX_DiscardUnknown()

func (*CheckResponse) XXX_Marshal

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

func (*CheckResponse) XXX_Merge

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

func (*CheckResponse) XXX_Size

func (m *CheckResponse) XXX_Size() int

func (*CheckResponse) XXX_Unmarshal

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

type ConfigureAnalyzerRequest

type ConfigureAnalyzerRequest struct {
	PolicyConfig         map[string]*PolicyConfig `` /* 165-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

ConfigureAnalyzerRequest provides configuration information to the analyzer.

func (*ConfigureAnalyzerRequest) Descriptor

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

func (*ConfigureAnalyzerRequest) GetPolicyConfig

func (m *ConfigureAnalyzerRequest) GetPolicyConfig() map[string]*PolicyConfig

func (*ConfigureAnalyzerRequest) ProtoMessage

func (*ConfigureAnalyzerRequest) ProtoMessage()

func (*ConfigureAnalyzerRequest) Reset

func (m *ConfigureAnalyzerRequest) Reset()

func (*ConfigureAnalyzerRequest) String

func (m *ConfigureAnalyzerRequest) String() string

func (*ConfigureAnalyzerRequest) XXX_DiscardUnknown

func (m *ConfigureAnalyzerRequest) XXX_DiscardUnknown()

func (*ConfigureAnalyzerRequest) XXX_Marshal

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

func (*ConfigureAnalyzerRequest) XXX_Merge

func (m *ConfigureAnalyzerRequest) XXX_Merge(src proto.Message)

func (*ConfigureAnalyzerRequest) XXX_Size

func (m *ConfigureAnalyzerRequest) XXX_Size() int

func (*ConfigureAnalyzerRequest) XXX_Unmarshal

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

type ConfigureErrorMissingKeys

type ConfigureErrorMissingKeys struct {
	MissingKeys          []*ConfigureErrorMissingKeys_MissingKey `protobuf:"bytes,1,rep,name=missingKeys,proto3" 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

func (m *ConfigureErrorMissingKeys) XXX_DiscardUnknown()

func (*ConfigureErrorMissingKeys) XXX_Marshal

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

func (*ConfigureErrorMissingKeys) XXX_Merge

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

func (*ConfigureErrorMissingKeys) XXX_Size

func (m *ConfigureErrorMissingKeys) XXX_Size() int

func (*ConfigureErrorMissingKeys) XXX_Unmarshal

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

type ConfigureErrorMissingKeys_MissingKey

type ConfigureErrorMissingKeys_MissingKey struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" 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

func (m *ConfigureErrorMissingKeys_MissingKey) XXX_DiscardUnknown()

func (*ConfigureErrorMissingKeys_MissingKey) XXX_Marshal

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

func (*ConfigureErrorMissingKeys_MissingKey) XXX_Merge

func (*ConfigureErrorMissingKeys_MissingKey) XXX_Size

func (*ConfigureErrorMissingKeys_MissingKey) XXX_Unmarshal

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

type ConfigureRequest

type ConfigureRequest struct {
	Variables            map[string]string `` /* 159-byte string literal not displayed */
	Args                 *_struct.Struct   `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`
	AcceptSecrets        bool              `protobuf:"varint,3,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ConfigureRequest) Descriptor

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

func (*ConfigureRequest) GetAcceptSecrets

func (m *ConfigureRequest) GetAcceptSecrets() bool

func (*ConfigureRequest) GetArgs

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

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

func (m *ConfigureRequest) XXX_DiscardUnknown()

func (*ConfigureRequest) XXX_Marshal

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

func (*ConfigureRequest) XXX_Merge

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

func (*ConfigureRequest) XXX_Size

func (m *ConfigureRequest) XXX_Size() int

func (*ConfigureRequest) XXX_Unmarshal

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

type ConfigureResponse

type ConfigureResponse struct {
	AcceptSecrets        bool     `protobuf:"varint,1,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigureResponse) Descriptor

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

func (*ConfigureResponse) GetAcceptSecrets

func (m *ConfigureResponse) GetAcceptSecrets() bool

func (*ConfigureResponse) ProtoMessage

func (*ConfigureResponse) ProtoMessage()

func (*ConfigureResponse) Reset

func (m *ConfigureResponse) Reset()

func (*ConfigureResponse) String

func (m *ConfigureResponse) String() string

func (*ConfigureResponse) XXX_DiscardUnknown

func (m *ConfigureResponse) XXX_DiscardUnknown()

func (*ConfigureResponse) XXX_Marshal

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

func (*ConfigureResponse) XXX_Merge

func (m *ConfigureResponse) XXX_Merge(src proto.Message)

func (*ConfigureResponse) XXX_Size

func (m *ConfigureResponse) XXX_Size() int

func (*ConfigureResponse) XXX_Unmarshal

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

type CreateRequest

type CreateRequest struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	Timeout              float64         `protobuf:"fixed64,3,opt,name=timeout,proto3" json:"timeout,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) GetTimeout

func (m *CreateRequest) GetTimeout() float64

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

func (m *CreateRequest) XXX_DiscardUnknown()

func (*CreateRequest) XXX_Marshal

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

func (*CreateRequest) XXX_Merge

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

func (*CreateRequest) XXX_Size

func (m *CreateRequest) XXX_Size() int

func (*CreateRequest) XXX_Unmarshal

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

type CreateResponse

type CreateResponse struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" 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

func (m *CreateResponse) XXX_DiscardUnknown()

func (*CreateResponse) XXX_Marshal

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

func (*CreateResponse) XXX_Merge

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

func (*CreateResponse) XXX_Size

func (m *CreateResponse) XXX_Size() int

func (*CreateResponse) XXX_Unmarshal

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

type DeleteRequest

type DeleteRequest struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Urn                  string          `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"`
	Timeout              float64         `protobuf:"fixed64,4,opt,name=timeout,proto3" json:"timeout,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) GetTimeout

func (m *DeleteRequest) GetTimeout() float64

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

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal

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

func (*DeleteRequest) XXX_Merge

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

func (*DeleteRequest) XXX_Size

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal

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

type DiffRequest

type DiffRequest struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Urn                  string          `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`
	Olds                 *_struct.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"`
	News                 *_struct.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"`
	IgnoreChanges        []string        `protobuf:"bytes,5,rep,name=ignoreChanges,proto3" json:"ignoreChanges,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) GetIgnoreChanges

func (m *DiffRequest) GetIgnoreChanges() []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

func (m *DiffRequest) XXX_DiscardUnknown()

func (*DiffRequest) XXX_Marshal

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

func (*DiffRequest) XXX_Merge

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

func (*DiffRequest) XXX_Size

func (m *DiffRequest) XXX_Size() int

func (*DiffRequest) XXX_Unmarshal

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

type DiffResponse

type DiffResponse struct {
	Replaces            []string                 `protobuf:"bytes,1,rep,name=replaces,proto3" json:"replaces,omitempty"`
	Stables             []string                 `protobuf:"bytes,2,rep,name=stables,proto3" json:"stables,omitempty"`
	DeleteBeforeReplace bool                     `protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"`
	Changes             DiffResponse_DiffChanges `protobuf:"varint,4,opt,name=changes,proto3,enum=pulumirpc.DiffResponse_DiffChanges" json:"changes,omitempty"`
	Diffs               []string                 `protobuf:"bytes,5,rep,name=diffs,proto3" json:"diffs,omitempty"`
	// detailedDiff is an optional field that contains map from each changed property to the type of the change.
	//
	// The keys of this map are property paths. These paths are essentially Javascript property access expressions
	// in which all elements are literals, and obey the following EBNF-ish grammar:
	//
	//   propertyName := [a-zA-Z_$] { [a-zA-Z0-9_$] }
	//   quotedPropertyName := '"' ( '\' '"' | [^"] ) { ( '\' '"' | [^"] ) } '"'
	//   arrayIndex := { [0-9] }
	//
	//   propertyIndex := '[' ( quotedPropertyName | arrayIndex ) ']'
	//   rootProperty := ( propertyName | propertyIndex )
	//   propertyAccessor := ( ( '.' propertyName ) |  propertyIndex )
	//   path := rootProperty { propertyAccessor }
	//
	// Examples of valid keys:
	// - root
	// - root.nested
	// - root["nested"]
	// - root.double.nest
	// - root["double"].nest
	// - root["double"]["nest"]
	// - root.array[0]
	// - root.array[100]
	// - root.array[0].nested
	// - root.array[0][1].nested
	// - root.nested.array[0].double[1]
	// - root["key with \"escaped\" quotes"]
	// - root["key with a ."]
	// - ["root key with \"escaped\" quotes"].nested
	// - ["root key with a ."][100]
	DetailedDiff         map[string]*PropertyDiff `` /* 165-byte string literal not displayed */
	HasDetailedDiff      bool                     `protobuf:"varint,7,opt,name=hasDetailedDiff,proto3" json:"hasDetailedDiff,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) GetDetailedDiff

func (m *DiffResponse) GetDetailedDiff() map[string]*PropertyDiff

func (*DiffResponse) GetDiffs

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

func (*DiffResponse) GetHasDetailedDiff

func (m *DiffResponse) GetHasDetailedDiff() 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

func (m *DiffResponse) XXX_DiscardUnknown()

func (*DiffResponse) XXX_Marshal

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

func (*DiffResponse) XXX_Merge

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

func (*DiffResponse) XXX_Size

func (m *DiffResponse) XXX_Size() int

func (*DiffResponse) XXX_Unmarshal

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 EnforcementLevel

type EnforcementLevel int32

EnforcementLevel indicates the severity of a policy violation.

const (
	EnforcementLevel_ADVISORY  EnforcementLevel = 0
	EnforcementLevel_MANDATORY EnforcementLevel = 1
	EnforcementLevel_DISABLED  EnforcementLevel = 2
)

func (EnforcementLevel) EnumDescriptor

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

func (EnforcementLevel) String

func (x EnforcementLevel) 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)
}

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.

func NewEngineClient

func NewEngineClient(cc grpc.ClientConnInterface) 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)
}

EngineServer is the server API for Engine service.

type ErrorCause

type ErrorCause struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	StackTrace           string   `protobuf:"bytes,2,opt,name=stackTrace,proto3" 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

func (m *ErrorCause) XXX_DiscardUnknown()

func (*ErrorCause) XXX_Marshal

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

func (*ErrorCause) XXX_Merge

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

func (*ErrorCause) XXX_Size

func (m *ErrorCause) XXX_Size() int

func (*ErrorCause) XXX_Unmarshal

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

type ErrorResourceInitFailed

type ErrorResourceInitFailed struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	Reasons              []string        `protobuf:"bytes,3,rep,name=reasons,proto3" json:"reasons,omitempty"`
	Inputs               *_struct.Struct `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,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

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

func (*ErrorResourceInitFailed) GetId

func (m *ErrorResourceInitFailed) GetId() string

func (*ErrorResourceInitFailed) GetInputs

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

func (*ErrorResourceInitFailed) GetProperties

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

func (*ErrorResourceInitFailed) GetReasons

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

func (*ErrorResourceInitFailed) ProtoMessage

func (*ErrorResourceInitFailed) ProtoMessage()

func (*ErrorResourceInitFailed) Reset

func (m *ErrorResourceInitFailed) Reset()

func (*ErrorResourceInitFailed) String

func (m *ErrorResourceInitFailed) String() string

func (*ErrorResourceInitFailed) XXX_DiscardUnknown

func (m *ErrorResourceInitFailed) XXX_DiscardUnknown()

func (*ErrorResourceInitFailed) XXX_Marshal

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

func (*ErrorResourceInitFailed) XXX_Merge

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

func (*ErrorResourceInitFailed) XXX_Size

func (m *ErrorResourceInitFailed) XXX_Size() int

func (*ErrorResourceInitFailed) XXX_Unmarshal

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

type GetRequiredPluginsRequest

type GetRequiredPluginsRequest struct {
	Project              string   `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Pwd                  string   `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"`
	Program              string   `protobuf:"bytes,3,opt,name=program,proto3" 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

func (m *GetRequiredPluginsRequest) XXX_DiscardUnknown()

func (*GetRequiredPluginsRequest) XXX_Marshal

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

func (*GetRequiredPluginsRequest) XXX_Merge

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

func (*GetRequiredPluginsRequest) XXX_Size

func (m *GetRequiredPluginsRequest) XXX_Size() int

func (*GetRequiredPluginsRequest) XXX_Unmarshal

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

type GetRequiredPluginsResponse

type GetRequiredPluginsResponse struct {
	Plugins              []*PluginDependency `protobuf:"bytes,1,rep,name=plugins,proto3" 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

func (m *GetRequiredPluginsResponse) XXX_DiscardUnknown()

func (*GetRequiredPluginsResponse) XXX_Marshal

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

func (*GetRequiredPluginsResponse) XXX_Merge

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

func (*GetRequiredPluginsResponse) XXX_Size

func (m *GetRequiredPluginsResponse) XXX_Size() int

func (*GetRequiredPluginsResponse) XXX_Unmarshal

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

type GetRootResourceRequest

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

func (*GetRootResourceRequest) Descriptor

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

func (*GetRootResourceRequest) ProtoMessage

func (*GetRootResourceRequest) ProtoMessage()

func (*GetRootResourceRequest) Reset

func (m *GetRootResourceRequest) Reset()

func (*GetRootResourceRequest) String

func (m *GetRootResourceRequest) String() string

func (*GetRootResourceRequest) XXX_DiscardUnknown

func (m *GetRootResourceRequest) XXX_DiscardUnknown()

func (*GetRootResourceRequest) XXX_Marshal

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

func (*GetRootResourceRequest) XXX_Merge

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

func (*GetRootResourceRequest) XXX_Size

func (m *GetRootResourceRequest) XXX_Size() int

func (*GetRootResourceRequest) XXX_Unmarshal

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

type GetRootResourceResponse

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

func (*GetRootResourceResponse) Descriptor

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

func (*GetRootResourceResponse) GetUrn

func (m *GetRootResourceResponse) GetUrn() string

func (*GetRootResourceResponse) ProtoMessage

func (*GetRootResourceResponse) ProtoMessage()

func (*GetRootResourceResponse) Reset

func (m *GetRootResourceResponse) Reset()

func (*GetRootResourceResponse) String

func (m *GetRootResourceResponse) String() string

func (*GetRootResourceResponse) XXX_DiscardUnknown

func (m *GetRootResourceResponse) XXX_DiscardUnknown()

func (*GetRootResourceResponse) XXX_Marshal

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

func (*GetRootResourceResponse) XXX_Merge

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

func (*GetRootResourceResponse) XXX_Size

func (m *GetRootResourceResponse) XXX_Size() int

func (*GetRootResourceResponse) XXX_Unmarshal

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

type GetSchemaRequest

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

func (*GetSchemaRequest) Descriptor

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

func (*GetSchemaRequest) GetVersion

func (m *GetSchemaRequest) GetVersion() int32

func (*GetSchemaRequest) ProtoMessage

func (*GetSchemaRequest) ProtoMessage()

func (*GetSchemaRequest) Reset

func (m *GetSchemaRequest) Reset()

func (*GetSchemaRequest) String

func (m *GetSchemaRequest) String() string

func (*GetSchemaRequest) XXX_DiscardUnknown

func (m *GetSchemaRequest) XXX_DiscardUnknown()

func (*GetSchemaRequest) XXX_Marshal

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

func (*GetSchemaRequest) XXX_Merge

func (m *GetSchemaRequest) XXX_Merge(src proto.Message)

func (*GetSchemaRequest) XXX_Size

func (m *GetSchemaRequest) XXX_Size() int

func (*GetSchemaRequest) XXX_Unmarshal

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

type GetSchemaResponse

type GetSchemaResponse struct {
	Schema               string   `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetSchemaResponse) Descriptor

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

func (*GetSchemaResponse) GetSchema

func (m *GetSchemaResponse) GetSchema() string

func (*GetSchemaResponse) ProtoMessage

func (*GetSchemaResponse) ProtoMessage()

func (*GetSchemaResponse) Reset

func (m *GetSchemaResponse) Reset()

func (*GetSchemaResponse) String

func (m *GetSchemaResponse) String() string

func (*GetSchemaResponse) XXX_DiscardUnknown

func (m *GetSchemaResponse) XXX_DiscardUnknown()

func (*GetSchemaResponse) XXX_Marshal

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

func (*GetSchemaResponse) XXX_Merge

func (m *GetSchemaResponse) XXX_Merge(src proto.Message)

func (*GetSchemaResponse) XXX_Size

func (m *GetSchemaResponse) XXX_Size() int

func (*GetSchemaResponse) XXX_Unmarshal

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

type InvokeRequest

type InvokeRequest struct {
	Tok                  string          `protobuf:"bytes,1,opt,name=tok,proto3" json:"tok,omitempty"`
	Args                 *_struct.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`
	Provider             string          `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	Version              string          `protobuf:"bytes,4,opt,name=version,proto3" json:"version,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

func (m *InvokeRequest) GetProvider() string

func (*InvokeRequest) GetTok

func (m *InvokeRequest) GetTok() string

func (*InvokeRequest) GetVersion

func (m *InvokeRequest) GetVersion() 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

func (m *InvokeRequest) XXX_DiscardUnknown()

func (*InvokeRequest) XXX_Marshal

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

func (*InvokeRequest) XXX_Merge

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

func (*InvokeRequest) XXX_Size

func (m *InvokeRequest) XXX_Size() int

func (*InvokeRequest) XXX_Unmarshal

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

type InvokeResponse

type InvokeResponse struct {
	Return               *_struct.Struct `protobuf:"bytes,1,opt,name=return,proto3" json:"return,omitempty"`
	Failures             []*CheckFailure `protobuf:"bytes,2,rep,name=failures,proto3" 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

func (m *InvokeResponse) XXX_DiscardUnknown()

func (*InvokeResponse) XXX_Marshal

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

func (*InvokeResponse) XXX_Merge

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

func (*InvokeResponse) XXX_Size

func (m *InvokeResponse) XXX_Size() int

func (*InvokeResponse) XXX_Unmarshal

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)
}

LanguageRuntimeClient is the client API for LanguageRuntime service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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)
}

LanguageRuntimeServer is the server API for LanguageRuntime service.

type LogRequest

type LogRequest struct {
	// the logging level of this message.
	Severity LogSeverity `protobuf:"varint,1,opt,name=severity,proto3,enum=pulumirpc.LogSeverity" json:"severity,omitempty"`
	// the contents of the logged message.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// the (optional) resource urn this log is associated with.
	Urn string `protobuf:"bytes,3,opt,name=urn,proto3" 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,proto3" json:"streamId,omitempty"`
	// Optional value indicating whether this is a status message.
	Ephemeral            bool     `protobuf:"varint,5,opt,name=ephemeral,proto3" 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

func (m *LogRequest) GetEphemeral() bool

func (*LogRequest) GetMessage

func (m *LogRequest) GetMessage() string

func (*LogRequest) GetSeverity

func (m *LogRequest) GetSeverity() LogSeverity

func (*LogRequest) GetStreamId

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

func (m *LogRequest) XXX_DiscardUnknown()

func (*LogRequest) XXX_Marshal

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

func (*LogRequest) XXX_Merge

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

func (*LogRequest) XXX_Size

func (m *LogRequest) XXX_Size() int

func (*LogRequest) XXX_Unmarshal

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,proto3" json:"name,omitempty"`
	Kind                 string   `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Server               string   `protobuf:"bytes,4,opt,name=server,proto3" json:"server,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) GetServer

func (m *PluginDependency) GetServer() 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

func (m *PluginDependency) XXX_DiscardUnknown()

func (*PluginDependency) XXX_Marshal

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

func (*PluginDependency) XXX_Merge

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

func (*PluginDependency) XXX_Size

func (m *PluginDependency) XXX_Size() int

func (*PluginDependency) XXX_Unmarshal

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

type PluginInfo

type PluginInfo struct {
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" 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

func (m *PluginInfo) XXX_DiscardUnknown()

func (*PluginInfo) XXX_Marshal

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

func (*PluginInfo) XXX_Merge

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

func (*PluginInfo) XXX_Size

func (m *PluginInfo) XXX_Size() int

func (*PluginInfo) XXX_Unmarshal

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

type PolicyConfig

type PolicyConfig struct {
	EnforcementLevel     EnforcementLevel `protobuf:"varint,1,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"`
	Properties           *_struct.Struct  `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

PolicyConfig provides configuration for a policy.

func (*PolicyConfig) Descriptor

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

func (*PolicyConfig) GetEnforcementLevel

func (m *PolicyConfig) GetEnforcementLevel() EnforcementLevel

func (*PolicyConfig) GetProperties

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

func (*PolicyConfig) ProtoMessage

func (*PolicyConfig) ProtoMessage()

func (*PolicyConfig) Reset

func (m *PolicyConfig) Reset()

func (*PolicyConfig) String

func (m *PolicyConfig) String() string

func (*PolicyConfig) XXX_DiscardUnknown

func (m *PolicyConfig) XXX_DiscardUnknown()

func (*PolicyConfig) XXX_Marshal

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

func (*PolicyConfig) XXX_Merge

func (m *PolicyConfig) XXX_Merge(src proto.Message)

func (*PolicyConfig) XXX_Size

func (m *PolicyConfig) XXX_Size() int

func (*PolicyConfig) XXX_Unmarshal

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

type PolicyConfigSchema

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

PolicyConfigSchema provides the schema for a policy's configuration.

func (*PolicyConfigSchema) Descriptor

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

func (*PolicyConfigSchema) GetProperties

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

func (*PolicyConfigSchema) GetRequired

func (m *PolicyConfigSchema) GetRequired() []string

func (*PolicyConfigSchema) ProtoMessage

func (*PolicyConfigSchema) ProtoMessage()

func (*PolicyConfigSchema) Reset

func (m *PolicyConfigSchema) Reset()

func (*PolicyConfigSchema) String

func (m *PolicyConfigSchema) String() string

func (*PolicyConfigSchema) XXX_DiscardUnknown

func (m *PolicyConfigSchema) XXX_DiscardUnknown()

func (*PolicyConfigSchema) XXX_Marshal

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

func (*PolicyConfigSchema) XXX_Merge

func (m *PolicyConfigSchema) XXX_Merge(src proto.Message)

func (*PolicyConfigSchema) XXX_Size

func (m *PolicyConfigSchema) XXX_Size() int

func (*PolicyConfigSchema) XXX_Unmarshal

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

type PolicyInfo

type PolicyInfo struct {
	Name                 string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName          string              `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
	Description          string              `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Message              string              `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	EnforcementLevel     EnforcementLevel    `protobuf:"varint,5,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"`
	ConfigSchema         *PolicyConfigSchema `protobuf:"bytes,6,opt,name=configSchema,proto3" json:"configSchema,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

PolicyInfo provides metadata about a policy within a Policy Pack.

func (*PolicyInfo) Descriptor

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

func (*PolicyInfo) GetConfigSchema

func (m *PolicyInfo) GetConfigSchema() *PolicyConfigSchema

func (*PolicyInfo) GetDescription

func (m *PolicyInfo) GetDescription() string

func (*PolicyInfo) GetDisplayName

func (m *PolicyInfo) GetDisplayName() string

func (*PolicyInfo) GetEnforcementLevel

func (m *PolicyInfo) GetEnforcementLevel() EnforcementLevel

func (*PolicyInfo) GetMessage

func (m *PolicyInfo) GetMessage() string

func (*PolicyInfo) GetName

func (m *PolicyInfo) GetName() string

func (*PolicyInfo) ProtoMessage

func (*PolicyInfo) ProtoMessage()

func (*PolicyInfo) Reset

func (m *PolicyInfo) Reset()

func (*PolicyInfo) String

func (m *PolicyInfo) String() string

func (*PolicyInfo) XXX_DiscardUnknown

func (m *PolicyInfo) XXX_DiscardUnknown()

func (*PolicyInfo) XXX_Marshal

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

func (*PolicyInfo) XXX_Merge

func (m *PolicyInfo) XXX_Merge(src proto.Message)

func (*PolicyInfo) XXX_Size

func (m *PolicyInfo) XXX_Size() int

func (*PolicyInfo) XXX_Unmarshal

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

type PropertyDiff

type PropertyDiff struct {
	Kind                 PropertyDiff_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=pulumirpc.PropertyDiff_Kind" json:"kind,omitempty"`
	InputDiff            bool              `protobuf:"varint,2,opt,name=inputDiff,proto3" json:"inputDiff,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PropertyDiff) Descriptor

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

func (*PropertyDiff) GetInputDiff

func (m *PropertyDiff) GetInputDiff() bool

func (*PropertyDiff) GetKind

func (m *PropertyDiff) GetKind() PropertyDiff_Kind

func (*PropertyDiff) ProtoMessage

func (*PropertyDiff) ProtoMessage()

func (*PropertyDiff) Reset

func (m *PropertyDiff) Reset()

func (*PropertyDiff) String

func (m *PropertyDiff) String() string

func (*PropertyDiff) XXX_DiscardUnknown

func (m *PropertyDiff) XXX_DiscardUnknown()

func (*PropertyDiff) XXX_Marshal

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

func (*PropertyDiff) XXX_Merge

func (m *PropertyDiff) XXX_Merge(src proto.Message)

func (*PropertyDiff) XXX_Size

func (m *PropertyDiff) XXX_Size() int

func (*PropertyDiff) XXX_Unmarshal

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

type PropertyDiff_Kind

type PropertyDiff_Kind int32
const (
	PropertyDiff_ADD            PropertyDiff_Kind = 0
	PropertyDiff_ADD_REPLACE    PropertyDiff_Kind = 1
	PropertyDiff_DELETE         PropertyDiff_Kind = 2
	PropertyDiff_DELETE_REPLACE PropertyDiff_Kind = 3
	PropertyDiff_UPDATE         PropertyDiff_Kind = 4
	PropertyDiff_UPDATE_REPLACE PropertyDiff_Kind = 5
)

func (PropertyDiff_Kind) EnumDescriptor

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

func (PropertyDiff_Kind) String

func (x PropertyDiff_Kind) String() string

type ReadRequest

type ReadRequest struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Urn                  string          `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"`
	Inputs               *_struct.Struct `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,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) GetInputs

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

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

func (m *ReadRequest) XXX_DiscardUnknown()

func (*ReadRequest) XXX_Marshal

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

func (*ReadRequest) XXX_Merge

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

func (*ReadRequest) XXX_Size

func (m *ReadRequest) XXX_Size() int

func (*ReadRequest) XXX_Unmarshal

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

type ReadResourceRequest

type ReadResourceRequest struct {
	Id                      string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type                    string          `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Name                    string          `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Parent                  string          `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	Properties              *_struct.Struct `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"`
	Dependencies            []string        `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	Provider                string          `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"`
	Version                 string          `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	AcceptSecrets           bool            `protobuf:"varint,9,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`
	AdditionalSecretOutputs []string        `protobuf:"bytes,10,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"`
	Aliases                 []string        `protobuf:"bytes,11,rep,name=aliases,proto3" json:"aliases,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) GetAcceptSecrets

func (m *ReadResourceRequest) GetAcceptSecrets() bool

func (*ReadResourceRequest) GetAdditionalSecretOutputs

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

func (*ReadResourceRequest) GetAliases

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

func (*ReadResourceRequest) GetDependencies

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

func (m *ReadResourceRequest) GetProvider() string

func (*ReadResourceRequest) GetType

func (m *ReadResourceRequest) GetType() string

func (*ReadResourceRequest) GetVersion

func (m *ReadResourceRequest) GetVersion() 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

func (m *ReadResourceRequest) XXX_DiscardUnknown()

func (*ReadResourceRequest) XXX_Marshal

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

func (*ReadResourceRequest) XXX_Merge

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

func (*ReadResourceRequest) XXX_Size

func (m *ReadResourceRequest) XXX_Size() int

func (*ReadResourceRequest) XXX_Unmarshal

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

type ReadResourceResponse

type ReadResourceResponse struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" 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

func (m *ReadResourceResponse) XXX_DiscardUnknown()

func (*ReadResourceResponse) XXX_Marshal

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

func (*ReadResourceResponse) XXX_Merge

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

func (*ReadResourceResponse) XXX_Size

func (m *ReadResourceResponse) XXX_Size() int

func (*ReadResourceResponse) XXX_Unmarshal

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

type ReadResponse

type ReadResponse struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Properties           *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	Inputs               *_struct.Struct `protobuf:"bytes,3,opt,name=inputs,proto3" json:"inputs,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) GetInputs

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

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

func (m *ReadResponse) XXX_DiscardUnknown()

func (*ReadResponse) XXX_Marshal

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

func (*ReadResponse) XXX_Merge

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

func (*ReadResponse) XXX_Size

func (m *ReadResponse) XXX_Size() int

func (*ReadResponse) XXX_Unmarshal

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

type RegisterResourceOutputsRequest

type RegisterResourceOutputsRequest struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
	Outputs              *_struct.Struct `protobuf:"bytes,2,opt,name=outputs,proto3" 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

func (m *RegisterResourceOutputsRequest) XXX_DiscardUnknown()

func (*RegisterResourceOutputsRequest) XXX_Marshal

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

func (*RegisterResourceOutputsRequest) XXX_Merge

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

func (*RegisterResourceOutputsRequest) XXX_Size

func (m *RegisterResourceOutputsRequest) XXX_Size() int

func (*RegisterResourceOutputsRequest) XXX_Unmarshal

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

type RegisterResourceRequest

type RegisterResourceRequest struct {
	Type                       string                                                   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Name                       string                                                   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Parent                     string                                                   `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	Custom                     bool                                                     `protobuf:"varint,4,opt,name=custom,proto3" json:"custom,omitempty"`
	Object                     *_struct.Struct                                          `protobuf:"bytes,5,opt,name=object,proto3" json:"object,omitempty"`
	Protect                    bool                                                     `protobuf:"varint,6,opt,name=protect,proto3" json:"protect,omitempty"`
	Dependencies               []string                                                 `protobuf:"bytes,7,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	Provider                   string                                                   `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"`
	PropertyDependencies       map[string]*RegisterResourceRequest_PropertyDependencies `` /* 181-byte string literal not displayed */
	DeleteBeforeReplace        bool                                                     `protobuf:"varint,10,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"`
	Version                    string                                                   `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"`
	IgnoreChanges              []string                                                 `protobuf:"bytes,12,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"`
	AcceptSecrets              bool                                                     `protobuf:"varint,13,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`
	AdditionalSecretOutputs    []string                                                 `protobuf:"bytes,14,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"`
	Aliases                    []string                                                 `protobuf:"bytes,15,rep,name=aliases,proto3" json:"aliases,omitempty"`
	ImportId                   string                                                   `protobuf:"bytes,16,opt,name=importId,proto3" json:"importId,omitempty"`
	CustomTimeouts             *RegisterResourceRequest_CustomTimeouts                  `protobuf:"bytes,17,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"`
	DeleteBeforeReplaceDefined bool                                                     `protobuf:"varint,18,opt,name=deleteBeforeReplaceDefined,proto3" json:"deleteBeforeReplaceDefined,omitempty"`
	SupportsPartialValues      bool                                                     `protobuf:"varint,19,opt,name=supportsPartialValues,proto3" json:"supportsPartialValues,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) GetAcceptSecrets

func (m *RegisterResourceRequest) GetAcceptSecrets() bool

func (*RegisterResourceRequest) GetAdditionalSecretOutputs

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

func (*RegisterResourceRequest) GetAliases

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

func (*RegisterResourceRequest) GetCustom

func (m *RegisterResourceRequest) GetCustom() bool

func (*RegisterResourceRequest) GetCustomTimeouts

func (*RegisterResourceRequest) GetDeleteBeforeReplace

func (m *RegisterResourceRequest) GetDeleteBeforeReplace() bool

func (*RegisterResourceRequest) GetDeleteBeforeReplaceDefined

func (m *RegisterResourceRequest) GetDeleteBeforeReplaceDefined() bool

func (*RegisterResourceRequest) GetDependencies

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

func (*RegisterResourceRequest) GetIgnoreChanges

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

func (*RegisterResourceRequest) GetImportId

func (m *RegisterResourceRequest) GetImportId() 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

func (*RegisterResourceRequest) GetProtect

func (m *RegisterResourceRequest) GetProtect() bool

func (*RegisterResourceRequest) GetProvider

func (m *RegisterResourceRequest) GetProvider() string

func (*RegisterResourceRequest) GetSupportsPartialValues

func (m *RegisterResourceRequest) GetSupportsPartialValues() bool

func (*RegisterResourceRequest) GetType

func (m *RegisterResourceRequest) GetType() string

func (*RegisterResourceRequest) GetVersion

func (m *RegisterResourceRequest) GetVersion() 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

func (m *RegisterResourceRequest) XXX_DiscardUnknown()

func (*RegisterResourceRequest) XXX_Marshal

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

func (*RegisterResourceRequest) XXX_Merge

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

func (*RegisterResourceRequest) XXX_Size

func (m *RegisterResourceRequest) XXX_Size() int

func (*RegisterResourceRequest) XXX_Unmarshal

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

type RegisterResourceRequest_CustomTimeouts

type RegisterResourceRequest_CustomTimeouts struct {
	Create               string   `protobuf:"bytes,1,opt,name=create,proto3" json:"create,omitempty"`
	Update               string   `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
	Delete               string   `protobuf:"bytes,3,opt,name=delete,proto3" json:"delete,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CustomTimeouts allows a user to be able to create a set of custom timeout parameters.

func (*RegisterResourceRequest_CustomTimeouts) Descriptor

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

func (*RegisterResourceRequest_CustomTimeouts) GetCreate

func (*RegisterResourceRequest_CustomTimeouts) GetDelete

func (*RegisterResourceRequest_CustomTimeouts) GetUpdate

func (*RegisterResourceRequest_CustomTimeouts) ProtoMessage

func (*RegisterResourceRequest_CustomTimeouts) Reset

func (*RegisterResourceRequest_CustomTimeouts) String

func (*RegisterResourceRequest_CustomTimeouts) XXX_DiscardUnknown

func (m *RegisterResourceRequest_CustomTimeouts) XXX_DiscardUnknown()

func (*RegisterResourceRequest_CustomTimeouts) XXX_Marshal

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

func (*RegisterResourceRequest_CustomTimeouts) XXX_Merge

func (*RegisterResourceRequest_CustomTimeouts) XXX_Size

func (*RegisterResourceRequest_CustomTimeouts) XXX_Unmarshal

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

type RegisterResourceRequest_PropertyDependencies

type RegisterResourceRequest_PropertyDependencies struct {
	Urns                 []string `protobuf:"bytes,1,rep,name=urns,proto3" 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

func (*RegisterResourceRequest_PropertyDependencies) GetUrns

func (*RegisterResourceRequest_PropertyDependencies) ProtoMessage

func (*RegisterResourceRequest_PropertyDependencies) Reset

func (*RegisterResourceRequest_PropertyDependencies) String

func (*RegisterResourceRequest_PropertyDependencies) XXX_DiscardUnknown

func (m *RegisterResourceRequest_PropertyDependencies) XXX_DiscardUnknown()

func (*RegisterResourceRequest_PropertyDependencies) XXX_Marshal

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

func (*RegisterResourceRequest_PropertyDependencies) XXX_Merge

func (*RegisterResourceRequest_PropertyDependencies) XXX_Size

func (*RegisterResourceRequest_PropertyDependencies) XXX_Unmarshal

type RegisterResourceResponse

type RegisterResourceResponse struct {
	Urn                  string          `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
	Id                   string          `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Object               *_struct.Struct `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	Stable               bool            `protobuf:"varint,4,opt,name=stable,proto3" json:"stable,omitempty"`
	Stables              []string        `protobuf:"bytes,5,rep,name=stables,proto3" 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

func (m *RegisterResourceResponse) XXX_DiscardUnknown()

func (*RegisterResourceResponse) XXX_Marshal

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

func (*RegisterResourceResponse) XXX_Merge

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

func (*RegisterResourceResponse) XXX_Size

func (m *RegisterResourceResponse) XXX_Size() int

func (*RegisterResourceResponse) XXX_Unmarshal

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

type ResourceMonitorClient

type ResourceMonitorClient interface {
	SupportsFeature(ctx context.Context, in *SupportsFeatureRequest, opts ...grpc.CallOption) (*SupportsFeatureResponse, error)
	Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error)
	StreamInvoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (ResourceMonitor_StreamInvokeClient, 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)
}

ResourceMonitorClient is the client API for ResourceMonitor service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ResourceMonitorServer

ResourceMonitorServer is the server API for ResourceMonitor service.

type ResourceMonitor_StreamInvokeClient

type ResourceMonitor_StreamInvokeClient interface {
	Recv() (*InvokeResponse, error)
	grpc.ClientStream
}

type ResourceMonitor_StreamInvokeServer

type ResourceMonitor_StreamInvokeServer interface {
	Send(*InvokeResponse) error
	grpc.ServerStream
}

type ResourceProviderClient

type ResourceProviderClient interface {
	// GetSchema fetches the schema for this resource provider.
	GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*GetSchemaResponse, error)
	// CheckConfig validates the configuration for this resource provider.
	CheckConfig(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
	// DiffConfig checks the impact a hypothetical change to this provider's configuration will have on the provider.
	DiffConfig(ctx context.Context, in *DiffRequest, opts ...grpc.CallOption) (*DiffResponse, error)
	// Configure configures the resource provider with "globals" that control its behavior.
	Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*ConfigureResponse, error)
	// Invoke dynamically executes a built-in function in the provider.
	Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error)
	// StreamInvoke dynamically executes a built-in function in the provider, which returns a stream
	// of responses.
	StreamInvoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (ResourceProvider_StreamInvokeClient, 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 "transactional").
	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)
}

ResourceProviderClient is the client API for ResourceProvider service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ResourceProviderServer

type ResourceProviderServer interface {
	// GetSchema fetches the schema for this resource provider.
	GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)
	// CheckConfig validates the configuration for this resource provider.
	CheckConfig(context.Context, *CheckRequest) (*CheckResponse, error)
	// DiffConfig checks the impact a hypothetical change to this provider's configuration will have on the provider.
	DiffConfig(context.Context, *DiffRequest) (*DiffResponse, error)
	// Configure configures the resource provider with "globals" that control its behavior.
	Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error)
	// Invoke dynamically executes a built-in function in the provider.
	Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
	// StreamInvoke dynamically executes a built-in function in the provider, which returns a stream
	// of responses.
	StreamInvoke(*InvokeRequest, ResourceProvider_StreamInvokeServer) 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 "transactional").
	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)
}

ResourceProviderServer is the server API for ResourceProvider service.

type ResourceProvider_StreamInvokeClient

type ResourceProvider_StreamInvokeClient interface {
	Recv() (*InvokeResponse, error)
	grpc.ClientStream
}

type ResourceProvider_StreamInvokeServer

type ResourceProvider_StreamInvokeServer interface {
	Send(*InvokeResponse) error
	grpc.ServerStream
}

type RunRequest

type RunRequest struct {
	Project              string            `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Stack                string            `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"`
	Pwd                  string            `protobuf:"bytes,3,opt,name=pwd,proto3" json:"pwd,omitempty"`
	Program              string            `protobuf:"bytes,4,opt,name=program,proto3" json:"program,omitempty"`
	Args                 []string          `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
	Config               map[string]string `` /* 153-byte string literal not displayed */
	DryRun               bool              `protobuf:"varint,7,opt,name=dryRun,proto3" json:"dryRun,omitempty"`
	Parallel             int32             `protobuf:"varint,8,opt,name=parallel,proto3" json:"parallel,omitempty"`
	MonitorAddress       string            `protobuf:"bytes,9,opt,name=monitor_address,json=monitorAddress,proto3" json:"monitor_address,omitempty"`
	QueryMode            bool              `protobuf:"varint,10,opt,name=queryMode,proto3" json:"queryMode,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) GetQueryMode

func (m *RunRequest) GetQueryMode() bool

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

func (m *RunRequest) XXX_DiscardUnknown()

func (*RunRequest) XXX_Marshal

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

func (*RunRequest) XXX_Merge

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

func (*RunRequest) XXX_Size

func (m *RunRequest) XXX_Size() int

func (*RunRequest) XXX_Unmarshal

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

type RunResponse

type RunResponse struct {
	// An unhandled error if any occurred.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// An error happened.  And it was reported to the user.  Work should stop immediately
	// with nothing further to print to the user.  This corresponds to a "result.Bail()"
	// value in the 'go' layer.
	Bail                 bool     `protobuf:"varint,2,opt,name=bail,proto3" json:"bail,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) GetBail

func (m *RunResponse) GetBail() bool

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

func (m *RunResponse) XXX_DiscardUnknown()

func (*RunResponse) XXX_Marshal

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

func (*RunResponse) XXX_Merge

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

func (*RunResponse) XXX_Size

func (m *RunResponse) XXX_Size() int

func (*RunResponse) XXX_Unmarshal

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

type SetRootResourceRequest

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

func (*SetRootResourceRequest) Descriptor

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

func (*SetRootResourceRequest) GetUrn

func (m *SetRootResourceRequest) GetUrn() string

func (*SetRootResourceRequest) ProtoMessage

func (*SetRootResourceRequest) ProtoMessage()

func (*SetRootResourceRequest) Reset

func (m *SetRootResourceRequest) Reset()

func (*SetRootResourceRequest) String

func (m *SetRootResourceRequest) String() string

func (*SetRootResourceRequest) XXX_DiscardUnknown

func (m *SetRootResourceRequest) XXX_DiscardUnknown()

func (*SetRootResourceRequest) XXX_Marshal

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

func (*SetRootResourceRequest) XXX_Merge

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

func (*SetRootResourceRequest) XXX_Size

func (m *SetRootResourceRequest) XXX_Size() int

func (*SetRootResourceRequest) XXX_Unmarshal

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

type SetRootResourceResponse

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

func (*SetRootResourceResponse) Descriptor

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

func (*SetRootResourceResponse) ProtoMessage

func (*SetRootResourceResponse) ProtoMessage()

func (*SetRootResourceResponse) Reset

func (m *SetRootResourceResponse) Reset()

func (*SetRootResourceResponse) String

func (m *SetRootResourceResponse) String() string

func (*SetRootResourceResponse) XXX_DiscardUnknown

func (m *SetRootResourceResponse) XXX_DiscardUnknown()

func (*SetRootResourceResponse) XXX_Marshal

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

func (*SetRootResourceResponse) XXX_Merge

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

func (*SetRootResourceResponse) XXX_Size

func (m *SetRootResourceResponse) XXX_Size() int

func (*SetRootResourceResponse) XXX_Unmarshal

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

type SupportsFeatureRequest

type SupportsFeatureRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SupportsFeatureRequest allows a client to test if the resource monitor supports a certain feature, which it may use to control the format or types of messages it sends.

func (*SupportsFeatureRequest) Descriptor

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

func (*SupportsFeatureRequest) GetId

func (m *SupportsFeatureRequest) GetId() string

func (*SupportsFeatureRequest) ProtoMessage

func (*SupportsFeatureRequest) ProtoMessage()

func (*SupportsFeatureRequest) Reset

func (m *SupportsFeatureRequest) Reset()

func (*SupportsFeatureRequest) String

func (m *SupportsFeatureRequest) String() string

func (*SupportsFeatureRequest) XXX_DiscardUnknown

func (m *SupportsFeatureRequest) XXX_DiscardUnknown()

func (*SupportsFeatureRequest) XXX_Marshal

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

func (*SupportsFeatureRequest) XXX_Merge

func (m *SupportsFeatureRequest) XXX_Merge(src proto.Message)

func (*SupportsFeatureRequest) XXX_Size

func (m *SupportsFeatureRequest) XXX_Size() int

func (*SupportsFeatureRequest) XXX_Unmarshal

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

type SupportsFeatureResponse

type SupportsFeatureResponse struct {
	HasSupport           bool     `protobuf:"varint,1,opt,name=hasSupport,proto3" json:"hasSupport,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SupportsFeatureResponse) Descriptor

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

func (*SupportsFeatureResponse) GetHasSupport

func (m *SupportsFeatureResponse) GetHasSupport() bool

func (*SupportsFeatureResponse) ProtoMessage

func (*SupportsFeatureResponse) ProtoMessage()

func (*SupportsFeatureResponse) Reset

func (m *SupportsFeatureResponse) Reset()

func (*SupportsFeatureResponse) String

func (m *SupportsFeatureResponse) String() string

func (*SupportsFeatureResponse) XXX_DiscardUnknown

func (m *SupportsFeatureResponse) XXX_DiscardUnknown()

func (*SupportsFeatureResponse) XXX_Marshal

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

func (*SupportsFeatureResponse) XXX_Merge

func (m *SupportsFeatureResponse) XXX_Merge(src proto.Message)

func (*SupportsFeatureResponse) XXX_Size

func (m *SupportsFeatureResponse) XXX_Size() int

func (*SupportsFeatureResponse) XXX_Unmarshal

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

type UnimplementedAnalyzerServer

type UnimplementedAnalyzerServer struct {
}

UnimplementedAnalyzerServer can be embedded to have forward compatible implementations.

func (*UnimplementedAnalyzerServer) Analyze

func (*UnimplementedAnalyzerServer) AnalyzeStack

func (*UnimplementedAnalyzerServer) Configure

func (*UnimplementedAnalyzerServer) GetAnalyzerInfo

func (*UnimplementedAnalyzerServer) GetAnalyzerInfo(ctx context.Context, req *empty.Empty) (*AnalyzerInfo, error)

func (*UnimplementedAnalyzerServer) GetPluginInfo

func (*UnimplementedAnalyzerServer) GetPluginInfo(ctx context.Context, req *empty.Empty) (*PluginInfo, error)

type UnimplementedEngineServer

type UnimplementedEngineServer struct {
}

UnimplementedEngineServer can be embedded to have forward compatible implementations.

func (*UnimplementedEngineServer) GetRootResource

func (*UnimplementedEngineServer) Log

func (*UnimplementedEngineServer) SetRootResource

type UnimplementedLanguageRuntimeServer

type UnimplementedLanguageRuntimeServer struct {
}

UnimplementedLanguageRuntimeServer can be embedded to have forward compatible implementations.

func (*UnimplementedLanguageRuntimeServer) GetPluginInfo

func (*UnimplementedLanguageRuntimeServer) GetRequiredPlugins

func (*UnimplementedLanguageRuntimeServer) Run

type UnimplementedResourceMonitorServer

type UnimplementedResourceMonitorServer struct {
}

UnimplementedResourceMonitorServer can be embedded to have forward compatible implementations.

func (*UnimplementedResourceMonitorServer) Invoke

func (*UnimplementedResourceMonitorServer) ReadResource

func (*UnimplementedResourceMonitorServer) RegisterResource

func (*UnimplementedResourceMonitorServer) RegisterResourceOutputs

func (*UnimplementedResourceMonitorServer) StreamInvoke

func (*UnimplementedResourceMonitorServer) SupportsFeature

type UnimplementedResourceProviderServer

type UnimplementedResourceProviderServer struct {
}

UnimplementedResourceProviderServer can be embedded to have forward compatible implementations.

func (*UnimplementedResourceProviderServer) Cancel

func (*UnimplementedResourceProviderServer) Check

func (*UnimplementedResourceProviderServer) CheckConfig

func (*UnimplementedResourceProviderServer) Configure

func (*UnimplementedResourceProviderServer) Create

func (*UnimplementedResourceProviderServer) Delete

func (*UnimplementedResourceProviderServer) Diff

func (*UnimplementedResourceProviderServer) DiffConfig

func (*UnimplementedResourceProviderServer) GetPluginInfo

func (*UnimplementedResourceProviderServer) GetSchema

func (*UnimplementedResourceProviderServer) Invoke

func (*UnimplementedResourceProviderServer) Read

func (*UnimplementedResourceProviderServer) StreamInvoke

func (*UnimplementedResourceProviderServer) Update

type UpdateRequest

type UpdateRequest struct {
	Id                   string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Urn                  string          `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`
	Olds                 *_struct.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"`
	News                 *_struct.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"`
	Timeout              float64         `protobuf:"fixed64,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	IgnoreChanges        []string        `protobuf:"bytes,6,rep,name=ignoreChanges,proto3" json:"ignoreChanges,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) GetIgnoreChanges

func (m *UpdateRequest) GetIgnoreChanges() []string

func (*UpdateRequest) GetNews

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

func (*UpdateRequest) GetOlds

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

func (*UpdateRequest) GetTimeout

func (m *UpdateRequest) GetTimeout() float64

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

func (m *UpdateRequest) XXX_DiscardUnknown()

func (*UpdateRequest) XXX_Marshal

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

func (*UpdateRequest) XXX_Merge

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

func (*UpdateRequest) XXX_Size

func (m *UpdateRequest) XXX_Size() int

func (*UpdateRequest) XXX_Unmarshal

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

type UpdateResponse

type UpdateResponse struct {
	Properties           *_struct.Struct `protobuf:"bytes,1,opt,name=properties,proto3" 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

func (m *UpdateResponse) XXX_DiscardUnknown()

func (*UpdateResponse) XXX_Marshal

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

func (*UpdateResponse) XXX_Merge

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

func (*UpdateResponse) XXX_Size

func (m *UpdateResponse) XXX_Size() int

func (*UpdateResponse) XXX_Unmarshal

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