pulumirpc

package
v3.113.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 82

Documentation

Index

Constants

This section is empty.

Variables

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

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 Analyzer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pulumirpc.Analyzer",
	HandlerType: (*AnalyzerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Analyze",
			Handler:    _Analyzer_Analyze_Handler,
		},
		{
			MethodName: "AnalyzeStack",
			Handler:    _Analyzer_AnalyzeStack_Handler,
		},
		{
			MethodName: "Remediate",
			Handler:    _Analyzer_Remediate_Handler,
		},
		{
			MethodName: "GetAnalyzerInfo",
			Handler:    _Analyzer_GetAnalyzerInfo_Handler,
		},
		{
			MethodName: "GetPluginInfo",
			Handler:    _Analyzer_GetPluginInfo_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _Analyzer_Configure_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pulumi/analyzer.proto",
}

Analyzer_ServiceDesc is the grpc.ServiceDesc for Analyzer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Callbacks_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pulumirpc.Callbacks",
	HandlerType: (*CallbacksServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Invoke",
			Handler:    _Callbacks_Invoke_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pulumi/callback.proto",
}

Callbacks_ServiceDesc is the grpc.ServiceDesc for Callbacks service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Converter_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pulumirpc.Converter",
	HandlerType: (*ConverterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ConvertState",
			Handler:    _Converter_ConvertState_Handler,
		},
		{
			MethodName: "ConvertProgram",
			Handler:    _Converter_ConvertProgram_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pulumi/converter.proto",
}

Converter_ServiceDesc is the grpc.ServiceDesc for Converter service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Engine_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pulumirpc.Engine",
	HandlerType: (*EngineServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Log",
			Handler:    _Engine_Log_Handler,
		},
		{
			MethodName: "GetRootResource",
			Handler:    _Engine_GetRootResource_Handler,
		},
		{
			MethodName: "SetRootResource",
			Handler:    _Engine_SetRootResource_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pulumi/engine.proto",
}

Engine_ServiceDesc is the grpc.ServiceDesc for Engine service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_pulumi_alias_proto protoreflect.FileDescriptor
View Source
var File_pulumi_analyzer_proto protoreflect.FileDescriptor
View Source
var File_pulumi_callback_proto protoreflect.FileDescriptor
View Source
var File_pulumi_converter_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
View Source
var File_pulumi_source_proto protoreflect.FileDescriptor
View Source
var LanguageRuntime_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pulumirpc.LanguageRuntime",
	HandlerType: (*LanguageRuntimeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetRequiredPlugins",
			Handler:    _LanguageRuntime_GetRequiredPlugins_Handler,
		},
		{
			MethodName: "Run",
			Handler:    _LanguageRuntime_Run_Handler,
		},
		{
			MethodName: "GetPluginInfo",
			Handler:    _LanguageRuntime_GetPluginInfo_Handler,
		},
		{
			MethodName: "About",
			Handler:    _LanguageRuntime_About_Handler,
		},
		{
			MethodName: "GetProgramDependencies",
			Handler:    _LanguageRuntime_GetProgramDependencies_Handler,
		},
		{
			MethodName: "GenerateProgram",
			Handler:    _LanguageRuntime_GenerateProgram_Handler,
		},
		{
			MethodName: "GenerateProject",
			Handler:    _LanguageRuntime_GenerateProject_Handler,
		},
		{
			MethodName: "GeneratePackage",
			Handler:    _LanguageRuntime_GeneratePackage_Handler,
		},
		{
			MethodName: "Pack",
			Handler:    _LanguageRuntime_Pack_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "InstallDependencies",
			Handler:       _LanguageRuntime_InstallDependencies_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "RunPlugin",
			Handler:       _LanguageRuntime_RunPlugin_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "pulumi/language.proto",
}

LanguageRuntime_ServiceDesc is the grpc.ServiceDesc for LanguageRuntime service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ResourceMonitor_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pulumirpc.ResourceMonitor",
	HandlerType: (*ResourceMonitorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SupportsFeature",
			Handler:    _ResourceMonitor_SupportsFeature_Handler,
		},
		{
			MethodName: "Invoke",
			Handler:    _ResourceMonitor_Invoke_Handler,
		},
		{
			MethodName: "Call",
			Handler:    _ResourceMonitor_Call_Handler,
		},
		{
			MethodName: "ReadResource",
			Handler:    _ResourceMonitor_ReadResource_Handler,
		},
		{
			MethodName: "RegisterResource",
			Handler:    _ResourceMonitor_RegisterResource_Handler,
		},
		{
			MethodName: "RegisterResourceOutputs",
			Handler:    _ResourceMonitor_RegisterResourceOutputs_Handler,
		},
		{
			MethodName: "RegisterStackTransform",
			Handler:    _ResourceMonitor_RegisterStackTransform_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamInvoke",
			Handler:       _ResourceMonitor_StreamInvoke_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "pulumi/resource.proto",
}

ResourceMonitor_ServiceDesc is the grpc.ServiceDesc for ResourceMonitor service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ResourceProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pulumirpc.ResourceProvider",
	HandlerType: (*ResourceProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSchema",
			Handler:    _ResourceProvider_GetSchema_Handler,
		},
		{
			MethodName: "CheckConfig",
			Handler:    _ResourceProvider_CheckConfig_Handler,
		},
		{
			MethodName: "DiffConfig",
			Handler:    _ResourceProvider_DiffConfig_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _ResourceProvider_Configure_Handler,
		},
		{
			MethodName: "Invoke",
			Handler:    _ResourceProvider_Invoke_Handler,
		},
		{
			MethodName: "Call",
			Handler:    _ResourceProvider_Call_Handler,
		},
		{
			MethodName: "Check",
			Handler:    _ResourceProvider_Check_Handler,
		},
		{
			MethodName: "Diff",
			Handler:    _ResourceProvider_Diff_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ResourceProvider_Create_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _ResourceProvider_Read_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ResourceProvider_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ResourceProvider_Delete_Handler,
		},
		{
			MethodName: "Construct",
			Handler:    _ResourceProvider_Construct_Handler,
		},
		{
			MethodName: "Cancel",
			Handler:    _ResourceProvider_Cancel_Handler,
		},
		{
			MethodName: "GetPluginInfo",
			Handler:    _ResourceProvider_GetPluginInfo_Handler,
		},
		{
			MethodName: "Attach",
			Handler:    _ResourceProvider_Attach_Handler,
		},
		{
			MethodName: "GetMapping",
			Handler:    _ResourceProvider_GetMapping_Handler,
		},
		{
			MethodName: "GetMappings",
			Handler:    _ResourceProvider_GetMappings_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamInvoke",
			Handler:       _ResourceProvider_StreamInvoke_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "pulumi/provider.proto",
}

ResourceProvider_ServiceDesc is the grpc.ServiceDesc for ResourceProvider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAnalyzerServer

func RegisterAnalyzerServer(s grpc.ServiceRegistrar, srv AnalyzerServer)

func RegisterCallbacksServer added in v3.107.0

func RegisterCallbacksServer(s grpc.ServiceRegistrar, srv CallbacksServer)

func RegisterConverterServer added in v3.58.0

func RegisterConverterServer(s grpc.ServiceRegistrar, srv ConverterServer)

func RegisterEngineServer

func RegisterEngineServer(s grpc.ServiceRegistrar, srv EngineServer)

func RegisterLanguageRuntimeServer

func RegisterLanguageRuntimeServer(s grpc.ServiceRegistrar, srv LanguageRuntimeServer)

func RegisterResourceMonitorServer

func RegisterResourceMonitorServer(s grpc.ServiceRegistrar, srv ResourceMonitorServer)

func RegisterResourceProviderServer

func RegisterResourceProviderServer(s grpc.ServiceRegistrar, 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 Alias added in v3.35.0

type Alias struct {

	// Types that are assignable to Alias:
	//	*Alias_Urn
	//	*Alias_Spec_
	Alias isAlias_Alias `protobuf_oneof:"alias"`
	// contains filtered or unexported fields
}

func (*Alias) Descriptor deprecated added in v3.35.0

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

Deprecated: Use Alias.ProtoReflect.Descriptor instead.

func (*Alias) GetAlias added in v3.35.0

func (m *Alias) GetAlias() isAlias_Alias

func (*Alias) GetSpec added in v3.35.0

func (x *Alias) GetSpec() *Alias_Spec

func (*Alias) GetUrn added in v3.35.0

func (x *Alias) GetUrn() string

func (*Alias) ProtoMessage added in v3.35.0

func (*Alias) ProtoMessage()

func (*Alias) ProtoReflect added in v3.35.0

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

func (*Alias) Reset added in v3.35.0

func (x *Alias) Reset()

func (*Alias) String added in v3.35.0

func (x *Alias) String() string

type Alias_Spec added in v3.35.0

type Alias_Spec struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`       // The previous name of the resource.  If none is provided, we will use the current name.
	Type    string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`       // The previous type of the resource. If none is provided, we will use the current resoource type.
	Stack   string `protobuf:"bytes,3,opt,name=stack,proto3" json:"stack,omitempty"`     // The previous stack of the resource. If not set, the current stack of the resource is used.
	Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` // The previous project of the resource. If not set, the current project of the resource is used.
	// The previous parent of the resource. If not set, the current parent of the resource is used.
	//
	// Types that are assignable to Parent:
	//	*Alias_Spec_ParentUrn
	//	*Alias_Spec_NoParent
	Parent isAlias_Spec_Parent `protobuf_oneof:"parent"`
	// contains filtered or unexported fields
}

func (*Alias_Spec) Descriptor deprecated added in v3.35.0

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

Deprecated: Use Alias_Spec.ProtoReflect.Descriptor instead.

func (*Alias_Spec) GetName added in v3.35.0

func (x *Alias_Spec) GetName() string

func (*Alias_Spec) GetNoParent added in v3.35.0

func (x *Alias_Spec) GetNoParent() bool

func (*Alias_Spec) GetParent added in v3.35.0

func (m *Alias_Spec) GetParent() isAlias_Spec_Parent

func (*Alias_Spec) GetParentUrn added in v3.35.0

func (x *Alias_Spec) GetParentUrn() string

func (*Alias_Spec) GetProject added in v3.35.0

func (x *Alias_Spec) GetProject() string

func (*Alias_Spec) GetStack added in v3.35.0

func (x *Alias_Spec) GetStack() string

func (*Alias_Spec) GetType added in v3.35.0

func (x *Alias_Spec) GetType() string

func (*Alias_Spec) ProtoMessage added in v3.35.0

func (*Alias_Spec) ProtoMessage()

func (*Alias_Spec) ProtoReflect added in v3.35.0

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

func (*Alias_Spec) Reset added in v3.35.0

func (x *Alias_Spec) Reset()

func (*Alias_Spec) String added in v3.35.0

func (x *Alias_Spec) String() string

type Alias_Spec_ added in v3.35.0

type Alias_Spec_ struct {
	Spec *Alias_Spec `protobuf:"bytes,2,opt,name=spec,proto3,oneof"` // An alias specification.
}

type Alias_Spec_NoParent added in v3.35.0

type Alias_Spec_NoParent struct {
	NoParent bool `protobuf:"varint,6,opt,name=noParent,proto3,oneof"` // Used to indicate the resource previously had no parent. If false this property is ignored.
}

type Alias_Spec_ParentUrn added in v3.35.0

type Alias_Spec_ParentUrn struct {
	ParentUrn string `protobuf:"bytes,5,opt,name=parentUrn,proto3,oneof"` // The urn of the previous parent.
}

type Alias_Urn added in v3.35.0

type Alias_Urn struct {
	Urn string `protobuf:"bytes,1,opt,name=urn,proto3,oneof"` // The previous urn to alias to.
}

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)
	// Remediate optionally transforms a single resource object. This effectively rewrites
	// a single resource object's properties instead of using what was generated by the program.
	Remediate(ctx context.Context, in *AnalyzeRequest, opts ...grpc.CallOption) (*RemediateResponse, 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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)
	// Remediate optionally transforms a single resource object. This effectively rewrites
	// a single resource object's properties instead of using what was generated by the program.
	Remediate(context.Context, *AnalyzeRequest) (*RemediateResponse, 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)
	// contains filtered or unexported methods
}

AnalyzerServer is the server API for Analyzer service. All implementations must embed UnimplementedAnalyzerServer for forward compatibility

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 */
	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.
	AcceptsOutputValues bool     `protobuf:"varint,17,opt,name=accepts_output_values,json=acceptsOutputValues,proto3" json:"accepts_output_values,omitempty"` // the engine can be passed output values back, returnDependencies can be left blank if returning output values.
	// 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) GetAcceptsOutputValues added in v3.106.0

func (x *CallRequest) GetAcceptsOutputValues() bool

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) GetProject added in v3.6.0

func (x *CallRequest) GetProject() 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) 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 Callback added in v3.107.0

type Callback struct {

	// the gRPC target of the callback service.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// the service specific unique token for this callback.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*Callback) Descriptor deprecated added in v3.107.0

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

Deprecated: Use Callback.ProtoReflect.Descriptor instead.

func (*Callback) GetTarget added in v3.107.0

func (x *Callback) GetTarget() string

func (*Callback) GetToken added in v3.107.0

func (x *Callback) GetToken() string

func (*Callback) ProtoMessage added in v3.107.0

func (*Callback) ProtoMessage()

func (*Callback) ProtoReflect added in v3.107.0

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

func (*Callback) Reset added in v3.107.0

func (x *Callback) Reset()

func (*Callback) String added in v3.107.0

func (x *Callback) String() string

type CallbackInvokeRequest added in v3.107.0

type CallbackInvokeRequest struct {

	// the token for the callback.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// the serialized protobuf message of the arguments for this callback.
	Request []byte `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*CallbackInvokeRequest) Descriptor deprecated added in v3.107.0

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

Deprecated: Use CallbackInvokeRequest.ProtoReflect.Descriptor instead.

func (*CallbackInvokeRequest) GetRequest added in v3.107.0

func (x *CallbackInvokeRequest) GetRequest() []byte

func (*CallbackInvokeRequest) GetToken added in v3.107.0

func (x *CallbackInvokeRequest) GetToken() string

func (*CallbackInvokeRequest) ProtoMessage added in v3.107.0

func (*CallbackInvokeRequest) ProtoMessage()

func (*CallbackInvokeRequest) ProtoReflect added in v3.107.0

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

func (*CallbackInvokeRequest) Reset added in v3.107.0

func (x *CallbackInvokeRequest) Reset()

func (*CallbackInvokeRequest) String added in v3.107.0

func (x *CallbackInvokeRequest) String() string

type CallbackInvokeResponse added in v3.107.0

type CallbackInvokeResponse struct {

	// the serialized protobuf message of the response for this callback.
	Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*CallbackInvokeResponse) Descriptor deprecated added in v3.107.0

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

Deprecated: Use CallbackInvokeResponse.ProtoReflect.Descriptor instead.

func (*CallbackInvokeResponse) GetResponse added in v3.107.0

func (x *CallbackInvokeResponse) GetResponse() []byte

func (*CallbackInvokeResponse) ProtoMessage added in v3.107.0

func (*CallbackInvokeResponse) ProtoMessage()

func (*CallbackInvokeResponse) ProtoReflect added in v3.107.0

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

func (*CallbackInvokeResponse) Reset added in v3.107.0

func (x *CallbackInvokeResponse) Reset()

func (*CallbackInvokeResponse) String added in v3.107.0

func (x *CallbackInvokeResponse) String() string

type CallbacksClient added in v3.107.0

type CallbacksClient interface {
	// Invoke invokes a given callback, identified by its token.
	Invoke(ctx context.Context, in *CallbackInvokeRequest, opts ...grpc.CallOption) (*CallbackInvokeResponse, error)
}

CallbacksClient is the client API for Callbacks service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCallbacksClient added in v3.107.0

func NewCallbacksClient(cc grpc.ClientConnInterface) CallbacksClient

type CallbacksServer added in v3.107.0

type CallbacksServer interface {
	// Invoke invokes a given callback, identified by its token.
	Invoke(context.Context, *CallbackInvokeRequest) (*CallbackInvokeResponse, error)
	// contains filtered or unexported methods
}

CallbacksServer is the server API for Callbacks service. All implementations must embed UnimplementedCallbacksServer for forward compatibility

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.
	SendsOldInputs         bool             `protobuf:"varint,5,opt,name=sends_old_inputs,json=sendsOldInputs,proto3" json:"sends_old_inputs,omitempty"` // when true, diff and update will be called with the old outputs and the old inputs.
	SendsOldInputsToDelete bool             ``                                                                                                           // when true, delete will be called with the old outputs and the old inputs.
	/* 134-byte string literal not displayed */
	// 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) GetSendsOldInputs added in v3.74.0

func (x *ConfigureRequest) GetSendsOldInputs() bool

func (*ConfigureRequest) GetSendsOldInputsToDelete added in v3.89.0

func (x *ConfigureRequest) GetSendsOldInputsToDelete() bool

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 */
	Providers map[string]string `` // the map of providers to use for this resource's children.
	/* 160-byte string literal not displayed */
	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.
	// Resource options:
	// Do not change field IDs. Add new fields at the end.
	Protect                 bool                             `protobuf:"varint,12,opt,name=protect,proto3" json:"protect,omitempty"`                                                      // true if the resource should be marked protected.
	Aliases                 []string                         `protobuf:"bytes,14,rep,name=aliases,proto3" json:"aliases,omitempty"`                                                       // a list of additional URNs that shoud be considered the same.
	AdditionalSecretOutputs []string                         `protobuf:"bytes,18,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"`                       // additional output properties that should be treated as secrets.
	CustomTimeouts          *ConstructRequest_CustomTimeouts `protobuf:"bytes,19,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"`                                         // default timeouts for CRUD operations on this resource.
	DeletedWith             string                           `protobuf:"bytes,20,opt,name=deletedWith,proto3" json:"deletedWith,omitempty"`                                               // URN of a resource that, if deleted, also deletes this resource.
	DeleteBeforeReplace     bool                             `protobuf:"varint,21,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"`                              // whether to delete the resource before replacing it.
	IgnoreChanges           []string                         `protobuf:"bytes,22,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"`                                           // properties that should be ignored during a diff
	ReplaceOnChanges        []string                         `protobuf:"bytes,23,rep,name=replaceOnChanges,proto3" json:"replaceOnChanges,omitempty"`                                     // properties that, when changed, trigger a replacement
	RetainOnDelete          bool                             `protobuf:"varint,24,opt,name=retainOnDelete,proto3" json:"retainOnDelete,omitempty"`                                        // whether to retain the resource in the cloud provider when it is deleted
	AcceptsOutputValues     bool                             `protobuf:"varint,25,opt,name=accepts_output_values,json=acceptsOutputValues,proto3" json:"accepts_output_values,omitempty"` // the engine can be passed output values back, stateDependencies can be left blank if returning output values.
	// contains filtered or unexported fields
}

func (*ConstructRequest) Descriptor deprecated

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

Deprecated: Use ConstructRequest.ProtoReflect.Descriptor instead.

func (*ConstructRequest) GetAcceptsOutputValues added in v3.106.0

func (x *ConstructRequest) GetAcceptsOutputValues() bool

func (*ConstructRequest) GetAdditionalSecretOutputs added in v3.65.0

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

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) GetCustomTimeouts added in v3.65.0

func (x *ConstructRequest) GetCustomTimeouts() *ConstructRequest_CustomTimeouts

func (*ConstructRequest) GetDeleteBeforeReplace added in v3.65.0

func (x *ConstructRequest) GetDeleteBeforeReplace() bool

func (*ConstructRequest) GetDeletedWith added in v3.65.0

func (x *ConstructRequest) GetDeletedWith() string

func (*ConstructRequest) GetDependencies

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

func (*ConstructRequest) GetDryRun

func (x *ConstructRequest) GetDryRun() bool

func (*ConstructRequest) GetIgnoreChanges added in v3.65.0

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

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) GetReplaceOnChanges added in v3.65.0

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

func (*ConstructRequest) GetRetainOnDelete added in v3.65.0

func (x *ConstructRequest) GetRetainOnDelete() bool

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_CustomTimeouts added in v3.65.0

type ConstructRequest_CustomTimeouts struct {
	Create string `protobuf:"bytes,1,opt,name=create,proto3" json:"create,omitempty"`
	Update string `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
	Delete string `protobuf:"bytes,3,opt,name=delete,proto3" json:"delete,omitempty"`
	// contains filtered or unexported fields
}

CustomTimeouts specifies timeouts for resource provisioning operations. Use it with the [Timeouts] option when creating new resources to override default timeouts.

Each timeout is specified as a duration string such as, "5ms" (5 milliseconds), "40s" (40 seconds), and "1m30s" (1 minute, 30 seconds).

The following units are accepted.

  • ns: nanoseconds
  • us: microseconds
  • µs: microseconds
  • ms: milliseconds
  • s: seconds
  • m: minutes
  • h: hours

func (*ConstructRequest_CustomTimeouts) Descriptor deprecated added in v3.65.0

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

Deprecated: Use ConstructRequest_CustomTimeouts.ProtoReflect.Descriptor instead.

func (*ConstructRequest_CustomTimeouts) GetCreate added in v3.65.0

func (x *ConstructRequest_CustomTimeouts) GetCreate() string

func (*ConstructRequest_CustomTimeouts) GetDelete added in v3.65.0

func (x *ConstructRequest_CustomTimeouts) GetDelete() string

func (*ConstructRequest_CustomTimeouts) GetUpdate added in v3.65.0

func (x *ConstructRequest_CustomTimeouts) GetUpdate() string

func (*ConstructRequest_CustomTimeouts) ProtoMessage added in v3.65.0

func (*ConstructRequest_CustomTimeouts) ProtoMessage()

func (*ConstructRequest_CustomTimeouts) ProtoReflect added in v3.65.0

func (*ConstructRequest_CustomTimeouts) Reset added in v3.65.0

func (*ConstructRequest_CustomTimeouts) String added in v3.65.0

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 ConvertProgramRequest added in v3.58.0

type ConvertProgramRequest struct {

	// the source directory containing the program to convert from.
	SourceDirectory string `protobuf:"bytes,1,opt,name=source_directory,json=sourceDirectory,proto3" json:"source_directory,omitempty"`
	// a target directory to write the resulting PCL code and project file to.
	TargetDirectory string `protobuf:"bytes,2,opt,name=target_directory,json=targetDirectory,proto3" json:"target_directory,omitempty"`
	// the gRPC target of the mapper service.
	MapperTarget string `protobuf:"bytes,3,opt,name=mapper_target,json=mapperTarget,proto3" json:"mapper_target,omitempty"`
	// The target of a codegen.LoaderServer to use for loading schemas.
	LoaderTarget string `protobuf:"bytes,4,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"`
	// the args passed to `pulumi convert` for this conversion. Normally used to specifiy a root file, or conversion options.
	Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*ConvertProgramRequest) Descriptor deprecated added in v3.58.0

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

Deprecated: Use ConvertProgramRequest.ProtoReflect.Descriptor instead.

func (*ConvertProgramRequest) GetArgs added in v3.84.0

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

func (*ConvertProgramRequest) GetLoaderTarget added in v3.78.1

func (x *ConvertProgramRequest) GetLoaderTarget() string

func (*ConvertProgramRequest) GetMapperTarget added in v3.60.0

func (x *ConvertProgramRequest) GetMapperTarget() string

func (*ConvertProgramRequest) GetSourceDirectory added in v3.58.0

func (x *ConvertProgramRequest) GetSourceDirectory() string

func (*ConvertProgramRequest) GetTargetDirectory added in v3.58.0

func (x *ConvertProgramRequest) GetTargetDirectory() string

func (*ConvertProgramRequest) ProtoMessage added in v3.58.0

func (*ConvertProgramRequest) ProtoMessage()

func (*ConvertProgramRequest) ProtoReflect added in v3.58.0

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

func (*ConvertProgramRequest) Reset added in v3.58.0

func (x *ConvertProgramRequest) Reset()

func (*ConvertProgramRequest) String added in v3.58.0

func (x *ConvertProgramRequest) String() string

type ConvertProgramResponse added in v3.58.0

type ConvertProgramResponse struct {

	// any diagnostics from code generation.
	Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*ConvertProgramResponse) Descriptor deprecated added in v3.58.0

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

Deprecated: Use ConvertProgramResponse.ProtoReflect.Descriptor instead.

func (*ConvertProgramResponse) GetDiagnostics added in v3.70.0

func (x *ConvertProgramResponse) GetDiagnostics() []*codegen.Diagnostic

func (*ConvertProgramResponse) ProtoMessage added in v3.58.0

func (*ConvertProgramResponse) ProtoMessage()

func (*ConvertProgramResponse) ProtoReflect added in v3.58.0

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

func (*ConvertProgramResponse) Reset added in v3.58.0

func (x *ConvertProgramResponse) Reset()

func (*ConvertProgramResponse) String added in v3.58.0

func (x *ConvertProgramResponse) String() string

type ConvertStateRequest added in v3.58.0

type ConvertStateRequest struct {

	// the gRPC target of the mapper service.
	MapperTarget string `protobuf:"bytes,1,opt,name=mapper_target,json=mapperTarget,proto3" json:"mapper_target,omitempty"`
	// the args passed to `pulumi import` for this conversion. Normally used to specifiy a state file to
	// import from.
	Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*ConvertStateRequest) Descriptor deprecated added in v3.58.0

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

Deprecated: Use ConvertStateRequest.ProtoReflect.Descriptor instead.

func (*ConvertStateRequest) GetArgs added in v3.81.0

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

func (*ConvertStateRequest) GetMapperTarget added in v3.60.0

func (x *ConvertStateRequest) GetMapperTarget() string

func (*ConvertStateRequest) ProtoMessage added in v3.58.0

func (*ConvertStateRequest) ProtoMessage()

func (*ConvertStateRequest) ProtoReflect added in v3.58.0

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

func (*ConvertStateRequest) Reset added in v3.58.0

func (x *ConvertStateRequest) Reset()

func (*ConvertStateRequest) String added in v3.58.0

func (x *ConvertStateRequest) String() string

type ConvertStateResponse added in v3.58.0

type ConvertStateResponse struct {

	// a list of resources to import.
	Resources []*ResourceImport `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// any diagnostics from state conversion.
	Diagnostics []*codegen.Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*ConvertStateResponse) Descriptor deprecated added in v3.58.0

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

Deprecated: Use ConvertStateResponse.ProtoReflect.Descriptor instead.

func (*ConvertStateResponse) GetDiagnostics added in v3.90.0

func (x *ConvertStateResponse) GetDiagnostics() []*codegen.Diagnostic

func (*ConvertStateResponse) GetResources added in v3.58.0

func (x *ConvertStateResponse) GetResources() []*ResourceImport

func (*ConvertStateResponse) ProtoMessage added in v3.58.0

func (*ConvertStateResponse) ProtoMessage()

func (*ConvertStateResponse) ProtoReflect added in v3.58.0

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

func (*ConvertStateResponse) Reset added in v3.58.0

func (x *ConvertStateResponse) Reset()

func (*ConvertStateResponse) String added in v3.58.0

func (x *ConvertStateResponse) String() string

type ConverterClient added in v3.58.0

type ConverterClient interface {
	// ConvertState converts state from the target ecosystem into a form that can be imported into Pulumi.
	ConvertState(ctx context.Context, in *ConvertStateRequest, opts ...grpc.CallOption) (*ConvertStateResponse, error)
	// ConvertProgram converts a program from the target ecosystem into a form that can be used with Pulumi.
	ConvertProgram(ctx context.Context, in *ConvertProgramRequest, opts ...grpc.CallOption) (*ConvertProgramResponse, error)
}

ConverterClient is the client API for Converter service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewConverterClient added in v3.58.0

func NewConverterClient(cc grpc.ClientConnInterface) ConverterClient

type ConverterServer added in v3.58.0

type ConverterServer interface {
	// ConvertState converts state from the target ecosystem into a form that can be imported into Pulumi.
	ConvertState(context.Context, *ConvertStateRequest) (*ConvertStateResponse, error)
	// ConvertProgram converts a program from the target ecosystem into a form that can be used with Pulumi.
	ConvertProgram(context.Context, *ConvertProgramRequest) (*ConvertProgramResponse, error)
	// contains filtered or unexported methods
}

ConverterServer is the server API for Converter service. All implementations must embed UnimplementedConverterServer for forward compatibility

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.
	OldInputs  *structpb.Struct `protobuf:"bytes,5,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // the old input values of the resource to delete.
	// 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) GetOldInputs added in v3.89.0

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

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 output values of resource to diff.
	News          *structpb.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"`                            // the new input values of resource 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.
	OldInputs     *structpb.Struct `protobuf:"bytes,6,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // the old input values of the resource to diff.
	// 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) GetOldInputs added in v3.74.0

func (x *DiffRequest) GetOldInputs() *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.
	EnforcementLevel_REMEDIATE EnforcementLevel = 3 // Remediated policies actually fixes problems instead of issuing diagnostics.
)

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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)
	// contains filtered or unexported methods
}

EngineServer is the server API for Engine service. All implementations must embed UnimplementedEngineServer for forward compatibility

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 GeneratePackageRequest added in v3.67.0

type GeneratePackageRequest struct {

	// the directory to generate the package in.
	Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
	// the JSON-encoded schema.
	Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	// extra files to copy to the package output.
	ExtraFiles map[string][]byte `` /* 179-byte string literal not displayed */
	// The target of a codegen.LoaderServer to use for loading schemas.
	LoaderTarget string `protobuf:"bytes,4,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"`
	// local dependencies to use instead of using the package system. This is a map of package name to a local
	// path of a language specific artifact to use for the SDK for that package.
	LocalDependencies map[string]string `` /* 200-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GeneratePackageRequest) Descriptor deprecated added in v3.67.0

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

Deprecated: Use GeneratePackageRequest.ProtoReflect.Descriptor instead.

func (*GeneratePackageRequest) GetDirectory added in v3.67.0

func (x *GeneratePackageRequest) GetDirectory() string

func (*GeneratePackageRequest) GetExtraFiles added in v3.67.0

func (x *GeneratePackageRequest) GetExtraFiles() map[string][]byte

func (*GeneratePackageRequest) GetLoaderTarget added in v3.77.0

func (x *GeneratePackageRequest) GetLoaderTarget() string

func (*GeneratePackageRequest) GetLocalDependencies added in v3.112.0

func (x *GeneratePackageRequest) GetLocalDependencies() map[string]string

func (*GeneratePackageRequest) GetSchema added in v3.67.0

func (x *GeneratePackageRequest) GetSchema() string

func (*GeneratePackageRequest) ProtoMessage added in v3.67.0

func (*GeneratePackageRequest) ProtoMessage()

func (*GeneratePackageRequest) ProtoReflect added in v3.67.0

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

func (*GeneratePackageRequest) Reset added in v3.67.0

func (x *GeneratePackageRequest) Reset()

func (*GeneratePackageRequest) String added in v3.67.0

func (x *GeneratePackageRequest) String() string

type GeneratePackageResponse added in v3.67.0

type GeneratePackageResponse struct {

	// any diagnostics from code generation.
	Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneratePackageResponse) Descriptor deprecated added in v3.67.0

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

Deprecated: Use GeneratePackageResponse.ProtoReflect.Descriptor instead.

func (*GeneratePackageResponse) GetDiagnostics added in v3.96.0

func (x *GeneratePackageResponse) GetDiagnostics() []*codegen.Diagnostic

func (*GeneratePackageResponse) ProtoMessage added in v3.67.0

func (*GeneratePackageResponse) ProtoMessage()

func (*GeneratePackageResponse) ProtoReflect added in v3.67.0

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

func (*GeneratePackageResponse) Reset added in v3.67.0

func (x *GeneratePackageResponse) Reset()

func (*GeneratePackageResponse) String added in v3.67.0

func (x *GeneratePackageResponse) String() string

type GenerateProgramRequest added in v3.67.0

type GenerateProgramRequest struct {

	// the PCL source of the project.
	Source map[string]string `` /* 153-byte string literal not displayed */
	// The target of a codegen.LoaderServer to use for loading schemas.
	LoaderTarget string `protobuf:"bytes,2,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateProgramRequest) Descriptor deprecated added in v3.67.0

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

Deprecated: Use GenerateProgramRequest.ProtoReflect.Descriptor instead.

func (*GenerateProgramRequest) GetLoaderTarget added in v3.77.0

func (x *GenerateProgramRequest) GetLoaderTarget() string

func (*GenerateProgramRequest) GetSource added in v3.67.0

func (x *GenerateProgramRequest) GetSource() map[string]string

func (*GenerateProgramRequest) ProtoMessage added in v3.67.0

func (*GenerateProgramRequest) ProtoMessage()

func (*GenerateProgramRequest) ProtoReflect added in v3.67.0

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

func (*GenerateProgramRequest) Reset added in v3.67.0

func (x *GenerateProgramRequest) Reset()

func (*GenerateProgramRequest) String added in v3.67.0

func (x *GenerateProgramRequest) String() string

type GenerateProgramResponse added in v3.67.0

type GenerateProgramResponse struct {

	// any diagnostics from code generation.
	Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// the generated program source code.
	Source map[string][]byte `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GenerateProgramResponse) Descriptor deprecated added in v3.67.0

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

Deprecated: Use GenerateProgramResponse.ProtoReflect.Descriptor instead.

func (*GenerateProgramResponse) GetDiagnostics added in v3.67.0

func (x *GenerateProgramResponse) GetDiagnostics() []*codegen.Diagnostic

func (*GenerateProgramResponse) GetSource added in v3.67.0

func (x *GenerateProgramResponse) GetSource() map[string][]byte

func (*GenerateProgramResponse) ProtoMessage added in v3.67.0

func (*GenerateProgramResponse) ProtoMessage()

func (*GenerateProgramResponse) ProtoReflect added in v3.67.0

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

func (*GenerateProgramResponse) Reset added in v3.67.0

func (x *GenerateProgramResponse) Reset()

func (*GenerateProgramResponse) String added in v3.67.0

func (x *GenerateProgramResponse) String() string

type GenerateProjectRequest added in v3.67.0

type GenerateProjectRequest struct {

	// the directory to generate the project from.
	SourceDirectory string `protobuf:"bytes,1,opt,name=source_directory,json=sourceDirectory,proto3" json:"source_directory,omitempty"`
	// the directory to generate the project in.
	TargetDirectory string `protobuf:"bytes,2,opt,name=target_directory,json=targetDirectory,proto3" json:"target_directory,omitempty"`
	// the JSON-encoded pulumi project file.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// if PCL binding should be strict or not.
	Strict bool `protobuf:"varint,4,opt,name=strict,proto3" json:"strict,omitempty"`
	// The target of a codegen.LoaderServer to use for loading schemas.
	LoaderTarget string `protobuf:"bytes,5,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"`
	// local dependencies to use instead of using the package system. This is a map of package name to a local
	// path of a language specific artifact to use for the SDK for that package.
	LocalDependencies map[string]string `` /* 200-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GenerateProjectRequest) Descriptor deprecated added in v3.67.0

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

Deprecated: Use GenerateProjectRequest.ProtoReflect.Descriptor instead.

func (*GenerateProjectRequest) GetLoaderTarget added in v3.77.0

func (x *GenerateProjectRequest) GetLoaderTarget() string

func (*GenerateProjectRequest) GetLocalDependencies added in v3.78.0

func (x *GenerateProjectRequest) GetLocalDependencies() map[string]string

func (*GenerateProjectRequest) GetProject added in v3.67.0

func (x *GenerateProjectRequest) GetProject() string

func (*GenerateProjectRequest) GetSourceDirectory added in v3.70.0

func (x *GenerateProjectRequest) GetSourceDirectory() string

func (*GenerateProjectRequest) GetStrict added in v3.70.0

func (x *GenerateProjectRequest) GetStrict() bool

func (*GenerateProjectRequest) GetTargetDirectory added in v3.70.0

func (x *GenerateProjectRequest) GetTargetDirectory() string

func (*GenerateProjectRequest) ProtoMessage added in v3.67.0

func (*GenerateProjectRequest) ProtoMessage()

func (*GenerateProjectRequest) ProtoReflect added in v3.67.0

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

func (*GenerateProjectRequest) Reset added in v3.67.0

func (x *GenerateProjectRequest) Reset()

func (*GenerateProjectRequest) String added in v3.67.0

func (x *GenerateProjectRequest) String() string

type GenerateProjectResponse added in v3.67.0

type GenerateProjectResponse struct {

	// any diagnostics from code generation.
	Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateProjectResponse) Descriptor deprecated added in v3.67.0

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

Deprecated: Use GenerateProjectResponse.ProtoReflect.Descriptor instead.

func (*GenerateProjectResponse) GetDiagnostics added in v3.70.0

func (x *GenerateProjectResponse) GetDiagnostics() []*codegen.Diagnostic

func (*GenerateProjectResponse) ProtoMessage added in v3.67.0

func (*GenerateProjectResponse) ProtoMessage()

func (*GenerateProjectResponse) ProtoReflect added in v3.67.0

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

func (*GenerateProjectResponse) Reset added in v3.67.0

func (x *GenerateProjectResponse) Reset()

func (*GenerateProjectResponse) String added in v3.67.0

func (x *GenerateProjectResponse) String() string

type GetMappingRequest added in v3.49.0

type GetMappingRequest struct {

	// the conversion key for the mapping being requested.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// the optional provider key for the mapping being requested, if this is empty the provider should assume this
	// request is from an old engine from before GetMappings and should return it's "primary" mapping. If this is set
	// then the `provider` field in GetMappingResponse should be the same.
	Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

GetMappingRequest allows providers to return ecosystem specific information to allow the provider to be converted from a source markup to Pulumi. It's expected that provider bridges that target a given ecosystem (e.g. Terraform, Kubernetes) would also publish a conversion plugin to convert markup from that ecosystem to Pulumi, using the bridged providers.

func (*GetMappingRequest) Descriptor deprecated added in v3.49.0

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

Deprecated: Use GetMappingRequest.ProtoReflect.Descriptor instead.

func (*GetMappingRequest) GetKey added in v3.49.0

func (x *GetMappingRequest) GetKey() string

func (*GetMappingRequest) GetProvider added in v3.85.0

func (x *GetMappingRequest) GetProvider() string

func (*GetMappingRequest) ProtoMessage added in v3.49.0

func (*GetMappingRequest) ProtoMessage()

func (*GetMappingRequest) ProtoReflect added in v3.49.0

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

func (*GetMappingRequest) Reset added in v3.49.0

func (x *GetMappingRequest) Reset()

func (*GetMappingRequest) String added in v3.49.0

func (x *GetMappingRequest) String() string

type GetMappingResponse added in v3.49.0

type GetMappingResponse struct {

	// the provider key this is mapping for. For example the Pulumi provider "terraform-template" would return "template" for this.
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// the conversion plugin specific data.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

GetMappingResponse returns convert plugin specific data for this provider. This will normally be human readable JSON, but the engine doesn't mandate any form.

func (*GetMappingResponse) Descriptor deprecated added in v3.49.0

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

Deprecated: Use GetMappingResponse.ProtoReflect.Descriptor instead.

func (*GetMappingResponse) GetData added in v3.49.0

func (x *GetMappingResponse) GetData() []byte

func (*GetMappingResponse) GetProvider added in v3.49.0

func (x *GetMappingResponse) GetProvider() string

func (*GetMappingResponse) ProtoMessage added in v3.49.0

func (*GetMappingResponse) ProtoMessage()

func (*GetMappingResponse) ProtoReflect added in v3.49.0

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

func (*GetMappingResponse) Reset added in v3.49.0

func (x *GetMappingResponse) Reset()

func (*GetMappingResponse) String added in v3.49.0

func (x *GetMappingResponse) String() string

type GetMappingsRequest added in v3.85.0

type GetMappingsRequest struct {

	// the conversion key for the mapping being requested.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

GetMappingsRequest allows providers to return ecosystem specific information without having to send back large data blobs for provider mappings that the engine doesn't then need.

func (*GetMappingsRequest) Descriptor deprecated added in v3.85.0

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

Deprecated: Use GetMappingsRequest.ProtoReflect.Descriptor instead.

func (*GetMappingsRequest) GetKey added in v3.85.0

func (x *GetMappingsRequest) GetKey() string

func (*GetMappingsRequest) ProtoMessage added in v3.85.0

func (*GetMappingsRequest) ProtoMessage()

func (*GetMappingsRequest) ProtoReflect added in v3.85.0

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

func (*GetMappingsRequest) Reset added in v3.85.0

func (x *GetMappingsRequest) Reset()

func (*GetMappingsRequest) String added in v3.85.0

func (x *GetMappingsRequest) String() string

type GetMappingsResponse added in v3.85.0

type GetMappingsResponse struct {

	// the provider keys this provider can supply mappings for. For example the Pulumi provider "terraform-template"
	// would return ["template"] for this.
	Providers []string `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

GetMappingsRequest returns a list of providers that this provider can provide mapping information for.

func (*GetMappingsResponse) Descriptor deprecated added in v3.85.0

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

Deprecated: Use GetMappingsResponse.ProtoReflect.Descriptor instead.

func (*GetMappingsResponse) GetProviders added in v3.85.0

func (x *GetMappingsResponse) GetProviders() []string

func (*GetMappingsResponse) ProtoMessage added in v3.85.0

func (*GetMappingsResponse) ProtoMessage()

func (*GetMappingsResponse) ProtoReflect added in v3.85.0

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

func (*GetMappingsResponse) Reset added in v3.85.0

func (x *GetMappingsResponse) Reset()

func (*GetMappingsResponse) String added in v3.85.0

func (x *GetMappingsResponse) String() string

type GetProgramDependenciesRequest added in v3.37.0

type GetProgramDependenciesRequest struct {

	// Deprecated: Do not use.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the project name, the engine always sets this to "deprecated" now.
	// Deprecated: Do not use.
	Pwd string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"` // the program's working directory.
	// Deprecated: Do not use.
	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.
	Info                   *ProgramInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"`                                      // the program info to use to calculate dependencies.
	// 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) GetInfo added in v3.97.0

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

func (x *GetProgramDependenciesRequest) GetProgram() string

Deprecated: Do not use.

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

func (x *GetProgramDependenciesRequest) GetProject() string

Deprecated: Do not use.

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

Deprecated: Do not use.

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 {

	// Deprecated: Do not use.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the project name, the engine always sets this to "deprecated" now.
	// Deprecated: Do not use.
	Pwd string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"` // the program's working directory.
	// Deprecated: Do not use.
	Program string       `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"` // the path to the program.
	Info    *ProgramInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`       // the program info to use to calculate plugins.
	// contains filtered or unexported fields
}

func (*GetRequiredPluginsRequest) Descriptor deprecated

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

Deprecated: Use GetRequiredPluginsRequest.ProtoReflect.Descriptor instead.

func (*GetRequiredPluginsRequest) GetInfo added in v3.97.0

func (x *GetRequiredPluginsRequest) GetInfo() *ProgramInfo

func (*GetRequiredPluginsRequest) GetProgram deprecated

func (x *GetRequiredPluginsRequest) GetProgram() string

Deprecated: Do not use.

func (*GetRequiredPluginsRequest) GetProject deprecated

func (x *GetRequiredPluginsRequest) GetProject() string

Deprecated: Do not use.

func (*GetRequiredPluginsRequest) GetPwd deprecated

func (x *GetRequiredPluginsRequest) GetPwd() string

Deprecated: Do not use.

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 {

	// Deprecated: Do not use.
	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
	Info       *ProgramInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`                                // the program info to use to execute the plugin.
	// 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 deprecated added in v3.29.0

func (x *InstallDependenciesRequest) GetDirectory() string

Deprecated: Do not use.

func (*InstallDependenciesRequest) GetInfo added in v3.97.0

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)
	// RunPlugin executes a plugin program and returns its result asynchronously.
	RunPlugin(ctx context.Context, in *RunPluginRequest, opts ...grpc.CallOption) (LanguageRuntime_RunPluginClient, error)
	// GenerateProgram generates a given PCL program into a program for this language.
	GenerateProgram(ctx context.Context, in *GenerateProgramRequest, opts ...grpc.CallOption) (*GenerateProgramResponse, error)
	// GenerateProject generates a given PCL program into a project for this language.
	GenerateProject(ctx context.Context, in *GenerateProjectRequest, opts ...grpc.CallOption) (*GenerateProjectResponse, error)
	// GeneratePackage generates a given pulumi package into a package for this language.
	GeneratePackage(ctx context.Context, in *GeneratePackageRequest, opts ...grpc.CallOption) (*GeneratePackageResponse, error)
	// Pack packs a package into a language specific artifact.
	Pack(ctx context.Context, in *PackRequest, opts ...grpc.CallOption) (*PackResponse, error)
}

LanguageRuntimeClient is the client API for LanguageRuntime service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#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)
	// RunPlugin executes a plugin program and returns its result asynchronously.
	RunPlugin(*RunPluginRequest, LanguageRuntime_RunPluginServer) error
	// GenerateProgram generates a given PCL program into a program for this language.
	GenerateProgram(context.Context, *GenerateProgramRequest) (*GenerateProgramResponse, error)
	// GenerateProject generates a given PCL program into a project for this language.
	GenerateProject(context.Context, *GenerateProjectRequest) (*GenerateProjectResponse, error)
	// GeneratePackage generates a given pulumi package into a package for this language.
	GeneratePackage(context.Context, *GeneratePackageRequest) (*GeneratePackageResponse, error)
	// Pack packs a package into a language specific artifact.
	Pack(context.Context, *PackRequest) (*PackResponse, error)
	// contains filtered or unexported methods
}

LanguageRuntimeServer is the server API for LanguageRuntime service. All implementations must embed UnimplementedLanguageRuntimeServer for forward compatibility

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 LanguageRuntime_RunPluginClient added in v3.47.0

type LanguageRuntime_RunPluginClient interface {
	Recv() (*RunPluginResponse, error)
	grpc.ClientStream
}

type LanguageRuntime_RunPluginServer added in v3.47.0

type LanguageRuntime_RunPluginServer interface {
	Send(*RunPluginResponse) 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 PackRequest added in v3.78.0

type PackRequest struct {

	// the directory of a package to pack.
	PackageDirectory string `protobuf:"bytes,1,opt,name=package_directory,json=packageDirectory,proto3" json:"package_directory,omitempty"`
	// the directory to write the packed artifact to.
	DestinationDirectory string `protobuf:"bytes,2,opt,name=destination_directory,json=destinationDirectory,proto3" json:"destination_directory,omitempty"`
	// contains filtered or unexported fields
}

func (*PackRequest) Descriptor deprecated added in v3.78.0

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

Deprecated: Use PackRequest.ProtoReflect.Descriptor instead.

func (*PackRequest) GetDestinationDirectory added in v3.78.0

func (x *PackRequest) GetDestinationDirectory() string

func (*PackRequest) GetPackageDirectory added in v3.78.0

func (x *PackRequest) GetPackageDirectory() string

func (*PackRequest) ProtoMessage added in v3.78.0

func (*PackRequest) ProtoMessage()

func (*PackRequest) ProtoReflect added in v3.78.0

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

func (*PackRequest) Reset added in v3.78.0

func (x *PackRequest) Reset()

func (*PackRequest) String added in v3.78.0

func (x *PackRequest) String() string

type PackResponse added in v3.78.0

type PackResponse struct {

	// the full path of the packed artifact.
	ArtifactPath string `protobuf:"bytes,1,opt,name=artifact_path,json=artifactPath,proto3" json:"artifact_path,omitempty"`
	// contains filtered or unexported fields
}

func (*PackResponse) Descriptor deprecated added in v3.78.0

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

Deprecated: Use PackResponse.ProtoReflect.Descriptor instead.

func (*PackResponse) GetArtifactPath added in v3.78.0

func (x *PackResponse) GetArtifactPath() string

func (*PackResponse) ProtoMessage added in v3.78.0

func (*PackResponse) ProtoMessage()

func (*PackResponse) ProtoReflect added in v3.78.0

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

func (*PackResponse) Reset added in v3.78.0

func (x *PackResponse) Reset()

func (*PackResponse) String added in v3.78.0

func (x *PackResponse) String() string

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.
	// a map of the checksums for the plugin, will be empty from old language runtimes. The keys should match
	// the os and architecture names used in pulumi releases, e.g. "darwin-amd64", "windows-arm64".
	Checksums map[string][]byte `` /* 159-byte string literal not displayed */
	// 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) GetChecksums added in v3.79.0

func (x *PluginDependency) GetChecksums() map[string][]byte

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 ProgramInfo added in v3.97.0

type ProgramInfo struct {

	// the root of the project, where the `Pulumi.yaml` file is located.
	RootDirectory string `protobuf:"bytes,1,opt,name=root_directory,json=rootDirectory,proto3" json:"root_directory,omitempty"`
	// the absolute path to the directory of the program to execute. Generally, but not required to be,
	// underneath the root directory.
	ProgramDirectory string `protobuf:"bytes,2,opt,name=program_directory,json=programDirectory,proto3" json:"program_directory,omitempty"`
	// the entry point of the program, normally '.' meaning to just use the program directory, but can also be
	// a filename inside the program directory. How that filename is interpreted, if at all, is language
	// specific.
	EntryPoint string `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`
	// JSON style options from the `Pulumi.yaml` runtime options section.
	Options *structpb.Struct `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

ProgramInfo are the common set of options that a language runtime needs to execute or query a program. This is filled in by the engine based on where the `Pulumi.yaml` file was, the `runtime.options` property, and the `main` property.

func (*ProgramInfo) Descriptor deprecated added in v3.97.0

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

Deprecated: Use ProgramInfo.ProtoReflect.Descriptor instead.

func (*ProgramInfo) GetEntryPoint added in v3.97.0

func (x *ProgramInfo) GetEntryPoint() string

func (*ProgramInfo) GetOptions added in v3.97.0

func (x *ProgramInfo) GetOptions() *structpb.Struct

func (*ProgramInfo) GetProgramDirectory added in v3.97.0

func (x *ProgramInfo) GetProgramDirectory() string

func (*ProgramInfo) GetRootDirectory added in v3.97.0

func (x *ProgramInfo) GetRootDirectory() string

func (*ProgramInfo) ProtoMessage added in v3.97.0

func (*ProgramInfo) ProtoMessage()

func (*ProgramInfo) ProtoReflect added in v3.97.0

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

func (*ProgramInfo) Reset added in v3.97.0

func (x *ProgramInfo) Reset()

func (*ProgramInfo) String added in v3.97.0

func (x *ProgramInfo) 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.
	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.
	PluginChecksums         map[string][]byte ``                                                                                                     // a map of checksums of the provider to use when servicing this request.
	/* 172-byte string literal not displayed */
	SourcePosition *SourcePosition `protobuf:"bytes,14,opt,name=sourcePosition,proto3" json:"sourcePosition,omitempty"` // the optional source position of the user code that initiated the read.
	// 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) 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) GetPluginChecksums added in v3.82.0

func (x *ReadResourceRequest) GetPluginChecksums() map[string][]byte

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) GetSourcePosition added in v3.75.0

func (x *ReadResourceRequest) GetSourcePosition() *SourcePosition

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.
	AliasURNs                  []string                                `protobuf:"bytes,15,rep,name=aliasURNs,proto3" json:"aliasURNs,omitempty"`                                    // a list of additional URNs that should 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.
	PluginChecksums   map[string][]byte ``                                                                                         // a map of checksums expected for the provider plugin.
	/* 172-byte string literal not displayed */
	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.
	Aliases        []*Alias `protobuf:"bytes,26,rep,name=aliases,proto3" json:"aliases,omitempty"`                // a list of additional aliases that should be considered the same.
	DeletedWith    string   `protobuf:"bytes,27,opt,name=deletedWith,proto3" json:"deletedWith,omitempty"`        // if set the engine will not call the resource providers delete method for this resource when specified resource is deleted.
	// Indicates that alias specs are specified correctly according to the spec.
	// Older versions of the Node.js SDK did not send alias specs correctly.
	// If this is not set to true and the engine detects the request is from the
	// Node.js runtime, the engine will transform incorrect alias specs into
	// correct ones.
	// Other SDKs that are correctly specifying alias specs could set this to
	// true, but it's not necessary.
	AliasSpecs     bool            `protobuf:"varint,28,opt,name=aliasSpecs,proto3" json:"aliasSpecs,omitempty"`
	SourcePosition *SourcePosition `protobuf:"bytes,29,opt,name=sourcePosition,proto3" json:"sourcePosition,omitempty"` // the optional source position of the user code that initiated the register.
	Transforms     []*Callback     `protobuf:"bytes,31,rep,name=transforms,proto3" json:"transforms,omitempty"`         // a list of transforms to apply to the resource before registering it.
	// 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) GetAliasSpecs added in v3.72.0

func (x *RegisterResourceRequest) GetAliasSpecs() bool

func (*RegisterResourceRequest) GetAliasURNs added in v3.43.0

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

func (*RegisterResourceRequest) GetAliases

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

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) GetDeletedWith added in v3.46.1

func (x *RegisterResourceRequest) GetDeletedWith() string

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) GetPluginChecksums added in v3.82.0

func (x *RegisterResourceRequest) GetPluginChecksums() map[string][]byte

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) GetSourcePosition added in v3.75.0

func (x *RegisterResourceRequest) GetSourcePosition() *SourcePosition

func (*RegisterResourceRequest) GetSupportsPartialValues

func (x *RegisterResourceRequest) GetSupportsPartialValues() bool

func (*RegisterResourceRequest) GetTransforms added in v3.107.0

func (x *RegisterResourceRequest) GetTransforms() []*Callback

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 RemediateResponse added in v3.88.0

type RemediateResponse struct {
	Remediations []*Remediation `protobuf:"bytes,1,rep,name=remediations,proto3" json:"remediations,omitempty"` // the list of remediations that were applied.
	// contains filtered or unexported fields
}

RemediateResponse contains a sequence of remediations applied, in order.

func (*RemediateResponse) Descriptor deprecated added in v3.88.0

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

Deprecated: Use RemediateResponse.ProtoReflect.Descriptor instead.

func (*RemediateResponse) GetRemediations added in v3.88.0

func (x *RemediateResponse) GetRemediations() []*Remediation

func (*RemediateResponse) ProtoMessage added in v3.88.0

func (*RemediateResponse) ProtoMessage()

func (*RemediateResponse) ProtoReflect added in v3.88.0

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

func (*RemediateResponse) Reset added in v3.88.0

func (x *RemediateResponse) Reset()

func (*RemediateResponse) String added in v3.88.0

func (x *RemediateResponse) String() string

type Remediation added in v3.88.0

type Remediation struct {
	PolicyName        string           `protobuf:"bytes,1,opt,name=policyName,proto3" json:"policyName,omitempty"`               // Name of the policy that performed the remediation.
	PolicyPackName    string           `protobuf:"bytes,2,opt,name=policyPackName,proto3" json:"policyPackName,omitempty"`       // Name of the policy pack the transform 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 transform rule. e.g., "auto-tag resources."
	Properties        *structpb.Struct `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"`               // the transformed properties to use.
	Diagnostic        string           `protobuf:"bytes,6,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"`               // an optional warning diagnostic to emit, if a transform failed.
	// contains filtered or unexported fields
}

Remediation is a single resource remediation result.

func (*Remediation) Descriptor deprecated added in v3.88.0

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

Deprecated: Use Remediation.ProtoReflect.Descriptor instead.

func (*Remediation) GetDescription added in v3.88.0

func (x *Remediation) GetDescription() string

func (*Remediation) GetDiagnostic added in v3.88.0

func (x *Remediation) GetDiagnostic() string

func (*Remediation) GetPolicyName added in v3.88.0

func (x *Remediation) GetPolicyName() string

func (*Remediation) GetPolicyPackName added in v3.88.0

func (x *Remediation) GetPolicyPackName() string

func (*Remediation) GetPolicyPackVersion added in v3.88.0

func (x *Remediation) GetPolicyPackVersion() string

func (*Remediation) GetProperties added in v3.88.0

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

func (*Remediation) ProtoMessage added in v3.88.0

func (*Remediation) ProtoMessage()

func (*Remediation) ProtoReflect added in v3.88.0

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

func (*Remediation) Reset added in v3.88.0

func (x *Remediation) Reset()

func (*Remediation) String added in v3.88.0

func (x *Remediation) String() string

type ResourceCallRequest added in v3.106.0

type ResourceCallRequest 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]*ResourceCallRequest_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.
	PluginChecksums   map[string][]byte ``                                                                                         // a map of checksums of the provider to use when servicing this request.
	/* 172-byte string literal not displayed */
	SourcePosition *SourcePosition `protobuf:"bytes,15,opt,name=sourcePosition,proto3" json:"sourcePosition,omitempty"` // the optional source position of the user code that initiated the call.
	// contains filtered or unexported fields
}

func (*ResourceCallRequest) Descriptor deprecated added in v3.106.0

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

Deprecated: Use ResourceCallRequest.ProtoReflect.Descriptor instead.

func (*ResourceCallRequest) GetArgDependencies added in v3.106.0

func (*ResourceCallRequest) GetArgs added in v3.106.0

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

func (*ResourceCallRequest) GetPluginChecksums added in v3.106.0

func (x *ResourceCallRequest) GetPluginChecksums() map[string][]byte

func (*ResourceCallRequest) GetPluginDownloadURL added in v3.106.0

func (x *ResourceCallRequest) GetPluginDownloadURL() string

func (*ResourceCallRequest) GetProvider added in v3.106.0

func (x *ResourceCallRequest) GetProvider() string

func (*ResourceCallRequest) GetSourcePosition added in v3.106.0

func (x *ResourceCallRequest) GetSourcePosition() *SourcePosition

func (*ResourceCallRequest) GetTok added in v3.106.0

func (x *ResourceCallRequest) GetTok() string

func (*ResourceCallRequest) GetVersion added in v3.106.0

func (x *ResourceCallRequest) GetVersion() string

func (*ResourceCallRequest) ProtoMessage added in v3.106.0

func (*ResourceCallRequest) ProtoMessage()

func (*ResourceCallRequest) ProtoReflect added in v3.106.0

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

func (*ResourceCallRequest) Reset added in v3.106.0

func (x *ResourceCallRequest) Reset()

func (*ResourceCallRequest) String added in v3.106.0

func (x *ResourceCallRequest) String() string

type ResourceCallRequest_ArgumentDependencies added in v3.106.0

type ResourceCallRequest_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 (*ResourceCallRequest_ArgumentDependencies) Descriptor deprecated added in v3.106.0

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

Deprecated: Use ResourceCallRequest_ArgumentDependencies.ProtoReflect.Descriptor instead.

func (*ResourceCallRequest_ArgumentDependencies) GetUrns added in v3.106.0

func (*ResourceCallRequest_ArgumentDependencies) ProtoMessage added in v3.106.0

func (*ResourceCallRequest_ArgumentDependencies) ProtoReflect added in v3.106.0

func (*ResourceCallRequest_ArgumentDependencies) Reset added in v3.106.0

func (*ResourceCallRequest_ArgumentDependencies) String added in v3.106.0

type ResourceImport added in v3.58.0

type ResourceImport struct {

	// the type token for the resource.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// the name of the resource.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// the ID of the resource.
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// the provider version to use for the resource, if any.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// the provider PluginDownloadURL to use for the resource, if any.
	PluginDownloadURL string `protobuf:"bytes,5,opt,name=pluginDownloadURL,proto3" json:"pluginDownloadURL,omitempty"`
	// the logical name of the resource.
	LogicalName string `protobuf:"bytes,6,opt,name=logical_name,json=logicalName,proto3" json:"logical_name,omitempty"`
	// true if this is a component resource.
	IsComponent bool `protobuf:"varint,7,opt,name=is_component,json=isComponent,proto3" json:"is_component,omitempty"`
	// true if this is a remote resource. Ignored if is_component is false.
	IsRemote bool `protobuf:"varint,8,opt,name=is_remote,json=isRemote,proto3" json:"is_remote,omitempty"`
	// contains filtered or unexported fields
}

A ResourceImport specifies a resource to import.

func (*ResourceImport) Descriptor deprecated added in v3.58.0

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

Deprecated: Use ResourceImport.ProtoReflect.Descriptor instead.

func (*ResourceImport) GetId added in v3.58.0

func (x *ResourceImport) GetId() string

func (*ResourceImport) GetIsComponent added in v3.103.0

func (x *ResourceImport) GetIsComponent() bool

func (*ResourceImport) GetIsRemote added in v3.103.0

func (x *ResourceImport) GetIsRemote() bool

func (*ResourceImport) GetLogicalName added in v3.103.0

func (x *ResourceImport) GetLogicalName() string

func (*ResourceImport) GetName added in v3.58.0

func (x *ResourceImport) GetName() string

func (*ResourceImport) GetPluginDownloadURL added in v3.58.0

func (x *ResourceImport) GetPluginDownloadURL() string

func (*ResourceImport) GetType added in v3.58.0

func (x *ResourceImport) GetType() string

func (*ResourceImport) GetVersion added in v3.58.0

func (x *ResourceImport) GetVersion() string

func (*ResourceImport) ProtoMessage added in v3.58.0

func (*ResourceImport) ProtoMessage()

func (*ResourceImport) ProtoReflect added in v3.58.0

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

func (*ResourceImport) Reset added in v3.58.0

func (x *ResourceImport) Reset()

func (*ResourceImport) String added in v3.58.0

func (x *ResourceImport) String() 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.
	PluginChecksums   map[string][]byte ``                                                                                        // a map of checksums expected for the provider plugin.
	/* 171-byte string literal not displayed */
	SourcePosition *SourcePosition `protobuf:"bytes,7,opt,name=sourcePosition,proto3" json:"sourcePosition,omitempty"` // the optional source position of the user code that initiated the 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) GetPluginChecksums added in v3.82.0

func (x *ResourceInvokeRequest) GetPluginChecksums() map[string][]byte

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) GetSourcePosition added in v3.75.0

func (x *ResourceInvokeRequest) GetSourcePosition() *SourcePosition

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 *ResourceCallRequest, 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)
	RegisterStackTransform(ctx context.Context, in *Callback, 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ResourceMonitorServer

ResourceMonitorServer is the server API for ResourceMonitor service. All implementations must embed UnimplementedResourceMonitorServer for forward compatibility

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)
	// GetMapping fetches the mapping for this resource provider, if any. A provider should return an empty
	// response (not an error) if it doesn't have a mapping for the given key.
	GetMapping(ctx context.Context, in *GetMappingRequest, opts ...grpc.CallOption) (*GetMappingResponse, error)
	// GetMappings is an optional method that returns what mappings (if any) a provider supports. If a provider does not
	// implement this method the engine falls back to the old behaviour of just calling GetMapping without a name.
	// If this method is implemented than the engine will then call GetMapping only with the names returned from this method.
	GetMappings(ctx context.Context, in *GetMappingsRequest, opts ...grpc.CallOption) (*GetMappingsResponse, error)
}

ResourceProviderClient is the client API for ResourceProvider service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#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)
	// GetMapping fetches the mapping for this resource provider, if any. A provider should return an empty
	// response (not an error) if it doesn't have a mapping for the given key.
	GetMapping(context.Context, *GetMappingRequest) (*GetMappingResponse, error)
	// GetMappings is an optional method that returns what mappings (if any) a provider supports. If a provider does not
	// implement this method the engine falls back to the old behaviour of just calling GetMapping without a name.
	// If this method is implemented than the engine will then call GetMapping only with the names returned from this method.
	GetMappings(context.Context, *GetMappingsRequest) (*GetMappingsResponse, error)
	// contains filtered or unexported methods
}

ResourceProviderServer is the server API for ResourceProvider service. All implementations must embed UnimplementedResourceProviderServer for forward compatibility

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 RunPluginRequest added in v3.47.0

type RunPluginRequest struct {
	Pwd string `protobuf:"bytes,1,opt,name=pwd,proto3" json:"pwd,omitempty"` // the program's working directory.
	// Deprecated: Do not use.
	Program string       `protobuf:"bytes,2,opt,name=program,proto3" json:"program,omitempty"` // the path to the program to execute.
	Args    []string     `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`       // any arguments to pass to the program.
	Env     []string     `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`         // any environment variables to set as part of the program.
	Info    *ProgramInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"`       // the program info to use to execute the plugin.
	// contains filtered or unexported fields
}

func (*RunPluginRequest) Descriptor deprecated added in v3.47.0

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

Deprecated: Use RunPluginRequest.ProtoReflect.Descriptor instead.

func (*RunPluginRequest) GetArgs added in v3.47.0

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

func (*RunPluginRequest) GetEnv added in v3.47.0

func (x *RunPluginRequest) GetEnv() []string

func (*RunPluginRequest) GetInfo added in v3.97.0

func (x *RunPluginRequest) GetInfo() *ProgramInfo

func (*RunPluginRequest) GetProgram deprecated added in v3.47.0

func (x *RunPluginRequest) GetProgram() string

Deprecated: Do not use.

func (*RunPluginRequest) GetPwd added in v3.47.0

func (x *RunPluginRequest) GetPwd() string

func (*RunPluginRequest) ProtoMessage added in v3.47.0

func (*RunPluginRequest) ProtoMessage()

func (*RunPluginRequest) ProtoReflect added in v3.47.0

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

func (*RunPluginRequest) Reset added in v3.47.0

func (x *RunPluginRequest) Reset()

func (*RunPluginRequest) String added in v3.47.0

func (x *RunPluginRequest) String() string

type RunPluginResponse added in v3.47.0

type RunPluginResponse struct {

	// Types that are assignable to Output:
	//	*RunPluginResponse_Stdout
	//	*RunPluginResponse_Stderr
	//	*RunPluginResponse_Exitcode
	Output isRunPluginResponse_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

func (*RunPluginResponse) Descriptor deprecated added in v3.47.0

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

Deprecated: Use RunPluginResponse.ProtoReflect.Descriptor instead.

func (*RunPluginResponse) GetExitcode added in v3.47.0

func (x *RunPluginResponse) GetExitcode() int32

func (*RunPluginResponse) GetOutput added in v3.47.0

func (m *RunPluginResponse) GetOutput() isRunPluginResponse_Output

func (*RunPluginResponse) GetStderr added in v3.47.0

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

func (*RunPluginResponse) GetStdout added in v3.47.0

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

func (*RunPluginResponse) ProtoMessage added in v3.47.0

func (*RunPluginResponse) ProtoMessage()

func (*RunPluginResponse) ProtoReflect added in v3.47.0

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

func (*RunPluginResponse) Reset added in v3.47.0

func (x *RunPluginResponse) Reset()

func (*RunPluginResponse) String added in v3.47.0

func (x *RunPluginResponse) String() string

type RunPluginResponse_Exitcode added in v3.47.0

type RunPluginResponse_Exitcode struct {
	Exitcode int32 `protobuf:"varint,3,opt,name=exitcode,proto3,oneof"` // the exit code of the provider.
}

type RunPluginResponse_Stderr added in v3.47.0

type RunPluginResponse_Stderr struct {
	Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3,oneof"` // a line of stderr text.
}

type RunPluginResponse_Stdout added in v3.47.0

type RunPluginResponse_Stdout struct {
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof"` // a line of stdout text.
}

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.
	// Deprecated: Do not use.
	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.
	ConfigPropertyMap *structpb.Struct `protobuf:"bytes,13,opt,name=configPropertyMap,proto3" json:"configPropertyMap,omitempty"`                // the configuration variables to apply before running.
	Info              *ProgramInfo     `protobuf:"bytes,14,opt,name=info,proto3" json:"info,omitempty"`                                          // the program info to use to execute the program.
	// 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) GetConfigPropertyMap added in v3.90.0

func (x *RunRequest) GetConfigPropertyMap() *structpb.Struct

func (*RunRequest) GetConfigSecretKeys added in v3.3.0

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

func (*RunRequest) GetDryRun

func (x *RunRequest) GetDryRun() bool

func (*RunRequest) GetInfo added in v3.97.0

func (x *RunRequest) GetInfo() *ProgramInfo

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 deprecated

func (x *RunRequest) GetProgram() string

Deprecated: Do not use.

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 SourcePosition added in v3.75.0

type SourcePosition struct {
	Uri    string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`        // The URI of the file. Currently only the file scheme with an absolute path is supported.
	Line   int32  `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`     // The line in the file
	Column int32  `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // The column in the line
	// contains filtered or unexported fields
}

A SourcePosition represents a position in a source file.

func (*SourcePosition) Descriptor deprecated added in v3.75.0

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

Deprecated: Use SourcePosition.ProtoReflect.Descriptor instead.

func (*SourcePosition) GetColumn added in v3.75.0

func (x *SourcePosition) GetColumn() int32

func (*SourcePosition) GetLine added in v3.75.0

func (x *SourcePosition) GetLine() int32

func (*SourcePosition) GetUri added in v3.75.0

func (x *SourcePosition) GetUri() string

func (*SourcePosition) ProtoMessage added in v3.75.0

func (*SourcePosition) ProtoMessage()

func (*SourcePosition) ProtoReflect added in v3.75.0

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

func (*SourcePosition) Reset added in v3.75.0

func (x *SourcePosition) Reset()

func (*SourcePosition) String added in v3.75.0

func (x *SourcePosition) 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 TransformRequest added in v3.107.0

type TransformRequest struct {
	Type       string                    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`             // the type of the resource.
	Name       string                    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`             // the name of the resource.
	Custom     bool                      `protobuf:"varint,3,opt,name=custom,proto3" json:"custom,omitempty"`        // true if the resource is a custom resource, else it's a component resource.
	Parent     string                    `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`         // the parent of the resource, this can't be changed by the transform.
	Properties *structpb.Struct          `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"` // the input properties of the resource.
	Options    *TransformResourceOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"`       // the options for the resource.
	// contains filtered or unexported fields
}

func (*TransformRequest) Descriptor deprecated added in v3.107.0

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

Deprecated: Use TransformRequest.ProtoReflect.Descriptor instead.

func (*TransformRequest) GetCustom added in v3.107.0

func (x *TransformRequest) GetCustom() bool

func (*TransformRequest) GetName added in v3.107.0

func (x *TransformRequest) GetName() string

func (*TransformRequest) GetOptions added in v3.107.0

func (x *TransformRequest) GetOptions() *TransformResourceOptions

func (*TransformRequest) GetParent added in v3.107.0

func (x *TransformRequest) GetParent() string

func (*TransformRequest) GetProperties added in v3.107.0

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

func (*TransformRequest) GetType added in v3.107.0

func (x *TransformRequest) GetType() string

func (*TransformRequest) ProtoMessage added in v3.107.0

func (*TransformRequest) ProtoMessage()

func (*TransformRequest) ProtoReflect added in v3.107.0

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

func (*TransformRequest) Reset added in v3.107.0

func (x *TransformRequest) Reset()

func (*TransformRequest) String added in v3.107.0

func (x *TransformRequest) String() string

type TransformResourceOptions added in v3.107.0

type TransformResourceOptions struct {
	DependsOn               []string                                `protobuf:"bytes,1,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"`
	Protect                 bool                                    `protobuf:"varint,2,opt,name=protect,proto3" json:"protect,omitempty"`
	IgnoreChanges           []string                                `protobuf:"bytes,3,rep,name=ignore_changes,json=ignoreChanges,proto3" json:"ignore_changes,omitempty"`
	ReplaceOnChanges        []string                                `protobuf:"bytes,4,rep,name=replace_on_changes,json=replaceOnChanges,proto3" json:"replace_on_changes,omitempty"`
	Version                 string                                  `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Aliases                 []*Alias                                `protobuf:"bytes,6,rep,name=aliases,proto3" json:"aliases,omitempty"`
	Provider                string                                  `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"`
	CustomTimeouts          *RegisterResourceRequest_CustomTimeouts `protobuf:"bytes,8,opt,name=custom_timeouts,json=customTimeouts,proto3" json:"custom_timeouts,omitempty"`
	PluginDownloadUrl       string                                  `protobuf:"bytes,9,opt,name=plugin_download_url,json=pluginDownloadUrl,proto3" json:"plugin_download_url,omitempty"`
	RetainOnDelete          bool                                    `protobuf:"varint,10,opt,name=retain_on_delete,json=retainOnDelete,proto3" json:"retain_on_delete,omitempty"`
	DeletedWith             string                                  `protobuf:"bytes,11,opt,name=deleted_with,json=deletedWith,proto3" json:"deleted_with,omitempty"`
	DeleteBeforeReplace     *bool                                   `` /* 128-byte string literal not displayed */
	AdditionalSecretOutputs []string                                `` /* 133-byte string literal not displayed */
	Providers               map[string]string                       `` /* 160-byte string literal not displayed */
	PluginChecksums         map[string][]byte                       `` /* 195-byte string literal not displayed */
	// contains filtered or unexported fields
}

TransformResourceOptions is a subset of all resource options that are relevant to transforms.

func (*TransformResourceOptions) Descriptor deprecated added in v3.107.0

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

Deprecated: Use TransformResourceOptions.ProtoReflect.Descriptor instead.

func (*TransformResourceOptions) GetAdditionalSecretOutputs added in v3.107.0

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

func (*TransformResourceOptions) GetAliases added in v3.107.0

func (x *TransformResourceOptions) GetAliases() []*Alias

func (*TransformResourceOptions) GetCustomTimeouts added in v3.107.0

func (*TransformResourceOptions) GetDeleteBeforeReplace added in v3.107.0

func (x *TransformResourceOptions) GetDeleteBeforeReplace() bool

func (*TransformResourceOptions) GetDeletedWith added in v3.107.0

func (x *TransformResourceOptions) GetDeletedWith() string

func (*TransformResourceOptions) GetDependsOn added in v3.107.0

func (x *TransformResourceOptions) GetDependsOn() []string

func (*TransformResourceOptions) GetIgnoreChanges added in v3.107.0

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

func (*TransformResourceOptions) GetPluginChecksums added in v3.107.0

func (x *TransformResourceOptions) GetPluginChecksums() map[string][]byte

func (*TransformResourceOptions) GetPluginDownloadUrl added in v3.107.0

func (x *TransformResourceOptions) GetPluginDownloadUrl() string

func (*TransformResourceOptions) GetProtect added in v3.107.0

func (x *TransformResourceOptions) GetProtect() bool

func (*TransformResourceOptions) GetProvider added in v3.107.0

func (x *TransformResourceOptions) GetProvider() string

func (*TransformResourceOptions) GetProviders added in v3.107.0

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

func (*TransformResourceOptions) GetReplaceOnChanges added in v3.107.0

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

func (*TransformResourceOptions) GetRetainOnDelete added in v3.107.0

func (x *TransformResourceOptions) GetRetainOnDelete() bool

func (*TransformResourceOptions) GetVersion added in v3.107.0

func (x *TransformResourceOptions) GetVersion() string

func (*TransformResourceOptions) ProtoMessage added in v3.107.0

func (*TransformResourceOptions) ProtoMessage()

func (*TransformResourceOptions) ProtoReflect added in v3.107.0

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

func (*TransformResourceOptions) Reset added in v3.107.0

func (x *TransformResourceOptions) Reset()

func (*TransformResourceOptions) String added in v3.107.0

func (x *TransformResourceOptions) String() string

type TransformResponse added in v3.107.0

type TransformResponse struct {
	Properties *structpb.Struct          `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"` // the transformed input properties.
	Options    *TransformResourceOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`       // the options for the resource.
	// contains filtered or unexported fields
}

func (*TransformResponse) Descriptor deprecated added in v3.107.0

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

Deprecated: Use TransformResponse.ProtoReflect.Descriptor instead.

func (*TransformResponse) GetOptions added in v3.107.0

func (*TransformResponse) GetProperties added in v3.107.0

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

func (*TransformResponse) ProtoMessage added in v3.107.0

func (*TransformResponse) ProtoMessage()

func (*TransformResponse) ProtoReflect added in v3.107.0

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

func (*TransformResponse) Reset added in v3.107.0

func (x *TransformResponse) Reset()

func (*TransformResponse) String added in v3.107.0

func (x *TransformResponse) String() string

type UnimplementedAnalyzerServer

type UnimplementedAnalyzerServer struct {
}

UnimplementedAnalyzerServer must be embedded to have forward compatible implementations.

func (UnimplementedAnalyzerServer) Analyze

func (UnimplementedAnalyzerServer) AnalyzeStack

func (UnimplementedAnalyzerServer) Configure

func (UnimplementedAnalyzerServer) GetAnalyzerInfo

func (UnimplementedAnalyzerServer) GetPluginInfo

func (UnimplementedAnalyzerServer) Remediate added in v3.88.0

type UnimplementedCallbacksServer added in v3.107.0

type UnimplementedCallbacksServer struct {
}

UnimplementedCallbacksServer must be embedded to have forward compatible implementations.

func (UnimplementedCallbacksServer) Invoke added in v3.107.0

type UnimplementedConverterServer added in v3.58.0

type UnimplementedConverterServer struct {
}

UnimplementedConverterServer must be embedded to have forward compatible implementations.

func (UnimplementedConverterServer) ConvertProgram added in v3.58.0

func (UnimplementedConverterServer) ConvertState added in v3.58.0

type UnimplementedEngineServer

type UnimplementedEngineServer struct {
}

UnimplementedEngineServer must be embedded to have forward compatible implementations.

func (UnimplementedEngineServer) GetRootResource

func (UnimplementedEngineServer) Log

func (UnimplementedEngineServer) SetRootResource

type UnimplementedLanguageRuntimeServer

type UnimplementedLanguageRuntimeServer struct {
}

UnimplementedLanguageRuntimeServer must be embedded to have forward compatible implementations.

func (UnimplementedLanguageRuntimeServer) About added in v3.37.0

func (UnimplementedLanguageRuntimeServer) GeneratePackage added in v3.67.0

func (UnimplementedLanguageRuntimeServer) GenerateProgram added in v3.67.0

func (UnimplementedLanguageRuntimeServer) GenerateProject added in v3.67.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) Pack added in v3.78.0

func (UnimplementedLanguageRuntimeServer) Run

func (UnimplementedLanguageRuntimeServer) RunPlugin added in v3.47.0

type UnimplementedResourceMonitorServer

type UnimplementedResourceMonitorServer struct {
}

UnimplementedResourceMonitorServer must 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) RegisterStackTransform added in v3.107.0

func (UnimplementedResourceMonitorServer) StreamInvoke

func (UnimplementedResourceMonitorServer) SupportsFeature

type UnimplementedResourceProviderServer

type UnimplementedResourceProviderServer struct {
}

UnimplementedResourceProviderServer must 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) GetMapping added in v3.49.0

func (UnimplementedResourceProviderServer) GetMappings added in v3.85.0

func (UnimplementedResourceProviderServer) GetPluginInfo

func (UnimplementedResourceProviderServer) GetSchema

func (UnimplementedResourceProviderServer) Invoke

func (UnimplementedResourceProviderServer) Read

func (UnimplementedResourceProviderServer) StreamInvoke

func (UnimplementedResourceProviderServer) Update

type UnsafeAnalyzerServer added in v3.51.1

type UnsafeAnalyzerServer interface {
	// contains filtered or unexported methods
}

UnsafeAnalyzerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnalyzerServer will result in compilation errors.

type UnsafeCallbacksServer added in v3.107.0

type UnsafeCallbacksServer interface {
	// contains filtered or unexported methods
}

UnsafeCallbacksServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CallbacksServer will result in compilation errors.

type UnsafeConverterServer added in v3.58.0

type UnsafeConverterServer interface {
	// contains filtered or unexported methods
}

UnsafeConverterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConverterServer will result in compilation errors.

type UnsafeEngineServer added in v3.51.1

type UnsafeEngineServer interface {
	// contains filtered or unexported methods
}

UnsafeEngineServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EngineServer will result in compilation errors.

type UnsafeLanguageRuntimeServer added in v3.51.1

type UnsafeLanguageRuntimeServer interface {
	// contains filtered or unexported methods
}

UnsafeLanguageRuntimeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LanguageRuntimeServer will result in compilation errors.

type UnsafeResourceMonitorServer added in v3.51.1

type UnsafeResourceMonitorServer interface {
	// contains filtered or unexported methods
}

UnsafeResourceMonitorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceMonitorServer will result in compilation errors.

type UnsafeResourceProviderServer added in v3.51.1

type UnsafeResourceProviderServer interface {
	// contains filtered or unexported methods
}

UnsafeResourceProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceProviderServer will result in compilation errors.

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.
	OldInputs     *structpb.Struct `protobuf:"bytes,8,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // the old input values of the resource to diff.
	// 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) GetOldInputs added in v3.74.0

func (x *UpdateRequest) GetOldInputs() *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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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