pulumirpc

package
v3.40.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 10 Imported by: 84

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnforcementLevel_name = map[int32]string{
		0: "ADVISORY",
		1: "MANDATORY",
		2: "DISABLED",
	}
	EnforcementLevel_value = map[string]int32{
		"ADVISORY":  0,
		"MANDATORY": 1,
		"DISABLED":  2,
	}
)

Enum value maps for EnforcementLevel.

View Source
var (
	LogSeverity_name = map[int32]string{
		0: "DEBUG",
		1: "INFO",
		2: "WARNING",
		3: "ERROR",
	}
	LogSeverity_value = map[string]int32{
		"DEBUG":   0,
		"INFO":    1,
		"WARNING": 2,
		"ERROR":   3,
	}
)

Enum value maps for LogSeverity.

View Source
var (
	PropertyDiff_Kind_name = map[int32]string{
		0: "ADD",
		1: "ADD_REPLACE",
		2: "DELETE",
		3: "DELETE_REPLACE",
		4: "UPDATE",
		5: "UPDATE_REPLACE",
	}
	PropertyDiff_Kind_value = map[string]int32{
		"ADD":            0,
		"ADD_REPLACE":    1,
		"DELETE":         2,
		"DELETE_REPLACE": 3,
		"UPDATE":         4,
		"UPDATE_REPLACE": 5,
	}
)

Enum value maps for PropertyDiff_Kind.

View Source
var (
	DiffResponse_DiffChanges_name = map[int32]string{
		0: "DIFF_UNKNOWN",
		1: "DIFF_NONE",
		2: "DIFF_SOME",
	}
	DiffResponse_DiffChanges_value = map[string]int32{
		"DIFF_UNKNOWN": 0,
		"DIFF_NONE":    1,
		"DIFF_SOME":    2,
	}
)

Enum value maps for DiffResponse_DiffChanges.

View Source
var File_pulumi_analyzer_proto protoreflect.FileDescriptor
View Source
var File_pulumi_engine_proto protoreflect.FileDescriptor
View Source
var File_pulumi_errors_proto protoreflect.FileDescriptor
View Source
var File_pulumi_language_proto protoreflect.FileDescriptor
View Source
var File_pulumi_plugin_proto protoreflect.FileDescriptor
View Source
var File_pulumi_provider_proto protoreflect.FileDescriptor
View Source
var File_pulumi_resource_proto protoreflect.FileDescriptor

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 AboutResponse added in v3.37.0

type AboutResponse struct {
	Executable string            `protobuf:"bytes,1,opt,name=executable,proto3" json:"executable,omitempty"` // the primary executable for the runtime of this language.
	Version    string            `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`       // the version of the runtime for this language.
	Metadata   map[string]string ``                                                                          // other information about this language.
	/* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

AboutResponse returns runtime information about the language.

func (*AboutResponse) Descriptor deprecated added in v3.37.0

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

Deprecated: Use AboutResponse.ProtoReflect.Descriptor instead.

func (*AboutResponse) GetExecutable added in v3.37.0

func (x *AboutResponse) GetExecutable() string

func (*AboutResponse) GetMetadata added in v3.37.0

func (x *AboutResponse) GetMetadata() map[string]string

func (*AboutResponse) GetVersion added in v3.37.0

func (x *AboutResponse) GetVersion() string

func (*AboutResponse) ProtoMessage added in v3.37.0

func (*AboutResponse) ProtoMessage()

func (*AboutResponse) ProtoReflect added in v3.37.0

func (x *AboutResponse) ProtoReflect() protoreflect.Message

func (*AboutResponse) Reset added in v3.37.0

func (x *AboutResponse) Reset()

func (*AboutResponse) String added in v3.37.0

func (x *AboutResponse) String() string

type AnalyzeDiagnostic

type AnalyzeDiagnostic struct {
	PolicyName        string           `protobuf:"bytes,1,opt,name=policyName,proto3" json:"policyName,omitempty"`                                              // Name of the violated policy.
	PolicyPackName    string           `protobuf:"bytes,2,opt,name=policyPackName,proto3" json:"policyPackName,omitempty"`                                      // Name of the policy pack the policy is in.
	PolicyPackVersion string           `protobuf:"bytes,3,opt,name=policyPackVersion,proto3" json:"policyPackVersion,omitempty"`                                // Version of the policy pack.
	Description       string           `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`                                            // Description of policy rule. e.g., "encryption enabled."
	Message           string           `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`                                                    // Message to display on policy violation, e.g., remediation steps.
	Tags              []string         `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`                                                          // Keywords/terms to associate with a policy, e.g., "cost".
	EnforcementLevel  EnforcementLevel `protobuf:"varint,7,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"` // Severity of the policy violation.
	Urn               string           `protobuf:"bytes,8,opt,name=urn,proto3" json:"urn,omitempty"`                                                            // URN of the resource that violates the policy.
	// contains filtered or unexported fields
}

func (*AnalyzeDiagnostic) Descriptor deprecated

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

Deprecated: Use AnalyzeDiagnostic.ProtoReflect.Descriptor instead.

func (*AnalyzeDiagnostic) GetDescription

func (x *AnalyzeDiagnostic) GetDescription() string

func (*AnalyzeDiagnostic) GetEnforcementLevel

func (x *AnalyzeDiagnostic) GetEnforcementLevel() EnforcementLevel

func (*AnalyzeDiagnostic) GetMessage

func (x *AnalyzeDiagnostic) GetMessage() string

func (*AnalyzeDiagnostic) GetPolicyName

func (x *AnalyzeDiagnostic) GetPolicyName() string

func (*AnalyzeDiagnostic) GetPolicyPackName

func (x *AnalyzeDiagnostic) GetPolicyPackName() string

func (*AnalyzeDiagnostic) GetPolicyPackVersion

func (x *AnalyzeDiagnostic) GetPolicyPackVersion() string

func (*AnalyzeDiagnostic) GetTags

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

func (*AnalyzeDiagnostic) GetUrn

func (x *AnalyzeDiagnostic) GetUrn() string

func (*AnalyzeDiagnostic) ProtoMessage

func (*AnalyzeDiagnostic) ProtoMessage()

func (*AnalyzeDiagnostic) ProtoReflect added in v3.35.0

func (x *AnalyzeDiagnostic) ProtoReflect() protoreflect.Message

func (*AnalyzeDiagnostic) Reset

func (x *AnalyzeDiagnostic) Reset()

func (*AnalyzeDiagnostic) String

func (x *AnalyzeDiagnostic) String() string

type AnalyzeRequest

type AnalyzeRequest struct {
	Type       string                    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`             // the type token of the resource.
	Properties *structpb.Struct          `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // the full properties to use for validation.
	Urn        string                    `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`               // the URN of the resource.
	Name       string                    `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`             // the name for the resource's URN.
	Options    *AnalyzerResourceOptions  `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`       // the resource options.
	Provider   *AnalyzerProviderResource `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`     // the resource's provider.
	// contains filtered or unexported fields
}

func (*AnalyzeRequest) Descriptor deprecated

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

Deprecated: Use AnalyzeRequest.ProtoReflect.Descriptor instead.

func (*AnalyzeRequest) GetName

func (x *AnalyzeRequest) GetName() string

func (*AnalyzeRequest) GetOptions

func (x *AnalyzeRequest) GetOptions() *AnalyzerResourceOptions

func (*AnalyzeRequest) GetProperties

func (x *AnalyzeRequest) GetProperties() *structpb.Struct

func (*AnalyzeRequest) GetProvider

func (x *AnalyzeRequest) GetProvider() *AnalyzerProviderResource

func (*AnalyzeRequest) GetType

func (x *AnalyzeRequest) GetType() string

func (*AnalyzeRequest) GetUrn

func (x *AnalyzeRequest) GetUrn() string

func (*AnalyzeRequest) ProtoMessage

func (*AnalyzeRequest) ProtoMessage()

func (*AnalyzeRequest) ProtoReflect added in v3.35.0

func (x *AnalyzeRequest) ProtoReflect() protoreflect.Message

func (*AnalyzeRequest) Reset

func (x *AnalyzeRequest) Reset()

func (*AnalyzeRequest) String

func (x *AnalyzeRequest) String() string

type AnalyzeResponse

type AnalyzeResponse struct {
	Diagnostics []*AnalyzeDiagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // information about policy violations.
	// contains filtered or unexported fields
}

func (*AnalyzeResponse) Descriptor deprecated

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

Deprecated: Use AnalyzeResponse.ProtoReflect.Descriptor instead.

func (*AnalyzeResponse) GetDiagnostics

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

func (*AnalyzeResponse) ProtoMessage

func (*AnalyzeResponse) ProtoMessage()

func (*AnalyzeResponse) ProtoReflect added in v3.35.0

func (x *AnalyzeResponse) ProtoReflect() protoreflect.Message

func (*AnalyzeResponse) Reset

func (x *AnalyzeResponse) Reset()

func (*AnalyzeResponse) String

func (x *AnalyzeResponse) String() string

type AnalyzeStackRequest

type AnalyzeStackRequest struct {
	Resources []*AnalyzerResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyzeStackRequest) Descriptor deprecated

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

Deprecated: Use AnalyzeStackRequest.ProtoReflect.Descriptor instead.

func (*AnalyzeStackRequest) GetResources

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

func (*AnalyzeStackRequest) ProtoMessage

func (*AnalyzeStackRequest) ProtoMessage()

func (*AnalyzeStackRequest) ProtoReflect added in v3.35.0

func (x *AnalyzeStackRequest) ProtoReflect() protoreflect.Message

func (*AnalyzeStackRequest) Reset

func (x *AnalyzeStackRequest) Reset()

func (*AnalyzeStackRequest) String

func (x *AnalyzeStackRequest) String() string

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 *emptypb.Empty, opts ...grpc.CallOption) (*AnalyzerInfo, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(ctx context.Context, in *emptypb.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) (*emptypb.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"`                      // Name of the PolicyPack.
	DisplayName    string                   `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`        // Pretty name for the PolicyPack.
	Policies       []*PolicyInfo            `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"`              // Metadata about policies contained in PolicyPack.
	Version        string                   `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`                // Version of the Policy Pack.
	SupportsConfig bool                     `protobuf:"varint,5,opt,name=supportsConfig,proto3" json:"supportsConfig,omitempty"` // Whether the Policy Pack supports config.
	InitialConfig  map[string]*PolicyConfig ``                                                                                   // Map of policy name to config.
	/* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

AnalyzerInfo provides metadata about a PolicyPack inside an analyzer.

func (*AnalyzerInfo) Descriptor deprecated

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

Deprecated: Use AnalyzerInfo.ProtoReflect.Descriptor instead.

func (*AnalyzerInfo) GetDisplayName

func (x *AnalyzerInfo) GetDisplayName() string

func (*AnalyzerInfo) GetInitialConfig

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

func (*AnalyzerInfo) GetName

func (x *AnalyzerInfo) GetName() string

func (*AnalyzerInfo) GetPolicies

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

func (*AnalyzerInfo) GetSupportsConfig

func (x *AnalyzerInfo) GetSupportsConfig() bool

func (*AnalyzerInfo) GetVersion

func (x *AnalyzerInfo) GetVersion() string

func (*AnalyzerInfo) ProtoMessage

func (*AnalyzerInfo) ProtoMessage()

func (*AnalyzerInfo) ProtoReflect added in v3.35.0

func (x *AnalyzerInfo) ProtoReflect() protoreflect.Message

func (*AnalyzerInfo) Reset

func (x *AnalyzerInfo) Reset()

func (*AnalyzerInfo) String

func (x *AnalyzerInfo) String() string

type AnalyzerPropertyDependencies

type AnalyzerPropertyDependencies struct {
	Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // A list of URNs this property depends on.
	// contains filtered or unexported fields
}

AnalyzerPropertyDependencies describes the resources that a particular property depends on.

func (*AnalyzerPropertyDependencies) Descriptor deprecated

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

Deprecated: Use AnalyzerPropertyDependencies.ProtoReflect.Descriptor instead.

func (*AnalyzerPropertyDependencies) GetUrns

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

func (*AnalyzerPropertyDependencies) ProtoMessage

func (*AnalyzerPropertyDependencies) ProtoMessage()

func (*AnalyzerPropertyDependencies) ProtoReflect added in v3.35.0

func (*AnalyzerPropertyDependencies) Reset

func (x *AnalyzerPropertyDependencies) Reset()

func (*AnalyzerPropertyDependencies) String

type AnalyzerProviderResource

type AnalyzerProviderResource struct {
	Type       string           `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`             // the type token of the resource.
	Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // the full properties to use for validation.
	Urn        string           `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`               // the URN of the resource.
	Name       string           `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`             // the name for the resource's URN.
	// contains filtered or unexported fields
}

AnalyzerProviderResource provides information about a resource's provider.

func (*AnalyzerProviderResource) Descriptor deprecated

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

Deprecated: Use AnalyzerProviderResource.ProtoReflect.Descriptor instead.

func (*AnalyzerProviderResource) GetName

func (x *AnalyzerProviderResource) GetName() string

func (*AnalyzerProviderResource) GetProperties

func (x *AnalyzerProviderResource) GetProperties() *structpb.Struct

func (*AnalyzerProviderResource) GetType

func (x *AnalyzerProviderResource) GetType() string

func (*AnalyzerProviderResource) GetUrn

func (x *AnalyzerProviderResource) GetUrn() string

func (*AnalyzerProviderResource) ProtoMessage

func (*AnalyzerProviderResource) ProtoMessage()

func (*AnalyzerProviderResource) ProtoReflect added in v3.35.0

func (x *AnalyzerProviderResource) ProtoReflect() protoreflect.Message

func (*AnalyzerProviderResource) Reset

func (x *AnalyzerProviderResource) Reset()

func (*AnalyzerProviderResource) String

func (x *AnalyzerProviderResource) String() string

type AnalyzerResource

type AnalyzerResource struct {
	Type                 string                                   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`                 // the type token of the resource.
	Properties           *structpb.Struct                         `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`     // the full properties to use for validation.
	Urn                  string                                   `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`                   // the URN of the resource.
	Name                 string                                   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                 // the name for the resource's URN.
	Options              *AnalyzerResourceOptions                 `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`           // the resource options.
	Provider             *AnalyzerProviderResource                `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`         // the resource's provider.
	Parent               string                                   `protobuf:"bytes,7,opt,name=parent,proto3" json:"parent,omitempty"`             // an optional parent URN that this child resource belongs to.
	Dependencies         []string                                 `protobuf:"bytes,8,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // a list of URNs that this resource depends on.
	PropertyDependencies map[string]*AnalyzerPropertyDependencies ``                                                                              // a map from property keys to the dependencies of the property.
	/* 181-byte string literal not displayed */
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use AnalyzerResource.ProtoReflect.Descriptor instead.

func (*AnalyzerResource) GetDependencies

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

func (*AnalyzerResource) GetName

func (x *AnalyzerResource) GetName() string

func (*AnalyzerResource) GetOptions

func (x *AnalyzerResource) GetOptions() *AnalyzerResourceOptions

func (*AnalyzerResource) GetParent

func (x *AnalyzerResource) GetParent() string

func (*AnalyzerResource) GetProperties

func (x *AnalyzerResource) GetProperties() *structpb.Struct

func (*AnalyzerResource) GetPropertyDependencies

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

func (*AnalyzerResource) GetProvider

func (x *AnalyzerResource) GetProvider() *AnalyzerProviderResource

func (*AnalyzerResource) GetType

func (x *AnalyzerResource) GetType() string

func (*AnalyzerResource) GetUrn

func (x *AnalyzerResource) GetUrn() string

func (*AnalyzerResource) ProtoMessage

func (*AnalyzerResource) ProtoMessage()

func (*AnalyzerResource) ProtoReflect added in v3.35.0

func (x *AnalyzerResource) ProtoReflect() protoreflect.Message

func (*AnalyzerResource) Reset

func (x *AnalyzerResource) Reset()

func (*AnalyzerResource) String

func (x *AnalyzerResource) String() string

type AnalyzerResourceOptions

type AnalyzerResourceOptions struct {
	Protect                    bool                                    `protobuf:"varint,1,opt,name=protect,proto3" json:"protect,omitempty"`                                       // true if the resource should be marked protected.
	IgnoreChanges              []string                                `protobuf:"bytes,2,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"`                            // a list of property names to ignore during changes.
	DeleteBeforeReplace        bool                                    `protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"`               // true if this resource should be deleted before replacement.
	DeleteBeforeReplaceDefined bool                                    `protobuf:"varint,4,opt,name=deleteBeforeReplaceDefined,proto3" json:"deleteBeforeReplaceDefined,omitempty"` // true if the deleteBeforeReplace property should be treated as defined even if it is false.
	AdditionalSecretOutputs    []string                                `protobuf:"bytes,5,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"`        // a list of output properties that should also be treated as secret, in addition to ones we detect.
	Aliases                    []string                                `protobuf:"bytes,6,rep,name=aliases,proto3" json:"aliases,omitempty"`                                        // a list of additional URNs that shoud be considered the same.
	CustomTimeouts             *AnalyzerResourceOptions_CustomTimeouts `protobuf:"bytes,7,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"`                          // a config block that will be used to configure timeouts for CRUD operations.
	// contains filtered or unexported fields
}

AnalyzerResourceOptions defines the options associated with a resource.

func (*AnalyzerResourceOptions) Descriptor deprecated

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

Deprecated: Use AnalyzerResourceOptions.ProtoReflect.Descriptor instead.

func (*AnalyzerResourceOptions) GetAdditionalSecretOutputs

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

func (*AnalyzerResourceOptions) GetAliases

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

func (*AnalyzerResourceOptions) GetCustomTimeouts

func (*AnalyzerResourceOptions) GetDeleteBeforeReplace

func (x *AnalyzerResourceOptions) GetDeleteBeforeReplace() bool

func (*AnalyzerResourceOptions) GetDeleteBeforeReplaceDefined

func (x *AnalyzerResourceOptions) GetDeleteBeforeReplaceDefined() bool

func (*AnalyzerResourceOptions) GetIgnoreChanges

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

func (*AnalyzerResourceOptions) GetProtect

func (x *AnalyzerResourceOptions) GetProtect() bool

func (*AnalyzerResourceOptions) ProtoMessage

func (*AnalyzerResourceOptions) ProtoMessage()

func (*AnalyzerResourceOptions) ProtoReflect added in v3.35.0

func (x *AnalyzerResourceOptions) ProtoReflect() protoreflect.Message

func (*AnalyzerResourceOptions) Reset

func (x *AnalyzerResourceOptions) Reset()

func (*AnalyzerResourceOptions) String

func (x *AnalyzerResourceOptions) String() string

type AnalyzerResourceOptions_CustomTimeouts

type AnalyzerResourceOptions_CustomTimeouts struct {
	Create float64 `protobuf:"fixed64,1,opt,name=create,proto3" json:"create,omitempty"` // The create resource timeout in seconds.
	Update float64 `protobuf:"fixed64,2,opt,name=update,proto3" json:"update,omitempty"` // The update resource timeout in seconds.
	Delete float64 `protobuf:"fixed64,3,opt,name=delete,proto3" json:"delete,omitempty"` // The delete resource timeout in seconds.
	// contains filtered or unexported fields
}

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

func (*AnalyzerResourceOptions_CustomTimeouts) Descriptor deprecated

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

Deprecated: Use AnalyzerResourceOptions_CustomTimeouts.ProtoReflect.Descriptor instead.

func (*AnalyzerResourceOptions_CustomTimeouts) GetCreate

func (*AnalyzerResourceOptions_CustomTimeouts) GetDelete

func (*AnalyzerResourceOptions_CustomTimeouts) GetUpdate

func (*AnalyzerResourceOptions_CustomTimeouts) ProtoMessage

func (*AnalyzerResourceOptions_CustomTimeouts) ProtoReflect added in v3.35.0

func (*AnalyzerResourceOptions_CustomTimeouts) Reset

func (*AnalyzerResourceOptions_CustomTimeouts) String

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, *emptypb.Empty) (*AnalyzerInfo, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
	// Configure configures the analyzer, passing configuration properties for each policy.
	Configure(context.Context, *ConfigureAnalyzerRequest) (*emptypb.Empty, error)
}

AnalyzerServer is the server API for Analyzer service.

type CallRequest added in v3.6.0

type CallRequest struct {
	Tok             string                                       `protobuf:"bytes,1,opt,name=tok,proto3" json:"tok,omitempty"`   // the function token to invoke.
	Args            *structpb.Struct                             `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // the arguments for the function invocation.
	ArgDependencies map[string]*CallRequest_ArgumentDependencies ``                                                              // a map from argument keys to the dependencies of the argument.
	/* 171-byte string literal not displayed */
	Provider          string            `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`                    // an optional reference to the provider to use for this invoke.
	Version           string            `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`                      // the version of the provider to use when servicing this request.
	PluginDownloadURL string            `protobuf:"bytes,13,opt,name=pluginDownloadURL,proto3" json:"pluginDownloadURL,omitempty"` // the pluginDownloadURL of the provider to use when servicing this request.
	Project           string            `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"`                      // the project name.
	Stack             string            `protobuf:"bytes,7,opt,name=stack,proto3" json:"stack,omitempty"`                          // the name of the stack being deployed into.
	Config            map[string]string ``                                                                                         // the configuration variables to apply before running.
	/* 153-byte string literal not displayed */
	ConfigSecretKeys []string `protobuf:"bytes,9,rep,name=configSecretKeys,proto3" json:"configSecretKeys,omitempty"` // the configuration keys that have secret values.
	DryRun           bool     `protobuf:"varint,10,opt,name=dryRun,proto3" json:"dryRun,omitempty"`                   // true if we're only doing a dryrun (preview).
	Parallel         int32    `protobuf:"varint,11,opt,name=parallel,proto3" json:"parallel,omitempty"`               // the degree of parallelism for resource operations (<=1 for serial).
	MonitorEndpoint  string   `protobuf:"bytes,12,opt,name=monitorEndpoint,proto3" json:"monitorEndpoint,omitempty"`  // the address for communicating back to the resource monitor.
	Organization     string   `protobuf:"bytes,14,opt,name=organization,proto3" json:"organization,omitempty"`        // the organization of the stack being deployed into.
	// contains filtered or unexported fields
}

func (*CallRequest) Descriptor deprecated added in v3.6.0

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

Deprecated: Use CallRequest.ProtoReflect.Descriptor instead.

func (*CallRequest) GetArgDependencies added in v3.6.0

func (x *CallRequest) GetArgDependencies() map[string]*CallRequest_ArgumentDependencies

func (*CallRequest) GetArgs added in v3.6.0

func (x *CallRequest) GetArgs() *structpb.Struct

func (*CallRequest) GetConfig added in v3.6.0

func (x *CallRequest) GetConfig() map[string]string

func (*CallRequest) GetConfigSecretKeys added in v3.6.0

func (x *CallRequest) GetConfigSecretKeys() []string

func (*CallRequest) GetDryRun added in v3.6.0

func (x *CallRequest) GetDryRun() bool

func (*CallRequest) GetMonitorEndpoint added in v3.6.0

func (x *CallRequest) GetMonitorEndpoint() string

func (*CallRequest) GetOrganization added in v3.39.0

func (x *CallRequest) GetOrganization() string

func (*CallRequest) GetParallel added in v3.6.0

func (x *CallRequest) GetParallel() int32

func (*CallRequest) GetPluginDownloadURL added in v3.21.0

func (x *CallRequest) GetPluginDownloadURL() string

func (*CallRequest) GetProject added in v3.6.0

func (x *CallRequest) GetProject() string

func (*CallRequest) GetProvider added in v3.6.0

func (x *CallRequest) GetProvider() string

func (*CallRequest) GetStack added in v3.6.0

func (x *CallRequest) GetStack() string

func (*CallRequest) GetTok added in v3.6.0

func (x *CallRequest) GetTok() string

func (*CallRequest) GetVersion added in v3.6.0

func (x *CallRequest) GetVersion() string

func (*CallRequest) ProtoMessage added in v3.6.0

func (*CallRequest) ProtoMessage()

func (*CallRequest) ProtoReflect added in v3.35.0

func (x *CallRequest) ProtoReflect() protoreflect.Message

func (*CallRequest) Reset added in v3.6.0

func (x *CallRequest) Reset()

func (*CallRequest) String added in v3.6.0

func (x *CallRequest) String() string

type CallRequest_ArgumentDependencies added in v3.6.0

type CallRequest_ArgumentDependencies struct {
	Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // A list of URNs this argument depends on.
	// contains filtered or unexported fields
}

ArgumentDependencies describes the resources that a particular argument depends on.

func (*CallRequest_ArgumentDependencies) Descriptor deprecated added in v3.6.0

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

Deprecated: Use CallRequest_ArgumentDependencies.ProtoReflect.Descriptor instead.

func (*CallRequest_ArgumentDependencies) GetUrns added in v3.6.0

func (*CallRequest_ArgumentDependencies) ProtoMessage added in v3.6.0

func (*CallRequest_ArgumentDependencies) ProtoMessage()

func (*CallRequest_ArgumentDependencies) ProtoReflect added in v3.35.0

func (*CallRequest_ArgumentDependencies) Reset added in v3.6.0

func (*CallRequest_ArgumentDependencies) String added in v3.6.0

type CallResponse added in v3.6.0

type CallResponse struct {
	Return             *structpb.Struct                            `protobuf:"bytes,1,opt,name=return,proto3" json:"return,omitempty"` // the returned values, if call was successful.
	ReturnDependencies map[string]*CallResponse_ReturnDependencies ``                                                                  // a map from return value keys to the dependencies of the return value.
	/* 177-byte string literal not displayed */
	Failures []*CheckFailure `protobuf:"bytes,3,rep,name=failures,proto3" json:"failures,omitempty"` // the failures if any arguments didn't pass verification.
	// contains filtered or unexported fields
}

func (*CallResponse) Descriptor deprecated added in v3.6.0

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

Deprecated: Use CallResponse.ProtoReflect.Descriptor instead.

func (*CallResponse) GetFailures added in v3.6.0

func (x *CallResponse) GetFailures() []*CheckFailure

func (*CallResponse) GetReturn added in v3.6.0

func (x *CallResponse) GetReturn() *structpb.Struct

func (*CallResponse) GetReturnDependencies added in v3.6.0

func (x *CallResponse) GetReturnDependencies() map[string]*CallResponse_ReturnDependencies

func (*CallResponse) ProtoMessage added in v3.6.0

func (*CallResponse) ProtoMessage()

func (*CallResponse) ProtoReflect added in v3.35.0

func (x *CallResponse) ProtoReflect() protoreflect.Message

func (*CallResponse) Reset added in v3.6.0

func (x *CallResponse) Reset()

func (*CallResponse) String added in v3.6.0

func (x *CallResponse) String() string

type CallResponse_ReturnDependencies added in v3.6.0

type CallResponse_ReturnDependencies struct {
	Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // A list of URNs this return value depends on.
	// contains filtered or unexported fields
}

ReturnDependencies describes the resources that a particular return value depends on.

func (*CallResponse_ReturnDependencies) Descriptor deprecated added in v3.6.0

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

Deprecated: Use CallResponse_ReturnDependencies.ProtoReflect.Descriptor instead.

func (*CallResponse_ReturnDependencies) GetUrns added in v3.6.0

func (x *CallResponse_ReturnDependencies) GetUrns() []string

func (*CallResponse_ReturnDependencies) ProtoMessage added in v3.6.0

func (*CallResponse_ReturnDependencies) ProtoMessage()

func (*CallResponse_ReturnDependencies) ProtoReflect added in v3.35.0

func (*CallResponse_ReturnDependencies) Reset added in v3.6.0

func (*CallResponse_ReturnDependencies) String added in v3.6.0

type CheckFailure

type CheckFailure struct {
	Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` // the property that failed validation.
	Reason   string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`     // the reason that the property failed validation.
	// contains filtered or unexported fields
}

func (*CheckFailure) Descriptor deprecated

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

Deprecated: Use CheckFailure.ProtoReflect.Descriptor instead.

func (*CheckFailure) GetProperty

func (x *CheckFailure) GetProperty() string

func (*CheckFailure) GetReason

func (x *CheckFailure) GetReason() string

func (*CheckFailure) ProtoMessage

func (*CheckFailure) ProtoMessage()

func (*CheckFailure) ProtoReflect added in v3.35.0

func (x *CheckFailure) ProtoReflect() protoreflect.Message

func (*CheckFailure) Reset

func (x *CheckFailure) Reset()

func (*CheckFailure) String

func (x *CheckFailure) String() string

type CheckRequest

type CheckRequest struct {
	Urn        string           `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`               // the Pulumi URN for this resource.
	Olds       *structpb.Struct `protobuf:"bytes,2,opt,name=olds,proto3" json:"olds,omitempty"`             // the old Pulumi inputs for this resource, if any.
	News       *structpb.Struct `protobuf:"bytes,3,opt,name=news,proto3" json:"news,omitempty"`             // the new Pulumi inputs for this resource.
	RandomSeed []byte           `protobuf:"bytes,5,opt,name=randomSeed,proto3" json:"randomSeed,omitempty"` // a deterministically random hash, primarily intended for global unique naming.
	// contains filtered or unexported fields
}

func (*CheckRequest) Descriptor deprecated

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

Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.

func (*CheckRequest) GetNews

func (x *CheckRequest) GetNews() *structpb.Struct

func (*CheckRequest) GetOlds

func (x *CheckRequest) GetOlds() *structpb.Struct

func (*CheckRequest) GetRandomSeed added in v3.37.0

func (x *CheckRequest) GetRandomSeed() []byte

func (*CheckRequest) GetUrn

func (x *CheckRequest) GetUrn() string

func (*CheckRequest) ProtoMessage

func (*CheckRequest) ProtoMessage()

func (*CheckRequest) ProtoReflect added in v3.35.0

func (x *CheckRequest) ProtoReflect() protoreflect.Message

func (*CheckRequest) Reset

func (x *CheckRequest) Reset()

func (*CheckRequest) String

func (x *CheckRequest) String() string

type CheckResponse

type CheckResponse struct {
	Inputs   *structpb.Struct `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"`     // the provider inputs for this resource.
	Failures []*CheckFailure  `protobuf:"bytes,2,rep,name=failures,proto3" json:"failures,omitempty"` // any validation failures that occurred.
	// contains filtered or unexported fields
}

func (*CheckResponse) Descriptor deprecated

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

Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.

func (*CheckResponse) GetFailures

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

func (*CheckResponse) GetInputs

func (x *CheckResponse) GetInputs() *structpb.Struct

func (*CheckResponse) ProtoMessage

func (*CheckResponse) ProtoMessage()

func (*CheckResponse) ProtoReflect added in v3.35.0

func (x *CheckResponse) ProtoReflect() protoreflect.Message

func (*CheckResponse) Reset

func (x *CheckResponse) Reset()

func (*CheckResponse) String

func (x *CheckResponse) String() string

type ConfigureAnalyzerRequest

type ConfigureAnalyzerRequest struct {
	PolicyConfig map[string]*PolicyConfig `` // Map of policy name to config.
	/* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

ConfigureAnalyzerRequest provides configuration information to the analyzer.

func (*ConfigureAnalyzerRequest) Descriptor deprecated

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

Deprecated: Use ConfigureAnalyzerRequest.ProtoReflect.Descriptor instead.

func (*ConfigureAnalyzerRequest) GetPolicyConfig

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

func (*ConfigureAnalyzerRequest) ProtoMessage

func (*ConfigureAnalyzerRequest) ProtoMessage()

func (*ConfigureAnalyzerRequest) ProtoReflect added in v3.35.0

func (x *ConfigureAnalyzerRequest) ProtoReflect() protoreflect.Message

func (*ConfigureAnalyzerRequest) Reset

func (x *ConfigureAnalyzerRequest) Reset()

func (*ConfigureAnalyzerRequest) String

func (x *ConfigureAnalyzerRequest) String() string

type ConfigureErrorMissingKeys

type ConfigureErrorMissingKeys struct {
	MissingKeys []*ConfigureErrorMissingKeys_MissingKey `protobuf:"bytes,1,rep,name=missingKeys,proto3" json:"missingKeys,omitempty"` // a list of required configuration keys that were not supplied.
	// contains filtered or unexported fields
}

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

func (*ConfigureErrorMissingKeys) Descriptor deprecated

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

Deprecated: Use ConfigureErrorMissingKeys.ProtoReflect.Descriptor instead.

func (*ConfigureErrorMissingKeys) GetMissingKeys

func (*ConfigureErrorMissingKeys) ProtoMessage

func (*ConfigureErrorMissingKeys) ProtoMessage()

func (*ConfigureErrorMissingKeys) ProtoReflect added in v3.35.0

func (*ConfigureErrorMissingKeys) Reset

func (x *ConfigureErrorMissingKeys) Reset()

func (*ConfigureErrorMissingKeys) String

func (x *ConfigureErrorMissingKeys) String() string

type ConfigureErrorMissingKeys_MissingKey

type ConfigureErrorMissingKeys_MissingKey struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`               // the Pulumi name (not the provider name!) of the missing config key.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // a description of the missing config key, as reported by the provider.
	// contains filtered or unexported fields
}

func (*ConfigureErrorMissingKeys_MissingKey) Descriptor deprecated

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

Deprecated: Use ConfigureErrorMissingKeys_MissingKey.ProtoReflect.Descriptor instead.

func (*ConfigureErrorMissingKeys_MissingKey) GetDescription

func (x *ConfigureErrorMissingKeys_MissingKey) GetDescription() string

func (*ConfigureErrorMissingKeys_MissingKey) GetName

func (*ConfigureErrorMissingKeys_MissingKey) ProtoMessage

func (*ConfigureErrorMissingKeys_MissingKey) ProtoMessage()

func (*ConfigureErrorMissingKeys_MissingKey) ProtoReflect added in v3.35.0

func (*ConfigureErrorMissingKeys_MissingKey) Reset

func (*ConfigureErrorMissingKeys_MissingKey) String

type ConfigureRequest

type ConfigureRequest struct {
	Variables map[string]string `` // a map of configuration keys to values.
	/* 159-byte string literal not displayed */
	Args            *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`                        // the input properties for the provider. Only filled in for newer providers.
	AcceptSecrets   bool             `protobuf:"varint,3,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`     // when true, operations should return secrets as strongly typed.
	AcceptResources bool             `protobuf:"varint,4,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` // when true, operations should return resources as strongly typed values to the provider.
	// contains filtered or unexported fields
}

func (*ConfigureRequest) Descriptor deprecated

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

Deprecated: Use ConfigureRequest.ProtoReflect.Descriptor instead.

func (*ConfigureRequest) GetAcceptResources

func (x *ConfigureRequest) GetAcceptResources() bool

func (*ConfigureRequest) GetAcceptSecrets

func (x *ConfigureRequest) GetAcceptSecrets() bool

func (*ConfigureRequest) GetArgs

func (x *ConfigureRequest) GetArgs() *structpb.Struct

func (*ConfigureRequest) GetVariables

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

func (*ConfigureRequest) ProtoMessage

func (*ConfigureRequest) ProtoMessage()

func (*ConfigureRequest) ProtoReflect added in v3.35.0

func (x *ConfigureRequest) ProtoReflect() protoreflect.Message

func (*ConfigureRequest) Reset

func (x *ConfigureRequest) Reset()

func (*ConfigureRequest) String

func (x *ConfigureRequest) String() string

type ConfigureResponse

type ConfigureResponse struct {
	AcceptSecrets   bool `protobuf:"varint,1,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`     // when true, the engine should pass secrets as strongly typed values to the provider.
	SupportsPreview bool `protobuf:"varint,2,opt,name=supportsPreview,proto3" json:"supportsPreview,omitempty"` // when true, the engine should invoke create and update with preview=true during previews.
	AcceptResources bool `protobuf:"varint,3,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` // when true, the engine should pass resources as strongly typed values to the provider.
	AcceptOutputs   bool `protobuf:"varint,4,opt,name=acceptOutputs,proto3" json:"acceptOutputs,omitempty"`     // when true, the engine should pass output values to the provider.
	// contains filtered or unexported fields
}

func (*ConfigureResponse) Descriptor deprecated

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

Deprecated: Use ConfigureResponse.ProtoReflect.Descriptor instead.

func (*ConfigureResponse) GetAcceptOutputs added in v3.13.0

func (x *ConfigureResponse) GetAcceptOutputs() bool

func (*ConfigureResponse) GetAcceptResources

func (x *ConfigureResponse) GetAcceptResources() bool

func (*ConfigureResponse) GetAcceptSecrets

func (x *ConfigureResponse) GetAcceptSecrets() bool

func (*ConfigureResponse) GetSupportsPreview

func (x *ConfigureResponse) GetSupportsPreview() bool

func (*ConfigureResponse) ProtoMessage

func (*ConfigureResponse) ProtoMessage()

func (*ConfigureResponse) ProtoReflect added in v3.35.0

func (x *ConfigureResponse) ProtoReflect() protoreflect.Message

func (*ConfigureResponse) Reset

func (x *ConfigureResponse) Reset()

func (*ConfigureResponse) String

func (x *ConfigureResponse) String() string

type ConstructRequest

type ConstructRequest struct {
	Project string            `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the project name.
	Stack   string            `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"`     // the name of the stack being deployed into.
	Config  map[string]string ``                                                                    // the configuration variables to apply before running.
	/* 153-byte string literal not displayed */
	DryRun            bool                                              `protobuf:"varint,4,opt,name=dryRun,proto3" json:"dryRun,omitempty"`                  // true if we're only doing a dryrun (preview).
	Parallel          int32                                             `protobuf:"varint,5,opt,name=parallel,proto3" json:"parallel,omitempty"`              // the degree of parallelism for resource operations (<=1 for serial).
	MonitorEndpoint   string                                            `protobuf:"bytes,6,opt,name=monitorEndpoint,proto3" json:"monitorEndpoint,omitempty"` // the address for communicating back to the resource monitor.
	Type              string                                            `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`                       // the type of the object allocated.
	Name              string                                            `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`                       // the name, for URN purposes, of the object.
	Parent            string                                            `protobuf:"bytes,9,opt,name=parent,proto3" json:"parent,omitempty"`                   // an optional parent URN that this child resource belongs to.
	Inputs            *structpb.Struct                                  `protobuf:"bytes,10,opt,name=inputs,proto3" json:"inputs,omitempty"`                  // the inputs to the resource constructor.
	InputDependencies map[string]*ConstructRequest_PropertyDependencies ``                                                                                    // a map from property keys to the dependencies of the property.
	/* 176-byte string literal not displayed */
	Protect   bool              `protobuf:"varint,12,opt,name=protect,proto3" json:"protect,omitempty"` // true if the resource should be marked protected.
	Providers map[string]string ``                                                                      // the map of providers to use for this resource's children.
	/* 160-byte string literal not displayed */
	Aliases          []string `protobuf:"bytes,14,rep,name=aliases,proto3" json:"aliases,omitempty"`                   // a list of additional URNs that shoud be considered the same.
	Dependencies     []string `protobuf:"bytes,15,rep,name=dependencies,proto3" json:"dependencies,omitempty"`         // a list of URNs that this resource depends on, as observed by the language host.
	ConfigSecretKeys []string `protobuf:"bytes,16,rep,name=configSecretKeys,proto3" json:"configSecretKeys,omitempty"` // the configuration keys that have secret values.
	Organization     string   `protobuf:"bytes,17,opt,name=organization,proto3" json:"organization,omitempty"`         // the organization of the stack being deployed into.
	// contains filtered or unexported fields
}

func (*ConstructRequest) Descriptor deprecated

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

Deprecated: Use ConstructRequest.ProtoReflect.Descriptor instead.

func (*ConstructRequest) GetAliases

func (x *ConstructRequest) GetAliases() []string

func (*ConstructRequest) GetConfig

func (x *ConstructRequest) GetConfig() map[string]string

func (*ConstructRequest) GetConfigSecretKeys added in v3.6.0

func (x *ConstructRequest) GetConfigSecretKeys() []string

func (*ConstructRequest) GetDependencies

func (x *ConstructRequest) GetDependencies() []string

func (*ConstructRequest) GetDryRun

func (x *ConstructRequest) GetDryRun() bool

func (*ConstructRequest) GetInputDependencies

func (x *ConstructRequest) GetInputDependencies() map[string]*ConstructRequest_PropertyDependencies

func (*ConstructRequest) GetInputs

func (x *ConstructRequest) GetInputs() *structpb.Struct

func (*ConstructRequest) GetMonitorEndpoint

func (x *ConstructRequest) GetMonitorEndpoint() string

func (*ConstructRequest) GetName

func (x *ConstructRequest) GetName() string

func (*ConstructRequest) GetOrganization added in v3.39.0

func (x *ConstructRequest) GetOrganization() string

func (*ConstructRequest) GetParallel

func (x *ConstructRequest) GetParallel() int32

func (*ConstructRequest) GetParent

func (x *ConstructRequest) GetParent() string

func (*ConstructRequest) GetProject

func (x *ConstructRequest) GetProject() string

func (*ConstructRequest) GetProtect

func (x *ConstructRequest) GetProtect() bool

func (*ConstructRequest) GetProviders

func (x *ConstructRequest) GetProviders() map[string]string

func (*ConstructRequest) GetStack

func (x *ConstructRequest) GetStack() string

func (*ConstructRequest) GetType

func (x *ConstructRequest) GetType() string

func (*ConstructRequest) ProtoMessage

func (*ConstructRequest) ProtoMessage()

func (*ConstructRequest) ProtoReflect added in v3.35.0

func (x *ConstructRequest) ProtoReflect() protoreflect.Message

func (*ConstructRequest) Reset

func (x *ConstructRequest) Reset()

func (*ConstructRequest) String

func (x *ConstructRequest) String() string

type ConstructRequest_PropertyDependencies

type ConstructRequest_PropertyDependencies struct {
	Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // A list of URNs this property depends on.
	// contains filtered or unexported fields
}

PropertyDependencies describes the resources that a particular property depends on.

func (*ConstructRequest_PropertyDependencies) Descriptor deprecated

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

Deprecated: Use ConstructRequest_PropertyDependencies.ProtoReflect.Descriptor instead.

func (*ConstructRequest_PropertyDependencies) GetUrns

func (*ConstructRequest_PropertyDependencies) ProtoMessage

func (*ConstructRequest_PropertyDependencies) ProtoMessage()

func (*ConstructRequest_PropertyDependencies) ProtoReflect added in v3.35.0

func (*ConstructRequest_PropertyDependencies) Reset

func (*ConstructRequest_PropertyDependencies) String

type ConstructResponse

type ConstructResponse struct {
	Urn               string                                             `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`     // the URN of the component resource.
	State             *structpb.Struct                                   `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // any properties that were computed during construction.
	StateDependencies map[string]*ConstructResponse_PropertyDependencies ``                                                                // a map from property keys to the dependencies of the property.
	/* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConstructResponse) Descriptor deprecated

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

Deprecated: Use ConstructResponse.ProtoReflect.Descriptor instead.

func (*ConstructResponse) GetState

func (x *ConstructResponse) GetState() *structpb.Struct

func (*ConstructResponse) GetStateDependencies

func (x *ConstructResponse) GetStateDependencies() map[string]*ConstructResponse_PropertyDependencies

func (*ConstructResponse) GetUrn

func (x *ConstructResponse) GetUrn() string

func (*ConstructResponse) ProtoMessage

func (*ConstructResponse) ProtoMessage()

func (*ConstructResponse) ProtoReflect added in v3.35.0

func (x *ConstructResponse) ProtoReflect() protoreflect.Message

func (*ConstructResponse) Reset

func (x *ConstructResponse) Reset()

func (*ConstructResponse) String

func (x *ConstructResponse) String() string

type ConstructResponse_PropertyDependencies

type ConstructResponse_PropertyDependencies struct {
	Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // A list of URNs this property depends on.
	// contains filtered or unexported fields
}

PropertyDependencies describes the resources that a particular property depends on.

func (*ConstructResponse_PropertyDependencies) Descriptor deprecated

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

Deprecated: Use ConstructResponse_PropertyDependencies.ProtoReflect.Descriptor instead.

func (*ConstructResponse_PropertyDependencies) GetUrns

func (*ConstructResponse_PropertyDependencies) ProtoMessage

func (*ConstructResponse_PropertyDependencies) ProtoReflect added in v3.35.0

func (*ConstructResponse_PropertyDependencies) Reset

func (*ConstructResponse_PropertyDependencies) String

type CreateRequest

type CreateRequest struct {
	Urn        string           `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`               // the Pulumi URN for this resource.
	Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // the provider inputs to set during creation.
	Timeout    float64          `protobuf:"fixed64,3,opt,name=timeout,proto3" json:"timeout,omitempty"`     // the create request timeout represented in seconds.
	Preview    bool             `protobuf:"varint,4,opt,name=preview,proto3" json:"preview,omitempty"`      // true if this is a preview and the provider should not actually create the resource.
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetPreview

func (x *CreateRequest) GetPreview() bool

func (*CreateRequest) GetProperties

func (x *CreateRequest) GetProperties() *structpb.Struct

func (*CreateRequest) GetTimeout

func (x *CreateRequest) GetTimeout() float64

func (*CreateRequest) GetUrn

func (x *CreateRequest) GetUrn() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect added in v3.35.0

func (x *CreateRequest) ProtoReflect() protoreflect.Message

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

type CreateResponse struct {
	Id         string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                 // the ID of the created resource.
	Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // any properties that were computed during creation.
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetId

func (x *CreateResponse) GetId() string

func (*CreateResponse) GetProperties

func (x *CreateResponse) GetProperties() *structpb.Struct

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect added in v3.35.0

func (x *CreateResponse) ProtoReflect() protoreflect.Message

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type DeleteRequest

type DeleteRequest struct {
	Id         string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                 // the ID of the resource to delete.
	Urn        string           `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`               // the Pulumi URN for this resource.
	Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` // the current properties on the resource.
	Timeout    float64          `protobuf:"fixed64,4,opt,name=timeout,proto3" json:"timeout,omitempty"`     // the delete request timeout represented in seconds.
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetId

func (x *DeleteRequest) GetId() string

func (*DeleteRequest) GetProperties

func (x *DeleteRequest) GetProperties() *structpb.Struct

func (*DeleteRequest) GetTimeout

func (x *DeleteRequest) GetTimeout() float64

func (*DeleteRequest) GetUrn

func (x *DeleteRequest) GetUrn() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect added in v3.35.0

func (x *DeleteRequest) ProtoReflect() protoreflect.Message

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DependencyInfo added in v3.37.0

type DependencyInfo struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`       // The name of the dependency.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The version of the dependency.
	// contains filtered or unexported fields
}

func (*DependencyInfo) Descriptor deprecated added in v3.37.0

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

Deprecated: Use DependencyInfo.ProtoReflect.Descriptor instead.

func (*DependencyInfo) GetName added in v3.37.0

func (x *DependencyInfo) GetName() string

func (*DependencyInfo) GetVersion added in v3.37.0

func (x *DependencyInfo) GetVersion() string

func (*DependencyInfo) ProtoMessage added in v3.37.0

func (*DependencyInfo) ProtoMessage()

func (*DependencyInfo) ProtoReflect added in v3.37.0

func (x *DependencyInfo) ProtoReflect() protoreflect.Message

func (*DependencyInfo) Reset added in v3.37.0

func (x *DependencyInfo) Reset()

func (*DependencyInfo) String added in v3.37.0

func (x *DependencyInfo) String() string

type DiffRequest

type DiffRequest struct {
	Id            string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                       // the ID of the resource to diff.
	Urn           string           `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`                     // the Pulumi URN for this resource.
	Olds          *structpb.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"`                   // the old values of provider inputs to diff.
	News          *structpb.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"`                   // the new values of provider inputs to diff.
	IgnoreChanges []string         `protobuf:"bytes,5,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // a set of property paths that should be treated as unchanged.
	// contains filtered or unexported fields
}

func (*DiffRequest) Descriptor deprecated

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

Deprecated: Use DiffRequest.ProtoReflect.Descriptor instead.

func (*DiffRequest) GetId

func (x *DiffRequest) GetId() string

func (*DiffRequest) GetIgnoreChanges

func (x *DiffRequest) GetIgnoreChanges() []string

func (*DiffRequest) GetNews

func (x *DiffRequest) GetNews() *structpb.Struct

func (*DiffRequest) GetOlds

func (x *DiffRequest) GetOlds() *structpb.Struct

func (*DiffRequest) GetUrn

func (x *DiffRequest) GetUrn() string

func (*DiffRequest) ProtoMessage

func (*DiffRequest) ProtoMessage()

func (*DiffRequest) ProtoReflect added in v3.35.0

func (x *DiffRequest) ProtoReflect() protoreflect.Message

func (*DiffRequest) Reset

func (x *DiffRequest) Reset()

func (*DiffRequest) String

func (x *DiffRequest) String() string

type DiffResponse

type DiffResponse struct {
	Replaces            []string                 `protobuf:"bytes,1,rep,name=replaces,proto3" json:"replaces,omitempty"`                                        // if this update requires a replacement, the set of properties triggering it.
	Stables             []string                 `protobuf:"bytes,2,rep,name=stables,proto3" json:"stables,omitempty"`                                          // an optional list of properties that will not ever change.
	DeleteBeforeReplace bool                     `protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"`                 // if true, this resource must be deleted before replacing it.
	Changes             DiffResponse_DiffChanges `protobuf:"varint,4,opt,name=changes,proto3,enum=pulumirpc.DiffResponse_DiffChanges" json:"changes,omitempty"` // if true, this diff represents an actual difference and thus requires an update.
	Diffs               []string                 `protobuf:"bytes,5,rep,name=diffs,proto3" json:"diffs,omitempty"`                                              // a list of the properties that changed.
	// 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 `` // a detailed diff appropriate for display.
	/* 165-byte string literal not displayed */
	HasDetailedDiff bool `protobuf:"varint,7,opt,name=hasDetailedDiff,proto3" json:"hasDetailedDiff,omitempty"` // true if this response contains a detailed diff.
	// contains filtered or unexported fields
}

func (*DiffResponse) Descriptor deprecated

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

Deprecated: Use DiffResponse.ProtoReflect.Descriptor instead.

func (*DiffResponse) GetChanges

func (x *DiffResponse) GetChanges() DiffResponse_DiffChanges

func (*DiffResponse) GetDeleteBeforeReplace

func (x *DiffResponse) GetDeleteBeforeReplace() bool

func (*DiffResponse) GetDetailedDiff

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

func (*DiffResponse) GetDiffs

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

func (*DiffResponse) GetHasDetailedDiff

func (x *DiffResponse) GetHasDetailedDiff() bool

func (*DiffResponse) GetReplaces

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

func (*DiffResponse) GetStables

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

func (*DiffResponse) ProtoMessage

func (*DiffResponse) ProtoMessage()

func (*DiffResponse) ProtoReflect added in v3.35.0

func (x *DiffResponse) ProtoReflect() protoreflect.Message

func (*DiffResponse) Reset

func (x *DiffResponse) Reset()

func (*DiffResponse) String

func (x *DiffResponse) String() string

type DiffResponse_DiffChanges

type DiffResponse_DiffChanges int32
const (
	DiffResponse_DIFF_UNKNOWN DiffResponse_DiffChanges = 0 // unknown whether there are changes or not (legacy behavior).
	DiffResponse_DIFF_NONE    DiffResponse_DiffChanges = 1 // the diff was performed, and no changes were detected that require an update.
	DiffResponse_DIFF_SOME    DiffResponse_DiffChanges = 2 // the diff was performed, and changes were detected that require an update or replacement.
)

func (DiffResponse_DiffChanges) Descriptor added in v3.35.0

func (DiffResponse_DiffChanges) Enum added in v3.35.0

func (DiffResponse_DiffChanges) EnumDescriptor deprecated

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

Deprecated: Use DiffResponse_DiffChanges.Descriptor instead.

func (DiffResponse_DiffChanges) Number added in v3.35.0

func (DiffResponse_DiffChanges) String

func (x DiffResponse_DiffChanges) String() string

func (DiffResponse_DiffChanges) Type added in v3.35.0

type EnforcementLevel

type EnforcementLevel int32

EnforcementLevel indicates the severity of a policy violation.

const (
	EnforcementLevel_ADVISORY  EnforcementLevel = 0 // Displayed to users, but does not block deployment.
	EnforcementLevel_MANDATORY EnforcementLevel = 1 // Stops deployment, cannot be overridden.
	EnforcementLevel_DISABLED  EnforcementLevel = 2 // Disabled policies do not run during a deployment.
)

func (EnforcementLevel) Descriptor added in v3.35.0

func (EnforcementLevel) Enum added in v3.35.0

func (EnforcementLevel) EnumDescriptor deprecated

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

Deprecated: Use EnforcementLevel.Descriptor instead.

func (EnforcementLevel) Number added in v3.35.0

func (EnforcementLevel) String

func (x EnforcementLevel) String() string

func (EnforcementLevel) Type added in v3.35.0

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) (*emptypb.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) (*emptypb.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"`
	// contains filtered or unexported fields
}

func (*ErrorCause) Descriptor deprecated

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

Deprecated: Use ErrorCause.ProtoReflect.Descriptor instead.

func (*ErrorCause) GetMessage

func (x *ErrorCause) GetMessage() string

func (*ErrorCause) GetStackTrace

func (x *ErrorCause) GetStackTrace() string

func (*ErrorCause) ProtoMessage

func (*ErrorCause) ProtoMessage()

func (*ErrorCause) ProtoReflect added in v3.35.0

func (x *ErrorCause) ProtoReflect() protoreflect.Message

func (*ErrorCause) Reset

func (x *ErrorCause) Reset()

func (*ErrorCause) String

func (x *ErrorCause) String() string

type ErrorResourceInitFailed

type ErrorResourceInitFailed struct {
	Id         string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                 // the ID of the created resource.
	Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // any properties that were computed during updating.
	Reasons    []string         `protobuf:"bytes,3,rep,name=reasons,proto3" json:"reasons,omitempty"`       // error messages associated with initialization failure.
	Inputs     *structpb.Struct `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,omitempty"`         // the current inputs to this resource (only applicable for Read)
	// contains filtered or unexported fields
}

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

func (*ErrorResourceInitFailed) Descriptor deprecated

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

Deprecated: Use ErrorResourceInitFailed.ProtoReflect.Descriptor instead.

func (*ErrorResourceInitFailed) GetId

func (x *ErrorResourceInitFailed) GetId() string

func (*ErrorResourceInitFailed) GetInputs

func (x *ErrorResourceInitFailed) GetInputs() *structpb.Struct

func (*ErrorResourceInitFailed) GetProperties

func (x *ErrorResourceInitFailed) GetProperties() *structpb.Struct

func (*ErrorResourceInitFailed) GetReasons

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

func (*ErrorResourceInitFailed) ProtoMessage

func (*ErrorResourceInitFailed) ProtoMessage()

func (*ErrorResourceInitFailed) ProtoReflect added in v3.35.0

func (x *ErrorResourceInitFailed) ProtoReflect() protoreflect.Message

func (*ErrorResourceInitFailed) Reset

func (x *ErrorResourceInitFailed) Reset()

func (*ErrorResourceInitFailed) String

func (x *ErrorResourceInitFailed) String() string

type GetProgramDependenciesRequest added in v3.37.0

type GetProgramDependenciesRequest struct {
	Project                string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`                                // the project name.
	Pwd                    string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"`                                        // the program's working directory.
	Program                string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"`                                // the path to the program.
	TransitiveDependencies bool   `protobuf:"varint,4,opt,name=transitiveDependencies,proto3" json:"transitiveDependencies,omitempty"` // if transitive dependencies should be included in the result.
	// contains filtered or unexported fields
}

func (*GetProgramDependenciesRequest) Descriptor deprecated added in v3.37.0

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

Deprecated: Use GetProgramDependenciesRequest.ProtoReflect.Descriptor instead.

func (*GetProgramDependenciesRequest) GetProgram added in v3.37.0

func (x *GetProgramDependenciesRequest) GetProgram() string

func (*GetProgramDependenciesRequest) GetProject added in v3.37.0

func (x *GetProgramDependenciesRequest) GetProject() string

func (*GetProgramDependenciesRequest) GetPwd added in v3.37.0

func (*GetProgramDependenciesRequest) GetTransitiveDependencies added in v3.37.0

func (x *GetProgramDependenciesRequest) GetTransitiveDependencies() bool

func (*GetProgramDependenciesRequest) ProtoMessage added in v3.37.0

func (*GetProgramDependenciesRequest) ProtoMessage()

func (*GetProgramDependenciesRequest) ProtoReflect added in v3.37.0

func (*GetProgramDependenciesRequest) Reset added in v3.37.0

func (x *GetProgramDependenciesRequest) Reset()

func (*GetProgramDependenciesRequest) String added in v3.37.0

type GetProgramDependenciesResponse added in v3.37.0

type GetProgramDependenciesResponse struct {
	Dependencies []*DependencyInfo `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // the dependencies of this program
	// contains filtered or unexported fields
}

func (*GetProgramDependenciesResponse) Descriptor deprecated added in v3.37.0

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

Deprecated: Use GetProgramDependenciesResponse.ProtoReflect.Descriptor instead.

func (*GetProgramDependenciesResponse) GetDependencies added in v3.37.0

func (x *GetProgramDependenciesResponse) GetDependencies() []*DependencyInfo

func (*GetProgramDependenciesResponse) ProtoMessage added in v3.37.0

func (*GetProgramDependenciesResponse) ProtoMessage()

func (*GetProgramDependenciesResponse) ProtoReflect added in v3.37.0

func (*GetProgramDependenciesResponse) Reset added in v3.37.0

func (x *GetProgramDependenciesResponse) Reset()

func (*GetProgramDependenciesResponse) String added in v3.37.0

type GetRequiredPluginsRequest

type GetRequiredPluginsRequest struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the project name.
	Pwd     string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"`         // the program's working directory.
	Program string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"` // the path to the program.
	// contains filtered or unexported fields
}

func (*GetRequiredPluginsRequest) Descriptor deprecated

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

Deprecated: Use GetRequiredPluginsRequest.ProtoReflect.Descriptor instead.

func (*GetRequiredPluginsRequest) GetProgram

func (x *GetRequiredPluginsRequest) GetProgram() string

func (*GetRequiredPluginsRequest) GetProject

func (x *GetRequiredPluginsRequest) GetProject() string

func (*GetRequiredPluginsRequest) GetPwd

func (x *GetRequiredPluginsRequest) GetPwd() string

func (*GetRequiredPluginsRequest) ProtoMessage

func (*GetRequiredPluginsRequest) ProtoMessage()

func (*GetRequiredPluginsRequest) ProtoReflect added in v3.35.0

func (*GetRequiredPluginsRequest) Reset

func (x *GetRequiredPluginsRequest) Reset()

func (*GetRequiredPluginsRequest) String

func (x *GetRequiredPluginsRequest) String() string

type GetRequiredPluginsResponse

type GetRequiredPluginsResponse struct {
	Plugins []*PluginDependency `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` // a list of plugins required by this program.
	// contains filtered or unexported fields
}

func (*GetRequiredPluginsResponse) Descriptor deprecated

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

Deprecated: Use GetRequiredPluginsResponse.ProtoReflect.Descriptor instead.

func (*GetRequiredPluginsResponse) GetPlugins

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

func (*GetRequiredPluginsResponse) ProtoMessage

func (*GetRequiredPluginsResponse) ProtoMessage()

func (*GetRequiredPluginsResponse) ProtoReflect added in v3.35.0

func (*GetRequiredPluginsResponse) Reset

func (x *GetRequiredPluginsResponse) Reset()

func (*GetRequiredPluginsResponse) String

func (x *GetRequiredPluginsResponse) String() string

type GetRootResourceRequest

type GetRootResourceRequest struct {
	// contains filtered or unexported fields
}

func (*GetRootResourceRequest) Descriptor deprecated

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

Deprecated: Use GetRootResourceRequest.ProtoReflect.Descriptor instead.

func (*GetRootResourceRequest) ProtoMessage

func (*GetRootResourceRequest) ProtoMessage()

func (*GetRootResourceRequest) ProtoReflect added in v3.35.0

func (x *GetRootResourceRequest) ProtoReflect() protoreflect.Message

func (*GetRootResourceRequest) Reset

func (x *GetRootResourceRequest) Reset()

func (*GetRootResourceRequest) String

func (x *GetRootResourceRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*GetRootResourceResponse) Descriptor deprecated

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

Deprecated: Use GetRootResourceResponse.ProtoReflect.Descriptor instead.

func (*GetRootResourceResponse) GetUrn

func (x *GetRootResourceResponse) GetUrn() string

func (*GetRootResourceResponse) ProtoMessage

func (*GetRootResourceResponse) ProtoMessage()

func (*GetRootResourceResponse) ProtoReflect added in v3.35.0

func (x *GetRootResourceResponse) ProtoReflect() protoreflect.Message

func (*GetRootResourceResponse) Reset

func (x *GetRootResourceResponse) Reset()

func (*GetRootResourceResponse) String

func (x *GetRootResourceResponse) String() string

type GetSchemaRequest

type GetSchemaRequest struct {
	Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // the schema version.
	// contains filtered or unexported fields
}

func (*GetSchemaRequest) Descriptor deprecated

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

Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.

func (*GetSchemaRequest) GetVersion

func (x *GetSchemaRequest) GetVersion() int32

func (*GetSchemaRequest) ProtoMessage

func (*GetSchemaRequest) ProtoMessage()

func (*GetSchemaRequest) ProtoReflect added in v3.35.0

func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message

func (*GetSchemaRequest) Reset

func (x *GetSchemaRequest) Reset()

func (*GetSchemaRequest) String

func (x *GetSchemaRequest) String() string

type GetSchemaResponse

type GetSchemaResponse struct {
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // the JSON-encoded schema.
	// contains filtered or unexported fields
}

func (*GetSchemaResponse) Descriptor deprecated

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

Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.

func (*GetSchemaResponse) GetSchema

func (x *GetSchemaResponse) GetSchema() string

func (*GetSchemaResponse) ProtoMessage

func (*GetSchemaResponse) ProtoMessage()

func (*GetSchemaResponse) ProtoReflect added in v3.35.0

func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message

func (*GetSchemaResponse) Reset

func (x *GetSchemaResponse) Reset()

func (*GetSchemaResponse) String

func (x *GetSchemaResponse) String() string

type InstallDependenciesRequest added in v3.29.0

type InstallDependenciesRequest struct {
	Directory  string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`                      // the program's working directory.
	IsTerminal bool   `protobuf:"varint,2,opt,name=is_terminal,json=isTerminal,proto3" json:"is_terminal,omitempty"` // if we are running in a terminal and should use ANSI codes
	// contains filtered or unexported fields
}

func (*InstallDependenciesRequest) Descriptor deprecated added in v3.29.0

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

Deprecated: Use InstallDependenciesRequest.ProtoReflect.Descriptor instead.

func (*InstallDependenciesRequest) GetDirectory added in v3.29.0

func (x *InstallDependenciesRequest) GetDirectory() string

func (*InstallDependenciesRequest) GetIsTerminal added in v3.29.0

func (x *InstallDependenciesRequest) GetIsTerminal() bool

func (*InstallDependenciesRequest) ProtoMessage added in v3.29.0

func (*InstallDependenciesRequest) ProtoMessage()

func (*InstallDependenciesRequest) ProtoReflect added in v3.35.0

func (*InstallDependenciesRequest) Reset added in v3.29.0

func (x *InstallDependenciesRequest) Reset()

func (*InstallDependenciesRequest) String added in v3.29.0

func (x *InstallDependenciesRequest) String() string

type InstallDependenciesResponse added in v3.29.0

type InstallDependenciesResponse struct {
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // a line of stdout text.
	Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // a line of stderr text.
	// contains filtered or unexported fields
}

func (*InstallDependenciesResponse) Descriptor deprecated added in v3.29.0

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

Deprecated: Use InstallDependenciesResponse.ProtoReflect.Descriptor instead.

func (*InstallDependenciesResponse) GetStderr added in v3.29.0

func (x *InstallDependenciesResponse) GetStderr() []byte

func (*InstallDependenciesResponse) GetStdout added in v3.29.0

func (x *InstallDependenciesResponse) GetStdout() []byte

func (*InstallDependenciesResponse) ProtoMessage added in v3.29.0

func (*InstallDependenciesResponse) ProtoMessage()

func (*InstallDependenciesResponse) ProtoReflect added in v3.35.0

func (*InstallDependenciesResponse) Reset added in v3.29.0

func (x *InstallDependenciesResponse) Reset()

func (*InstallDependenciesResponse) String added in v3.29.0

func (x *InstallDependenciesResponse) String() string

type InvokeRequest

type InvokeRequest struct {
	Tok  string           `protobuf:"bytes,1,opt,name=tok,proto3" json:"tok,omitempty"`   // the function token to invoke.
	Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // the arguments for the function invocation.
	// contains filtered or unexported fields
}

func (*InvokeRequest) Descriptor deprecated

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

Deprecated: Use InvokeRequest.ProtoReflect.Descriptor instead.

func (*InvokeRequest) GetArgs

func (x *InvokeRequest) GetArgs() *structpb.Struct

func (*InvokeRequest) GetTok

func (x *InvokeRequest) GetTok() string

func (*InvokeRequest) ProtoMessage

func (*InvokeRequest) ProtoMessage()

func (*InvokeRequest) ProtoReflect added in v3.35.0

func (x *InvokeRequest) ProtoReflect() protoreflect.Message

func (*InvokeRequest) Reset

func (x *InvokeRequest) Reset()

func (*InvokeRequest) String

func (x *InvokeRequest) String() string

type InvokeResponse

type InvokeResponse struct {
	Return   *structpb.Struct `protobuf:"bytes,1,opt,name=return,proto3" json:"return,omitempty"`     // the returned values, if invoke was successful.
	Failures []*CheckFailure  `protobuf:"bytes,2,rep,name=failures,proto3" json:"failures,omitempty"` // the failures if any arguments didn't pass verification.
	// contains filtered or unexported fields
}

func (*InvokeResponse) Descriptor deprecated

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

Deprecated: Use InvokeResponse.ProtoReflect.Descriptor instead.

func (*InvokeResponse) GetFailures

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

func (*InvokeResponse) GetReturn

func (x *InvokeResponse) GetReturn() *structpb.Struct

func (*InvokeResponse) ProtoMessage

func (*InvokeResponse) ProtoMessage()

func (*InvokeResponse) ProtoReflect added in v3.35.0

func (x *InvokeResponse) ProtoReflect() protoreflect.Message

func (*InvokeResponse) Reset

func (x *InvokeResponse) Reset()

func (*InvokeResponse) String

func (x *InvokeResponse) String() string

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 *emptypb.Empty, opts ...grpc.CallOption) (*PluginInfo, error)
	// InstallDependencies will install dependencies for the project, e.g. by running `npm install` for nodejs projects.
	InstallDependencies(ctx context.Context, in *InstallDependenciesRequest, opts ...grpc.CallOption) (LanguageRuntime_InstallDependenciesClient, error)
	// About returns information about the runtime for this language.
	About(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AboutResponse, error)
	// GetProgramDependencies returns the set of dependencies required by the program.
	GetProgramDependencies(ctx context.Context, in *GetProgramDependenciesRequest, opts ...grpc.CallOption) (*GetProgramDependenciesResponse, 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, *emptypb.Empty) (*PluginInfo, error)
	// InstallDependencies will install dependencies for the project, e.g. by running `npm install` for nodejs projects.
	InstallDependencies(*InstallDependenciesRequest, LanguageRuntime_InstallDependenciesServer) error
	// About returns information about the runtime for this language.
	About(context.Context, *emptypb.Empty) (*AboutResponse, error)
	// GetProgramDependencies returns the set of dependencies required by the program.
	GetProgramDependencies(context.Context, *GetProgramDependenciesRequest) (*GetProgramDependenciesResponse, error)
}

LanguageRuntimeServer is the server API for LanguageRuntime service.

type LanguageRuntime_InstallDependenciesClient added in v3.29.0

type LanguageRuntime_InstallDependenciesClient interface {
	Recv() (*InstallDependenciesResponse, error)
	grpc.ClientStream
}

type LanguageRuntime_InstallDependenciesServer added in v3.29.0

type LanguageRuntime_InstallDependenciesServer interface {
	Send(*InstallDependenciesResponse) error
	grpc.ServerStream
}

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"`
	// contains filtered or unexported fields
}

func (*LogRequest) Descriptor deprecated

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

Deprecated: Use LogRequest.ProtoReflect.Descriptor instead.

func (*LogRequest) GetEphemeral

func (x *LogRequest) GetEphemeral() bool

func (*LogRequest) GetMessage

func (x *LogRequest) GetMessage() string

func (*LogRequest) GetSeverity

func (x *LogRequest) GetSeverity() LogSeverity

func (*LogRequest) GetStreamId

func (x *LogRequest) GetStreamId() int32

func (*LogRequest) GetUrn

func (x *LogRequest) GetUrn() string

func (*LogRequest) ProtoMessage

func (*LogRequest) ProtoMessage()

func (*LogRequest) ProtoReflect added in v3.35.0

func (x *LogRequest) ProtoReflect() protoreflect.Message

func (*LogRequest) Reset

func (x *LogRequest) Reset()

func (*LogRequest) String

func (x *LogRequest) String() string

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 // a debug-level message not displayed to end-users (the default).
	LogSeverity_INFO    LogSeverity = 1 // an informational message printed to output during resource operations.
	LogSeverity_WARNING LogSeverity = 2 // a warning to indicate that something went wrong.
	LogSeverity_ERROR   LogSeverity = 3 // a fatal error indicating that the tool should stop processing subsequent resource operations.
)

func (LogSeverity) Descriptor added in v3.35.0

func (LogSeverity) Enum added in v3.35.0

func (x LogSeverity) Enum() *LogSeverity

func (LogSeverity) EnumDescriptor deprecated

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

Deprecated: Use LogSeverity.Descriptor instead.

func (LogSeverity) Number added in v3.35.0

func (x LogSeverity) Number() protoreflect.EnumNumber

func (LogSeverity) String

func (x LogSeverity) String() string

func (LogSeverity) Type added in v3.35.0

type PluginAttach added in v3.30.0

type PluginAttach struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // the grpc address for the engine
	// contains filtered or unexported fields
}

PluginAttach is used to attach an already running plugin to the engine.

Normally the engine starts the plugin process itself and passes the engine address as the first argumnent. But when debugging it can be useful to have an already running provider that the engine instead attaches to, this message is used so the provider can still be passed the engine address to communicate with.

func (*PluginAttach) Descriptor deprecated added in v3.30.0

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

Deprecated: Use PluginAttach.ProtoReflect.Descriptor instead.

func (*PluginAttach) GetAddress added in v3.30.0

func (x *PluginAttach) GetAddress() string

func (*PluginAttach) ProtoMessage added in v3.30.0

func (*PluginAttach) ProtoMessage()

func (*PluginAttach) ProtoReflect added in v3.35.0

func (x *PluginAttach) ProtoReflect() protoreflect.Message

func (*PluginAttach) Reset added in v3.30.0

func (x *PluginAttach) Reset()

func (*PluginAttach) String added in v3.30.0

func (x *PluginAttach) String() string

type PluginDependency

type PluginDependency struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`       // the name of the plugin.
	Kind    string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`       // the kind of plugin (e.g., language, etc).
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // the semver for this plugin.
	Server  string `protobuf:"bytes,4,opt,name=server,proto3" json:"server,omitempty"`   // the URL of a server that can be used to download this plugin, if needed.
	// contains filtered or unexported fields
}

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

func (*PluginDependency) Descriptor deprecated

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

Deprecated: Use PluginDependency.ProtoReflect.Descriptor instead.

func (*PluginDependency) GetKind

func (x *PluginDependency) GetKind() string

func (*PluginDependency) GetName

func (x *PluginDependency) GetName() string

func (*PluginDependency) GetServer

func (x *PluginDependency) GetServer() string

func (*PluginDependency) GetVersion

func (x *PluginDependency) GetVersion() string

func (*PluginDependency) ProtoMessage

func (*PluginDependency) ProtoMessage()

func (*PluginDependency) ProtoReflect added in v3.35.0

func (x *PluginDependency) ProtoReflect() protoreflect.Message

func (*PluginDependency) Reset

func (x *PluginDependency) Reset()

func (*PluginDependency) String

func (x *PluginDependency) String() string

type PluginInfo

type PluginInfo struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // the semver for this plugin.
	// contains filtered or unexported fields
}

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

func (*PluginInfo) Descriptor deprecated

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

Deprecated: Use PluginInfo.ProtoReflect.Descriptor instead.

func (*PluginInfo) GetVersion

func (x *PluginInfo) GetVersion() string

func (*PluginInfo) ProtoMessage

func (*PluginInfo) ProtoMessage()

func (*PluginInfo) ProtoReflect added in v3.35.0

func (x *PluginInfo) ProtoReflect() protoreflect.Message

func (*PluginInfo) Reset

func (x *PluginInfo) Reset()

func (*PluginInfo) String

func (x *PluginInfo) String() string

type PolicyConfig

type PolicyConfig struct {
	EnforcementLevel EnforcementLevel `protobuf:"varint,1,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"` // Enforcement level of the policy.
	Properties       *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`                                              // Configuration properties of the policy.
	// contains filtered or unexported fields
}

PolicyConfig provides configuration for a policy.

func (*PolicyConfig) Descriptor deprecated

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

Deprecated: Use PolicyConfig.ProtoReflect.Descriptor instead.

func (*PolicyConfig) GetEnforcementLevel

func (x *PolicyConfig) GetEnforcementLevel() EnforcementLevel

func (*PolicyConfig) GetProperties

func (x *PolicyConfig) GetProperties() *structpb.Struct

func (*PolicyConfig) ProtoMessage

func (*PolicyConfig) ProtoMessage()

func (*PolicyConfig) ProtoReflect added in v3.35.0

func (x *PolicyConfig) ProtoReflect() protoreflect.Message

func (*PolicyConfig) Reset

func (x *PolicyConfig) Reset()

func (*PolicyConfig) String

func (x *PolicyConfig) String() string

type PolicyConfigSchema

type PolicyConfigSchema struct {
	Properties *structpb.Struct `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"` // JSON schema for each property.
	Required   []string         `protobuf:"bytes,2,rep,name=required,proto3" json:"required,omitempty"`     // Required properties.
	// contains filtered or unexported fields
}

PolicyConfigSchema provides the schema for a policy's configuration.

func (*PolicyConfigSchema) Descriptor deprecated

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

Deprecated: Use PolicyConfigSchema.ProtoReflect.Descriptor instead.

func (*PolicyConfigSchema) GetProperties

func (x *PolicyConfigSchema) GetProperties() *structpb.Struct

func (*PolicyConfigSchema) GetRequired

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

func (*PolicyConfigSchema) ProtoMessage

func (*PolicyConfigSchema) ProtoMessage()

func (*PolicyConfigSchema) ProtoReflect added in v3.35.0

func (x *PolicyConfigSchema) ProtoReflect() protoreflect.Message

func (*PolicyConfigSchema) Reset

func (x *PolicyConfigSchema) Reset()

func (*PolicyConfigSchema) String

func (x *PolicyConfigSchema) String() string

type PolicyInfo

type PolicyInfo struct {
	Name             string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                                          // Name of the policy.
	DisplayName      string              `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`                                            // Pretty name for the policy.
	Description      string              `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`                                            // Description of policy rule. e.g., "encryption enabled."
	Message          string              `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`                                                    // Message to display on policy violation, e.g., remediation steps.
	EnforcementLevel EnforcementLevel    `protobuf:"varint,5,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"` // Severity of the policy violation.
	ConfigSchema     *PolicyConfigSchema `protobuf:"bytes,6,opt,name=configSchema,proto3" json:"configSchema,omitempty"`                                          // Config schema for the policy.
	// contains filtered or unexported fields
}

PolicyInfo provides metadata about a policy within a Policy Pack.

func (*PolicyInfo) Descriptor deprecated

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

Deprecated: Use PolicyInfo.ProtoReflect.Descriptor instead.

func (*PolicyInfo) GetConfigSchema

func (x *PolicyInfo) GetConfigSchema() *PolicyConfigSchema

func (*PolicyInfo) GetDescription

func (x *PolicyInfo) GetDescription() string

func (*PolicyInfo) GetDisplayName

func (x *PolicyInfo) GetDisplayName() string

func (*PolicyInfo) GetEnforcementLevel

func (x *PolicyInfo) GetEnforcementLevel() EnforcementLevel

func (*PolicyInfo) GetMessage

func (x *PolicyInfo) GetMessage() string

func (*PolicyInfo) GetName

func (x *PolicyInfo) GetName() string

func (*PolicyInfo) ProtoMessage

func (*PolicyInfo) ProtoMessage()

func (*PolicyInfo) ProtoReflect added in v3.35.0

func (x *PolicyInfo) ProtoReflect() protoreflect.Message

func (*PolicyInfo) Reset

func (x *PolicyInfo) Reset()

func (*PolicyInfo) String

func (x *PolicyInfo) String() string

type PropertyDiff

type PropertyDiff struct {
	Kind      PropertyDiff_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=pulumirpc.PropertyDiff_Kind" json:"kind,omitempty"` // The kind of diff asdsociated with this property.
	InputDiff bool              `protobuf:"varint,2,opt,name=inputDiff,proto3" json:"inputDiff,omitempty"`                        // The difference is between old and new inputs, not old and new state.
	// contains filtered or unexported fields
}

func (*PropertyDiff) Descriptor deprecated

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

Deprecated: Use PropertyDiff.ProtoReflect.Descriptor instead.

func (*PropertyDiff) GetInputDiff

func (x *PropertyDiff) GetInputDiff() bool

func (*PropertyDiff) GetKind

func (x *PropertyDiff) GetKind() PropertyDiff_Kind

func (*PropertyDiff) ProtoMessage

func (*PropertyDiff) ProtoMessage()

func (*PropertyDiff) ProtoReflect added in v3.35.0

func (x *PropertyDiff) ProtoReflect() protoreflect.Message

func (*PropertyDiff) Reset

func (x *PropertyDiff) Reset()

func (*PropertyDiff) String

func (x *PropertyDiff) String() string

type PropertyDiff_Kind

type PropertyDiff_Kind int32
const (
	PropertyDiff_ADD            PropertyDiff_Kind = 0 // this property was added
	PropertyDiff_ADD_REPLACE    PropertyDiff_Kind = 1 // this property was added, and this change requires a replace
	PropertyDiff_DELETE         PropertyDiff_Kind = 2 // this property was removed
	PropertyDiff_DELETE_REPLACE PropertyDiff_Kind = 3 // this property was removed, and this change requires a replace
	PropertyDiff_UPDATE         PropertyDiff_Kind = 4 // this property's value was changed
	PropertyDiff_UPDATE_REPLACE PropertyDiff_Kind = 5 // this property's value was changed, and this change requires a replace
)

func (PropertyDiff_Kind) Descriptor added in v3.35.0

func (PropertyDiff_Kind) Enum added in v3.35.0

func (PropertyDiff_Kind) EnumDescriptor deprecated

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

Deprecated: Use PropertyDiff_Kind.Descriptor instead.

func (PropertyDiff_Kind) Number added in v3.35.0

func (PropertyDiff_Kind) String

func (x PropertyDiff_Kind) String() string

func (PropertyDiff_Kind) Type added in v3.35.0

type ReadRequest

type ReadRequest struct {
	Id         string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                 // the ID of the resource to read.
	Urn        string           `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`               // the Pulumi URN for this resource.
	Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` // the current state (sufficiently complete to identify the resource).
	Inputs     *structpb.Struct `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,omitempty"`         // the current inputs, if any (only populated during refresh).
	// contains filtered or unexported fields
}

func (*ReadRequest) Descriptor deprecated

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

Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.

func (*ReadRequest) GetId

func (x *ReadRequest) GetId() string

func (*ReadRequest) GetInputs

func (x *ReadRequest) GetInputs() *structpb.Struct

func (*ReadRequest) GetProperties

func (x *ReadRequest) GetProperties() *structpb.Struct

func (*ReadRequest) GetUrn

func (x *ReadRequest) GetUrn() string

func (*ReadRequest) ProtoMessage

func (*ReadRequest) ProtoMessage()

func (*ReadRequest) ProtoReflect added in v3.35.0

func (x *ReadRequest) ProtoReflect() protoreflect.Message

func (*ReadRequest) Reset

func (x *ReadRequest) Reset()

func (*ReadRequest) String

func (x *ReadRequest) String() string

type ReadResourceRequest

type ReadResourceRequest struct {
	Id                      string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                            // the ID of the resource to read.
	Type                    string           `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                                        // the type of the resource object.
	Name                    string           `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                                        // the name, for URN purposes, of the object.
	Parent                  string           `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`                                    // an optional parent URN that this child resource belongs to.
	Properties              *structpb.Struct `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"`                            // optional state sufficient to uniquely identify the resource.
	Dependencies            []string         `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"`                        // a list of URNs that this read depends on, as observed by the language host.
	Provider                string           `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"`                                // an optional reference to the provider to use for this read.
	Version                 string           `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`                                  // the version of the provider to use when servicing this request.
	AcceptSecrets           bool             `protobuf:"varint,9,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`                     // when true operations should return secrets as strongly typed.
	AdditionalSecretOutputs []string         `protobuf:"bytes,10,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"` // a list of output properties that should also be treated as secret, in addition to ones we detect.
	Aliases                 []string         `protobuf:"bytes,11,rep,name=aliases,proto3" json:"aliases,omitempty"`                                 // a list of additional URNs that shoud be considered the same.
	AcceptResources         bool             `protobuf:"varint,12,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"`                // when true operations should return resource references as strongly typed.
	PluginDownloadURL       string           `protobuf:"bytes,13,opt,name=pluginDownloadURL,proto3" json:"pluginDownloadURL,omitempty"`             // the server url of the provider to use when servicing this request.
	// contains filtered or unexported fields
}

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

func (*ReadResourceRequest) Descriptor deprecated

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

Deprecated: Use ReadResourceRequest.ProtoReflect.Descriptor instead.

func (*ReadResourceRequest) GetAcceptResources

func (x *ReadResourceRequest) GetAcceptResources() bool

func (*ReadResourceRequest) GetAcceptSecrets

func (x *ReadResourceRequest) GetAcceptSecrets() bool

func (*ReadResourceRequest) GetAdditionalSecretOutputs

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

func (*ReadResourceRequest) GetAliases

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

func (*ReadResourceRequest) GetDependencies

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

func (*ReadResourceRequest) GetId

func (x *ReadResourceRequest) GetId() string

func (*ReadResourceRequest) GetName

func (x *ReadResourceRequest) GetName() string

func (*ReadResourceRequest) GetParent

func (x *ReadResourceRequest) GetParent() string

func (*ReadResourceRequest) GetPluginDownloadURL added in v3.21.0

func (x *ReadResourceRequest) GetPluginDownloadURL() string

func (*ReadResourceRequest) GetProperties

func (x *ReadResourceRequest) GetProperties() *structpb.Struct

func (*ReadResourceRequest) GetProvider

func (x *ReadResourceRequest) GetProvider() string

func (*ReadResourceRequest) GetType

func (x *ReadResourceRequest) GetType() string

func (*ReadResourceRequest) GetVersion

func (x *ReadResourceRequest) GetVersion() string

func (*ReadResourceRequest) ProtoMessage

func (*ReadResourceRequest) ProtoMessage()

func (*ReadResourceRequest) ProtoReflect added in v3.35.0

func (x *ReadResourceRequest) ProtoReflect() protoreflect.Message

func (*ReadResourceRequest) Reset

func (x *ReadResourceRequest) Reset()

func (*ReadResourceRequest) String

func (x *ReadResourceRequest) String() string

type ReadResourceResponse

type ReadResourceResponse struct {
	Urn        string           `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`               // the URN for this resource.
	Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // the state of the resource read from the live environment.
	// contains filtered or unexported fields
}

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

func (*ReadResourceResponse) Descriptor deprecated

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

Deprecated: Use ReadResourceResponse.ProtoReflect.Descriptor instead.

func (*ReadResourceResponse) GetProperties

func (x *ReadResourceResponse) GetProperties() *structpb.Struct

func (*ReadResourceResponse) GetUrn

func (x *ReadResourceResponse) GetUrn() string

func (*ReadResourceResponse) ProtoMessage

func (*ReadResourceResponse) ProtoMessage()

func (*ReadResourceResponse) ProtoReflect added in v3.35.0

func (x *ReadResourceResponse) ProtoReflect() protoreflect.Message

func (*ReadResourceResponse) Reset

func (x *ReadResourceResponse) Reset()

func (*ReadResourceResponse) String

func (x *ReadResourceResponse) String() string

type ReadResponse

type ReadResponse struct {
	Id         string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                 // the ID of the resource read back (or empty if missing).
	Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // the state of the resource read from the live environment.
	Inputs     *structpb.Struct `protobuf:"bytes,3,opt,name=inputs,proto3" json:"inputs,omitempty"`         // the inputs for this resource that would be returned from Check.
	// contains filtered or unexported fields
}

func (*ReadResponse) Descriptor deprecated

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

Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.

func (*ReadResponse) GetId

func (x *ReadResponse) GetId() string

func (*ReadResponse) GetInputs

func (x *ReadResponse) GetInputs() *structpb.Struct

func (*ReadResponse) GetProperties

func (x *ReadResponse) GetProperties() *structpb.Struct

func (*ReadResponse) ProtoMessage

func (*ReadResponse) ProtoMessage()

func (*ReadResponse) ProtoReflect added in v3.35.0

func (x *ReadResponse) ProtoReflect() protoreflect.Message

func (*ReadResponse) Reset

func (x *ReadResponse) Reset()

func (*ReadResponse) String

func (x *ReadResponse) String() string

type RegisterResourceOutputsRequest

type RegisterResourceOutputsRequest struct {
	Urn     string           `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`         // the URN for the resource to attach output properties to.
	Outputs *structpb.Struct `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` // additional output properties to add to the existing resource.
	// contains filtered or unexported fields
}

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

func (*RegisterResourceOutputsRequest) Descriptor deprecated

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

Deprecated: Use RegisterResourceOutputsRequest.ProtoReflect.Descriptor instead.

func (*RegisterResourceOutputsRequest) GetOutputs

func (*RegisterResourceOutputsRequest) GetUrn

func (*RegisterResourceOutputsRequest) ProtoMessage

func (*RegisterResourceOutputsRequest) ProtoMessage()

func (*RegisterResourceOutputsRequest) ProtoReflect added in v3.35.0

func (*RegisterResourceOutputsRequest) Reset

func (x *RegisterResourceOutputsRequest) Reset()

func (*RegisterResourceOutputsRequest) String

type RegisterResourceRequest

type RegisterResourceRequest struct {
	Type                 string                                                   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`                 // the type of the object allocated.
	Name                 string                                                   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                 // the name, for URN purposes, of the object.
	Parent               string                                                   `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`             // an optional parent URN that this child resource belongs to.
	Custom               bool                                                     `protobuf:"varint,4,opt,name=custom,proto3" json:"custom,omitempty"`            // true if the resource is a custom, managed by a plugin's CRUD operations.
	Object               *structpb.Struct                                         `protobuf:"bytes,5,opt,name=object,proto3" json:"object,omitempty"`             // an object produced by the interpreter/source.
	Protect              bool                                                     `protobuf:"varint,6,opt,name=protect,proto3" json:"protect,omitempty"`          // true if the resource should be marked protected.
	Dependencies         []string                                                 `protobuf:"bytes,7,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // a list of URNs that this resource depends on, as observed by the language host.
	Provider             string                                                   `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"`         // an optional reference to the provider to manage this resource's CRUD operations.
	PropertyDependencies map[string]*RegisterResourceRequest_PropertyDependencies ``                                                                              // a map from property keys to the dependencies of the property.
	/* 181-byte string literal not displayed */
	DeleteBeforeReplace        bool                                    `protobuf:"varint,10,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"`               // true if this resource should be deleted before replacement.
	Version                    string                                  `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"`                                        // the version of the provider to use when servicing this request.
	IgnoreChanges              []string                                `protobuf:"bytes,12,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"`                            // a list of property selectors to ignore during updates.
	AcceptSecrets              bool                                    `protobuf:"varint,13,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`                           // when true operations should return secrets as strongly typed.
	AdditionalSecretOutputs    []string                                `protobuf:"bytes,14,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"`        // a list of output properties that should also be treated as secret, in addition to ones we detect.
	Aliases                    []string                                `protobuf:"bytes,15,rep,name=aliases,proto3" json:"aliases,omitempty"`                                        // a list of additional URNs that shoud be considered the same.
	ImportId                   string                                  `protobuf:"bytes,16,opt,name=importId,proto3" json:"importId,omitempty"`                                      // if set, this resource's state should be imported from the given ID.
	CustomTimeouts             *RegisterResourceRequest_CustomTimeouts `protobuf:"bytes,17,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"`                          // ability to pass a custom Timeout block.
	DeleteBeforeReplaceDefined bool                                    `protobuf:"varint,18,opt,name=deleteBeforeReplaceDefined,proto3" json:"deleteBeforeReplaceDefined,omitempty"` // true if the deleteBeforeReplace property should be treated as defined even if it is false.
	SupportsPartialValues      bool                                    `protobuf:"varint,19,opt,name=supportsPartialValues,proto3" json:"supportsPartialValues,omitempty"`           // true if the request is from an SDK that supports partially-known properties during preview.
	Remote                     bool                                    `protobuf:"varint,20,opt,name=remote,proto3" json:"remote,omitempty"`                                         // true if the resource is a plugin-managed component resource.
	AcceptResources            bool                                    `protobuf:"varint,21,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"`                       // when true operations should return resource references as strongly typed.
	Providers                  map[string]string                       ``                                                                                                            // an optional reference to the provider map to manage this resource's CRUD operations.
	/* 160-byte string literal not displayed */
	ReplaceOnChanges  []string `protobuf:"bytes,23,rep,name=replaceOnChanges,proto3" json:"replaceOnChanges,omitempty"`   // a list of properties that if changed should force a replacement.
	PluginDownloadURL string   `protobuf:"bytes,24,opt,name=pluginDownloadURL,proto3" json:"pluginDownloadURL,omitempty"` // the server URL of the provider to use when servicing this request.
	RetainOnDelete    bool     `protobuf:"varint,25,opt,name=retainOnDelete,proto3" json:"retainOnDelete,omitempty"`      // if true the engine will not call the resource providers delete method for this resource.
	// contains filtered or unexported fields
}

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

func (*RegisterResourceRequest) Descriptor deprecated

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

Deprecated: Use RegisterResourceRequest.ProtoReflect.Descriptor instead.

func (*RegisterResourceRequest) GetAcceptResources

func (x *RegisterResourceRequest) GetAcceptResources() bool

func (*RegisterResourceRequest) GetAcceptSecrets

func (x *RegisterResourceRequest) GetAcceptSecrets() bool

func (*RegisterResourceRequest) GetAdditionalSecretOutputs

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

func (*RegisterResourceRequest) GetAliases

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

func (*RegisterResourceRequest) GetCustom

func (x *RegisterResourceRequest) GetCustom() bool

func (*RegisterResourceRequest) GetCustomTimeouts

func (*RegisterResourceRequest) GetDeleteBeforeReplace

func (x *RegisterResourceRequest) GetDeleteBeforeReplace() bool

func (*RegisterResourceRequest) GetDeleteBeforeReplaceDefined

func (x *RegisterResourceRequest) GetDeleteBeforeReplaceDefined() bool

func (*RegisterResourceRequest) GetDependencies

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

func (*RegisterResourceRequest) GetIgnoreChanges

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

func (*RegisterResourceRequest) GetImportId

func (x *RegisterResourceRequest) GetImportId() string

func (*RegisterResourceRequest) GetName

func (x *RegisterResourceRequest) GetName() string

func (*RegisterResourceRequest) GetObject

func (x *RegisterResourceRequest) GetObject() *structpb.Struct

func (*RegisterResourceRequest) GetParent

func (x *RegisterResourceRequest) GetParent() string

func (*RegisterResourceRequest) GetPluginDownloadURL added in v3.21.0

func (x *RegisterResourceRequest) GetPluginDownloadURL() string

func (*RegisterResourceRequest) GetPropertyDependencies

func (*RegisterResourceRequest) GetProtect

func (x *RegisterResourceRequest) GetProtect() bool

func (*RegisterResourceRequest) GetProvider

func (x *RegisterResourceRequest) GetProvider() string

func (*RegisterResourceRequest) GetProviders

func (x *RegisterResourceRequest) GetProviders() map[string]string

func (*RegisterResourceRequest) GetRemote

func (x *RegisterResourceRequest) GetRemote() bool

func (*RegisterResourceRequest) GetReplaceOnChanges added in v3.6.1

func (x *RegisterResourceRequest) GetReplaceOnChanges() []string

func (*RegisterResourceRequest) GetRetainOnDelete added in v3.25.0

func (x *RegisterResourceRequest) GetRetainOnDelete() bool

func (*RegisterResourceRequest) GetSupportsPartialValues

func (x *RegisterResourceRequest) GetSupportsPartialValues() bool

func (*RegisterResourceRequest) GetType

func (x *RegisterResourceRequest) GetType() string

func (*RegisterResourceRequest) GetVersion

func (x *RegisterResourceRequest) GetVersion() string

func (*RegisterResourceRequest) ProtoMessage

func (*RegisterResourceRequest) ProtoMessage()

func (*RegisterResourceRequest) ProtoReflect added in v3.35.0

func (x *RegisterResourceRequest) ProtoReflect() protoreflect.Message

func (*RegisterResourceRequest) Reset

func (x *RegisterResourceRequest) Reset()

func (*RegisterResourceRequest) String

func (x *RegisterResourceRequest) String() string

type RegisterResourceRequest_CustomTimeouts

type RegisterResourceRequest_CustomTimeouts struct {
	Create string `protobuf:"bytes,1,opt,name=create,proto3" json:"create,omitempty"` // The create resource timeout represented as a string e.g. 5m.
	Update string `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"` // The update resource timeout represented as a string e.g. 5m.
	Delete string `protobuf:"bytes,3,opt,name=delete,proto3" json:"delete,omitempty"` // The delete resource timeout represented as a string e.g. 5m.
	// contains filtered or unexported fields
}

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

func (*RegisterResourceRequest_CustomTimeouts) Descriptor deprecated

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

Deprecated: Use RegisterResourceRequest_CustomTimeouts.ProtoReflect.Descriptor instead.

func (*RegisterResourceRequest_CustomTimeouts) GetCreate

func (*RegisterResourceRequest_CustomTimeouts) GetDelete

func (*RegisterResourceRequest_CustomTimeouts) GetUpdate

func (*RegisterResourceRequest_CustomTimeouts) ProtoMessage

func (*RegisterResourceRequest_CustomTimeouts) ProtoReflect added in v3.35.0

func (*RegisterResourceRequest_CustomTimeouts) Reset

func (*RegisterResourceRequest_CustomTimeouts) String

type RegisterResourceRequest_PropertyDependencies

type RegisterResourceRequest_PropertyDependencies struct {
	Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // A list of URNs this property depends on.
	// contains filtered or unexported fields
}

PropertyDependencies describes the resources that a particular property depends on.

func (*RegisterResourceRequest_PropertyDependencies) Descriptor deprecated

Deprecated: Use RegisterResourceRequest_PropertyDependencies.ProtoReflect.Descriptor instead.

func (*RegisterResourceRequest_PropertyDependencies) GetUrns

func (*RegisterResourceRequest_PropertyDependencies) ProtoMessage

func (*RegisterResourceRequest_PropertyDependencies) ProtoReflect added in v3.35.0

func (*RegisterResourceRequest_PropertyDependencies) Reset

func (*RegisterResourceRequest_PropertyDependencies) String

type RegisterResourceResponse

type RegisterResourceResponse struct {
	Urn                  string                                                    `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`         // the URN assigned by the engine.
	Id                   string                                                    `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`           // the unique ID assigned by the provider.
	Object               *structpb.Struct                                          `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`   // the resulting object properties, including provider defaults.
	Stable               bool                                                      `protobuf:"varint,4,opt,name=stable,proto3" json:"stable,omitempty"`  // if true, the object's state is stable and may be trusted not to change.
	Stables              []string                                                  `protobuf:"bytes,5,rep,name=stables,proto3" json:"stables,omitempty"` // an optional list of guaranteed-stable properties.
	PropertyDependencies map[string]*RegisterResourceResponse_PropertyDependencies ``                                                                    // a map from property keys to the dependencies of the property.
	/* 181-byte string literal not displayed */
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use RegisterResourceResponse.ProtoReflect.Descriptor instead.

func (*RegisterResourceResponse) GetId

func (x *RegisterResourceResponse) GetId() string

func (*RegisterResourceResponse) GetObject

func (x *RegisterResourceResponse) GetObject() *structpb.Struct

func (*RegisterResourceResponse) GetPropertyDependencies

func (*RegisterResourceResponse) GetStable

func (x *RegisterResourceResponse) GetStable() bool

func (*RegisterResourceResponse) GetStables

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

func (*RegisterResourceResponse) GetUrn

func (x *RegisterResourceResponse) GetUrn() string

func (*RegisterResourceResponse) ProtoMessage

func (*RegisterResourceResponse) ProtoMessage()

func (*RegisterResourceResponse) ProtoReflect added in v3.35.0

func (x *RegisterResourceResponse) ProtoReflect() protoreflect.Message

func (*RegisterResourceResponse) Reset

func (x *RegisterResourceResponse) Reset()

func (*RegisterResourceResponse) String

func (x *RegisterResourceResponse) String() string

type RegisterResourceResponse_PropertyDependencies

type RegisterResourceResponse_PropertyDependencies struct {
	Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // A list of URNs this property depends on.
	// contains filtered or unexported fields
}

PropertyDependencies describes the resources that a particular property depends on.

func (*RegisterResourceResponse_PropertyDependencies) Descriptor deprecated

Deprecated: Use RegisterResourceResponse_PropertyDependencies.ProtoReflect.Descriptor instead.

func (*RegisterResourceResponse_PropertyDependencies) GetUrns

func (*RegisterResourceResponse_PropertyDependencies) ProtoMessage

func (*RegisterResourceResponse_PropertyDependencies) ProtoReflect added in v3.35.0

func (*RegisterResourceResponse_PropertyDependencies) Reset

func (*RegisterResourceResponse_PropertyDependencies) String

type ResourceInvokeRequest added in v3.30.0

type ResourceInvokeRequest struct {
	Tok               string           `protobuf:"bytes,1,opt,name=tok,proto3" json:"tok,omitempty"`                             // the function token to invoke.
	Args              *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`                           // the arguments for the function invocation.
	Provider          string           `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`                   // an optional reference to the provider version to use for this invoke.
	Version           string           `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`                     // the version of the provider to use when servicing this request.
	AcceptResources   bool             `protobuf:"varint,5,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"`    // when true operations should return resource references as strongly typed.
	PluginDownloadURL string           `protobuf:"bytes,6,opt,name=pluginDownloadURL,proto3" json:"pluginDownloadURL,omitempty"` // an optional reference to the provider url to use for this invoke.
	// contains filtered or unexported fields
}

func (*ResourceInvokeRequest) Descriptor deprecated added in v3.30.0

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

Deprecated: Use ResourceInvokeRequest.ProtoReflect.Descriptor instead.

func (*ResourceInvokeRequest) GetAcceptResources added in v3.30.0

func (x *ResourceInvokeRequest) GetAcceptResources() bool

func (*ResourceInvokeRequest) GetArgs added in v3.30.0

func (x *ResourceInvokeRequest) GetArgs() *structpb.Struct

func (*ResourceInvokeRequest) GetPluginDownloadURL added in v3.30.0

func (x *ResourceInvokeRequest) GetPluginDownloadURL() string

func (*ResourceInvokeRequest) GetProvider added in v3.30.0

func (x *ResourceInvokeRequest) GetProvider() string

func (*ResourceInvokeRequest) GetTok added in v3.30.0

func (x *ResourceInvokeRequest) GetTok() string

func (*ResourceInvokeRequest) GetVersion added in v3.30.0

func (x *ResourceInvokeRequest) GetVersion() string

func (*ResourceInvokeRequest) ProtoMessage added in v3.30.0

func (*ResourceInvokeRequest) ProtoMessage()

func (*ResourceInvokeRequest) ProtoReflect added in v3.35.0

func (x *ResourceInvokeRequest) ProtoReflect() protoreflect.Message

func (*ResourceInvokeRequest) Reset added in v3.30.0

func (x *ResourceInvokeRequest) Reset()

func (*ResourceInvokeRequest) String added in v3.30.0

func (x *ResourceInvokeRequest) String() string

type ResourceMonitorClient

type ResourceMonitorClient interface {
	SupportsFeature(ctx context.Context, in *SupportsFeatureRequest, opts ...grpc.CallOption) (*SupportsFeatureResponse, error)
	Invoke(ctx context.Context, in *ResourceInvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error)
	StreamInvoke(ctx context.Context, in *ResourceInvokeRequest, opts ...grpc.CallOption) (ResourceMonitor_StreamInvokeClient, error)
	Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, 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) (*emptypb.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)
	// Call dynamically executes a method in the provider associated with a component resource.
	Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, 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) (*emptypb.Empty, error)
	// Construct creates a new instance of the provided component resource and returns its state.
	Construct(ctx context.Context, in *ConstructRequest, opts ...grpc.CallOption) (*ConstructResponse, error)
	// Cancel signals the provider to gracefully shut down and abort any ongoing resource operations.
	// Operations aborted in this way will return an error (e.g., `Update` and `Create` will either return a
	// creation error or an initialization error). Since Cancel is advisory and non-blocking, it is up
	// to the host to decide how long to wait after Cancel is called before (e.g.)
	// hard-closing any gRPC connection.
	Cancel(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PluginInfo, error)
	// Attach sends the engine address to an already running plugin.
	Attach(ctx context.Context, in *PluginAttach, opts ...grpc.CallOption) (*emptypb.Empty, 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
	// Call dynamically executes a method in the provider associated with a component resource.
	Call(context.Context, *CallRequest) (*CallResponse, 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) (*emptypb.Empty, error)
	// Construct creates a new instance of the provided component resource and returns its state.
	Construct(context.Context, *ConstructRequest) (*ConstructResponse, error)
	// Cancel signals the provider to gracefully shut down and abort any ongoing resource operations.
	// Operations aborted in this way will return an error (e.g., `Update` and `Create` will either return a
	// creation error or an initialization error). Since Cancel is advisory and non-blocking, it is up
	// to the host to decide how long to wait after Cancel is called before (e.g.)
	// hard-closing any gRPC connection.
	Cancel(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// GetPluginInfo returns generic information about this plugin, like its version.
	GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
	// Attach sends the engine address to an already running plugin.
	Attach(context.Context, *PluginAttach) (*emptypb.Empty, 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"` // the project name.
	Stack   string            `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"`     // the name of the stack being deployed into.
	Pwd     string            `protobuf:"bytes,3,opt,name=pwd,proto3" json:"pwd,omitempty"`         // the program's working directory.
	Program string            `protobuf:"bytes,4,opt,name=program,proto3" json:"program,omitempty"` // the path to the program to execute.
	Args    []string          `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`       // any arguments to pass to the program.
	Config  map[string]string ``                                                                    // the configuration variables to apply before running.
	/* 153-byte string literal not displayed */
	DryRun           bool     `protobuf:"varint,7,opt,name=dryRun,proto3" json:"dryRun,omitempty"`                                      // true if we're only doing a dryrun (preview).
	Parallel         int32    `protobuf:"varint,8,opt,name=parallel,proto3" json:"parallel,omitempty"`                                  // the degree of parallelism for resource operations (<=1 for serial).
	MonitorAddress   string   `protobuf:"bytes,9,opt,name=monitor_address,json=monitorAddress,proto3" json:"monitor_address,omitempty"` // the address for communicating back to the resource monitor.
	QueryMode        bool     `protobuf:"varint,10,opt,name=queryMode,proto3" json:"queryMode,omitempty"`                               // true if we're only doing a query.
	ConfigSecretKeys []string `protobuf:"bytes,11,rep,name=configSecretKeys,proto3" json:"configSecretKeys,omitempty"`                  // the configuration keys that have secret values.
	Organization     string   `protobuf:"bytes,12,opt,name=organization,proto3" json:"organization,omitempty"`                          // the organization of the stack being deployed into.
	// contains filtered or unexported fields
}

RunRequest asks the interpreter to execute a program.

func (*RunRequest) Descriptor deprecated

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

Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.

func (*RunRequest) GetArgs

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

func (*RunRequest) GetConfig

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

func (*RunRequest) GetConfigSecretKeys added in v3.3.0

func (x *RunRequest) GetConfigSecretKeys() []string

func (*RunRequest) GetDryRun

func (x *RunRequest) GetDryRun() bool

func (*RunRequest) GetMonitorAddress

func (x *RunRequest) GetMonitorAddress() string

func (*RunRequest) GetOrganization added in v3.39.0

func (x *RunRequest) GetOrganization() string

func (*RunRequest) GetParallel

func (x *RunRequest) GetParallel() int32

func (*RunRequest) GetProgram

func (x *RunRequest) GetProgram() string

func (*RunRequest) GetProject

func (x *RunRequest) GetProject() string

func (*RunRequest) GetPwd

func (x *RunRequest) GetPwd() string

func (*RunRequest) GetQueryMode

func (x *RunRequest) GetQueryMode() bool

func (*RunRequest) GetStack

func (x *RunRequest) GetStack() string

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) ProtoReflect added in v3.35.0

func (x *RunRequest) ProtoReflect() protoreflect.Message

func (*RunRequest) Reset

func (x *RunRequest) Reset()

func (*RunRequest) String

func (x *RunRequest) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*RunResponse) Descriptor deprecated

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

Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.

func (*RunResponse) GetBail

func (x *RunResponse) GetBail() bool

func (*RunResponse) GetError

func (x *RunResponse) GetError() string

func (*RunResponse) ProtoMessage

func (*RunResponse) ProtoMessage()

func (*RunResponse) ProtoReflect added in v3.35.0

func (x *RunResponse) ProtoReflect() protoreflect.Message

func (*RunResponse) Reset

func (x *RunResponse) Reset()

func (*RunResponse) String

func (x *RunResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*SetRootResourceRequest) Descriptor deprecated

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

Deprecated: Use SetRootResourceRequest.ProtoReflect.Descriptor instead.

func (*SetRootResourceRequest) GetUrn

func (x *SetRootResourceRequest) GetUrn() string

func (*SetRootResourceRequest) ProtoMessage

func (*SetRootResourceRequest) ProtoMessage()

func (*SetRootResourceRequest) ProtoReflect added in v3.35.0

func (x *SetRootResourceRequest) ProtoReflect() protoreflect.Message

func (*SetRootResourceRequest) Reset

func (x *SetRootResourceRequest) Reset()

func (*SetRootResourceRequest) String

func (x *SetRootResourceRequest) String() string

type SetRootResourceResponse

type SetRootResourceResponse struct {
	// contains filtered or unexported fields
}

func (*SetRootResourceResponse) Descriptor deprecated

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

Deprecated: Use SetRootResourceResponse.ProtoReflect.Descriptor instead.

func (*SetRootResourceResponse) ProtoMessage

func (*SetRootResourceResponse) ProtoMessage()

func (*SetRootResourceResponse) ProtoReflect added in v3.35.0

func (x *SetRootResourceResponse) ProtoReflect() protoreflect.Message

func (*SetRootResourceResponse) Reset

func (x *SetRootResourceResponse) Reset()

func (*SetRootResourceResponse) String

func (x *SetRootResourceResponse) String() string

type SupportsFeatureRequest

type SupportsFeatureRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the ID of the feature to test support for.
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use SupportsFeatureRequest.ProtoReflect.Descriptor instead.

func (*SupportsFeatureRequest) GetId

func (x *SupportsFeatureRequest) GetId() string

func (*SupportsFeatureRequest) ProtoMessage

func (*SupportsFeatureRequest) ProtoMessage()

func (*SupportsFeatureRequest) ProtoReflect added in v3.35.0

func (x *SupportsFeatureRequest) ProtoReflect() protoreflect.Message

func (*SupportsFeatureRequest) Reset

func (x *SupportsFeatureRequest) Reset()

func (*SupportsFeatureRequest) String

func (x *SupportsFeatureRequest) String() string

type SupportsFeatureResponse

type SupportsFeatureResponse struct {
	HasSupport bool `protobuf:"varint,1,opt,name=hasSupport,proto3" json:"hasSupport,omitempty"` // true when the resource monitor supports this feature.
	// contains filtered or unexported fields
}

func (*SupportsFeatureResponse) Descriptor deprecated

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

Deprecated: Use SupportsFeatureResponse.ProtoReflect.Descriptor instead.

func (*SupportsFeatureResponse) GetHasSupport

func (x *SupportsFeatureResponse) GetHasSupport() bool

func (*SupportsFeatureResponse) ProtoMessage

func (*SupportsFeatureResponse) ProtoMessage()

func (*SupportsFeatureResponse) ProtoReflect added in v3.35.0

func (x *SupportsFeatureResponse) ProtoReflect() protoreflect.Message

func (*SupportsFeatureResponse) Reset

func (x *SupportsFeatureResponse) Reset()

func (*SupportsFeatureResponse) String

func (x *SupportsFeatureResponse) String() string

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

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) About added in v3.37.0

func (*UnimplementedLanguageRuntimeServer) GetPluginInfo

func (*UnimplementedLanguageRuntimeServer) GetProgramDependencies added in v3.37.0

func (*UnimplementedLanguageRuntimeServer) GetRequiredPlugins

func (*UnimplementedLanguageRuntimeServer) InstallDependencies added in v3.29.0

func (*UnimplementedLanguageRuntimeServer) Run

type UnimplementedResourceMonitorServer

type UnimplementedResourceMonitorServer struct {
}

UnimplementedResourceMonitorServer can be embedded to have forward compatible implementations.

func (*UnimplementedResourceMonitorServer) Call added in v3.6.0

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) Attach added in v3.30.0

func (*UnimplementedResourceProviderServer) Call added in v3.6.0

func (*UnimplementedResourceProviderServer) Cancel

func (*UnimplementedResourceProviderServer) Check

func (*UnimplementedResourceProviderServer) CheckConfig

func (*UnimplementedResourceProviderServer) Configure

func (*UnimplementedResourceProviderServer) Construct

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"`                       // the ID of the resource to update.
	Urn           string           `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`                     // the Pulumi URN for this resource.
	Olds          *structpb.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"`                   // the old values of provider inputs for the resource to update.
	News          *structpb.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"`                   // the new values of provider inputs for the resource to update.
	Timeout       float64          `protobuf:"fixed64,5,opt,name=timeout,proto3" json:"timeout,omitempty"`           // the update request timeout represented in seconds.
	IgnoreChanges []string         `protobuf:"bytes,6,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // a set of property paths that should be treated as unchanged.
	Preview       bool             `protobuf:"varint,7,opt,name=preview,proto3" json:"preview,omitempty"`            // true if this is a preview and the provider should not actually create the resource.
	// contains filtered or unexported fields
}

func (*UpdateRequest) Descriptor deprecated

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetId

func (x *UpdateRequest) GetId() string

func (*UpdateRequest) GetIgnoreChanges

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

func (*UpdateRequest) GetNews

func (x *UpdateRequest) GetNews() *structpb.Struct

func (*UpdateRequest) GetOlds

func (x *UpdateRequest) GetOlds() *structpb.Struct

func (*UpdateRequest) GetPreview

func (x *UpdateRequest) GetPreview() bool

func (*UpdateRequest) GetTimeout

func (x *UpdateRequest) GetTimeout() float64

func (*UpdateRequest) GetUrn

func (x *UpdateRequest) GetUrn() string

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect added in v3.35.0

func (x *UpdateRequest) ProtoReflect() protoreflect.Message

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse

type UpdateResponse struct {
	Properties *structpb.Struct `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"` // any properties that were computed during updating.
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) GetProperties

func (x *UpdateResponse) GetProperties() *structpb.Struct

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect added in v3.35.0

func (x *UpdateResponse) ProtoReflect() protoreflect.Message

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

Jump to

Keyboard shortcuts

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