Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAnalyzerServer(s grpc.ServiceRegistrar, srv AnalyzerServer)
- func RegisterCallbacksServer(s grpc.ServiceRegistrar, srv CallbacksServer)
- func RegisterConverterServer(s grpc.ServiceRegistrar, srv ConverterServer)
- func RegisterEngineServer(s grpc.ServiceRegistrar, srv EngineServer)
- func RegisterLanguageRuntimeServer(s grpc.ServiceRegistrar, srv LanguageRuntimeServer)
- func RegisterResourceMonitorServer(s grpc.ServiceRegistrar, srv ResourceMonitorServer)
- func RegisterResourceProviderServer(s grpc.ServiceRegistrar, srv ResourceProviderServer)
- func RegisterResourceStatusServer(s grpc.ServiceRegistrar, srv ResourceStatusServer)
- type AboutRequest
- type AboutResponse
- func (*AboutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AboutResponse) GetExecutable() string
- func (x *AboutResponse) GetMetadata() map[string]string
- func (x *AboutResponse) GetVersion() string
- func (*AboutResponse) ProtoMessage()
- func (x *AboutResponse) ProtoReflect() protoreflect.Message
- func (x *AboutResponse) Reset()
- func (x *AboutResponse) String() string
- type Alias
- func (*Alias) Descriptor() ([]byte, []int)deprecated
- func (x *Alias) GetAlias() isAlias_Alias
- func (x *Alias) GetSpec() *Alias_Spec
- func (x *Alias) GetUrn() string
- func (*Alias) ProtoMessage()
- func (x *Alias) ProtoReflect() protoreflect.Message
- func (x *Alias) Reset()
- func (x *Alias) String() string
- type Alias_Spec
- func (*Alias_Spec) Descriptor() ([]byte, []int)deprecated
- func (x *Alias_Spec) GetName() string
- func (x *Alias_Spec) GetNoParent() bool
- func (x *Alias_Spec) GetParent() isAlias_Spec_Parent
- func (x *Alias_Spec) GetParentUrn() string
- func (x *Alias_Spec) GetProject() string
- func (x *Alias_Spec) GetStack() string
- func (x *Alias_Spec) GetType() string
- func (*Alias_Spec) ProtoMessage()
- func (x *Alias_Spec) ProtoReflect() protoreflect.Message
- func (x *Alias_Spec) Reset()
- func (x *Alias_Spec) String() string
- type Alias_Spec_
- type Alias_Spec_NoParent
- type Alias_Spec_ParentUrn
- type Alias_Urn
- type AnalyzeDiagnostic
- func (*AnalyzeDiagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeDiagnostic) GetDescription() string
- func (x *AnalyzeDiagnostic) GetEnforcementLevel() EnforcementLevel
- func (x *AnalyzeDiagnostic) GetMessage() string
- func (x *AnalyzeDiagnostic) GetPolicyName() string
- func (x *AnalyzeDiagnostic) GetPolicyPackName() string
- func (x *AnalyzeDiagnostic) GetPolicyPackVersion() string
- func (x *AnalyzeDiagnostic) GetUrn() string
- func (*AnalyzeDiagnostic) ProtoMessage()
- func (x *AnalyzeDiagnostic) ProtoReflect() protoreflect.Message
- func (x *AnalyzeDiagnostic) Reset()
- func (x *AnalyzeDiagnostic) String() string
- type AnalyzeRequest
- func (*AnalyzeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeRequest) GetName() string
- func (x *AnalyzeRequest) GetOptions() *AnalyzerResourceOptions
- func (x *AnalyzeRequest) GetProperties() *structpb.Struct
- func (x *AnalyzeRequest) GetProvider() *AnalyzerProviderResource
- func (x *AnalyzeRequest) GetType() string
- func (x *AnalyzeRequest) GetUrn() string
- func (*AnalyzeRequest) ProtoMessage()
- func (x *AnalyzeRequest) ProtoReflect() protoreflect.Message
- func (x *AnalyzeRequest) Reset()
- func (x *AnalyzeRequest) String() string
- type AnalyzeResponse
- func (*AnalyzeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeResponse) GetDiagnostics() []*AnalyzeDiagnostic
- func (x *AnalyzeResponse) GetNotApplicable() []*PolicyNotApplicable
- func (*AnalyzeResponse) ProtoMessage()
- func (x *AnalyzeResponse) ProtoReflect() protoreflect.Message
- func (x *AnalyzeResponse) Reset()
- func (x *AnalyzeResponse) String() string
- type AnalyzeStackRequest
- func (*AnalyzeStackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeStackRequest) GetResources() []*AnalyzerResource
- func (*AnalyzeStackRequest) ProtoMessage()
- func (x *AnalyzeStackRequest) ProtoReflect() protoreflect.Message
- func (x *AnalyzeStackRequest) Reset()
- func (x *AnalyzeStackRequest) String() string
- type AnalyzerClient
- type AnalyzerHandshakeRequest
- func (*AnalyzerHandshakeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzerHandshakeRequest) GetEngineAddress() string
- func (x *AnalyzerHandshakeRequest) GetProgramDirectory() string
- func (x *AnalyzerHandshakeRequest) GetRootDirectory() string
- func (*AnalyzerHandshakeRequest) ProtoMessage()
- func (x *AnalyzerHandshakeRequest) ProtoReflect() protoreflect.Message
- func (x *AnalyzerHandshakeRequest) Reset()
- func (x *AnalyzerHandshakeRequest) String() string
- type AnalyzerHandshakeResponse
- type AnalyzerInfo
- func (*AnalyzerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzerInfo) GetDescription() string
- func (x *AnalyzerInfo) GetDisplayName() string
- func (x *AnalyzerInfo) GetInitialConfig() map[string]*PolicyConfig
- func (x *AnalyzerInfo) GetName() string
- func (x *AnalyzerInfo) GetPolicies() []*PolicyInfo
- func (x *AnalyzerInfo) GetProvider() string
- func (x *AnalyzerInfo) GetReadme() string
- func (x *AnalyzerInfo) GetRepository() string
- func (x *AnalyzerInfo) GetSupportsConfig() bool
- func (x *AnalyzerInfo) GetTags() []string
- func (x *AnalyzerInfo) GetVersion() string
- func (*AnalyzerInfo) ProtoMessage()
- func (x *AnalyzerInfo) ProtoReflect() protoreflect.Message
- func (x *AnalyzerInfo) Reset()
- func (x *AnalyzerInfo) String() string
- type AnalyzerPropertyDependencies
- func (*AnalyzerPropertyDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzerPropertyDependencies) GetUrns() []string
- func (*AnalyzerPropertyDependencies) ProtoMessage()
- func (x *AnalyzerPropertyDependencies) ProtoReflect() protoreflect.Message
- func (x *AnalyzerPropertyDependencies) Reset()
- func (x *AnalyzerPropertyDependencies) String() string
- type AnalyzerProviderResource
- func (*AnalyzerProviderResource) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzerProviderResource) GetName() string
- func (x *AnalyzerProviderResource) GetProperties() *structpb.Struct
- func (x *AnalyzerProviderResource) GetType() string
- func (x *AnalyzerProviderResource) GetUrn() string
- func (*AnalyzerProviderResource) ProtoMessage()
- func (x *AnalyzerProviderResource) ProtoReflect() protoreflect.Message
- func (x *AnalyzerProviderResource) Reset()
- func (x *AnalyzerProviderResource) String() string
- type AnalyzerResource
- func (*AnalyzerResource) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzerResource) GetDependencies() []string
- func (x *AnalyzerResource) GetName() string
- func (x *AnalyzerResource) GetOptions() *AnalyzerResourceOptions
- func (x *AnalyzerResource) GetParent() string
- func (x *AnalyzerResource) GetProperties() *structpb.Struct
- func (x *AnalyzerResource) GetPropertyDependencies() map[string]*AnalyzerPropertyDependencies
- func (x *AnalyzerResource) GetProvider() *AnalyzerProviderResource
- func (x *AnalyzerResource) GetType() string
- func (x *AnalyzerResource) GetUrn() string
- func (*AnalyzerResource) ProtoMessage()
- func (x *AnalyzerResource) ProtoReflect() protoreflect.Message
- func (x *AnalyzerResource) Reset()
- func (x *AnalyzerResource) String() string
- type AnalyzerResourceOptions
- func (*AnalyzerResourceOptions) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzerResourceOptions) GetAdditionalSecretOutputs() []string
- func (x *AnalyzerResourceOptions) GetAliases() []string
- func (x *AnalyzerResourceOptions) GetCustomTimeouts() *AnalyzerResourceOptions_CustomTimeouts
- func (x *AnalyzerResourceOptions) GetDeleteBeforeReplace() bool
- func (x *AnalyzerResourceOptions) GetDeleteBeforeReplaceDefined() bool
- func (x *AnalyzerResourceOptions) GetIgnoreChanges() []string
- func (x *AnalyzerResourceOptions) GetParent() string
- func (x *AnalyzerResourceOptions) GetProtect() bool
- func (*AnalyzerResourceOptions) ProtoMessage()
- func (x *AnalyzerResourceOptions) ProtoReflect() protoreflect.Message
- func (x *AnalyzerResourceOptions) Reset()
- func (x *AnalyzerResourceOptions) String() string
- type AnalyzerResourceOptions_CustomTimeouts
- func (*AnalyzerResourceOptions_CustomTimeouts) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzerResourceOptions_CustomTimeouts) GetCreate() float64
- func (x *AnalyzerResourceOptions_CustomTimeouts) GetDelete() float64
- func (x *AnalyzerResourceOptions_CustomTimeouts) GetUpdate() float64
- func (*AnalyzerResourceOptions_CustomTimeouts) ProtoMessage()
- func (x *AnalyzerResourceOptions_CustomTimeouts) ProtoReflect() protoreflect.Message
- func (x *AnalyzerResourceOptions_CustomTimeouts) Reset()
- func (x *AnalyzerResourceOptions_CustomTimeouts) String() string
- type AnalyzerServer
- type AnalyzerStackConfigureRequest
- func (*AnalyzerStackConfigureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzerStackConfigureRequest) GetConfig() map[string]string
- func (x *AnalyzerStackConfigureRequest) GetConfigSecretKeys() []string
- func (x *AnalyzerStackConfigureRequest) GetDryRun() bool
- func (x *AnalyzerStackConfigureRequest) GetOrganization() string
- func (x *AnalyzerStackConfigureRequest) GetProject() string
- func (x *AnalyzerStackConfigureRequest) GetStack() string
- func (x *AnalyzerStackConfigureRequest) GetTags() map[string]string
- func (*AnalyzerStackConfigureRequest) ProtoMessage()
- func (x *AnalyzerStackConfigureRequest) ProtoReflect() protoreflect.Message
- func (x *AnalyzerStackConfigureRequest) Reset()
- func (x *AnalyzerStackConfigureRequest) String() string
- type AnalyzerStackConfigureResponse
- func (*AnalyzerStackConfigureResponse) Descriptor() ([]byte, []int)deprecated
- func (*AnalyzerStackConfigureResponse) ProtoMessage()
- func (x *AnalyzerStackConfigureResponse) ProtoReflect() protoreflect.Message
- func (x *AnalyzerStackConfigureResponse) Reset()
- func (x *AnalyzerStackConfigureResponse) String() string
- type CallRequest
- func (*CallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallRequest) GetAcceptsOutputValues() bool
- func (x *CallRequest) GetArgDependencies() map[string]*CallRequest_ArgumentDependencies
- func (x *CallRequest) GetArgs() *structpb.Struct
- func (x *CallRequest) GetConfig() map[string]string
- func (x *CallRequest) GetConfigSecretKeys() []string
- func (x *CallRequest) GetDryRun() bool
- func (x *CallRequest) GetMonitorEndpoint() string
- func (x *CallRequest) GetOrganization() string
- func (x *CallRequest) GetParallel() int32
- func (x *CallRequest) GetProject() string
- func (x *CallRequest) GetStack() string
- func (x *CallRequest) GetStackTraceHandle() string
- func (x *CallRequest) GetTok() string
- func (*CallRequest) ProtoMessage()
- func (x *CallRequest) ProtoReflect() protoreflect.Message
- func (x *CallRequest) Reset()
- func (x *CallRequest) String() string
- type CallRequest_ArgumentDependencies
- func (*CallRequest_ArgumentDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *CallRequest_ArgumentDependencies) GetUrns() []string
- func (*CallRequest_ArgumentDependencies) ProtoMessage()
- func (x *CallRequest_ArgumentDependencies) ProtoReflect() protoreflect.Message
- func (x *CallRequest_ArgumentDependencies) Reset()
- func (x *CallRequest_ArgumentDependencies) String() string
- type CallResponse
- func (*CallResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallResponse) GetFailures() []*CheckFailure
- func (x *CallResponse) GetReturn() *structpb.Struct
- func (x *CallResponse) GetReturnDependencies() map[string]*CallResponse_ReturnDependencies
- func (*CallResponse) ProtoMessage()
- func (x *CallResponse) ProtoReflect() protoreflect.Message
- func (x *CallResponse) Reset()
- func (x *CallResponse) String() string
- type CallResponse_ReturnDependencies
- func (*CallResponse_ReturnDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *CallResponse_ReturnDependencies) GetUrns() []string
- func (*CallResponse_ReturnDependencies) ProtoMessage()
- func (x *CallResponse_ReturnDependencies) ProtoReflect() protoreflect.Message
- func (x *CallResponse_ReturnDependencies) Reset()
- func (x *CallResponse_ReturnDependencies) String() string
- type Callback
- type CallbackInvokeRequest
- func (*CallbackInvokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackInvokeRequest) GetRequest() []byte
- func (x *CallbackInvokeRequest) GetToken() string
- func (*CallbackInvokeRequest) ProtoMessage()
- func (x *CallbackInvokeRequest) ProtoReflect() protoreflect.Message
- func (x *CallbackInvokeRequest) Reset()
- func (x *CallbackInvokeRequest) String() string
- type CallbackInvokeResponse
- func (*CallbackInvokeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackInvokeResponse) GetResponse() []byte
- func (*CallbackInvokeResponse) ProtoMessage()
- func (x *CallbackInvokeResponse) ProtoReflect() protoreflect.Message
- func (x *CallbackInvokeResponse) Reset()
- func (x *CallbackInvokeResponse) String() string
- type CallbacksClient
- type CallbacksServer
- type CheckFailure
- func (*CheckFailure) Descriptor() ([]byte, []int)deprecated
- func (x *CheckFailure) GetProperty() string
- func (x *CheckFailure) GetReason() string
- func (*CheckFailure) ProtoMessage()
- func (x *CheckFailure) ProtoReflect() protoreflect.Message
- func (x *CheckFailure) Reset()
- func (x *CheckFailure) String() string
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetAutonaming() *CheckRequest_AutonamingOptions
- func (x *CheckRequest) GetName() string
- func (x *CheckRequest) GetNews() *structpb.Struct
- func (x *CheckRequest) GetOlds() *structpb.Struct
- func (x *CheckRequest) GetRandomSeed() []byte
- func (x *CheckRequest) GetType() string
- func (x *CheckRequest) GetUrn() string
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- type CheckRequest_AutonamingOptions
- func (*CheckRequest_AutonamingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest_AutonamingOptions) GetMode() CheckRequest_AutonamingOptions_Mode
- func (x *CheckRequest_AutonamingOptions) GetProposedName() string
- func (*CheckRequest_AutonamingOptions) ProtoMessage()
- func (x *CheckRequest_AutonamingOptions) ProtoReflect() protoreflect.Message
- func (x *CheckRequest_AutonamingOptions) Reset()
- func (x *CheckRequest_AutonamingOptions) String() string
- type CheckRequest_AutonamingOptions_Mode
- func (CheckRequest_AutonamingOptions_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x CheckRequest_AutonamingOptions_Mode) Enum() *CheckRequest_AutonamingOptions_Mode
- func (CheckRequest_AutonamingOptions_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckRequest_AutonamingOptions_Mode) Number() protoreflect.EnumNumber
- func (x CheckRequest_AutonamingOptions_Mode) String() string
- func (CheckRequest_AutonamingOptions_Mode) Type() protoreflect.EnumType
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResponse) GetFailures() []*CheckFailure
- func (x *CheckResponse) GetInputs() *structpb.Struct
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- type ConfigureAnalyzerRequest
- func (*ConfigureAnalyzerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureAnalyzerRequest) GetPolicyConfig() map[string]*PolicyConfig
- func (*ConfigureAnalyzerRequest) ProtoMessage()
- func (x *ConfigureAnalyzerRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureAnalyzerRequest) Reset()
- func (x *ConfigureAnalyzerRequest) String() string
- type ConfigureErrorMissingKeys
- func (*ConfigureErrorMissingKeys) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureErrorMissingKeys) GetMissingKeys() []*ConfigureErrorMissingKeys_MissingKey
- func (*ConfigureErrorMissingKeys) ProtoMessage()
- func (x *ConfigureErrorMissingKeys) ProtoReflect() protoreflect.Message
- func (x *ConfigureErrorMissingKeys) Reset()
- func (x *ConfigureErrorMissingKeys) String() string
- type ConfigureErrorMissingKeys_MissingKey
- func (*ConfigureErrorMissingKeys_MissingKey) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureErrorMissingKeys_MissingKey) GetDescription() string
- func (x *ConfigureErrorMissingKeys_MissingKey) GetName() string
- func (*ConfigureErrorMissingKeys_MissingKey) ProtoMessage()
- func (x *ConfigureErrorMissingKeys_MissingKey) ProtoReflect() protoreflect.Message
- func (x *ConfigureErrorMissingKeys_MissingKey) Reset()
- func (x *ConfigureErrorMissingKeys_MissingKey) String() string
- type ConfigureRequest
- func (*ConfigureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureRequest) GetAcceptResources() bool
- func (x *ConfigureRequest) GetAcceptSecrets() bool
- func (x *ConfigureRequest) GetArgs() *structpb.Struct
- func (x *ConfigureRequest) GetId() string
- func (x *ConfigureRequest) GetName() string
- func (x *ConfigureRequest) GetSendsOldInputs() bool
- func (x *ConfigureRequest) GetSendsOldInputsToDelete() bool
- func (x *ConfigureRequest) GetType() string
- func (x *ConfigureRequest) GetUrn() string
- func (x *ConfigureRequest) GetVariables() map[string]string
- func (*ConfigureRequest) ProtoMessage()
- func (x *ConfigureRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureRequest) Reset()
- func (x *ConfigureRequest) String() string
- type ConfigureResponse
- func (*ConfigureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureResponse) GetAcceptOutputs() bool
- func (x *ConfigureResponse) GetAcceptResources() bool
- func (x *ConfigureResponse) GetAcceptSecrets() bool
- func (x *ConfigureResponse) GetSupportsAutonamingConfiguration() bool
- func (x *ConfigureResponse) GetSupportsPreview() bool
- func (*ConfigureResponse) ProtoMessage()
- func (x *ConfigureResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigureResponse) Reset()
- func (x *ConfigureResponse) String() string
- type ConstructRequest
- func (*ConstructRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConstructRequest) GetAcceptsOutputValues() bool
- func (x *ConstructRequest) GetAdditionalSecretOutputs() []string
- func (x *ConstructRequest) GetAliases() []string
- func (x *ConstructRequest) GetConfig() map[string]string
- func (x *ConstructRequest) GetConfigSecretKeys() []string
- func (x *ConstructRequest) GetCustomTimeouts() *ConstructRequest_CustomTimeouts
- func (x *ConstructRequest) GetDeleteBeforeReplace() bool
- func (x *ConstructRequest) GetDeletedWith() string
- func (x *ConstructRequest) GetDependencies() []string
- func (x *ConstructRequest) GetDryRun() bool
- func (x *ConstructRequest) GetIgnoreChanges() []string
- func (x *ConstructRequest) GetInputDependencies() map[string]*ConstructRequest_PropertyDependencies
- func (x *ConstructRequest) GetInputs() *structpb.Struct
- func (x *ConstructRequest) GetMonitorEndpoint() string
- func (x *ConstructRequest) GetName() string
- func (x *ConstructRequest) GetOrganization() string
- func (x *ConstructRequest) GetParallel() int32
- func (x *ConstructRequest) GetParent() string
- func (x *ConstructRequest) GetProject() string
- func (x *ConstructRequest) GetProtect() bool
- func (x *ConstructRequest) GetProviders() map[string]string
- func (x *ConstructRequest) GetReplaceOnChanges() []string
- func (x *ConstructRequest) GetResourceHooks() *ConstructRequest_ResourceHooksBinding
- func (x *ConstructRequest) GetRetainOnDelete() bool
- func (x *ConstructRequest) GetStack() string
- func (x *ConstructRequest) GetStackTraceHandle() string
- func (x *ConstructRequest) GetType() string
- func (*ConstructRequest) ProtoMessage()
- func (x *ConstructRequest) ProtoReflect() protoreflect.Message
- func (x *ConstructRequest) Reset()
- func (x *ConstructRequest) String() string
- type ConstructRequest_CustomTimeouts
- func (*ConstructRequest_CustomTimeouts) Descriptor() ([]byte, []int)deprecated
- func (x *ConstructRequest_CustomTimeouts) GetCreate() string
- func (x *ConstructRequest_CustomTimeouts) GetDelete() string
- func (x *ConstructRequest_CustomTimeouts) GetUpdate() string
- func (*ConstructRequest_CustomTimeouts) ProtoMessage()
- func (x *ConstructRequest_CustomTimeouts) ProtoReflect() protoreflect.Message
- func (x *ConstructRequest_CustomTimeouts) Reset()
- func (x *ConstructRequest_CustomTimeouts) String() string
- type ConstructRequest_PropertyDependencies
- func (*ConstructRequest_PropertyDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *ConstructRequest_PropertyDependencies) GetUrns() []string
- func (*ConstructRequest_PropertyDependencies) ProtoMessage()
- func (x *ConstructRequest_PropertyDependencies) ProtoReflect() protoreflect.Message
- func (x *ConstructRequest_PropertyDependencies) Reset()
- func (x *ConstructRequest_PropertyDependencies) String() string
- type ConstructRequest_ResourceHooksBinding
- func (*ConstructRequest_ResourceHooksBinding) Descriptor() ([]byte, []int)deprecated
- func (x *ConstructRequest_ResourceHooksBinding) GetAfterCreate() []string
- func (x *ConstructRequest_ResourceHooksBinding) GetAfterDelete() []string
- func (x *ConstructRequest_ResourceHooksBinding) GetAfterUpdate() []string
- func (x *ConstructRequest_ResourceHooksBinding) GetBeforeCreate() []string
- func (x *ConstructRequest_ResourceHooksBinding) GetBeforeDelete() []string
- func (x *ConstructRequest_ResourceHooksBinding) GetBeforeUpdate() []string
- func (*ConstructRequest_ResourceHooksBinding) ProtoMessage()
- func (x *ConstructRequest_ResourceHooksBinding) ProtoReflect() protoreflect.Message
- func (x *ConstructRequest_ResourceHooksBinding) Reset()
- func (x *ConstructRequest_ResourceHooksBinding) String() string
- type ConstructResponse
- func (*ConstructResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConstructResponse) GetState() *structpb.Struct
- func (x *ConstructResponse) GetStateDependencies() map[string]*ConstructResponse_PropertyDependencies
- func (x *ConstructResponse) GetUrn() string
- func (*ConstructResponse) ProtoMessage()
- func (x *ConstructResponse) ProtoReflect() protoreflect.Message
- func (x *ConstructResponse) Reset()
- func (x *ConstructResponse) String() string
- type ConstructResponse_PropertyDependencies
- func (*ConstructResponse_PropertyDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *ConstructResponse_PropertyDependencies) GetUrns() []string
- func (*ConstructResponse_PropertyDependencies) ProtoMessage()
- func (x *ConstructResponse_PropertyDependencies) ProtoReflect() protoreflect.Message
- func (x *ConstructResponse_PropertyDependencies) Reset()
- func (x *ConstructResponse_PropertyDependencies) String() string
- type ConvertProgramRequest
- func (*ConvertProgramRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConvertProgramRequest) GetArgs() []string
- func (x *ConvertProgramRequest) GetGeneratedProjectDirectory() string
- func (x *ConvertProgramRequest) GetLoaderTarget() string
- func (x *ConvertProgramRequest) GetMapperTarget() string
- func (x *ConvertProgramRequest) GetSourceDirectory() string
- func (x *ConvertProgramRequest) GetTargetDirectory() string
- func (*ConvertProgramRequest) ProtoMessage()
- func (x *ConvertProgramRequest) ProtoReflect() protoreflect.Message
- func (x *ConvertProgramRequest) Reset()
- func (x *ConvertProgramRequest) String() string
- type ConvertProgramResponse
- func (*ConvertProgramResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConvertProgramResponse) GetDiagnostics() []*codegen.Diagnostic
- func (*ConvertProgramResponse) ProtoMessage()
- func (x *ConvertProgramResponse) ProtoReflect() protoreflect.Message
- func (x *ConvertProgramResponse) Reset()
- func (x *ConvertProgramResponse) String() string
- type ConvertStateRequest
- func (*ConvertStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConvertStateRequest) GetArgs() []string
- func (x *ConvertStateRequest) GetMapperTarget() string
- func (*ConvertStateRequest) ProtoMessage()
- func (x *ConvertStateRequest) ProtoReflect() protoreflect.Message
- func (x *ConvertStateRequest) Reset()
- func (x *ConvertStateRequest) String() string
- type ConvertStateResponse
- func (*ConvertStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConvertStateResponse) GetDiagnostics() []*codegen.Diagnostic
- func (x *ConvertStateResponse) GetResources() []*ResourceImport
- func (*ConvertStateResponse) ProtoMessage()
- func (x *ConvertStateResponse) ProtoReflect() protoreflect.Message
- func (x *ConvertStateResponse) Reset()
- func (x *ConvertStateResponse) String() string
- type ConverterClient
- type ConverterServer
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetName() string
- func (x *CreateRequest) GetPreview() bool
- func (x *CreateRequest) GetProperties() *structpb.Struct
- func (x *CreateRequest) GetResourceStatusAddress() string
- func (x *CreateRequest) GetResourceStatusToken() string
- func (x *CreateRequest) GetTimeout() float64
- func (x *CreateRequest) GetType() string
- func (x *CreateRequest) GetUrn() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetId() string
- func (x *CreateResponse) GetProperties() *structpb.Struct
- func (x *CreateResponse) GetRefreshBeforeUpdate() bool
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetId() string
- func (x *DeleteRequest) GetName() string
- func (x *DeleteRequest) GetOldInputs() *structpb.Struct
- func (x *DeleteRequest) GetOldViews() []*View
- func (x *DeleteRequest) GetProperties() *structpb.Struct
- func (x *DeleteRequest) GetResourceStatusAddress() string
- func (x *DeleteRequest) GetResourceStatusToken() string
- func (x *DeleteRequest) GetTimeout() float64
- func (x *DeleteRequest) GetType() string
- func (x *DeleteRequest) GetUrn() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- type DependencyInfo
- func (*DependencyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyInfo) GetName() string
- func (x *DependencyInfo) GetVersion() string
- func (*DependencyInfo) ProtoMessage()
- func (x *DependencyInfo) ProtoReflect() protoreflect.Message
- func (x *DependencyInfo) Reset()
- func (x *DependencyInfo) String() string
- type DiffRequest
- func (*DiffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DiffRequest) GetId() string
- func (x *DiffRequest) GetIgnoreChanges() []string
- func (x *DiffRequest) GetName() string
- func (x *DiffRequest) GetNews() *structpb.Struct
- func (x *DiffRequest) GetOldInputs() *structpb.Struct
- func (x *DiffRequest) GetOlds() *structpb.Struct
- func (x *DiffRequest) GetType() string
- func (x *DiffRequest) GetUrn() string
- func (*DiffRequest) ProtoMessage()
- func (x *DiffRequest) ProtoReflect() protoreflect.Message
- func (x *DiffRequest) Reset()
- func (x *DiffRequest) String() string
- type DiffResponse
- func (*DiffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiffResponse) GetChanges() DiffResponse_DiffChanges
- func (x *DiffResponse) GetDeleteBeforeReplace() bool
- func (x *DiffResponse) GetDetailedDiff() map[string]*PropertyDiff
- func (x *DiffResponse) GetDiffs() []string
- func (x *DiffResponse) GetHasDetailedDiff() bool
- func (x *DiffResponse) GetReplaces() []string
- func (x *DiffResponse) GetStables() []string
- func (*DiffResponse) ProtoMessage()
- func (x *DiffResponse) ProtoReflect() protoreflect.Message
- func (x *DiffResponse) Reset()
- func (x *DiffResponse) String() string
- type DiffResponse_DiffChanges
- func (DiffResponse_DiffChanges) Descriptor() protoreflect.EnumDescriptor
- func (x DiffResponse_DiffChanges) Enum() *DiffResponse_DiffChanges
- func (DiffResponse_DiffChanges) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiffResponse_DiffChanges) Number() protoreflect.EnumNumber
- func (x DiffResponse_DiffChanges) String() string
- func (DiffResponse_DiffChanges) Type() protoreflect.EnumType
- type EnforcementLevel
- func (EnforcementLevel) Descriptor() protoreflect.EnumDescriptor
- func (x EnforcementLevel) Enum() *EnforcementLevel
- func (EnforcementLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnforcementLevel) Number() protoreflect.EnumNumber
- func (x EnforcementLevel) String() string
- func (EnforcementLevel) Type() protoreflect.EnumType
- type EngineClient
- type EngineServer
- type ErrorCause
- type ErrorResourceInitFailed
- func (*ErrorResourceInitFailed) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorResourceInitFailed) GetId() string
- func (x *ErrorResourceInitFailed) GetInputs() *structpb.Struct
- func (x *ErrorResourceInitFailed) GetProperties() *structpb.Struct
- func (x *ErrorResourceInitFailed) GetReasons() []string
- func (x *ErrorResourceInitFailed) GetRefreshBeforeUpdate() bool
- func (*ErrorResourceInitFailed) ProtoMessage()
- func (x *ErrorResourceInitFailed) ProtoReflect() protoreflect.Message
- func (x *ErrorResourceInitFailed) Reset()
- func (x *ErrorResourceInitFailed) String() string
- type GeneratePackageRequest
- func (*GeneratePackageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GeneratePackageRequest) GetDirectory() string
- func (x *GeneratePackageRequest) GetExtraFiles() map[string][]byte
- func (x *GeneratePackageRequest) GetLoaderTarget() string
- func (x *GeneratePackageRequest) GetLocal() bool
- func (x *GeneratePackageRequest) GetLocalDependencies() map[string]string
- func (x *GeneratePackageRequest) GetSchema() string
- func (*GeneratePackageRequest) ProtoMessage()
- func (x *GeneratePackageRequest) ProtoReflect() protoreflect.Message
- func (x *GeneratePackageRequest) Reset()
- func (x *GeneratePackageRequest) String() string
- type GeneratePackageResponse
- func (*GeneratePackageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GeneratePackageResponse) GetDiagnostics() []*codegen.Diagnostic
- func (*GeneratePackageResponse) ProtoMessage()
- func (x *GeneratePackageResponse) ProtoReflect() protoreflect.Message
- func (x *GeneratePackageResponse) Reset()
- func (x *GeneratePackageResponse) String() string
- type GenerateProgramRequest
- func (*GenerateProgramRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateProgramRequest) GetLoaderTarget() string
- func (x *GenerateProgramRequest) GetSource() map[string]string
- func (x *GenerateProgramRequest) GetStrict() bool
- func (*GenerateProgramRequest) ProtoMessage()
- func (x *GenerateProgramRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateProgramRequest) Reset()
- func (x *GenerateProgramRequest) String() string
- type GenerateProgramResponse
- func (*GenerateProgramResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateProgramResponse) GetDiagnostics() []*codegen.Diagnostic
- func (x *GenerateProgramResponse) GetSource() map[string][]byte
- func (*GenerateProgramResponse) ProtoMessage()
- func (x *GenerateProgramResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateProgramResponse) Reset()
- func (x *GenerateProgramResponse) String() string
- type GenerateProjectRequest
- func (*GenerateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateProjectRequest) GetLoaderTarget() string
- func (x *GenerateProjectRequest) GetLocalDependencies() map[string]string
- func (x *GenerateProjectRequest) GetProject() string
- func (x *GenerateProjectRequest) GetSourceDirectory() string
- func (x *GenerateProjectRequest) GetStrict() bool
- func (x *GenerateProjectRequest) GetTargetDirectory() string
- func (*GenerateProjectRequest) ProtoMessage()
- func (x *GenerateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateProjectRequest) Reset()
- func (x *GenerateProjectRequest) String() string
- type GenerateProjectResponse
- func (*GenerateProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateProjectResponse) GetDiagnostics() []*codegen.Diagnostic
- func (*GenerateProjectResponse) ProtoMessage()
- func (x *GenerateProjectResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateProjectResponse) Reset()
- func (x *GenerateProjectResponse) String() string
- type GetMappingRequest
- func (*GetMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMappingRequest) GetKey() string
- func (x *GetMappingRequest) GetProvider() string
- func (*GetMappingRequest) ProtoMessage()
- func (x *GetMappingRequest) ProtoReflect() protoreflect.Message
- func (x *GetMappingRequest) Reset()
- func (x *GetMappingRequest) String() string
- type GetMappingResponse
- func (*GetMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMappingResponse) GetData() []byte
- func (x *GetMappingResponse) GetProvider() string
- func (*GetMappingResponse) ProtoMessage()
- func (x *GetMappingResponse) ProtoReflect() protoreflect.Message
- func (x *GetMappingResponse) Reset()
- func (x *GetMappingResponse) String() string
- type GetMappingsRequest
- type GetMappingsResponse
- func (*GetMappingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMappingsResponse) GetProviders() []string
- func (*GetMappingsResponse) ProtoMessage()
- func (x *GetMappingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetMappingsResponse) Reset()
- func (x *GetMappingsResponse) String() string
- type GetProgramDependenciesRequest
- func (*GetProgramDependenciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProgramDependenciesRequest) GetInfo() *ProgramInfo
- func (x *GetProgramDependenciesRequest) GetProgram() stringdeprecated
- func (x *GetProgramDependenciesRequest) GetProject() stringdeprecated
- func (x *GetProgramDependenciesRequest) GetPwd() stringdeprecated
- func (x *GetProgramDependenciesRequest) GetTransitiveDependencies() bool
- func (*GetProgramDependenciesRequest) ProtoMessage()
- func (x *GetProgramDependenciesRequest) ProtoReflect() protoreflect.Message
- func (x *GetProgramDependenciesRequest) Reset()
- func (x *GetProgramDependenciesRequest) String() string
- type GetProgramDependenciesResponse
- func (*GetProgramDependenciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProgramDependenciesResponse) GetDependencies() []*DependencyInfo
- func (*GetProgramDependenciesResponse) ProtoMessage()
- func (x *GetProgramDependenciesResponse) ProtoReflect() protoreflect.Message
- func (x *GetProgramDependenciesResponse) Reset()
- func (x *GetProgramDependenciesResponse) String() string
- type GetRequiredPackagesRequest
- func (*GetRequiredPackagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequiredPackagesRequest) GetInfo() *ProgramInfo
- func (*GetRequiredPackagesRequest) ProtoMessage()
- func (x *GetRequiredPackagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequiredPackagesRequest) Reset()
- func (x *GetRequiredPackagesRequest) String() string
- type GetRequiredPackagesResponse
- func (*GetRequiredPackagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequiredPackagesResponse) GetPackages() []*PackageDependency
- func (*GetRequiredPackagesResponse) ProtoMessage()
- func (x *GetRequiredPackagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetRequiredPackagesResponse) Reset()
- func (x *GetRequiredPackagesResponse) String() string
- type GetRequiredPluginsRequest
- func (*GetRequiredPluginsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequiredPluginsRequest) GetInfo() *ProgramInfo
- func (x *GetRequiredPluginsRequest) GetProgram() stringdeprecated
- func (x *GetRequiredPluginsRequest) GetProject() stringdeprecated
- func (x *GetRequiredPluginsRequest) GetPwd() stringdeprecated
- func (*GetRequiredPluginsRequest) ProtoMessage()
- func (x *GetRequiredPluginsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequiredPluginsRequest) Reset()
- func (x *GetRequiredPluginsRequest) String() string
- type GetRequiredPluginsResponse
- func (*GetRequiredPluginsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequiredPluginsResponse) GetPlugins() []*PluginDependency
- func (*GetRequiredPluginsResponse) ProtoMessage()
- func (x *GetRequiredPluginsResponse) ProtoReflect() protoreflect.Message
- func (x *GetRequiredPluginsResponse) Reset()
- func (x *GetRequiredPluginsResponse) String() string
- type GetRootResourceRequest
- type GetRootResourceResponse
- func (*GetRootResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRootResourceResponse) GetUrn() string
- func (*GetRootResourceResponse) ProtoMessage()
- func (x *GetRootResourceResponse) ProtoReflect() protoreflect.Message
- func (x *GetRootResourceResponse) Reset()
- func (x *GetRootResourceResponse) String() string
- type GetSchemaRequest
- func (*GetSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchemaRequest) GetSubpackageName() string
- func (x *GetSchemaRequest) GetSubpackageVersion() string
- func (x *GetSchemaRequest) GetVersion() int32
- func (*GetSchemaRequest) ProtoMessage()
- func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *GetSchemaRequest) Reset()
- func (x *GetSchemaRequest) String() string
- type GetSchemaResponse
- type InputPropertiesError
- func (*InputPropertiesError) Descriptor() ([]byte, []int)deprecated
- func (x *InputPropertiesError) GetErrors() []*InputPropertiesError_PropertyError
- func (*InputPropertiesError) ProtoMessage()
- func (x *InputPropertiesError) ProtoReflect() protoreflect.Message
- func (x *InputPropertiesError) Reset()
- func (x *InputPropertiesError) String() string
- type InputPropertiesError_PropertyError
- func (*InputPropertiesError_PropertyError) Descriptor() ([]byte, []int)deprecated
- func (x *InputPropertiesError_PropertyError) GetPropertyPath() string
- func (x *InputPropertiesError_PropertyError) GetReason() string
- func (*InputPropertiesError_PropertyError) ProtoMessage()
- func (x *InputPropertiesError_PropertyError) ProtoReflect() protoreflect.Message
- func (x *InputPropertiesError_PropertyError) Reset()
- func (x *InputPropertiesError_PropertyError) String() string
- type InstallDependenciesRequest
- func (*InstallDependenciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallDependenciesRequest) GetDirectory() stringdeprecated
- func (x *InstallDependenciesRequest) GetInfo() *ProgramInfo
- func (x *InstallDependenciesRequest) GetIsPlugin() bool
- func (x *InstallDependenciesRequest) GetIsTerminal() bool
- func (x *InstallDependenciesRequest) GetUseLanguageVersionTools() bool
- func (*InstallDependenciesRequest) ProtoMessage()
- func (x *InstallDependenciesRequest) ProtoReflect() protoreflect.Message
- func (x *InstallDependenciesRequest) Reset()
- func (x *InstallDependenciesRequest) String() string
- type InstallDependenciesResponse
- func (*InstallDependenciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstallDependenciesResponse) GetStderr() []byte
- func (x *InstallDependenciesResponse) GetStdout() []byte
- func (*InstallDependenciesResponse) ProtoMessage()
- func (x *InstallDependenciesResponse) ProtoReflect() protoreflect.Message
- func (x *InstallDependenciesResponse) Reset()
- func (x *InstallDependenciesResponse) String() string
- type InvokeRequest
- func (*InvokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeRequest) GetArgs() *structpb.Struct
- func (x *InvokeRequest) GetTok() string
- func (*InvokeRequest) ProtoMessage()
- func (x *InvokeRequest) ProtoReflect() protoreflect.Message
- func (x *InvokeRequest) Reset()
- func (x *InvokeRequest) String() string
- type InvokeResponse
- func (*InvokeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeResponse) GetFailures() []*CheckFailure
- func (x *InvokeResponse) GetReturn() *structpb.Struct
- func (*InvokeResponse) ProtoMessage()
- func (x *InvokeResponse) ProtoReflect() protoreflect.Message
- func (x *InvokeResponse) Reset()
- func (x *InvokeResponse) String() string
- type LanguageHandshakeRequest
- func (*LanguageHandshakeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LanguageHandshakeRequest) GetEngineAddress() string
- func (x *LanguageHandshakeRequest) GetProgramDirectory() string
- func (x *LanguageHandshakeRequest) GetRootDirectory() string
- func (*LanguageHandshakeRequest) ProtoMessage()
- func (x *LanguageHandshakeRequest) ProtoReflect() protoreflect.Message
- func (x *LanguageHandshakeRequest) Reset()
- func (x *LanguageHandshakeRequest) String() string
- type LanguageHandshakeResponse
- type LanguageRuntimeClient
- type LanguageRuntimeServer
- type LanguageRuntime_InstallDependenciesClient
- type LanguageRuntime_InstallDependenciesServer
- type LanguageRuntime_RunPluginClient
- type LanguageRuntime_RunPluginServer
- type LinkRequest
- func (*LinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkRequest) GetInfo() *ProgramInfo
- func (x *LinkRequest) GetLoaderTarget() string
- func (x *LinkRequest) GetLocalDependencies() map[string]string
- func (*LinkRequest) ProtoMessage()
- func (x *LinkRequest) ProtoReflect() protoreflect.Message
- func (x *LinkRequest) Reset()
- func (x *LinkRequest) String() string
- type LinkResponse
- type LogRequest
- func (*LogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogRequest) GetEphemeral() bool
- func (x *LogRequest) GetMessage() string
- func (x *LogRequest) GetSeverity() LogSeverity
- func (x *LogRequest) GetStreamId() int32
- func (x *LogRequest) GetUrn() string
- func (*LogRequest) ProtoMessage()
- func (x *LogRequest) ProtoReflect() protoreflect.Message
- func (x *LogRequest) Reset()
- func (x *LogRequest) String() string
- type LogSeverity
- func (LogSeverity) Descriptor() protoreflect.EnumDescriptor
- func (x LogSeverity) Enum() *LogSeverity
- func (LogSeverity) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogSeverity) Number() protoreflect.EnumNumber
- func (x LogSeverity) String() string
- func (LogSeverity) Type() protoreflect.EnumType
- type PackRequest
- func (*PackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PackRequest) GetDestinationDirectory() string
- func (x *PackRequest) GetPackageDirectory() string
- func (*PackRequest) ProtoMessage()
- func (x *PackRequest) ProtoReflect() protoreflect.Message
- func (x *PackRequest) Reset()
- func (x *PackRequest) String() string
- type PackResponse
- type PackageDependency
- func (*PackageDependency) Descriptor() ([]byte, []int)deprecated
- func (x *PackageDependency) GetChecksums() map[string][]byte
- func (x *PackageDependency) GetKind() string
- func (x *PackageDependency) GetName() string
- func (x *PackageDependency) GetParameterization() *PackageParameterization
- func (x *PackageDependency) GetServer() string
- func (x *PackageDependency) GetVersion() string
- func (*PackageDependency) ProtoMessage()
- func (x *PackageDependency) ProtoReflect() protoreflect.Message
- func (x *PackageDependency) Reset()
- func (x *PackageDependency) String() string
- type PackageParameterization
- func (*PackageParameterization) Descriptor() ([]byte, []int)deprecated
- func (x *PackageParameterization) GetName() string
- func (x *PackageParameterization) GetValue() []byte
- func (x *PackageParameterization) GetVersion() string
- func (*PackageParameterization) ProtoMessage()
- func (x *PackageParameterization) ProtoReflect() protoreflect.Message
- func (x *PackageParameterization) Reset()
- func (x *PackageParameterization) String() string
- type Parameterization
- func (*Parameterization) Descriptor() ([]byte, []int)deprecated
- func (x *Parameterization) GetName() string
- func (x *Parameterization) GetValue() []byte
- func (x *Parameterization) GetVersion() string
- func (*Parameterization) ProtoMessage()
- func (x *Parameterization) ProtoReflect() protoreflect.Message
- func (x *Parameterization) Reset()
- func (x *Parameterization) String() string
- type ParameterizeRequest
- func (*ParameterizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterizeRequest) GetArgs() *ParameterizeRequest_ParametersArgs
- func (x *ParameterizeRequest) GetParameters() isParameterizeRequest_Parameters
- func (x *ParameterizeRequest) GetValue() *ParameterizeRequest_ParametersValue
- func (*ParameterizeRequest) ProtoMessage()
- func (x *ParameterizeRequest) ProtoReflect() protoreflect.Message
- func (x *ParameterizeRequest) Reset()
- func (x *ParameterizeRequest) String() string
- type ParameterizeRequest_Args
- type ParameterizeRequest_ParametersArgs
- func (*ParameterizeRequest_ParametersArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterizeRequest_ParametersArgs) GetArgs() []string
- func (*ParameterizeRequest_ParametersArgs) ProtoMessage()
- func (x *ParameterizeRequest_ParametersArgs) ProtoReflect() protoreflect.Message
- func (x *ParameterizeRequest_ParametersArgs) Reset()
- func (x *ParameterizeRequest_ParametersArgs) String() string
- type ParameterizeRequest_ParametersValue
- func (*ParameterizeRequest_ParametersValue) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterizeRequest_ParametersValue) GetName() string
- func (x *ParameterizeRequest_ParametersValue) GetValue() []byte
- func (x *ParameterizeRequest_ParametersValue) GetVersion() string
- func (*ParameterizeRequest_ParametersValue) ProtoMessage()
- func (x *ParameterizeRequest_ParametersValue) ProtoReflect() protoreflect.Message
- func (x *ParameterizeRequest_ParametersValue) Reset()
- func (x *ParameterizeRequest_ParametersValue) String() string
- type ParameterizeRequest_Value
- type ParameterizeResponse
- func (*ParameterizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterizeResponse) GetName() string
- func (x *ParameterizeResponse) GetVersion() string
- func (*ParameterizeResponse) ProtoMessage()
- func (x *ParameterizeResponse) ProtoReflect() protoreflect.Message
- func (x *ParameterizeResponse) Reset()
- func (x *ParameterizeResponse) String() string
- type PluginAttach
- type PluginDependency
- func (*PluginDependency) Descriptor() ([]byte, []int)deprecated
- func (x *PluginDependency) GetChecksums() map[string][]byte
- func (x *PluginDependency) GetKind() string
- func (x *PluginDependency) GetName() string
- func (x *PluginDependency) GetServer() string
- func (x *PluginDependency) GetVersion() string
- func (*PluginDependency) ProtoMessage()
- func (x *PluginDependency) ProtoReflect() protoreflect.Message
- func (x *PluginDependency) Reset()
- func (x *PluginDependency) String() string
- type PluginInfo
- type PolicyComplianceFramework
- func (*PolicyComplianceFramework) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyComplianceFramework) GetName() string
- func (x *PolicyComplianceFramework) GetReference() string
- func (x *PolicyComplianceFramework) GetSpecification() string
- func (x *PolicyComplianceFramework) GetVersion() string
- func (*PolicyComplianceFramework) ProtoMessage()
- func (x *PolicyComplianceFramework) ProtoReflect() protoreflect.Message
- func (x *PolicyComplianceFramework) Reset()
- func (x *PolicyComplianceFramework) String() string
- type PolicyConfig
- func (*PolicyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyConfig) GetEnforcementLevel() EnforcementLevel
- func (x *PolicyConfig) GetProperties() *structpb.Struct
- func (*PolicyConfig) ProtoMessage()
- func (x *PolicyConfig) ProtoReflect() protoreflect.Message
- func (x *PolicyConfig) Reset()
- func (x *PolicyConfig) String() string
- type PolicyConfigSchema
- func (*PolicyConfigSchema) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyConfigSchema) GetProperties() *structpb.Struct
- func (x *PolicyConfigSchema) GetRequired() []string
- func (*PolicyConfigSchema) ProtoMessage()
- func (x *PolicyConfigSchema) ProtoReflect() protoreflect.Message
- func (x *PolicyConfigSchema) Reset()
- func (x *PolicyConfigSchema) String() string
- type PolicyInfo
- func (*PolicyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyInfo) GetConfigSchema() *PolicyConfigSchema
- func (x *PolicyInfo) GetDescription() string
- func (x *PolicyInfo) GetDisplayName() string
- func (x *PolicyInfo) GetEnforcementLevel() EnforcementLevel
- func (x *PolicyInfo) GetFramework() *PolicyComplianceFramework
- func (x *PolicyInfo) GetMessage() string
- func (x *PolicyInfo) GetName() string
- func (x *PolicyInfo) GetPolicyType() PolicyType
- func (x *PolicyInfo) GetRemediationSteps() string
- func (x *PolicyInfo) GetSeverity() PolicySeverity
- func (x *PolicyInfo) GetTags() []string
- func (x *PolicyInfo) GetUrl() string
- func (*PolicyInfo) ProtoMessage()
- func (x *PolicyInfo) ProtoReflect() protoreflect.Message
- func (x *PolicyInfo) Reset()
- func (x *PolicyInfo) String() string
- type PolicyNotApplicable
- func (*PolicyNotApplicable) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyNotApplicable) GetPolicyName() string
- func (x *PolicyNotApplicable) GetReason() string
- func (*PolicyNotApplicable) ProtoMessage()
- func (x *PolicyNotApplicable) ProtoReflect() protoreflect.Message
- func (x *PolicyNotApplicable) Reset()
- func (x *PolicyNotApplicable) String() string
- type PolicySeverity
- func (PolicySeverity) Descriptor() protoreflect.EnumDescriptor
- func (x PolicySeverity) Enum() *PolicySeverity
- func (PolicySeverity) EnumDescriptor() ([]byte, []int)deprecated
- func (x PolicySeverity) Number() protoreflect.EnumNumber
- func (x PolicySeverity) String() string
- func (PolicySeverity) Type() protoreflect.EnumType
- type PolicyType
- type ProgramInfo
- func (*ProgramInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProgramInfo) GetEntryPoint() string
- func (x *ProgramInfo) GetOptions() *structpb.Struct
- func (x *ProgramInfo) GetProgramDirectory() string
- func (x *ProgramInfo) GetRootDirectory() string
- func (*ProgramInfo) ProtoMessage()
- func (x *ProgramInfo) ProtoReflect() protoreflect.Message
- func (x *ProgramInfo) Reset()
- func (x *ProgramInfo) String() string
- type PropertyDiff
- func (*PropertyDiff) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyDiff) GetInputDiff() bool
- func (x *PropertyDiff) GetKind() PropertyDiff_Kind
- func (*PropertyDiff) ProtoMessage()
- func (x *PropertyDiff) ProtoReflect() protoreflect.Message
- func (x *PropertyDiff) Reset()
- func (x *PropertyDiff) String() string
- type PropertyDiff_Kind
- func (PropertyDiff_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x PropertyDiff_Kind) Enum() *PropertyDiff_Kind
- func (PropertyDiff_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x PropertyDiff_Kind) Number() protoreflect.EnumNumber
- func (x PropertyDiff_Kind) String() string
- func (PropertyDiff_Kind) Type() protoreflect.EnumType
- type ProviderHandshakeRequest
- func (*ProviderHandshakeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderHandshakeRequest) GetConfigureWithUrn() bool
- func (x *ProviderHandshakeRequest) GetEngineAddress() string
- func (x *ProviderHandshakeRequest) GetProgramDirectory() string
- func (x *ProviderHandshakeRequest) GetRootDirectory() string
- func (x *ProviderHandshakeRequest) GetSupportsRefreshBeforeUpdate() bool
- func (x *ProviderHandshakeRequest) GetSupportsViews() bool
- func (*ProviderHandshakeRequest) ProtoMessage()
- func (x *ProviderHandshakeRequest) ProtoReflect() protoreflect.Message
- func (x *ProviderHandshakeRequest) Reset()
- func (x *ProviderHandshakeRequest) String() string
- type ProviderHandshakeResponse
- func (*ProviderHandshakeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderHandshakeResponse) GetAcceptOutputs() bool
- func (x *ProviderHandshakeResponse) GetAcceptResources() bool
- func (x *ProviderHandshakeResponse) GetAcceptSecrets() bool
- func (x *ProviderHandshakeResponse) GetSupportsAutonamingConfiguration() bool
- func (*ProviderHandshakeResponse) ProtoMessage()
- func (x *ProviderHandshakeResponse) ProtoReflect() protoreflect.Message
- func (x *ProviderHandshakeResponse) Reset()
- func (x *ProviderHandshakeResponse) String() string
- type PublishViewStepsRequest
- func (*PublishViewStepsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishViewStepsRequest) GetSteps() []*ViewStep
- func (x *PublishViewStepsRequest) GetToken() string
- func (*PublishViewStepsRequest) ProtoMessage()
- func (x *PublishViewStepsRequest) ProtoReflect() protoreflect.Message
- func (x *PublishViewStepsRequest) Reset()
- func (x *PublishViewStepsRequest) String() string
- type PublishViewStepsResponse
- type ReadRequest
- func (*ReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadRequest) GetId() string
- func (x *ReadRequest) GetInputs() *structpb.Struct
- func (x *ReadRequest) GetName() string
- func (x *ReadRequest) GetOldViews() []*View
- func (x *ReadRequest) GetProperties() *structpb.Struct
- func (x *ReadRequest) GetResourceStatusAddress() string
- func (x *ReadRequest) GetResourceStatusToken() string
- func (x *ReadRequest) GetType() string
- func (x *ReadRequest) GetUrn() string
- func (*ReadRequest) ProtoMessage()
- func (x *ReadRequest) ProtoReflect() protoreflect.Message
- func (x *ReadRequest) Reset()
- func (x *ReadRequest) String() string
- type ReadResourceRequest
- func (*ReadResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResourceRequest) GetAcceptResources() bool
- func (x *ReadResourceRequest) GetAcceptSecrets() bool
- func (x *ReadResourceRequest) GetAdditionalSecretOutputs() []string
- func (x *ReadResourceRequest) GetDependencies() []string
- func (x *ReadResourceRequest) GetId() string
- func (x *ReadResourceRequest) GetName() string
- func (x *ReadResourceRequest) GetPackageRef() string
- func (x *ReadResourceRequest) GetParent() string
- func (x *ReadResourceRequest) GetParentStackTraceHandle() string
- func (x *ReadResourceRequest) GetPluginChecksums() map[string][]byte
- func (x *ReadResourceRequest) GetPluginDownloadURL() string
- func (x *ReadResourceRequest) GetProperties() *structpb.Struct
- func (x *ReadResourceRequest) GetProvider() string
- func (x *ReadResourceRequest) GetSourcePosition() *SourcePosition
- func (x *ReadResourceRequest) GetStackTrace() *StackTrace
- func (x *ReadResourceRequest) GetType() string
- func (x *ReadResourceRequest) GetVersion() string
- func (*ReadResourceRequest) ProtoMessage()
- func (x *ReadResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ReadResourceRequest) Reset()
- func (x *ReadResourceRequest) String() string
- type ReadResourceResponse
- func (*ReadResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResourceResponse) GetProperties() *structpb.Struct
- func (x *ReadResourceResponse) GetUrn() string
- func (*ReadResourceResponse) ProtoMessage()
- func (x *ReadResourceResponse) ProtoReflect() protoreflect.Message
- func (x *ReadResourceResponse) Reset()
- func (x *ReadResourceResponse) String() string
- type ReadResponse
- func (*ReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResponse) GetId() string
- func (x *ReadResponse) GetInputs() *structpb.Struct
- func (x *ReadResponse) GetProperties() *structpb.Struct
- func (x *ReadResponse) GetRefreshBeforeUpdate() bool
- func (*ReadResponse) ProtoMessage()
- func (x *ReadResponse) ProtoReflect() protoreflect.Message
- func (x *ReadResponse) Reset()
- func (x *ReadResponse) String() string
- type RegisterPackageRequest
- func (*RegisterPackageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPackageRequest) GetChecksums() map[string][]byte
- func (x *RegisterPackageRequest) GetDownloadUrl() string
- func (x *RegisterPackageRequest) GetName() string
- func (x *RegisterPackageRequest) GetParameterization() *Parameterization
- func (x *RegisterPackageRequest) GetVersion() string
- func (*RegisterPackageRequest) ProtoMessage()
- func (x *RegisterPackageRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPackageRequest) Reset()
- func (x *RegisterPackageRequest) String() string
- type RegisterPackageResponse
- func (*RegisterPackageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPackageResponse) GetRef() string
- func (*RegisterPackageResponse) ProtoMessage()
- func (x *RegisterPackageResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterPackageResponse) Reset()
- func (x *RegisterPackageResponse) String() string
- type RegisterResourceHookRequest
- func (*RegisterResourceHookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResourceHookRequest) GetCallback() *Callback
- func (x *RegisterResourceHookRequest) GetName() string
- func (x *RegisterResourceHookRequest) GetOnDryRun() bool
- func (*RegisterResourceHookRequest) ProtoMessage()
- func (x *RegisterResourceHookRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterResourceHookRequest) Reset()
- func (x *RegisterResourceHookRequest) String() string
- type RegisterResourceOutputsRequest
- func (*RegisterResourceOutputsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResourceOutputsRequest) GetOutputs() *structpb.Struct
- func (x *RegisterResourceOutputsRequest) GetUrn() string
- func (*RegisterResourceOutputsRequest) ProtoMessage()
- func (x *RegisterResourceOutputsRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterResourceOutputsRequest) Reset()
- func (x *RegisterResourceOutputsRequest) String() string
- type RegisterResourceRequest
- func (*RegisterResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResourceRequest) GetAcceptResources() bool
- func (x *RegisterResourceRequest) GetAcceptSecrets() bool
- func (x *RegisterResourceRequest) GetAdditionalSecretOutputs() []string
- func (x *RegisterResourceRequest) GetAliasSpecs() bool
- func (x *RegisterResourceRequest) GetAliasURNs() []string
- func (x *RegisterResourceRequest) GetAliases() []*Alias
- func (x *RegisterResourceRequest) GetCustom() bool
- func (x *RegisterResourceRequest) GetCustomTimeouts() *RegisterResourceRequest_CustomTimeouts
- func (x *RegisterResourceRequest) GetDeleteBeforeReplace() bool
- func (x *RegisterResourceRequest) GetDeleteBeforeReplaceDefined() bool
- func (x *RegisterResourceRequest) GetDeletedWith() string
- func (x *RegisterResourceRequest) GetDependencies() []string
- func (x *RegisterResourceRequest) GetHooks() *RegisterResourceRequest_ResourceHooksBinding
- func (x *RegisterResourceRequest) GetIgnoreChanges() []string
- func (x *RegisterResourceRequest) GetImportId() string
- func (x *RegisterResourceRequest) GetName() string
- func (x *RegisterResourceRequest) GetObject() *structpb.Struct
- func (x *RegisterResourceRequest) GetPackageRef() string
- func (x *RegisterResourceRequest) GetParent() string
- func (x *RegisterResourceRequest) GetParentStackTraceHandle() string
- func (x *RegisterResourceRequest) GetPluginChecksums() map[string][]byte
- func (x *RegisterResourceRequest) GetPluginDownloadURL() string
- func (x *RegisterResourceRequest) GetPropertyDependencies() map[string]*RegisterResourceRequest_PropertyDependencies
- func (x *RegisterResourceRequest) GetProtect() bool
- func (x *RegisterResourceRequest) GetProvider() string
- func (x *RegisterResourceRequest) GetProviders() map[string]string
- func (x *RegisterResourceRequest) GetRemote() bool
- func (x *RegisterResourceRequest) GetReplaceOnChanges() []string
- func (x *RegisterResourceRequest) GetRetainOnDelete() bool
- func (x *RegisterResourceRequest) GetSourcePosition() *SourcePosition
- func (x *RegisterResourceRequest) GetStackTrace() *StackTrace
- func (x *RegisterResourceRequest) GetSupportsPartialValues() bool
- func (x *RegisterResourceRequest) GetSupportsResultReporting() bool
- func (x *RegisterResourceRequest) GetTransforms() []*Callback
- func (x *RegisterResourceRequest) GetType() string
- func (x *RegisterResourceRequest) GetVersion() string
- func (*RegisterResourceRequest) ProtoMessage()
- func (x *RegisterResourceRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterResourceRequest) Reset()
- func (x *RegisterResourceRequest) String() string
- type RegisterResourceRequest_CustomTimeouts
- func (*RegisterResourceRequest_CustomTimeouts) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResourceRequest_CustomTimeouts) GetCreate() string
- func (x *RegisterResourceRequest_CustomTimeouts) GetDelete() string
- func (x *RegisterResourceRequest_CustomTimeouts) GetUpdate() string
- func (*RegisterResourceRequest_CustomTimeouts) ProtoMessage()
- func (x *RegisterResourceRequest_CustomTimeouts) ProtoReflect() protoreflect.Message
- func (x *RegisterResourceRequest_CustomTimeouts) Reset()
- func (x *RegisterResourceRequest_CustomTimeouts) String() string
- type RegisterResourceRequest_PropertyDependencies
- func (*RegisterResourceRequest_PropertyDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResourceRequest_PropertyDependencies) GetUrns() []string
- func (*RegisterResourceRequest_PropertyDependencies) ProtoMessage()
- func (x *RegisterResourceRequest_PropertyDependencies) ProtoReflect() protoreflect.Message
- func (x *RegisterResourceRequest_PropertyDependencies) Reset()
- func (x *RegisterResourceRequest_PropertyDependencies) String() string
- type RegisterResourceRequest_ResourceHooksBinding
- func (*RegisterResourceRequest_ResourceHooksBinding) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResourceRequest_ResourceHooksBinding) GetAfterCreate() []string
- func (x *RegisterResourceRequest_ResourceHooksBinding) GetAfterDelete() []string
- func (x *RegisterResourceRequest_ResourceHooksBinding) GetAfterUpdate() []string
- func (x *RegisterResourceRequest_ResourceHooksBinding) GetBeforeCreate() []string
- func (x *RegisterResourceRequest_ResourceHooksBinding) GetBeforeDelete() []string
- func (x *RegisterResourceRequest_ResourceHooksBinding) GetBeforeUpdate() []string
- func (*RegisterResourceRequest_ResourceHooksBinding) ProtoMessage()
- func (x *RegisterResourceRequest_ResourceHooksBinding) ProtoReflect() protoreflect.Message
- func (x *RegisterResourceRequest_ResourceHooksBinding) Reset()
- func (x *RegisterResourceRequest_ResourceHooksBinding) String() string
- type RegisterResourceResponse
- func (*RegisterResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResourceResponse) GetId() string
- func (x *RegisterResourceResponse) GetObject() *structpb.Struct
- func (x *RegisterResourceResponse) GetPropertyDependencies() map[string]*RegisterResourceResponse_PropertyDependencies
- func (x *RegisterResourceResponse) GetResult() Result
- func (x *RegisterResourceResponse) GetStable() bool
- func (x *RegisterResourceResponse) GetStables() []string
- func (x *RegisterResourceResponse) GetUrn() string
- func (*RegisterResourceResponse) ProtoMessage()
- func (x *RegisterResourceResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResourceResponse) Reset()
- func (x *RegisterResourceResponse) String() string
- type RegisterResourceResponse_PropertyDependencies
- func (*RegisterResourceResponse_PropertyDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResourceResponse_PropertyDependencies) GetUrns() []string
- func (*RegisterResourceResponse_PropertyDependencies) ProtoMessage()
- func (x *RegisterResourceResponse_PropertyDependencies) ProtoReflect() protoreflect.Message
- func (x *RegisterResourceResponse_PropertyDependencies) Reset()
- func (x *RegisterResourceResponse_PropertyDependencies) String() string
- type RemediateResponse
- func (*RemediateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemediateResponse) GetNotApplicable() []*PolicyNotApplicable
- func (x *RemediateResponse) GetRemediations() []*Remediation
- func (*RemediateResponse) ProtoMessage()
- func (x *RemediateResponse) ProtoReflect() protoreflect.Message
- func (x *RemediateResponse) Reset()
- func (x *RemediateResponse) String() string
- type Remediation
- func (*Remediation) Descriptor() ([]byte, []int)deprecated
- func (x *Remediation) GetDescription() string
- func (x *Remediation) GetDiagnostic() string
- func (x *Remediation) GetPolicyName() string
- func (x *Remediation) GetPolicyPackName() string
- func (x *Remediation) GetPolicyPackVersion() string
- func (x *Remediation) GetProperties() *structpb.Struct
- func (*Remediation) ProtoMessage()
- func (x *Remediation) ProtoReflect() protoreflect.Message
- func (x *Remediation) Reset()
- func (x *Remediation) String() string
- type ResourceCallRequest
- func (*ResourceCallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCallRequest) GetArgDependencies() map[string]*ResourceCallRequest_ArgumentDependencies
- func (x *ResourceCallRequest) GetArgs() *structpb.Struct
- func (x *ResourceCallRequest) GetPackageRef() string
- func (x *ResourceCallRequest) GetParentStackTraceHandle() string
- func (x *ResourceCallRequest) GetPluginChecksums() map[string][]byte
- func (x *ResourceCallRequest) GetPluginDownloadURL() string
- func (x *ResourceCallRequest) GetProvider() string
- func (x *ResourceCallRequest) GetSourcePosition() *SourcePosition
- func (x *ResourceCallRequest) GetStackTrace() *StackTrace
- func (x *ResourceCallRequest) GetTok() string
- func (x *ResourceCallRequest) GetVersion() string
- func (*ResourceCallRequest) ProtoMessage()
- func (x *ResourceCallRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceCallRequest) Reset()
- func (x *ResourceCallRequest) String() string
- type ResourceCallRequest_ArgumentDependencies
- func (*ResourceCallRequest_ArgumentDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCallRequest_ArgumentDependencies) GetUrns() []string
- func (*ResourceCallRequest_ArgumentDependencies) ProtoMessage()
- func (x *ResourceCallRequest_ArgumentDependencies) ProtoReflect() protoreflect.Message
- func (x *ResourceCallRequest_ArgumentDependencies) Reset()
- func (x *ResourceCallRequest_ArgumentDependencies) String() string
- type ResourceHookRequest
- func (*ResourceHookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceHookRequest) GetId() string
- func (x *ResourceHookRequest) GetName() string
- func (x *ResourceHookRequest) GetNewInputs() *structpb.Struct
- func (x *ResourceHookRequest) GetNewOutputs() *structpb.Struct
- func (x *ResourceHookRequest) GetOldInputs() *structpb.Struct
- func (x *ResourceHookRequest) GetOldOutputs() *structpb.Struct
- func (x *ResourceHookRequest) GetType() string
- func (x *ResourceHookRequest) GetUrn() string
- func (*ResourceHookRequest) ProtoMessage()
- func (x *ResourceHookRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceHookRequest) Reset()
- func (x *ResourceHookRequest) String() string
- type ResourceHookResponse
- func (*ResourceHookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceHookResponse) GetError() string
- func (*ResourceHookResponse) ProtoMessage()
- func (x *ResourceHookResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceHookResponse) Reset()
- func (x *ResourceHookResponse) String() string
- type ResourceImport
- func (*ResourceImport) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceImport) GetId() string
- func (x *ResourceImport) GetIsComponent() bool
- func (x *ResourceImport) GetIsRemote() bool
- func (x *ResourceImport) GetLogicalName() string
- func (x *ResourceImport) GetName() string
- func (x *ResourceImport) GetPluginDownloadURL() string
- func (x *ResourceImport) GetType() string
- func (x *ResourceImport) GetVersion() string
- func (*ResourceImport) ProtoMessage()
- func (x *ResourceImport) ProtoReflect() protoreflect.Message
- func (x *ResourceImport) Reset()
- func (x *ResourceImport) String() string
- type ResourceInvokeRequest
- func (*ResourceInvokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceInvokeRequest) GetAcceptResources() bool
- func (x *ResourceInvokeRequest) GetArgs() *structpb.Struct
- func (x *ResourceInvokeRequest) GetPackageRef() string
- func (x *ResourceInvokeRequest) GetParentStackTraceHandle() string
- func (x *ResourceInvokeRequest) GetPluginChecksums() map[string][]byte
- func (x *ResourceInvokeRequest) GetPluginDownloadURL() string
- func (x *ResourceInvokeRequest) GetProvider() string
- func (x *ResourceInvokeRequest) GetSourcePosition() *SourcePosition
- func (x *ResourceInvokeRequest) GetStackTrace() *StackTrace
- func (x *ResourceInvokeRequest) GetTok() string
- func (x *ResourceInvokeRequest) GetVersion() string
- func (*ResourceInvokeRequest) ProtoMessage()
- func (x *ResourceInvokeRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceInvokeRequest) Reset()
- func (x *ResourceInvokeRequest) String() string
- type ResourceMonitorClient
- type ResourceMonitorServer
- type ResourceProviderClient
- type ResourceProviderServer
- type ResourceStatusClient
- type ResourceStatusServer
- type Result
- type RunPluginRequest
- func (*RunPluginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunPluginRequest) GetArgs() []string
- func (x *RunPluginRequest) GetAttachDebugger() bool
- func (x *RunPluginRequest) GetEnv() []string
- func (x *RunPluginRequest) GetInfo() *ProgramInfo
- func (x *RunPluginRequest) GetKind() string
- func (x *RunPluginRequest) GetName() string
- func (x *RunPluginRequest) GetProgram() stringdeprecated
- func (x *RunPluginRequest) GetPwd() string
- func (*RunPluginRequest) ProtoMessage()
- func (x *RunPluginRequest) ProtoReflect() protoreflect.Message
- func (x *RunPluginRequest) Reset()
- func (x *RunPluginRequest) String() string
- type RunPluginResponse
- func (*RunPluginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunPluginResponse) GetExitcode() int32
- func (x *RunPluginResponse) GetOutput() isRunPluginResponse_Output
- func (x *RunPluginResponse) GetStderr() []byte
- func (x *RunPluginResponse) GetStdout() []byte
- func (*RunPluginResponse) ProtoMessage()
- func (x *RunPluginResponse) ProtoReflect() protoreflect.Message
- func (x *RunPluginResponse) Reset()
- func (x *RunPluginResponse) String() string
- type RunPluginResponse_Exitcode
- type RunPluginResponse_Stderr
- type RunPluginResponse_Stdout
- type RunRequest
- func (*RunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunRequest) GetArgs() []string
- func (x *RunRequest) GetAttachDebugger() bool
- func (x *RunRequest) GetConfig() map[string]string
- func (x *RunRequest) GetConfigPropertyMap() *structpb.Structdeprecated
- func (x *RunRequest) GetConfigSecretKeys() []string
- func (x *RunRequest) GetDryRun() bool
- func (x *RunRequest) GetInfo() *ProgramInfo
- func (x *RunRequest) GetLoaderTarget() string
- func (x *RunRequest) GetMonitorAddress() string
- func (x *RunRequest) GetOrganization() string
- func (x *RunRequest) GetParallel() int32
- func (x *RunRequest) GetProgram() stringdeprecated
- func (x *RunRequest) GetProject() string
- func (x *RunRequest) GetPwd() string
- func (x *RunRequest) GetQueryMode() booldeprecated
- func (x *RunRequest) GetStack() string
- func (*RunRequest) ProtoMessage()
- func (x *RunRequest) ProtoReflect() protoreflect.Message
- func (x *RunRequest) Reset()
- func (x *RunRequest) String() string
- type RunResponse
- type RuntimeOptionPrompt
- func (*RuntimeOptionPrompt) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeOptionPrompt) GetChoices() []*RuntimeOptionPrompt_RuntimeOptionValue
- func (x *RuntimeOptionPrompt) GetDefault() *RuntimeOptionPrompt_RuntimeOptionValue
- func (x *RuntimeOptionPrompt) GetDescription() string
- func (x *RuntimeOptionPrompt) GetKey() string
- func (x *RuntimeOptionPrompt) GetPromptType() RuntimeOptionPrompt_RuntimeOptionType
- func (*RuntimeOptionPrompt) ProtoMessage()
- func (x *RuntimeOptionPrompt) ProtoReflect() protoreflect.Message
- func (x *RuntimeOptionPrompt) Reset()
- func (x *RuntimeOptionPrompt) String() string
- type RuntimeOptionPrompt_RuntimeOptionType
- func (RuntimeOptionPrompt_RuntimeOptionType) Descriptor() protoreflect.EnumDescriptor
- func (x RuntimeOptionPrompt_RuntimeOptionType) Enum() *RuntimeOptionPrompt_RuntimeOptionType
- func (RuntimeOptionPrompt_RuntimeOptionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuntimeOptionPrompt_RuntimeOptionType) Number() protoreflect.EnumNumber
- func (x RuntimeOptionPrompt_RuntimeOptionType) String() string
- func (RuntimeOptionPrompt_RuntimeOptionType) Type() protoreflect.EnumType
- type RuntimeOptionPrompt_RuntimeOptionValue
- func (*RuntimeOptionPrompt_RuntimeOptionValue) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetDisplayName() string
- func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetInt32Value() int32
- func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetPromptType() RuntimeOptionPrompt_RuntimeOptionType
- func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetStringValue() string
- func (*RuntimeOptionPrompt_RuntimeOptionValue) ProtoMessage()
- func (x *RuntimeOptionPrompt_RuntimeOptionValue) ProtoReflect() protoreflect.Message
- func (x *RuntimeOptionPrompt_RuntimeOptionValue) Reset()
- func (x *RuntimeOptionPrompt_RuntimeOptionValue) String() string
- type RuntimeOptionsRequest
- func (*RuntimeOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeOptionsRequest) GetInfo() *ProgramInfo
- func (*RuntimeOptionsRequest) ProtoMessage()
- func (x *RuntimeOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *RuntimeOptionsRequest) Reset()
- func (x *RuntimeOptionsRequest) String() string
- type RuntimeOptionsResponse
- func (*RuntimeOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeOptionsResponse) GetPrompts() []*RuntimeOptionPrompt
- func (*RuntimeOptionsResponse) ProtoMessage()
- func (x *RuntimeOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *RuntimeOptionsResponse) Reset()
- func (x *RuntimeOptionsResponse) String() string
- type SetRootResourceRequest
- func (*SetRootResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetRootResourceRequest) GetUrn() string
- func (*SetRootResourceRequest) ProtoMessage()
- func (x *SetRootResourceRequest) ProtoReflect() protoreflect.Message
- func (x *SetRootResourceRequest) Reset()
- func (x *SetRootResourceRequest) String() string
- type SetRootResourceResponse
- type SourcePosition
- func (*SourcePosition) Descriptor() ([]byte, []int)deprecated
- func (x *SourcePosition) GetColumn() int32
- func (x *SourcePosition) GetLine() int32
- func (x *SourcePosition) GetUri() string
- func (*SourcePosition) ProtoMessage()
- func (x *SourcePosition) ProtoReflect() protoreflect.Message
- func (x *SourcePosition) Reset()
- func (x *SourcePosition) String() string
- type StackFrame
- type StackTrace
- type StartDebuggingRequest
- func (*StartDebuggingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartDebuggingRequest) GetConfig() *structpb.Struct
- func (x *StartDebuggingRequest) GetMessage() string
- func (*StartDebuggingRequest) ProtoMessage()
- func (x *StartDebuggingRequest) ProtoReflect() protoreflect.Message
- func (x *StartDebuggingRequest) Reset()
- func (x *StartDebuggingRequest) String() string
- type SupportsFeatureRequest
- func (*SupportsFeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SupportsFeatureRequest) GetId() string
- func (*SupportsFeatureRequest) ProtoMessage()
- func (x *SupportsFeatureRequest) ProtoReflect() protoreflect.Message
- func (x *SupportsFeatureRequest) Reset()
- func (x *SupportsFeatureRequest) String() string
- type SupportsFeatureResponse
- func (*SupportsFeatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SupportsFeatureResponse) GetHasSupport() bool
- func (*SupportsFeatureResponse) ProtoMessage()
- func (x *SupportsFeatureResponse) ProtoReflect() protoreflect.Message
- func (x *SupportsFeatureResponse) Reset()
- func (x *SupportsFeatureResponse) String() string
- type TransformInvokeOptions
- func (*TransformInvokeOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TransformInvokeOptions) GetPluginChecksums() map[string][]byte
- func (x *TransformInvokeOptions) GetPluginDownloadUrl() string
- func (x *TransformInvokeOptions) GetProvider() string
- func (x *TransformInvokeOptions) GetVersion() string
- func (*TransformInvokeOptions) ProtoMessage()
- func (x *TransformInvokeOptions) ProtoReflect() protoreflect.Message
- func (x *TransformInvokeOptions) Reset()
- func (x *TransformInvokeOptions) String() string
- type TransformInvokeRequest
- func (*TransformInvokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransformInvokeRequest) GetArgs() *structpb.Struct
- func (x *TransformInvokeRequest) GetOptions() *TransformInvokeOptions
- func (x *TransformInvokeRequest) GetToken() string
- func (*TransformInvokeRequest) ProtoMessage()
- func (x *TransformInvokeRequest) ProtoReflect() protoreflect.Message
- func (x *TransformInvokeRequest) Reset()
- func (x *TransformInvokeRequest) String() string
- type TransformInvokeResponse
- func (*TransformInvokeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransformInvokeResponse) GetArgs() *structpb.Struct
- func (x *TransformInvokeResponse) GetOptions() *TransformInvokeOptions
- func (*TransformInvokeResponse) ProtoMessage()
- func (x *TransformInvokeResponse) ProtoReflect() protoreflect.Message
- func (x *TransformInvokeResponse) Reset()
- func (x *TransformInvokeResponse) String() string
- type TransformRequest
- func (*TransformRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransformRequest) GetCustom() bool
- func (x *TransformRequest) GetName() string
- func (x *TransformRequest) GetOptions() *TransformResourceOptions
- func (x *TransformRequest) GetParent() string
- func (x *TransformRequest) GetProperties() *structpb.Struct
- func (x *TransformRequest) GetType() string
- func (*TransformRequest) ProtoMessage()
- func (x *TransformRequest) ProtoReflect() protoreflect.Message
- func (x *TransformRequest) Reset()
- func (x *TransformRequest) String() string
- type TransformResourceOptions
- func (*TransformResourceOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TransformResourceOptions) GetAdditionalSecretOutputs() []string
- func (x *TransformResourceOptions) GetAliases() []*Alias
- func (x *TransformResourceOptions) GetCustomTimeouts() *RegisterResourceRequest_CustomTimeouts
- func (x *TransformResourceOptions) GetDeleteBeforeReplace() bool
- func (x *TransformResourceOptions) GetDeletedWith() string
- func (x *TransformResourceOptions) GetDependsOn() []string
- func (x *TransformResourceOptions) GetHooks() *RegisterResourceRequest_ResourceHooksBinding
- func (x *TransformResourceOptions) GetIgnoreChanges() []string
- func (x *TransformResourceOptions) GetPluginChecksums() map[string][]byte
- func (x *TransformResourceOptions) GetPluginDownloadUrl() string
- func (x *TransformResourceOptions) GetProtect() bool
- func (x *TransformResourceOptions) GetProvider() string
- func (x *TransformResourceOptions) GetProviders() map[string]string
- func (x *TransformResourceOptions) GetReplaceOnChanges() []string
- func (x *TransformResourceOptions) GetRetainOnDelete() bool
- func (x *TransformResourceOptions) GetVersion() string
- func (*TransformResourceOptions) ProtoMessage()
- func (x *TransformResourceOptions) ProtoReflect() protoreflect.Message
- func (x *TransformResourceOptions) Reset()
- func (x *TransformResourceOptions) String() string
- type TransformResponse
- func (*TransformResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransformResponse) GetOptions() *TransformResourceOptions
- func (x *TransformResponse) GetProperties() *structpb.Struct
- func (*TransformResponse) ProtoMessage()
- func (x *TransformResponse) ProtoReflect() protoreflect.Message
- func (x *TransformResponse) Reset()
- func (x *TransformResponse) String() string
- type UnimplementedAnalyzerServer
- func (UnimplementedAnalyzerServer) Analyze(context.Context, *AnalyzeRequest) (*AnalyzeResponse, error)
- func (UnimplementedAnalyzerServer) AnalyzeStack(context.Context, *AnalyzeStackRequest) (*AnalyzeResponse, error)
- func (UnimplementedAnalyzerServer) Cancel(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedAnalyzerServer) Configure(context.Context, *ConfigureAnalyzerRequest) (*emptypb.Empty, error)
- func (UnimplementedAnalyzerServer) ConfigureStack(context.Context, *AnalyzerStackConfigureRequest) (*AnalyzerStackConfigureResponse, error)
- func (UnimplementedAnalyzerServer) GetAnalyzerInfo(context.Context, *emptypb.Empty) (*AnalyzerInfo, error)
- func (UnimplementedAnalyzerServer) GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
- func (UnimplementedAnalyzerServer) Handshake(context.Context, *AnalyzerHandshakeRequest) (*AnalyzerHandshakeResponse, error)
- func (UnimplementedAnalyzerServer) Remediate(context.Context, *AnalyzeRequest) (*RemediateResponse, error)
- type UnimplementedCallbacksServer
- type UnimplementedConverterServer
- type UnimplementedEngineServer
- func (UnimplementedEngineServer) GetRootResource(context.Context, *GetRootResourceRequest) (*GetRootResourceResponse, error)
- func (UnimplementedEngineServer) Log(context.Context, *LogRequest) (*emptypb.Empty, error)
- func (UnimplementedEngineServer) SetRootResource(context.Context, *SetRootResourceRequest) (*SetRootResourceResponse, error)
- func (UnimplementedEngineServer) StartDebugging(context.Context, *StartDebuggingRequest) (*emptypb.Empty, error)
- type UnimplementedLanguageRuntimeServer
- func (UnimplementedLanguageRuntimeServer) About(context.Context, *AboutRequest) (*AboutResponse, error)
- func (UnimplementedLanguageRuntimeServer) Cancel(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedLanguageRuntimeServer) GeneratePackage(context.Context, *GeneratePackageRequest) (*GeneratePackageResponse, error)
- func (UnimplementedLanguageRuntimeServer) GenerateProgram(context.Context, *GenerateProgramRequest) (*GenerateProgramResponse, error)
- func (UnimplementedLanguageRuntimeServer) GenerateProject(context.Context, *GenerateProjectRequest) (*GenerateProjectResponse, error)
- func (UnimplementedLanguageRuntimeServer) GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
- func (UnimplementedLanguageRuntimeServer) GetProgramDependencies(context.Context, *GetProgramDependenciesRequest) (*GetProgramDependenciesResponse, error)
- func (UnimplementedLanguageRuntimeServer) GetRequiredPackages(context.Context, *GetRequiredPackagesRequest) (*GetRequiredPackagesResponse, error)
- func (UnimplementedLanguageRuntimeServer) GetRequiredPlugins(context.Context, *GetRequiredPluginsRequest) (*GetRequiredPluginsResponse, error)
- func (UnimplementedLanguageRuntimeServer) Handshake(context.Context, *LanguageHandshakeRequest) (*LanguageHandshakeResponse, error)
- func (UnimplementedLanguageRuntimeServer) InstallDependencies(*InstallDependenciesRequest, ...) error
- func (UnimplementedLanguageRuntimeServer) Link(context.Context, *LinkRequest) (*LinkResponse, error)
- func (UnimplementedLanguageRuntimeServer) Pack(context.Context, *PackRequest) (*PackResponse, error)
- func (UnimplementedLanguageRuntimeServer) Run(context.Context, *RunRequest) (*RunResponse, error)
- func (UnimplementedLanguageRuntimeServer) RunPlugin(*RunPluginRequest, grpc.ServerStreamingServer[RunPluginResponse]) error
- func (UnimplementedLanguageRuntimeServer) RuntimeOptionsPrompts(context.Context, *RuntimeOptionsRequest) (*RuntimeOptionsResponse, error)
- type UnimplementedResourceMonitorServer
- func (UnimplementedResourceMonitorServer) Call(context.Context, *ResourceCallRequest) (*CallResponse, error)
- func (UnimplementedResourceMonitorServer) Invoke(context.Context, *ResourceInvokeRequest) (*InvokeResponse, error)
- func (UnimplementedResourceMonitorServer) ReadResource(context.Context, *ReadResourceRequest) (*ReadResourceResponse, error)
- func (UnimplementedResourceMonitorServer) RegisterPackage(context.Context, *RegisterPackageRequest) (*RegisterPackageResponse, error)
- func (UnimplementedResourceMonitorServer) RegisterResource(context.Context, *RegisterResourceRequest) (*RegisterResourceResponse, error)
- func (UnimplementedResourceMonitorServer) RegisterResourceHook(context.Context, *RegisterResourceHookRequest) (*emptypb.Empty, error)
- func (UnimplementedResourceMonitorServer) RegisterResourceOutputs(context.Context, *RegisterResourceOutputsRequest) (*emptypb.Empty, error)
- func (UnimplementedResourceMonitorServer) RegisterStackInvokeTransform(context.Context, *Callback) (*emptypb.Empty, error)
- func (UnimplementedResourceMonitorServer) RegisterStackTransform(context.Context, *Callback) (*emptypb.Empty, error)
- func (UnimplementedResourceMonitorServer) SignalAndWaitForShutdown(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedResourceMonitorServer) SupportsFeature(context.Context, *SupportsFeatureRequest) (*SupportsFeatureResponse, error)
- type UnimplementedResourceProviderServer
- func (UnimplementedResourceProviderServer) Attach(context.Context, *PluginAttach) (*emptypb.Empty, error)
- func (UnimplementedResourceProviderServer) Call(context.Context, *CallRequest) (*CallResponse, error)
- func (UnimplementedResourceProviderServer) Cancel(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedResourceProviderServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- func (UnimplementedResourceProviderServer) CheckConfig(context.Context, *CheckRequest) (*CheckResponse, error)
- func (UnimplementedResourceProviderServer) Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error)
- func (UnimplementedResourceProviderServer) Construct(context.Context, *ConstructRequest) (*ConstructResponse, error)
- func (UnimplementedResourceProviderServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedResourceProviderServer) Delete(context.Context, *DeleteRequest) (*emptypb.Empty, error)
- func (UnimplementedResourceProviderServer) Diff(context.Context, *DiffRequest) (*DiffResponse, error)
- func (UnimplementedResourceProviderServer) DiffConfig(context.Context, *DiffRequest) (*DiffResponse, error)
- func (UnimplementedResourceProviderServer) GetMapping(context.Context, *GetMappingRequest) (*GetMappingResponse, error)
- func (UnimplementedResourceProviderServer) GetMappings(context.Context, *GetMappingsRequest) (*GetMappingsResponse, error)
- func (UnimplementedResourceProviderServer) GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
- func (UnimplementedResourceProviderServer) GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)
- func (UnimplementedResourceProviderServer) Handshake(context.Context, *ProviderHandshakeRequest) (*ProviderHandshakeResponse, error)
- func (UnimplementedResourceProviderServer) Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
- func (UnimplementedResourceProviderServer) Parameterize(context.Context, *ParameterizeRequest) (*ParameterizeResponse, error)
- func (UnimplementedResourceProviderServer) Read(context.Context, *ReadRequest) (*ReadResponse, error)
- func (UnimplementedResourceProviderServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnimplementedResourceStatusServer
- type UnsafeAnalyzerServer
- type UnsafeCallbacksServer
- type UnsafeConverterServer
- type UnsafeEngineServer
- type UnsafeLanguageRuntimeServer
- type UnsafeResourceMonitorServer
- type UnsafeResourceProviderServer
- type UnsafeResourceStatusServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetId() string
- func (x *UpdateRequest) GetIgnoreChanges() []string
- func (x *UpdateRequest) GetName() string
- func (x *UpdateRequest) GetNews() *structpb.Struct
- func (x *UpdateRequest) GetOldInputs() *structpb.Struct
- func (x *UpdateRequest) GetOldViews() []*View
- func (x *UpdateRequest) GetOlds() *structpb.Struct
- func (x *UpdateRequest) GetPreview() bool
- func (x *UpdateRequest) GetResourceStatusAddress() string
- func (x *UpdateRequest) GetResourceStatusToken() string
- func (x *UpdateRequest) GetTimeout() float64
- func (x *UpdateRequest) GetType() string
- func (x *UpdateRequest) GetUrn() string
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResponse) GetProperties() *structpb.Struct
- func (x *UpdateResponse) GetRefreshBeforeUpdate() bool
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
- type View
- func (*View) Descriptor() ([]byte, []int)deprecated
- func (x *View) GetInputs() *structpb.Struct
- func (x *View) GetName() string
- func (x *View) GetOutputs() *structpb.Struct
- func (x *View) GetParentName() string
- func (x *View) GetParentType() string
- func (x *View) GetType() string
- func (*View) ProtoMessage()
- func (x *View) ProtoReflect() protoreflect.Message
- func (x *View) Reset()
- func (x *View) String() string
- type ViewStep
- func (*ViewStep) Descriptor() ([]byte, []int)deprecated
- func (x *ViewStep) GetDetailedDiff() map[string]*PropertyDiff
- func (x *ViewStep) GetDiffs() []string
- func (x *ViewStep) GetError() string
- func (x *ViewStep) GetHasDetailedDiff() bool
- func (x *ViewStep) GetKeys() []string
- func (x *ViewStep) GetName() string
- func (x *ViewStep) GetNew() *ViewStepState
- func (x *ViewStep) GetOld() *ViewStepState
- func (x *ViewStep) GetOp() ViewStep_Op
- func (x *ViewStep) GetStatus() ViewStep_Status
- func (x *ViewStep) GetType() string
- func (*ViewStep) ProtoMessage()
- func (x *ViewStep) ProtoReflect() protoreflect.Message
- func (x *ViewStep) Reset()
- func (x *ViewStep) String() string
- type ViewStepState
- func (*ViewStepState) Descriptor() ([]byte, []int)deprecated
- func (x *ViewStepState) GetInputs() *structpb.Struct
- func (x *ViewStepState) GetName() string
- func (x *ViewStepState) GetOutputs() *structpb.Struct
- func (x *ViewStepState) GetParentName() string
- func (x *ViewStepState) GetParentType() string
- func (x *ViewStepState) GetType() string
- func (*ViewStepState) ProtoMessage()
- func (x *ViewStepState) ProtoReflect() protoreflect.Message
- func (x *ViewStepState) Reset()
- func (x *ViewStepState) String() string
- type ViewStep_Op
- func (ViewStep_Op) Descriptor() protoreflect.EnumDescriptor
- func (x ViewStep_Op) Enum() *ViewStep_Op
- func (ViewStep_Op) EnumDescriptor() ([]byte, []int)deprecated
- func (x ViewStep_Op) Number() protoreflect.EnumNumber
- func (x ViewStep_Op) String() string
- func (ViewStep_Op) Type() protoreflect.EnumType
- type ViewStep_Status
- func (ViewStep_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ViewStep_Status) Enum() *ViewStep_Status
- func (ViewStep_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ViewStep_Status) Number() protoreflect.EnumNumber
- func (x ViewStep_Status) String() string
- func (ViewStep_Status) Type() protoreflect.EnumType
Constants ¶
const ( Analyzer_Analyze_FullMethodName = "/pulumirpc.Analyzer/Analyze" Analyzer_AnalyzeStack_FullMethodName = "/pulumirpc.Analyzer/AnalyzeStack" Analyzer_Remediate_FullMethodName = "/pulumirpc.Analyzer/Remediate" Analyzer_GetAnalyzerInfo_FullMethodName = "/pulumirpc.Analyzer/GetAnalyzerInfo" Analyzer_GetPluginInfo_FullMethodName = "/pulumirpc.Analyzer/GetPluginInfo" Analyzer_Configure_FullMethodName = "/pulumirpc.Analyzer/Configure" Analyzer_Handshake_FullMethodName = "/pulumirpc.Analyzer/Handshake" Analyzer_ConfigureStack_FullMethodName = "/pulumirpc.Analyzer/ConfigureStack" Analyzer_Cancel_FullMethodName = "/pulumirpc.Analyzer/Cancel" )
const ( Converter_ConvertState_FullMethodName = "/pulumirpc.Converter/ConvertState" Converter_ConvertProgram_FullMethodName = "/pulumirpc.Converter/ConvertProgram" )
const ( Engine_Log_FullMethodName = "/pulumirpc.Engine/Log" Engine_GetRootResource_FullMethodName = "/pulumirpc.Engine/GetRootResource" Engine_SetRootResource_FullMethodName = "/pulumirpc.Engine/SetRootResource" Engine_StartDebugging_FullMethodName = "/pulumirpc.Engine/StartDebugging" )
const ( LanguageRuntime_Handshake_FullMethodName = "/pulumirpc.LanguageRuntime/Handshake" LanguageRuntime_GetRequiredPlugins_FullMethodName = "/pulumirpc.LanguageRuntime/GetRequiredPlugins" LanguageRuntime_GetRequiredPackages_FullMethodName = "/pulumirpc.LanguageRuntime/GetRequiredPackages" LanguageRuntime_Run_FullMethodName = "/pulumirpc.LanguageRuntime/Run" LanguageRuntime_GetPluginInfo_FullMethodName = "/pulumirpc.LanguageRuntime/GetPluginInfo" LanguageRuntime_InstallDependencies_FullMethodName = "/pulumirpc.LanguageRuntime/InstallDependencies" LanguageRuntime_RuntimeOptionsPrompts_FullMethodName = "/pulumirpc.LanguageRuntime/RuntimeOptionsPrompts" LanguageRuntime_About_FullMethodName = "/pulumirpc.LanguageRuntime/About" LanguageRuntime_GetProgramDependencies_FullMethodName = "/pulumirpc.LanguageRuntime/GetProgramDependencies" LanguageRuntime_RunPlugin_FullMethodName = "/pulumirpc.LanguageRuntime/RunPlugin" LanguageRuntime_GenerateProgram_FullMethodName = "/pulumirpc.LanguageRuntime/GenerateProgram" LanguageRuntime_GenerateProject_FullMethodName = "/pulumirpc.LanguageRuntime/GenerateProject" LanguageRuntime_GeneratePackage_FullMethodName = "/pulumirpc.LanguageRuntime/GeneratePackage" LanguageRuntime_Pack_FullMethodName = "/pulumirpc.LanguageRuntime/Pack" LanguageRuntime_Link_FullMethodName = "/pulumirpc.LanguageRuntime/Link" LanguageRuntime_Cancel_FullMethodName = "/pulumirpc.LanguageRuntime/Cancel" )
const ( ResourceProvider_Handshake_FullMethodName = "/pulumirpc.ResourceProvider/Handshake" ResourceProvider_Parameterize_FullMethodName = "/pulumirpc.ResourceProvider/Parameterize" ResourceProvider_GetSchema_FullMethodName = "/pulumirpc.ResourceProvider/GetSchema" ResourceProvider_CheckConfig_FullMethodName = "/pulumirpc.ResourceProvider/CheckConfig" ResourceProvider_DiffConfig_FullMethodName = "/pulumirpc.ResourceProvider/DiffConfig" ResourceProvider_Configure_FullMethodName = "/pulumirpc.ResourceProvider/Configure" ResourceProvider_Invoke_FullMethodName = "/pulumirpc.ResourceProvider/Invoke" ResourceProvider_Call_FullMethodName = "/pulumirpc.ResourceProvider/Call" ResourceProvider_Check_FullMethodName = "/pulumirpc.ResourceProvider/Check" ResourceProvider_Diff_FullMethodName = "/pulumirpc.ResourceProvider/Diff" ResourceProvider_Create_FullMethodName = "/pulumirpc.ResourceProvider/Create" ResourceProvider_Read_FullMethodName = "/pulumirpc.ResourceProvider/Read" ResourceProvider_Update_FullMethodName = "/pulumirpc.ResourceProvider/Update" ResourceProvider_Delete_FullMethodName = "/pulumirpc.ResourceProvider/Delete" ResourceProvider_Construct_FullMethodName = "/pulumirpc.ResourceProvider/Construct" ResourceProvider_Cancel_FullMethodName = "/pulumirpc.ResourceProvider/Cancel" ResourceProvider_GetPluginInfo_FullMethodName = "/pulumirpc.ResourceProvider/GetPluginInfo" ResourceProvider_Attach_FullMethodName = "/pulumirpc.ResourceProvider/Attach" ResourceProvider_GetMapping_FullMethodName = "/pulumirpc.ResourceProvider/GetMapping" ResourceProvider_GetMappings_FullMethodName = "/pulumirpc.ResourceProvider/GetMappings" )
const ( ResourceMonitor_SupportsFeature_FullMethodName = "/pulumirpc.ResourceMonitor/SupportsFeature" ResourceMonitor_Invoke_FullMethodName = "/pulumirpc.ResourceMonitor/Invoke" ResourceMonitor_Call_FullMethodName = "/pulumirpc.ResourceMonitor/Call" ResourceMonitor_ReadResource_FullMethodName = "/pulumirpc.ResourceMonitor/ReadResource" ResourceMonitor_RegisterResource_FullMethodName = "/pulumirpc.ResourceMonitor/RegisterResource" ResourceMonitor_RegisterResourceOutputs_FullMethodName = "/pulumirpc.ResourceMonitor/RegisterResourceOutputs" ResourceMonitor_RegisterStackTransform_FullMethodName = "/pulumirpc.ResourceMonitor/RegisterStackTransform" ResourceMonitor_RegisterStackInvokeTransform_FullMethodName = "/pulumirpc.ResourceMonitor/RegisterStackInvokeTransform" ResourceMonitor_RegisterResourceHook_FullMethodName = "/pulumirpc.ResourceMonitor/RegisterResourceHook" ResourceMonitor_RegisterPackage_FullMethodName = "/pulumirpc.ResourceMonitor/RegisterPackage" ResourceMonitor_SignalAndWaitForShutdown_FullMethodName = "/pulumirpc.ResourceMonitor/SignalAndWaitForShutdown" )
const (
Callbacks_Invoke_FullMethodName = "/pulumirpc.Callbacks/Invoke"
)
const (
ResourceStatus_PublishViewSteps_FullMethodName = "/pulumirpc.ResourceStatus/PublishViewSteps"
)
Variables ¶
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.
var ( PolicyType_name = map[int32]string{ 0: "POLICY_TYPE_UNKNOWN", 1: "POLICY_TYPE_RESOURCE", 2: "POLICY_TYPE_STACK", } PolicyType_value = map[string]int32{ "POLICY_TYPE_UNKNOWN": 0, "POLICY_TYPE_RESOURCE": 1, "POLICY_TYPE_STACK": 2, } )
Enum value maps for PolicyType.
var ( PolicySeverity_name = map[int32]string{ 0: "POLICY_SEVERITY_UNSPECIFIED", 1: "POLICY_SEVERITY_LOW", 2: "POLICY_SEVERITY_MEDIUM", 3: "POLICY_SEVERITY_HIGH", 4: "POLICY_SEVERITY_CRITICAL", } PolicySeverity_value = map[string]int32{ "POLICY_SEVERITY_UNSPECIFIED": 0, "POLICY_SEVERITY_LOW": 1, "POLICY_SEVERITY_MEDIUM": 2, "POLICY_SEVERITY_HIGH": 3, "POLICY_SEVERITY_CRITICAL": 4, } )
Enum value maps for PolicySeverity.
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.
var ( RuntimeOptionPrompt_RuntimeOptionType_name = map[int32]string{ 0: "STRING", 1: "INT32", } RuntimeOptionPrompt_RuntimeOptionType_value = map[string]int32{ "STRING": 0, "INT32": 1, } )
Enum value maps for RuntimeOptionPrompt_RuntimeOptionType.
var ( CheckRequest_AutonamingOptions_Mode_name = map[int32]string{ 0: "PROPOSE", 1: "ENFORCE", 2: "DISABLE", } CheckRequest_AutonamingOptions_Mode_value = map[string]int32{ "PROPOSE": 0, "ENFORCE": 1, "DISABLE": 2, } )
Enum value maps for CheckRequest_AutonamingOptions_Mode.
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.
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.
var ( Result_name = map[int32]string{ 0: "SUCCESS", 1: "FAIL", 2: "SKIP", } Result_value = map[string]int32{ "SUCCESS": 0, "FAIL": 1, "SKIP": 2, } )
Enum value maps for Result.
var ( ViewStep_Op_name = map[int32]string{ 0: "UNSPECIFIED", 1: "SAME", 2: "CREATE", 3: "UPDATE", 4: "DELETE", 5: "REPLACE", 6: "CREATE_REPLACEMENT", 7: "DELETE_REPLACED", 8: "READ", 9: "READ_REPLACEMENT", 10: "REFRESH", 11: "READ_DISCARD", 12: "DISCARD_REPLACED", 13: "REMOVE_PENDING_REPLACE", 14: "IMPORT", 15: "IMPORT_REPLACEMENT", } ViewStep_Op_value = map[string]int32{ "UNSPECIFIED": 0, "SAME": 1, "CREATE": 2, "UPDATE": 3, "DELETE": 4, "REPLACE": 5, "CREATE_REPLACEMENT": 6, "DELETE_REPLACED": 7, "READ": 8, "READ_REPLACEMENT": 9, "REFRESH": 10, "READ_DISCARD": 11, "DISCARD_REPLACED": 12, "REMOVE_PENDING_REPLACE": 13, "IMPORT": 14, "IMPORT_REPLACEMENT": 15, } )
Enum value maps for ViewStep_Op.
var ( ViewStep_Status_name = map[int32]string{ 0: "OK", 1: "PARTIAL_FAILURE", 2: "UNKNOWN", } ViewStep_Status_value = map[string]int32{ "OK": 0, "PARTIAL_FAILURE": 1, "UNKNOWN": 2, } )
Enum value maps for ViewStep_Status.
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, }, { MethodName: "Handshake", Handler: _Analyzer_Handshake_Handler, }, { MethodName: "ConfigureStack", Handler: _Analyzer_ConfigureStack_Handler, }, { MethodName: "Cancel", Handler: _Analyzer_Cancel_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)
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)
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)
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, }, { MethodName: "StartDebugging", Handler: _Engine_StartDebugging_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)
var File_pulumi_alias_proto protoreflect.FileDescriptor
var File_pulumi_analyzer_proto protoreflect.FileDescriptor
var File_pulumi_callback_proto protoreflect.FileDescriptor
var File_pulumi_converter_proto protoreflect.FileDescriptor
var File_pulumi_engine_proto protoreflect.FileDescriptor
var File_pulumi_errors_proto protoreflect.FileDescriptor
var File_pulumi_language_proto protoreflect.FileDescriptor
var File_pulumi_plugin_proto protoreflect.FileDescriptor
var File_pulumi_provider_proto protoreflect.FileDescriptor
var File_pulumi_resource_proto protoreflect.FileDescriptor
var File_pulumi_resource_status_proto protoreflect.FileDescriptor
var File_pulumi_source_proto protoreflect.FileDescriptor
var LanguageRuntime_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pulumirpc.LanguageRuntime", HandlerType: (*LanguageRuntimeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Handshake", Handler: _LanguageRuntime_Handshake_Handler, }, { MethodName: "GetRequiredPlugins", Handler: _LanguageRuntime_GetRequiredPlugins_Handler, }, { MethodName: "GetRequiredPackages", Handler: _LanguageRuntime_GetRequiredPackages_Handler, }, { MethodName: "Run", Handler: _LanguageRuntime_Run_Handler, }, { MethodName: "GetPluginInfo", Handler: _LanguageRuntime_GetPluginInfo_Handler, }, { MethodName: "RuntimeOptionsPrompts", Handler: _LanguageRuntime_RuntimeOptionsPrompts_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, }, { MethodName: "Link", Handler: _LanguageRuntime_Link_Handler, }, { MethodName: "Cancel", Handler: _LanguageRuntime_Cancel_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)
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, }, { MethodName: "RegisterStackInvokeTransform", Handler: _ResourceMonitor_RegisterStackInvokeTransform_Handler, }, { MethodName: "RegisterResourceHook", Handler: _ResourceMonitor_RegisterResourceHook_Handler, }, { MethodName: "RegisterPackage", Handler: _ResourceMonitor_RegisterPackage_Handler, }, { MethodName: "SignalAndWaitForShutdown", Handler: _ResourceMonitor_SignalAndWaitForShutdown_Handler, }, }, Streams: []grpc.StreamDesc{}, 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)
var ResourceProvider_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pulumirpc.ResourceProvider", HandlerType: (*ResourceProviderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Handshake", Handler: _ResourceProvider_Handshake_Handler, }, { MethodName: "Parameterize", Handler: _ResourceProvider_Parameterize_Handler, }, { 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{}, 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)
var ResourceStatus_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pulumirpc.ResourceStatus", HandlerType: (*ResourceStatusServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PublishViewSteps", Handler: _ResourceStatus_PublishViewSteps_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pulumi/resource_status.proto", }
ResourceStatus_ServiceDesc is the grpc.ServiceDesc for ResourceStatus 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)
func RegisterResourceStatusServer ¶ added in v3.168.0
func RegisterResourceStatusServer(s grpc.ServiceRegistrar, srv ResourceStatusServer)
Types ¶
type AboutRequest ¶ added in v3.120.0
type AboutRequest struct { // The program to use. Info *ProgramInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
`AboutRequest` is the type of requests sent as part of an [](pulumirpc.LanguageRuntime.About) call.
func (*AboutRequest) Descriptor
deprecated
added in
v3.120.0
func (*AboutRequest) Descriptor() ([]byte, []int)
Deprecated: Use AboutRequest.ProtoReflect.Descriptor instead.
func (*AboutRequest) GetInfo ¶ added in v3.120.0
func (x *AboutRequest) GetInfo() *ProgramInfo
func (*AboutRequest) ProtoMessage ¶ added in v3.120.0
func (*AboutRequest) ProtoMessage()
func (*AboutRequest) ProtoReflect ¶ added in v3.120.0
func (x *AboutRequest) ProtoReflect() protoreflect.Message
func (*AboutRequest) Reset ¶ added in v3.120.0
func (x *AboutRequest) Reset()
func (*AboutRequest) String ¶ added in v3.120.0
func (x *AboutRequest) String() string
type AboutResponse ¶ added in v3.37.0
type AboutResponse struct { // The primary executable for the runtime of this language. This should be an absolute path. E.g. for NodeJS on a // POSIX system, this might be something like `/usr/bin/node`. Executable string `protobuf:"bytes,1,opt,name=executable,proto3" json:"executable,omitempty"` // The version of the runtime underpinning the language host. E.g. for a NodeJS host, this might be the version of // `node` being used. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Other host-specific metadata about the runtime underpinning the language host. Metadata map[string]string `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
`AboutResponse` is the type of responses sent by an [](pulumirpc.LanguageRuntime.About) call. It contains information about the language runtime being used.
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 valid to be assigned 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) GetSpec ¶ added in v3.35.0
func (x *Alias) GetSpec() *Alias_Spec
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
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 valid to be assigned 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 (x *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. 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) 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. NotApplicable []*PolicyNotApplicable `protobuf:"bytes,3,rep,name=not_applicable,json=notApplicable,proto3" json:"not_applicable,omitempty"` // information about policies that were not applicable. // 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) GetNotApplicable ¶ added in v3.196.0
func (x *AnalyzeResponse) GetNotApplicable() []*PolicyNotApplicable
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) // `Handshake` is the first call made by the engine to an analyzer. It is used to pass the engine's address to the // analyzer so that it may establish its own connections back, and to establish protocol configuration that will be // used to communicate between the two parties. Handshake(ctx context.Context, in *AnalyzerHandshakeRequest, opts ...grpc.CallOption) (*AnalyzerHandshakeResponse, error) // `ConfigureStack` is always called if the engine is using the analyzer to analyze resources in a specific stack. // This method is not always called, for example if the engine is just booting the analyzer up to call // GetAnalyzerInfo. ConfigureStack(ctx context.Context, in *AnalyzerStackConfigureRequest, opts ...grpc.CallOption) (*AnalyzerStackConfigureResponse, error) // Cancel signals the analyzer to gracefully shut down and abort any ongoing analysis operations. // Operations aborted in this way will return an 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) }
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.
Analyzer provides a pluggable interface for checking resource definitions against some number of resource policies. It is intentionally open-ended, allowing for implementations that check everything from raw resource definitions to entire projects/stacks/snapshots for arbitrary issues -- style, policy, correctness, security, and so on.
func NewAnalyzerClient ¶
func NewAnalyzerClient(cc grpc.ClientConnInterface) AnalyzerClient
type AnalyzerHandshakeRequest ¶ added in v3.166.0
type AnalyzerHandshakeRequest struct { // The gRPC address of the engine handshaking with the analyzer. At a minimum, this address will expose an instance // of the [](pulumirpc.Engine) service. EngineAddress string `protobuf:"bytes,1,opt,name=engine_address,json=engineAddress,proto3" json:"engine_address,omitempty"` // A *root directory* where the analyzer's binary, `PulumiPolicy.yaml`, or other identifying source code is located. // In the event that the analyzer is *not* being booted by the engine (e.g. in the case that the engine has been // asked to attach to an existing running analyzer instance via a host/port number), this field will be empty. RootDirectory *string `protobuf:"bytes,2,opt,name=root_directory,json=rootDirectory,proto3,oneof" json:"root_directory,omitempty"` // A *program directory* in which the analyzer should execute. This is generally a subdirectory of the root // directory, though this is not required. In the event that the analyzer is *not* being booted by the engine (e.g. // in the case that the engine has been asked to attach to an existing running analyzer instance via a host/port // number), this field will be empty. ProgramDirectory *string `protobuf:"bytes,3,opt,name=program_directory,json=programDirectory,proto3,oneof" json:"program_directory,omitempty"` // contains filtered or unexported fields }
`AnalyzerHandshakeRequest` is the type of requests sent as part of a [](pulumirpc.Analyzer.Handshake) call.
func (*AnalyzerHandshakeRequest) Descriptor
deprecated
added in
v3.166.0
func (*AnalyzerHandshakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerHandshakeRequest.ProtoReflect.Descriptor instead.
func (*AnalyzerHandshakeRequest) GetEngineAddress ¶ added in v3.166.0
func (x *AnalyzerHandshakeRequest) GetEngineAddress() string
func (*AnalyzerHandshakeRequest) GetProgramDirectory ¶ added in v3.166.0
func (x *AnalyzerHandshakeRequest) GetProgramDirectory() string
func (*AnalyzerHandshakeRequest) GetRootDirectory ¶ added in v3.166.0
func (x *AnalyzerHandshakeRequest) GetRootDirectory() string
func (*AnalyzerHandshakeRequest) ProtoMessage ¶ added in v3.166.0
func (*AnalyzerHandshakeRequest) ProtoMessage()
func (*AnalyzerHandshakeRequest) ProtoReflect ¶ added in v3.166.0
func (x *AnalyzerHandshakeRequest) ProtoReflect() protoreflect.Message
func (*AnalyzerHandshakeRequest) Reset ¶ added in v3.166.0
func (x *AnalyzerHandshakeRequest) Reset()
func (*AnalyzerHandshakeRequest) String ¶ added in v3.166.0
func (x *AnalyzerHandshakeRequest) String() string
type AnalyzerHandshakeResponse ¶ added in v3.166.0
type AnalyzerHandshakeResponse struct {
// contains filtered or unexported fields
}
`AnalyzerHandshakeResponse` is the type of responses sent by a [](pulumirpc.Analyzer.Handshake) call.
func (*AnalyzerHandshakeResponse) Descriptor
deprecated
added in
v3.166.0
func (*AnalyzerHandshakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerHandshakeResponse.ProtoReflect.Descriptor instead.
func (*AnalyzerHandshakeResponse) ProtoMessage ¶ added in v3.166.0
func (*AnalyzerHandshakeResponse) ProtoMessage()
func (*AnalyzerHandshakeResponse) ProtoReflect ¶ added in v3.166.0
func (x *AnalyzerHandshakeResponse) ProtoReflect() protoreflect.Message
func (*AnalyzerHandshakeResponse) Reset ¶ added in v3.166.0
func (x *AnalyzerHandshakeResponse) Reset()
func (*AnalyzerHandshakeResponse) String ¶ added in v3.166.0
func (x *AnalyzerHandshakeResponse) String() string
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. /* 153-byte string literal not displayed */ Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // Description of the policy pack. Readme string `protobuf:"bytes,8,opt,name=readme,proto3" json:"readme,omitempty"` // README text for the policy pack. Provider string `protobuf:"bytes,9,opt,name=provider,proto3" json:"provider,omitempty"` // Cloud provider/platform associated with the policy pack. Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"` // Tags for this policy pack. Repository string `protobuf:"bytes,11,opt,name=repository,proto3" json:"repository,omitempty"` // A URL to the repository where the policy pack is defined. // 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) GetDescription ¶ added in v3.196.0
func (x *AnalyzerInfo) GetDescription() string
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) GetProvider ¶ added in v3.196.0
func (x *AnalyzerInfo) GetProvider() string
func (*AnalyzerInfo) GetReadme ¶ added in v3.196.0
func (x *AnalyzerInfo) GetReadme() string
func (*AnalyzerInfo) GetRepository ¶ added in v3.196.0
func (x *AnalyzerInfo) GetRepository() string
func (*AnalyzerInfo) GetSupportsConfig ¶
func (x *AnalyzerInfo) GetSupportsConfig() bool
func (*AnalyzerInfo) GetTags ¶ added in v3.196.0
func (x *AnalyzerInfo) GetTags() []string
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 (x *AnalyzerPropertyDependencies) ProtoReflect() protoreflect.Message
func (*AnalyzerPropertyDependencies) Reset ¶
func (x *AnalyzerPropertyDependencies) Reset()
func (*AnalyzerPropertyDependencies) String ¶
func (x *AnalyzerPropertyDependencies) String() 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. /* 167-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. Parent string `protobuf:"bytes,8,opt,name=parent,proto3" json:"parent,omitempty"` // an optional parent URN that this child resource belongs to. // 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 (x *AnalyzerResourceOptions) GetCustomTimeouts() *AnalyzerResourceOptions_CustomTimeouts
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) GetParent ¶ added in v3.157.0
func (x *AnalyzerResourceOptions) GetParent() 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 (x *AnalyzerResourceOptions_CustomTimeouts) GetCreate() float64
func (*AnalyzerResourceOptions_CustomTimeouts) GetDelete ¶
func (x *AnalyzerResourceOptions_CustomTimeouts) GetDelete() float64
func (*AnalyzerResourceOptions_CustomTimeouts) GetUpdate ¶
func (x *AnalyzerResourceOptions_CustomTimeouts) GetUpdate() float64
func (*AnalyzerResourceOptions_CustomTimeouts) ProtoMessage ¶
func (*AnalyzerResourceOptions_CustomTimeouts) ProtoMessage()
func (*AnalyzerResourceOptions_CustomTimeouts) ProtoReflect ¶ added in v3.35.0
func (x *AnalyzerResourceOptions_CustomTimeouts) ProtoReflect() protoreflect.Message
func (*AnalyzerResourceOptions_CustomTimeouts) Reset ¶
func (x *AnalyzerResourceOptions_CustomTimeouts) Reset()
func (*AnalyzerResourceOptions_CustomTimeouts) String ¶
func (x *AnalyzerResourceOptions_CustomTimeouts) String() 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) // `Handshake` is the first call made by the engine to an analyzer. It is used to pass the engine's address to the // analyzer so that it may establish its own connections back, and to establish protocol configuration that will be // used to communicate between the two parties. Handshake(context.Context, *AnalyzerHandshakeRequest) (*AnalyzerHandshakeResponse, error) // `ConfigureStack` is always called if the engine is using the analyzer to analyze resources in a specific stack. // This method is not always called, for example if the engine is just booting the analyzer up to call // GetAnalyzerInfo. ConfigureStack(context.Context, *AnalyzerStackConfigureRequest) (*AnalyzerStackConfigureResponse, error) // Cancel signals the analyzer to gracefully shut down and abort any ongoing analysis operations. // Operations aborted in this way will return an 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) // contains filtered or unexported methods }
AnalyzerServer is the server API for Analyzer service. All implementations must embed UnimplementedAnalyzerServer for forward compatibility.
Analyzer provides a pluggable interface for checking resource definitions against some number of resource policies. It is intentionally open-ended, allowing for implementations that check everything from raw resource definitions to entire projects/stacks/snapshots for arbitrary issues -- style, policy, correctness, security, and so on.
type AnalyzerStackConfigureRequest ¶ added in v3.170.0
type AnalyzerStackConfigureRequest struct { // The stack name being analyzed. Stack string `protobuf:"bytes,1,opt,name=stack,proto3" json:"stack,omitempty"` // The project name of the stack being analyzed. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // The organization name of the stack being analyzed. Organization string `protobuf:"bytes,3,opt,name=organization,proto3" json:"organization,omitempty"` // True if this is a preview/dry run. DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // A list of configuration keys whose values should be treated as secrets. ConfigSecretKeys []string `protobuf:"bytes,6,rep,name=config_secret_keys,json=configSecretKeys,proto3" json:"config_secret_keys,omitempty"` // The configuration of the stack being analyzed. Config map[string]string `` /* 139-byte string literal not displayed */ // Tags for the current stack. Tags map[string]string `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
`AnalyzerStackConfigureRequest` is the message for the stack configuration of the stack being analyzed.
func (*AnalyzerStackConfigureRequest) Descriptor
deprecated
added in
v3.170.0
func (*AnalyzerStackConfigureRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerStackConfigureRequest.ProtoReflect.Descriptor instead.
func (*AnalyzerStackConfigureRequest) GetConfig ¶ added in v3.170.0
func (x *AnalyzerStackConfigureRequest) GetConfig() map[string]string
func (*AnalyzerStackConfigureRequest) GetConfigSecretKeys ¶ added in v3.174.0
func (x *AnalyzerStackConfigureRequest) GetConfigSecretKeys() []string
func (*AnalyzerStackConfigureRequest) GetDryRun ¶ added in v3.170.0
func (x *AnalyzerStackConfigureRequest) GetDryRun() bool
func (*AnalyzerStackConfigureRequest) GetOrganization ¶ added in v3.170.0
func (x *AnalyzerStackConfigureRequest) GetOrganization() string
func (*AnalyzerStackConfigureRequest) GetProject ¶ added in v3.170.0
func (x *AnalyzerStackConfigureRequest) GetProject() string
func (*AnalyzerStackConfigureRequest) GetStack ¶ added in v3.170.0
func (x *AnalyzerStackConfigureRequest) GetStack() string
func (*AnalyzerStackConfigureRequest) GetTags ¶ added in v3.186.0
func (x *AnalyzerStackConfigureRequest) GetTags() map[string]string
func (*AnalyzerStackConfigureRequest) ProtoMessage ¶ added in v3.170.0
func (*AnalyzerStackConfigureRequest) ProtoMessage()
func (*AnalyzerStackConfigureRequest) ProtoReflect ¶ added in v3.170.0
func (x *AnalyzerStackConfigureRequest) ProtoReflect() protoreflect.Message
func (*AnalyzerStackConfigureRequest) Reset ¶ added in v3.170.0
func (x *AnalyzerStackConfigureRequest) Reset()
func (*AnalyzerStackConfigureRequest) String ¶ added in v3.170.0
func (x *AnalyzerStackConfigureRequest) String() string
type AnalyzerStackConfigureResponse ¶ added in v3.170.0
type AnalyzerStackConfigureResponse struct {
// contains filtered or unexported fields
}
`AnalyzerStackConfigureResponse` is the type of responses sent by a [](pulumirpc.Analyzer.ConfigureStack) call.
func (*AnalyzerStackConfigureResponse) Descriptor
deprecated
added in
v3.170.0
func (*AnalyzerStackConfigureResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerStackConfigureResponse.ProtoReflect.Descriptor instead.
func (*AnalyzerStackConfigureResponse) ProtoMessage ¶ added in v3.170.0
func (*AnalyzerStackConfigureResponse) ProtoMessage()
func (*AnalyzerStackConfigureResponse) ProtoReflect ¶ added in v3.170.0
func (x *AnalyzerStackConfigureResponse) ProtoReflect() protoreflect.Message
func (*AnalyzerStackConfigureResponse) Reset ¶ added in v3.170.0
func (x *AnalyzerStackConfigureResponse) Reset()
func (*AnalyzerStackConfigureResponse) String ¶ added in v3.170.0
func (x *AnalyzerStackConfigureResponse) String() string
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. /* 157-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. /* 139-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. // The stack trace handle for the call. Supports stitching stack traces together across plugins. StackTraceHandle string `protobuf:"bytes,18,opt,name=stack_trace_handle,json=stackTraceHandle,proto3" json:"stack_trace_handle,omitempty"` // 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) GetStackTraceHandle ¶ added in v3.195.0
func (x *CallRequest) GetStackTraceHandle() 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 (x *CallRequest_ArgumentDependencies) GetUrns() []string
func (*CallRequest_ArgumentDependencies) ProtoMessage ¶ added in v3.6.0
func (*CallRequest_ArgumentDependencies) ProtoMessage()
func (*CallRequest_ArgumentDependencies) ProtoReflect ¶ added in v3.35.0
func (x *CallRequest_ArgumentDependencies) ProtoReflect() protoreflect.Message
func (*CallRequest_ArgumentDependencies) Reset ¶ added in v3.6.0
func (x *CallRequest_ArgumentDependencies) Reset()
func (*CallRequest_ArgumentDependencies) String ¶ added in v3.6.0
func (x *CallRequest_ArgumentDependencies) String() string
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. Failures []*CheckFailure `protobuf:"bytes,3,rep,name=failures,proto3" json:"failures,omitempty"` // the failures if any arguments didn't pass verification. // a map from return value keys to the dependencies of the return value. // // returnDependencies will be augmented by the set of dependencies specified in return // via output property values. ReturnDependencies map[string]*CallResponse_ReturnDependencies `` /* 163-byte string literal not displayed */ // 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 (x *CallResponse_ReturnDependencies) ProtoReflect() protoreflect.Message
func (*CallResponse_ReturnDependencies) Reset ¶ added in v3.6.0
func (x *CallResponse_ReturnDependencies) Reset()
func (*CallResponse_ReturnDependencies) String ¶ added in v3.6.0
func (x *CallResponse_ReturnDependencies) String() string
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) ProtoMessage ¶ added in v3.107.0
func (*Callback) ProtoMessage()
func (*Callback) ProtoReflect ¶ added in v3.107.0
func (x *Callback) ProtoReflect() protoreflect.Message
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.
Callbacks is a service for invoking functions in one runtime from other processes.
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.
Callbacks is a service for invoking functions in one runtime from other processes.
type CheckFailure ¶
type CheckFailure struct { // The input property that failed validation. Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` // The reason that the named property failed validation. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
A `CheckFailure` describes a single validation error that arose as part of a [](pulumirpc.ResourceProvider.CheckConfig) or [](pulumirpc.ResourceProvider.Check) call.
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 { // The URN of the resource whose inputs are being checked. In the case of // [](pulumirpc.ResourceProvider.CheckConfig), this will be the URN of the provider resource being constructed, // which may or may not be a [default provider](default-providers). Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` // The old input properties or configuration for the resource, if any. Olds *structpb.Struct `protobuf:"bytes,2,opt,name=olds,proto3" json:"olds,omitempty"` // The new input properties or configuration for the resource, if any. // // :::{note} // If this resource has been specified with the // [`ignoreChanges`](https://www.pulumi.com/docs/concepts/options/ignorechanges/), then the values in `news` may // differ from those written in the Pulumi program registering this resource. In such cases, the caller (e.g. the // Pulumi engine) is expected to preprocess the `news` value by replacing every property matched by `ignoreChanges` // with its corresponding `olds` value (effectively ignoring the change). // ::: News *structpb.Struct `protobuf:"bytes,3,opt,name=news,proto3" json:"news,omitempty"` // A random but deterministically computed hash, intended to be used for generating globally unique names. RandomSeed []byte `protobuf:"bytes,5,opt,name=randomSeed,proto3" json:"randomSeed,omitempty"` // The name of the resource being checked. This must match the name specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the name of the resource. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // The type of the resource being checked. This must match the type specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the type of the resource. Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` Autonaming *CheckRequest_AutonamingOptions `protobuf:"bytes,8,opt,name=autonaming,proto3" json:"autonaming,omitempty"` // contains filtered or unexported fields }
`CheckRequest` is the type of requests sent as part of [](pulumirpc.ResourceProvider.CheckConfig) and [](pulumirpc.ResourceProvider.Check) calls. A `CheckRequest` primarily captures the URN and inputs of the resource being checked. In the case of [](pulumirpc.ResourceProvider.CheckConfig), the URN will be the URN of the provider resource being constructed, which may or may not be a [default provider](default-providers), and the inputs will be the provider configuration.
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetAutonaming ¶ added in v3.141.0
func (x *CheckRequest) GetAutonaming() *CheckRequest_AutonamingOptions
func (*CheckRequest) GetName ¶ added in v3.132.0
func (x *CheckRequest) GetName() string
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) GetType ¶ added in v3.132.0
func (x *CheckRequest) GetType() string
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 CheckRequest_AutonamingOptions ¶ added in v3.141.0
type CheckRequest_AutonamingOptions struct { // The proposed name for the resource being checked. This may be used by the provider as a suggestion // for the final resource name, depending on the specified mode. ProposedName string `protobuf:"bytes,1,opt,name=proposed_name,json=proposedName,proto3" json:"proposed_name,omitempty"` Mode CheckRequest_AutonamingOptions_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=pulumirpc.CheckRequest_AutonamingOptions_Mode" json:"mode,omitempty"` // contains filtered or unexported fields }
Configuration for automatic resource naming behavior. This structure contains fields that control how the provider handles resource names, including proposed names and naming modes.
func (*CheckRequest_AutonamingOptions) Descriptor
deprecated
added in
v3.141.0
func (*CheckRequest_AutonamingOptions) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest_AutonamingOptions.ProtoReflect.Descriptor instead.
func (*CheckRequest_AutonamingOptions) GetMode ¶ added in v3.141.0
func (x *CheckRequest_AutonamingOptions) GetMode() CheckRequest_AutonamingOptions_Mode
func (*CheckRequest_AutonamingOptions) GetProposedName ¶ added in v3.141.0
func (x *CheckRequest_AutonamingOptions) GetProposedName() string
func (*CheckRequest_AutonamingOptions) ProtoMessage ¶ added in v3.141.0
func (*CheckRequest_AutonamingOptions) ProtoMessage()
func (*CheckRequest_AutonamingOptions) ProtoReflect ¶ added in v3.141.0
func (x *CheckRequest_AutonamingOptions) ProtoReflect() protoreflect.Message
func (*CheckRequest_AutonamingOptions) Reset ¶ added in v3.141.0
func (x *CheckRequest_AutonamingOptions) Reset()
func (*CheckRequest_AutonamingOptions) String ¶ added in v3.141.0
func (x *CheckRequest_AutonamingOptions) String() string
type CheckRequest_AutonamingOptions_Mode ¶ added in v3.141.0
type CheckRequest_AutonamingOptions_Mode int32
The mode that controls how the provider handles the proposed name. If not specified, defaults to `PROPOSE`.
- `PROPOSE`: The provider may use the proposed name as a suggestion but is free to modify it.
- `ENFORCE`: The provider must use exactly the proposed name or return an error.
- `DISABLE`: The provider should disable automatic naming and return an error if no explicit name is provided by user's program.
const ( CheckRequest_AutonamingOptions_PROPOSE CheckRequest_AutonamingOptions_Mode = 0 CheckRequest_AutonamingOptions_ENFORCE CheckRequest_AutonamingOptions_Mode = 1 CheckRequest_AutonamingOptions_DISABLE CheckRequest_AutonamingOptions_Mode = 2 )
func (CheckRequest_AutonamingOptions_Mode) Descriptor ¶ added in v3.141.0
func (CheckRequest_AutonamingOptions_Mode) Descriptor() protoreflect.EnumDescriptor
func (CheckRequest_AutonamingOptions_Mode) Enum ¶ added in v3.141.0
func (x CheckRequest_AutonamingOptions_Mode) Enum() *CheckRequest_AutonamingOptions_Mode
func (CheckRequest_AutonamingOptions_Mode) EnumDescriptor
deprecated
added in
v3.141.0
func (CheckRequest_AutonamingOptions_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckRequest_AutonamingOptions_Mode.Descriptor instead.
func (CheckRequest_AutonamingOptions_Mode) Number ¶ added in v3.141.0
func (x CheckRequest_AutonamingOptions_Mode) Number() protoreflect.EnumNumber
func (CheckRequest_AutonamingOptions_Mode) String ¶ added in v3.141.0
func (x CheckRequest_AutonamingOptions_Mode) String() string
func (CheckRequest_AutonamingOptions_Mode) Type ¶ added in v3.141.0
func (CheckRequest_AutonamingOptions_Mode) Type() protoreflect.EnumType
type CheckResponse ¶
type CheckResponse struct { // A valid, checked set of inputs. May contain defaults. Inputs *structpb.Struct `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` // Any validation failures that occurred. Failures []*CheckFailure `protobuf:"bytes,2,rep,name=failures,proto3" json:"failures,omitempty"` // contains filtered or unexported fields }
`CheckResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.CheckConfig) or [](pulumirpc.ResourceProvider.Check) call. A `CheckResponse` may contain either:
- a set of checked, known-valid `inputs`. In the case of [](pulumirpc.ResourceProvider.CheckConfig), these may subsequently be passed to [](pulumirpc.ResourceProvider.DiffConfig) and/or [](pulumirpc.ResourceProvider.Configure). In the case of [](pulumirpc.ResourceProvider.Check), these may be passed to any of the supported lifecycle methods that accept provider inputs.
- a set of `failures` detailing invalid inputs.
In cases where the supplied set of inputs is valid, a `CheckResponse` may contain default values that should persisted to Pulumi state and passed to subsequent calls.
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. /* 151-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 { // A list of required configuration keys that were not supplied. MissingKeys []*ConfigureErrorMissingKeys_MissingKey `protobuf:"bytes,1,rep,name=missingKeys,proto3" json:"missingKeys,omitempty"` // contains filtered or unexported fields }
`ConfigureErrorMissingKeys` is the type of error details that may be sent in response to a [](pulumirpc.ResourceProvider.Configure) call when required configuration keys are missing.
func (*ConfigureErrorMissingKeys) Descriptor
deprecated
func (*ConfigureErrorMissingKeys) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureErrorMissingKeys.ProtoReflect.Descriptor instead.
func (*ConfigureErrorMissingKeys) GetMissingKeys ¶
func (x *ConfigureErrorMissingKeys) GetMissingKeys() []*ConfigureErrorMissingKeys_MissingKey
func (*ConfigureErrorMissingKeys) ProtoMessage ¶
func (*ConfigureErrorMissingKeys) ProtoMessage()
func (*ConfigureErrorMissingKeys) ProtoReflect ¶ added in v3.35.0
func (x *ConfigureErrorMissingKeys) ProtoReflect() protoreflect.Message
func (*ConfigureErrorMissingKeys) Reset ¶
func (x *ConfigureErrorMissingKeys) Reset()
func (*ConfigureErrorMissingKeys) String ¶
func (x *ConfigureErrorMissingKeys) String() string
type ConfigureErrorMissingKeys_MissingKey ¶
type ConfigureErrorMissingKeys_MissingKey struct { // The name of the missing configuration key. // // :::{note} // This should be the *Pulumi name* of the missing key, and not any provider-internal or upstream name. Names // that differ between Pulumi and an upstream provider should be translated prior to being returned. // ::: Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A description of the missing config key, as reported by the provider. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
The type of key-value pairs representing keys that are missing from a [](pulumirpc.ResourceProvider.Configure) call.
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 (x *ConfigureErrorMissingKeys_MissingKey) GetName() string
func (*ConfigureErrorMissingKeys_MissingKey) ProtoMessage ¶
func (*ConfigureErrorMissingKeys_MissingKey) ProtoMessage()
func (*ConfigureErrorMissingKeys_MissingKey) ProtoReflect ¶ added in v3.35.0
func (x *ConfigureErrorMissingKeys_MissingKey) ProtoReflect() protoreflect.Message
func (*ConfigureErrorMissingKeys_MissingKey) Reset ¶
func (x *ConfigureErrorMissingKeys_MissingKey) Reset()
func (*ConfigureErrorMissingKeys_MissingKey) String ¶
func (x *ConfigureErrorMissingKeys_MissingKey) String() string
type ConfigureRequest ¶
type ConfigureRequest struct { // :::{warning} // `variables` is deprecated; `args` should be used instead wherever possible. // ::: // // A map of input properties for the provider. Compound values, such as nested objects, should be JSON encoded so // that they too can be passed as strings. For instance, the following configuration: // // “` // // { // "a": 42, // "b": { // "c": "hello", // "d": true // } // } // // “` // // should be encoded as: // // “` // // { // "a": "42", // "b": "{\"c\":\"hello\",\"d\":true}" // } // // “` Variables map[string]string `` /* 145-byte string literal not displayed */ // A map of input properties for the provider. // // :::{warning} // `args` may include secrets. Because `ConfigureRequest` is sent before [](pulumirpc.ConfigureResponse) can specify // whether or not the provider accepts secrets in general, providers *must* handle secrets if they appear in `args`. // ::: Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // True if and only if the caller supports secrets. If true, operations should return strongly typed secrets if the // provider supports them also. *Must* be true if the caller has previously called // [](pulumirpc.ResourceProvider.Handshake). AcceptSecrets bool `protobuf:"varint,3,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"` // True if and only if the caller supports strongly typed resources. If true, operations should return resources as // strongly typed values if the provider supports them also. *Must* be true if the caller has previously called // [](pulumirpc.ResourceProvider.Handshake). AcceptResources bool `protobuf:"varint,4,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` // True if and only if the caller supports sending old inputs as part of [](pulumirpc.ResourceProvider.Diff) and // [](pulumirpc.ResourceProvider.Update) calls. If true, the provider should expect these fields to be populated in // these calls. *Must* be true if the caller has previously called [](pulumirpc.ResourceProvider.Handshake). SendsOldInputs bool `protobuf:"varint,5,opt,name=sends_old_inputs,json=sendsOldInputs,proto3" json:"sends_old_inputs,omitempty"` // True if and only if the caller supports sending old inputs and outputs as part of // [](pulumirpc.ResourceProvider.Delete) calls. If true, the provider should expect these fields to be populated in // these calls. *Must* be true if the caller has previously called [](pulumirpc.ResourceProvider.Handshake). SendsOldInputsToDelete bool `` /* 134-byte string literal not displayed */ // The ID of the provider being configured. N.B. This will be null if configure_with_urn was false in // Handshake. Id *string `protobuf:"bytes,7,opt,name=id,proto3,oneof" json:"id,omitempty"` // The URN of the provider being configured. N.B. This will be null if configure_with_urn was false in // Handshake. Urn *string `protobuf:"bytes,8,opt,name=urn,proto3,oneof" json:"urn,omitempty"` // The name of the provider being configured. This must match the name specified by the `urn` field, and // is passed so that providers do not have to implement URN parsing in order to extract the name of the // provider. N.B. This will be null if configure_with_urn was false in Handshake. Name *string `protobuf:"bytes,9,opt,name=name,proto3,oneof" json:"name,omitempty"` // The type of the provider being configured. This must match the type specified by the `urn` field, and // is passed so that providers do not have to implement URN parsing in order to extract the type of the // provider. N.B. This will be null if configure_with_urn was false in Handshake. Type *string `protobuf:"bytes,10,opt,name=type,proto3,oneof" json:"type,omitempty"` // contains filtered or unexported fields }
`ConfigureRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Configure) call. Requests include both provider-specific inputs (`variables` or `args`) and provider-agnostic ("protocol") configuration (`acceptSecrets`, `acceptResources`, and so on).
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) GetId ¶ added in v3.154.0
func (x *ConfigureRequest) GetId() string
func (*ConfigureRequest) GetName ¶ added in v3.154.0
func (x *ConfigureRequest) GetName() string
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) GetType ¶ added in v3.154.0
func (x *ConfigureRequest) GetType() string
func (*ConfigureRequest) GetUrn ¶ added in v3.154.0
func (x *ConfigureRequest) GetUrn() string
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 { // True if and only if the provider supports secrets. If true, the caller should pass secrets as strongly typed // values to the provider. *Must* match the value returned in response to [](pulumirpc.ResourceProvider.Handshake) // if the provider supports handshaking. AcceptSecrets bool `protobuf:"varint,1,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"` // True if and only if the provider supports the `preview` field on [](pulumirpc.ResourceProvider.Create) and // [](pulumirpc.ResourceProvider.Update) calls. If true, the engine should invoke these calls with `preview` set to // `true` during previews. *Must* be true if the provider implements [](pulumirpc.ResourceProvider.Handshake). SupportsPreview bool `protobuf:"varint,2,opt,name=supportsPreview,proto3" json:"supportsPreview,omitempty"` // True if and only if the provider supports strongly typed resources. If true, the caller should pass resources as // strongly typed values to the provider. *Must* match the value returned in response to // [](pulumirpc.ResourceProvider.Handshake) if the provider supports handshaking. AcceptResources bool `protobuf:"varint,3,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` // True if and only if the provider supports output values as inputs. If true, the engine should pass output values // to the provider where possible. *Must* match the value returned in response to // [](pulumirpc.ResourceProvider.Handshake) if the provider supports handshaking. AcceptOutputs bool `protobuf:"varint,4,opt,name=acceptOutputs,proto3" json:"acceptOutputs,omitempty"` // True if the provider accepts and respects autonaming configuration that the engine provides on behalf of the // user. *Must* match the value returned in response to [](pulumirpc.ResourceProvider.Handshake) if the provider // supports handshaking. SupportsAutonamingConfiguration bool `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
`ConfigureResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Configure) call. Its primary purpose is to communicate features that the provider supports back to the caller.
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) GetSupportsAutonamingConfiguration ¶ added in v3.141.0
func (x *ConfigureResponse) GetSupportsAutonamingConfiguration() 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 { // The project to which this resource and its nested resources will belong. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // The name of the stack being deployed into. Stack string `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"` // Configuration for the specified project and stack. Config map[string]string `` /* 139-byte string literal not displayed */ // True if and only if the request is being made as part of a preview/dry run, in which case the provider should not // actually construct the component. DryRun bool `protobuf:"varint,4,opt,name=dryRun,proto3" json:"dryRun,omitempty"` // The degree of parallelism that may be used for resource operations. A value less than or equal to 1 indicates // that operations should be performed serially. Parallel int32 `protobuf:"varint,5,opt,name=parallel,proto3" json:"parallel,omitempty"` // The address of the [](pulumirpc.ResourceMonitor) that the provider should connect to in order to send [resource // registrations](resource-registration) for its nested resources. MonitorEndpoint string `protobuf:"bytes,6,opt,name=monitorEndpoint,proto3" json:"monitorEndpoint,omitempty"` // The type of the component resource being constructed. This must match the type specified by the `urn` field, and // is passed so that providers do not have to implement URN parsing in order to extract the type of the resource. Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // The name of the component resource being constructed. This must match the name specified by the `urn` field, and // is passed so that providers do not have to implement URN parsing in order to extract the name of the resource. Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` // An optional parent resource that the component (and by extension, its nested resources) should be children of. Parent string `protobuf:"bytes,9,opt,name=parent,proto3" json:"parent,omitempty"` // The component resource's input properties. Unlike the inputs of custom resources, these will *not* have been // passed to a call to [](pulumirpc.ResourceProvider.Check). By virtue of their being a composition of other // resources, component resources are able to (and therefore expected) to validate their own inputs. Moreover, // [](pulumirpc.ResourceProvider.Check) will be called on any inputs passed to nested custom resources as usual. Inputs *structpb.Struct `protobuf:"bytes,10,opt,name=inputs,proto3" json:"inputs,omitempty"` // A map of property dependencies for the component resource and its nested resources. InputDependencies map[string]*ConstructRequest_PropertyDependencies `` /* 162-byte string literal not displayed */ // A map of package names to provider references for the component resource and its nested resources. Providers map[string]string `` /* 146-byte string literal not displayed */ // A list of URNs that this resource and its nested resources depend on. Dependencies []string `protobuf:"bytes,15,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // A set of configuration keys whose values are [secret](output-secrets). ConfigSecretKeys []string `protobuf:"bytes,16,rep,name=configSecretKeys,proto3" json:"configSecretKeys,omitempty"` // The organization to which this resource and its nested resources will belong. Organization string `protobuf:"bytes,17,opt,name=organization,proto3" json:"organization,omitempty"` // True if and only if the resource (and by extension, its nested resources) should be marked as protected. // Protected resources cannot be deleted without first being unprotected. Protect *bool `protobuf:"varint,12,opt,name=protect,proto3,oneof" json:"protect,omitempty"` // A list of additional URNs that should be considered the same as this component's URN (and which will therefore be // used to build aliases for its nested resource URNs). These may be URNs that previously referred to this component // e.g. if it had its parent (and consequently URN) changed. Aliases []string `protobuf:"bytes,14,rep,name=aliases,proto3" json:"aliases,omitempty"` // A list of input properties whose values should be treated as [secret](output-secrets). AdditionalSecretOutputs []string `protobuf:"bytes,18,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"` // A set of custom timeouts that specify how long the caller is prepared to wait for the various CRUD operations of // this resource's nested resources. CustomTimeouts *ConstructRequest_CustomTimeouts `protobuf:"bytes,19,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"` // The URN of a resource that this resource (and thus its nested resources) will be implicitly deleted with. If the // resource referred to by this URN is deleted in the same operation that this resource would be deleted, the // [](pulumirpc.ResourceProvider.Delete) call for this resource will be elided (since this dependency signals that // it will have already been deleted). DeletedWith string `protobuf:"bytes,20,opt,name=deletedWith,proto3" json:"deletedWith,omitempty"` // If true, this resource (and its nested resources) must be deleted *before* its replacement is created. DeleteBeforeReplace *bool `protobuf:"varint,21,opt,name=deleteBeforeReplace,proto3,oneof" json:"deleteBeforeReplace,omitempty"` // A set of [property paths](property-paths) that should be treated as unchanged. IgnoreChanges []string `protobuf:"bytes,22,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // A set of properties that, when changed, trigger a replacement. ReplaceOnChanges []string `protobuf:"bytes,23,rep,name=replaceOnChanges,proto3" json:"replaceOnChanges,omitempty"` // True if [](pulumirpc.ResourceProvider.Delete) should *not* be called when the resource (and by extension, its // nested resources) are removed from a Pulumi program. RetainOnDelete *bool `protobuf:"varint,24,opt,name=retainOnDelete,proto3,oneof" json:"retainOnDelete,omitempty"` // True if the caller is capable of accepting output values in response to the call. If this is set, these outputs // may be used to communicate dependency information and so there is no need to populate // [](pulumirpc.ConstructResponse)'s `stateDependencies` field. AcceptsOutputValues bool `protobuf:"varint,25,opt,name=accepts_output_values,json=acceptsOutputValues,proto3" json:"accepts_output_values,omitempty"` ResourceHooks *ConstructRequest_ResourceHooksBinding `protobuf:"bytes,26,opt,name=resource_hooks,json=resourceHooks,proto3,oneof" json:"resource_hooks,omitempty"` // The stack trace handle for the construct call. Supports stitching stack traces together across plugins. StackTraceHandle string `protobuf:"bytes,27,opt,name=stack_trace_handle,json=stackTraceHandle,proto3" json:"stack_trace_handle,omitempty"` // contains filtered or unexported fields }
`ConstructRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Construct) call. A `ConstructRequest` captures enough data to be able to register nested components against the caller's resource monitor.
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) GetResourceHooks ¶ added in v3.182.0
func (x *ConstructRequest) GetResourceHooks() *ConstructRequest_ResourceHooksBinding
func (*ConstructRequest) GetRetainOnDelete ¶ added in v3.65.0
func (x *ConstructRequest) GetRetainOnDelete() bool
func (*ConstructRequest) GetStack ¶
func (x *ConstructRequest) GetStack() string
func (*ConstructRequest) GetStackTraceHandle ¶ added in v3.195.0
func (x *ConstructRequest) GetStackTraceHandle() 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 { // How long a caller is prepared to wait for a nested resource's [](pulumirpc.ResourceProvider.Create) operation // to complete. Create string `protobuf:"bytes,1,opt,name=create,proto3" json:"create,omitempty"` // How long a caller is prepared to wait for a nested resource's [](pulumirpc.ResourceProvider.Update) operation // to complete. Update string `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"` // How long a caller is prepared to wait for a nested resource's [](pulumirpc.ResourceProvider.Delete) operation // to complete. Delete string `protobuf:"bytes,3,opt,name=delete,proto3" json:"delete,omitempty"` // contains filtered or unexported fields }
A `CustomTimeouts` object encapsulates a set of timeouts for the various CRUD operations that might be performed on this resource's nested resources. Timeout values are specified as duration strings, such as `"5ms"` (5 milliseconds), `"40s"` (40 seconds), or `"1m30s"` (1 minute and 30 seconds). The following units of time are supported:
* `ns`: nanoseconds * `us` or `µ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 (x *ConstructRequest_CustomTimeouts) ProtoReflect() protoreflect.Message
func (*ConstructRequest_CustomTimeouts) Reset ¶ added in v3.65.0
func (x *ConstructRequest_CustomTimeouts) Reset()
func (*ConstructRequest_CustomTimeouts) String ¶ added in v3.65.0
func (x *ConstructRequest_CustomTimeouts) String() string
type ConstructRequest_PropertyDependencies ¶
type ConstructRequest_PropertyDependencies struct { // A list of URNs that this property depends on. Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // contains filtered or unexported fields }
A `PropertyDependencies` list is a set of URNs that a particular property may depend on.
func (*ConstructRequest_PropertyDependencies) Descriptor
deprecated
func (*ConstructRequest_PropertyDependencies) Descriptor() ([]byte, []int)
Deprecated: Use ConstructRequest_PropertyDependencies.ProtoReflect.Descriptor instead.
func (*ConstructRequest_PropertyDependencies) GetUrns ¶
func (x *ConstructRequest_PropertyDependencies) GetUrns() []string
func (*ConstructRequest_PropertyDependencies) ProtoMessage ¶
func (*ConstructRequest_PropertyDependencies) ProtoMessage()
func (*ConstructRequest_PropertyDependencies) ProtoReflect ¶ added in v3.35.0
func (x *ConstructRequest_PropertyDependencies) ProtoReflect() protoreflect.Message
func (*ConstructRequest_PropertyDependencies) Reset ¶
func (x *ConstructRequest_PropertyDependencies) Reset()
func (*ConstructRequest_PropertyDependencies) String ¶
func (x *ConstructRequest_PropertyDependencies) String() string
type ConstructRequest_ResourceHooksBinding ¶ added in v3.182.0
type ConstructRequest_ResourceHooksBinding struct { BeforeCreate []string `protobuf:"bytes,1,rep,name=before_create,json=beforeCreate,proto3" json:"before_create,omitempty"` AfterCreate []string `protobuf:"bytes,2,rep,name=after_create,json=afterCreate,proto3" json:"after_create,omitempty"` BeforeUpdate []string `protobuf:"bytes,3,rep,name=before_update,json=beforeUpdate,proto3" json:"before_update,omitempty"` AfterUpdate []string `protobuf:"bytes,4,rep,name=after_update,json=afterUpdate,proto3" json:"after_update,omitempty"` BeforeDelete []string `protobuf:"bytes,5,rep,name=before_delete,json=beforeDelete,proto3" json:"before_delete,omitempty"` AfterDelete []string `protobuf:"bytes,6,rep,name=after_delete,json=afterDelete,proto3" json:"after_delete,omitempty"` // contains filtered or unexported fields }
func (*ConstructRequest_ResourceHooksBinding) Descriptor
deprecated
added in
v3.182.0
func (*ConstructRequest_ResourceHooksBinding) Descriptor() ([]byte, []int)
Deprecated: Use ConstructRequest_ResourceHooksBinding.ProtoReflect.Descriptor instead.
func (*ConstructRequest_ResourceHooksBinding) GetAfterCreate ¶ added in v3.182.0
func (x *ConstructRequest_ResourceHooksBinding) GetAfterCreate() []string
func (*ConstructRequest_ResourceHooksBinding) GetAfterDelete ¶ added in v3.182.0
func (x *ConstructRequest_ResourceHooksBinding) GetAfterDelete() []string
func (*ConstructRequest_ResourceHooksBinding) GetAfterUpdate ¶ added in v3.182.0
func (x *ConstructRequest_ResourceHooksBinding) GetAfterUpdate() []string
func (*ConstructRequest_ResourceHooksBinding) GetBeforeCreate ¶ added in v3.182.0
func (x *ConstructRequest_ResourceHooksBinding) GetBeforeCreate() []string
func (*ConstructRequest_ResourceHooksBinding) GetBeforeDelete ¶ added in v3.182.0
func (x *ConstructRequest_ResourceHooksBinding) GetBeforeDelete() []string
func (*ConstructRequest_ResourceHooksBinding) GetBeforeUpdate ¶ added in v3.182.0
func (x *ConstructRequest_ResourceHooksBinding) GetBeforeUpdate() []string
func (*ConstructRequest_ResourceHooksBinding) ProtoMessage ¶ added in v3.182.0
func (*ConstructRequest_ResourceHooksBinding) ProtoMessage()
func (*ConstructRequest_ResourceHooksBinding) ProtoReflect ¶ added in v3.182.0
func (x *ConstructRequest_ResourceHooksBinding) ProtoReflect() protoreflect.Message
func (*ConstructRequest_ResourceHooksBinding) Reset ¶ added in v3.182.0
func (x *ConstructRequest_ResourceHooksBinding) Reset()
func (*ConstructRequest_ResourceHooksBinding) String ¶ added in v3.182.0
func (x *ConstructRequest_ResourceHooksBinding) String() string
type ConstructResponse ¶
type ConstructResponse struct { // The URN of the constructed component resource. Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` // Any output properties that the component registered as part of its construction. State *structpb.Struct `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // A map of property dependencies for the component's outputs. This will be set if the caller indicated that it // could not receive dependency-communicating [output](outputs) values by setting [](pulumirpc.ConstructRequest)'s // `accepts_output_values` field to false. StateDependencies map[string]*ConstructResponse_PropertyDependencies `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
`ConstructResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Construct) call.
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 { // A list of URNs that this property depends on. Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // contains filtered or unexported fields }
A `PropertyDependencies` list is a set of URNs that a particular property may depend on.
func (*ConstructResponse_PropertyDependencies) Descriptor
deprecated
func (*ConstructResponse_PropertyDependencies) Descriptor() ([]byte, []int)
Deprecated: Use ConstructResponse_PropertyDependencies.ProtoReflect.Descriptor instead.
func (*ConstructResponse_PropertyDependencies) GetUrns ¶
func (x *ConstructResponse_PropertyDependencies) GetUrns() []string
func (*ConstructResponse_PropertyDependencies) ProtoMessage ¶
func (*ConstructResponse_PropertyDependencies) ProtoMessage()
func (*ConstructResponse_PropertyDependencies) ProtoReflect ¶ added in v3.35.0
func (x *ConstructResponse_PropertyDependencies) ProtoReflect() protoreflect.Message
func (*ConstructResponse_PropertyDependencies) Reset ¶
func (x *ConstructResponse_PropertyDependencies) Reset()
func (*ConstructResponse_PropertyDependencies) String ¶
func (x *ConstructResponse_PropertyDependencies) String() 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"` // the directory where the final generated project for the eventual destination language will be written. // use to determine relative paths of any asset that will be copied over. // Do not write files to this directory as these files might be overwritten in // the project generation process. GeneratedProjectDirectory string `` /* 138-byte string literal not displayed */ // 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) GetGeneratedProjectDirectory ¶ added in v3.170.0
func (x *ConvertProgramRequest) GetGeneratedProjectDirectory() 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.
Converter is a service for converting between other ecosystems and Pulumi. This is currently unstable and experimental.
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.
Converter is a service for converting between other ecosystems and Pulumi. This is currently unstable and experimental.
type CreateRequest ¶
type CreateRequest struct { // The URN of the resource being created. Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` // The resource's input properties, to be set during creation. These should have been validated by a call to // [](pulumirpc.ResourceProvider.Check). Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // A timeout in seconds that the caller is prepared to wait for the operation to complete. Timeout float64 `protobuf:"fixed64,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // True if and only if the request is being made as part of a preview/dry run, in which case the provider should not // actually create the resource. Preview bool `protobuf:"varint,4,opt,name=preview,proto3" json:"preview,omitempty"` // The name of the resource being created. This must match the name specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the name of the resource. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // The type of the resource being created. This must match the type specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the type of the resource. Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // The address of a [](pulumirpc.ResourceStatus) service which can be used to e.g. create or update view resources. ResourceStatusAddress string `` /* 126-byte string literal not displayed */ // The [](pulumirpc.ResourceStatus) service context token to pass when calling methods on the service. ResourceStatusToken string `protobuf:"bytes,8,opt,name=resource_status_token,json=resourceStatusToken,proto3" json:"resource_status_token,omitempty"` // contains filtered or unexported fields }
`CreateRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Create) call.
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetName ¶ added in v3.132.0
func (x *CreateRequest) GetName() string
func (*CreateRequest) GetPreview ¶
func (x *CreateRequest) GetPreview() bool
func (*CreateRequest) GetProperties ¶
func (x *CreateRequest) GetProperties() *structpb.Struct
func (*CreateRequest) GetResourceStatusAddress ¶ added in v3.168.0
func (x *CreateRequest) GetResourceStatusAddress() string
func (*CreateRequest) GetResourceStatusToken ¶ added in v3.168.0
func (x *CreateRequest) GetResourceStatusToken() string
func (*CreateRequest) GetTimeout ¶
func (x *CreateRequest) GetTimeout() float64
func (*CreateRequest) GetType ¶ added in v3.132.0
func (x *CreateRequest) GetType() string
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 { // The ID of the created resource. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The resource's output properties. Typically this will be a union of the resource's input properties and any // additional values that were computed or made available during creation. Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // Indicates that this resource should always be refreshed prior to updates. RefreshBeforeUpdate bool `protobuf:"varint,3,opt,name=refresh_before_update,json=refreshBeforeUpdate,proto3" json:"refresh_before_update,omitempty"` // contains filtered or unexported fields }
`CreateResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Create) call. A `CreateResponse` contains the ID of the created resource, as well as any output properties that arose from the creation process.
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) GetRefreshBeforeUpdate ¶ added in v3.172.0
func (x *CreateResponse) GetRefreshBeforeUpdate() bool
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 { // The ID of the resource to delete. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The URN of the resource to delete. Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` // The old *output* properties of the resource being deleted. Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` // A timeout in seconds that the caller is prepared to wait for the operation to complete. Timeout float64 `protobuf:"fixed64,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // The old *input* properties of the resource being deleted. 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. // The name of the resource being deleted. This must match the name specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the name of the resource. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // The type of the resource being deleted. This must match the type specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the type of the resource. Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // The address of a [](pulumirpc.ResourceStatus) service which can be used to e.g. create or update view resources. ResourceStatusAddress string `` /* 126-byte string literal not displayed */ // The [](pulumirpc.ResourceStatus) service context token to pass when calling methods on the service. ResourceStatusToken string `protobuf:"bytes,9,opt,name=resource_status_token,json=resourceStatusToken,proto3" json:"resource_status_token,omitempty"` // The old views for the resource being read. OldViews []*View `protobuf:"bytes,10,rep,name=old_views,json=oldViews,proto3" json:"old_views,omitempty"` // contains filtered or unexported fields }
`DeleteRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Delete) call.
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) GetName ¶ added in v3.132.0
func (x *DeleteRequest) GetName() string
func (*DeleteRequest) GetOldInputs ¶ added in v3.89.0
func (x *DeleteRequest) GetOldInputs() *structpb.Struct
func (*DeleteRequest) GetOldViews ¶ added in v3.168.0
func (x *DeleteRequest) GetOldViews() []*View
func (*DeleteRequest) GetProperties ¶
func (x *DeleteRequest) GetProperties() *structpb.Struct
func (*DeleteRequest) GetResourceStatusAddress ¶ added in v3.168.0
func (x *DeleteRequest) GetResourceStatusAddress() string
func (*DeleteRequest) GetResourceStatusToken ¶ added in v3.168.0
func (x *DeleteRequest) GetResourceStatusToken() string
func (*DeleteRequest) GetTimeout ¶
func (x *DeleteRequest) GetTimeout() float64
func (*DeleteRequest) GetType ¶ added in v3.132.0
func (x *DeleteRequest) GetType() string
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 { // The name of the dependency. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The version of the dependency. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
`DependencyInfo` is a struct that captures information about a language-specific dependency required by a program (e.g. an NPM package for NodeJS, or a Maven library for Java). It is returned as part of a [](pulumirpc.LanguageRuntime.GetProgramDependenciesResponse).
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 { // The ID of the resource being diffed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The URN of the resource being diffed. Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` // The old *output* properties of the resource being diffed. Olds *structpb.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"` // The new *input* properties of the resource being diffed. These should have been validated by an appropriate call // to [](pulumirpc.ResourceProvider.CheckConfig) or [](pulumirpc.ResourceProvider.Check). News *structpb.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"` // A set of [property paths](property-paths) that should be treated as unchanged. IgnoreChanges []string `protobuf:"bytes,5,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // The old *input* properties of the resource being diffed. OldInputs *structpb.Struct `protobuf:"bytes,6,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // The name of the resource being diffed. This must match the name specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the name of the resource. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // The type of the resource being diffed. This must match the type specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the type of the resource. Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
`DiffRequest` is the type of requests sent as part of [](pulumirpc.ResourceProvider.DiffConfig) and [](pulumirpc.ResourceProvider.Diff) calls. A `DiffRequest` primarily captures:
* the URN of the resource whose properties are being compared; * the old and new input properties of the resource; and * the old output properties of the resource.
In the case of [](pulumirpc.ResourceProvider.DiffConfig), the URN will be the URN of the provider resource being examined, which may or may not be a [default provider](default-providers), and the inputs and outputs will be the provider configuration and state. Inputs supplied to a [](pulumirpc.ResourceProvider.DiffConfig) call should have been previously checked by a call to [](pulumirpc.ResourceProvider.CheckConfig); inputs supplied to a [](pulumirpc.ResourceProvider.Diff) call should have been previously checked by a call to [](pulumirpc.ResourceProvider.Check).
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) GetName ¶ added in v3.132.0
func (x *DiffRequest) GetName() 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) GetType ¶ added in v3.132.0
func (x *DiffRequest) GetType() string
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 { // A set of properties which have changed and whose changes require the resource being diffed to be replaced. The // caller should replace the resource if this set is non-empty, or if any of the properties specified in // `detailedDiff` have a `*_REPLACE` kind. Replaces []string `protobuf:"bytes,1,rep,name=replaces,proto3" json:"replaces,omitempty"` // An optional list of properties that will not ever change (are stable). Stables []string `protobuf:"bytes,2,rep,name=stables,proto3" json:"stables,omitempty"` // If true, this resource must be deleted *before* its replacement is created. DeleteBeforeReplace bool `protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"` // The result of the diff. Indicates at a high level whether the resource has changed or not (or, in legacy cases, // if the provider does not know). Changes DiffResponse_DiffChanges `protobuf:"varint,4,opt,name=changes,proto3,enum=pulumirpc.DiffResponse_DiffChanges" json:"changes,omitempty"` // The set of properties which have changed. This field only supports top-level properties. It *does not* support // full [property paths](property-paths); implementations should use `detailedDiff` when this is required. Diffs []string `protobuf:"bytes,5,rep,name=diffs,proto3" json:"diffs,omitempty"` // `detailedDiff` can be used to implement more detailed diffs. A detailed diff is a map from [property // paths](property-paths) to [](pulumirpc.PropertyDiff)s, which describe the kind of change that occurred to the // property located at that path. If a provider does not implement this, the caller (typically the Pulumi engine) // will compute a representation based on the simple diff fields (`changes`, `replaces`, and so on). DetailedDiff map[string]*PropertyDiff `` /* 151-byte string literal not displayed */ // True if and only if this response contains a `detailedDiff`. HasDetailedDiff bool `protobuf:"varint,7,opt,name=hasDetailedDiff,proto3" json:"hasDetailedDiff,omitempty"` // contains filtered or unexported fields }
`DiffResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.DiffConfig) or [](pulumirpc.ResourceProvider.Diff) call. A `DiffResponse` indicates whether a resource is unchanged, requires updating (that is, can be changed "in place"), or requires replacement (that is, must be destroyed and recreated anew). Legacy implementations may also signal that it is unknown whether there are changes or not.
`DiffResponse` has evolved since its inception and there are now a number of ways that providers can signal their intent to callers:
*Simple diffs* utilise the `changes` field to signal which fields are responsible for a change, and the `replaces` field to further communicate which changes (if any) require a replacement as opposed to an update.
*Detailed diffs* are those with `hasDetailedDiff` set, and utilise the `detailedDiff` field to provide a more granular view of the changes that have occurred. Detailed diffs are designed to allow providers to control precisely which field names are displayed as responsible for a change, and to signal more accurately what kind of change occurred (e.g. a field was added, deleted or updated).
The response must satisfy the following invariants:
* For each top-level key in `diff` there is at least one matching property path, starting at that key, in `detailedDiff`. * For each entry in `detailedDiff`, its top-level property is in `diff`. * `diff` does not contain duplicates. * `detailedDiff` does not contain duplicate keys.
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
The type of high-level diff results.
const ( // A diff was performed but it is unknown whether there are changes or not. This exists to support legacy // behaviour and should be generally avoided wherever possible. DiffResponse_DIFF_UNKNOWN DiffResponse_DiffChanges = 0 // A diff was performed and there were no changes. An update is not required. DiffResponse_DIFF_NONE DiffResponse_DiffChanges = 1 // A diff was performed, and changes were detected that require an update or replacement. DiffResponse_DIFF_SOME DiffResponse_DiffChanges = 2 )
func (DiffResponse_DiffChanges) Descriptor ¶ added in v3.35.0
func (DiffResponse_DiffChanges) Descriptor() protoreflect.EnumDescriptor
func (DiffResponse_DiffChanges) Enum ¶ added in v3.35.0
func (x DiffResponse_DiffChanges) Enum() *DiffResponse_DiffChanges
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 (x DiffResponse_DiffChanges) Number() protoreflect.EnumNumber
func (DiffResponse_DiffChanges) String ¶
func (x DiffResponse_DiffChanges) String() string
func (DiffResponse_DiffChanges) Type ¶ added in v3.35.0
func (DiffResponse_DiffChanges) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (EnforcementLevel) Enum ¶ added in v3.35.0
func (x EnforcementLevel) Enum() *EnforcementLevel
func (EnforcementLevel) EnumDescriptor
deprecated
func (EnforcementLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnforcementLevel.Descriptor instead.
func (EnforcementLevel) Number ¶ added in v3.35.0
func (x EnforcementLevel) Number() protoreflect.EnumNumber
func (EnforcementLevel) String ¶
func (x EnforcementLevel) String() string
func (EnforcementLevel) Type ¶ added in v3.35.0
func (EnforcementLevel) Type() protoreflect.EnumType
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) // StartDebugging indicates to the engine that the program has started under a debugger, and the engine // should notify the user of how to connect to the debugger. StartDebugging(ctx context.Context, in *StartDebuggingRequest, opts ...grpc.CallOption) (*emptypb.Empty, 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.
Engine is an auxiliary service offered to language and resource provider plugins. Its main purpose today is to serve as a common logging endpoint, but it also serves as a state storage mechanism for language hosts that can't store their own global state.
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) // StartDebugging indicates to the engine that the program has started under a debugger, and the engine // should notify the user of how to connect to the debugger. StartDebugging(context.Context, *StartDebuggingRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
EngineServer is the server API for Engine service. All implementations must embed UnimplementedEngineServer for forward compatibility.
Engine is an auxiliary service offered to language and resource provider plugins. Its main purpose today is to serve as a common logging endpoint, but it also serves as a state storage mechanism for language hosts that can't store their own global state.
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) // Indicates that this resource should always be refreshed prior to updates. RefreshBeforeUpdate bool `protobuf:"varint,5,opt,name=refresh_before_update,json=refreshBeforeUpdate,proto3" json:"refresh_before_update,omitempty"` // 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) GetRefreshBeforeUpdate ¶ added in v3.178.0
func (x *ErrorResourceInitFailed) GetRefreshBeforeUpdate() bool
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. This should be an absolute path on the filesystem that is accessible to // the language host. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` // A JSON-encoded string containing the schema from which the SDK package should be generated. Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` // Extra files that should be copied as-is to the generated output. ExtraFiles map[string][]byte `` /* 165-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 that the generated package should reference explicitly, instead of e.g. using the language's // package system. This is a map of package names to local paths of language-specific artifacts that should be used. // For instance, in the case of a NodeJS package, this might be a map of NPM package names to local paths to be // used, such as `{ "@pulumi/aws": "/some/path/to/aws.tgz" }` if a local tarball is to be used instead of the // published `@pulumi/aws` package. LocalDependencies map[string]string `` /* 186-byte string literal not displayed */ // If true, generates an SDK appropriate for local usage. This may differ from a standard publishable SDK depending // on the language (e.g. for a NodeJS package that is intended to be imported locally, the language host may choose // not to generate a `package.json`). Local bool `protobuf:"varint,6,opt,name=local,proto3" json:"local,omitempty"` // contains filtered or unexported fields }
`GeneratePackageRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.GeneratePackage) call.
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) GetLocal ¶ added in v3.129.0
func (x *GeneratePackageRequest) GetLocal() bool
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 raised by code generation. Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
`GeneratePackageResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.GeneratePackage) call.
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 source of the project, represented as a map of file names to [PCL](pcl) source code. Source map[string]string `` /* 139-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"` // True if [PCL binding](pcl-binding) should be strict. Strict bool `protobuf:"varint,3,opt,name=strict,proto3" json:"strict,omitempty"` // contains filtered or unexported fields }
`GenerateProgramRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.GenerateProgram) call.
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) GetStrict ¶ added in v3.127.0
func (x *GenerateProgramRequest) GetStrict() bool
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 raised by code generation. Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // The generated program source code, represented as a map of file names to byte contents. Source map[string][]byte `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
`GenerateProgramResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.GenerateProgram) call.
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 containing [PCL](pcl) source code, from which the project should be generated. SourceDirectory string `protobuf:"bytes,1,opt,name=source_directory,json=sourceDirectory,proto3" json:"source_directory,omitempty"` // The directory in which generated project files should be written. This should be an absolute path on the // filesystem that is accessible to the language host. TargetDirectory string `protobuf:"bytes,2,opt,name=target_directory,json=targetDirectory,proto3" json:"target_directory,omitempty"` // A string containing JSON to be used as the Pulumi project file (that is, as the contents of `Pulumi.yaml`). Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` // True if [PCL binding](pcl-binding) should be strict. 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 that the generated project should reference explicitly, instead of e.g. using the language's // package system. This is a map of package names to local paths of language-specific artifacts that should be used. // For instance, in the case of a NodeJS project, this might be a map of NPM package names to local paths to be // used, such as `{ "@pulumi/aws": "/some/path/to/aws.tgz" }` if a local tarball is to be used instead of the // published `@pulumi/aws` package. LocalDependencies map[string]string `` /* 186-byte string literal not displayed */ // contains filtered or unexported fields }
`GenerateProjectRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.GenerateProject) call.
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 raised by code generation. Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
`GenerateProjectResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.GenerateProject) call.
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. This typically corresponds to the source language, such as // `terraform` in the case of mapping Terraform names to Pulumi names. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // An optional *source provider key* for the mapping being requested. If this is empty, the provider should assume // that this request is from an old engine prior to the introduction of [](pulumirpc.ResourceProvider.GetMappings). // In these cases the request should be answered with the "primary" mapping. If this field is set, the `provider` // field in the corresponding [](pulumirpc.GetMappingResponse) should contain the same value. Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
`GetMappingRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.GetMapping) call.
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 *source provider key* that this mapping contains data for. Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // Mapping data in a format specific to the conversion plugin/source language. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
`GetMappingResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.GetMapping) call. The data within a `GetMappingResponse` will normally be human-readable JSON (e.g. an object mapping names from the source to Pulumi), but the engine doesn't mandate any specific format.
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. This typically corresponds to the source language, such as // `terraform` in the case of mapping Terraform names to Pulumi names. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
`GetMappingsRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.GetMappings) call.
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 set of *source 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 }
`GetMappingsResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.GetMappings) call.
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 { // The project name. // // :::{important} // This is deprecated in favour of passing a [program info](pulumirpc.ProgramInfo) struct as the `info` field. Newer // versions of the engine will always set this field to the string `"deprecated"`. // ::: // // Deprecated: Marked as deprecated in pulumi/language.proto. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // The program's working directory. // // :::{important} // This is deprecated in favour of passing a [program info](pulumirpc.ProgramInfo) struct as the `info` field, with // the `program_directory` field set to this value. // ::: // // Deprecated: Marked as deprecated in pulumi/language.proto. Pwd string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"` // The path to the program. // // :::{important} // This is deprecated in favour of passing a [program info](pulumirpc.ProgramInfo) struct as the `info` field, with // the `entry_point` field set to this value. // ::: // // Deprecated: Marked as deprecated in pulumi/language.proto. Program string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"` // True if transitive dependencies should be included in the response. TransitiveDependencies bool `protobuf:"varint,4,opt,name=transitiveDependencies,proto3" json:"transitiveDependencies,omitempty"` // The program to use. Info *ProgramInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
`GetProgramDependenciesRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.GetProgramDependencies) call.
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 (x *GetProgramDependenciesRequest) GetInfo() *ProgramInfo
func (*GetProgramDependenciesRequest) GetProgram
deprecated
added in
v3.37.0
func (x *GetProgramDependenciesRequest) GetProgram() string
Deprecated: Marked as deprecated in pulumi/language.proto.
func (*GetProgramDependenciesRequest) GetProject
deprecated
added in
v3.37.0
func (x *GetProgramDependenciesRequest) GetProject() string
Deprecated: Marked as deprecated in pulumi/language.proto.
func (*GetProgramDependenciesRequest) GetPwd
deprecated
added in
v3.37.0
func (x *GetProgramDependenciesRequest) GetPwd() string
Deprecated: Marked as deprecated in pulumi/language.proto.
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 (x *GetProgramDependenciesRequest) ProtoReflect() protoreflect.Message
func (*GetProgramDependenciesRequest) Reset ¶ added in v3.37.0
func (x *GetProgramDependenciesRequest) Reset()
func (*GetProgramDependenciesRequest) String ¶ added in v3.37.0
func (x *GetProgramDependenciesRequest) String() string
type GetProgramDependenciesResponse ¶ added in v3.37.0
type GetProgramDependenciesResponse struct { // The dependencies of the program specified by the request. Dependencies []*DependencyInfo `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
`GetProgramDependenciesResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.GetProgramDependencies) call. It contains information about the dependencies of a program.
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 (x *GetProgramDependenciesResponse) ProtoReflect() protoreflect.Message
func (*GetProgramDependenciesResponse) Reset ¶ added in v3.37.0
func (x *GetProgramDependenciesResponse) Reset()
func (*GetProgramDependenciesResponse) String ¶ added in v3.37.0
func (x *GetProgramDependenciesResponse) String() string
type GetRequiredPackagesRequest ¶ added in v3.143.0
type GetRequiredPackagesRequest struct { // The program to use. Info *ProgramInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
`GetRequiredPackagesRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.GetRequiredPackages) call.
func (*GetRequiredPackagesRequest) Descriptor
deprecated
added in
v3.143.0
func (*GetRequiredPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequiredPackagesRequest.ProtoReflect.Descriptor instead.
func (*GetRequiredPackagesRequest) GetInfo ¶ added in v3.143.0
func (x *GetRequiredPackagesRequest) GetInfo() *ProgramInfo
func (*GetRequiredPackagesRequest) ProtoMessage ¶ added in v3.143.0
func (*GetRequiredPackagesRequest) ProtoMessage()
func (*GetRequiredPackagesRequest) ProtoReflect ¶ added in v3.143.0
func (x *GetRequiredPackagesRequest) ProtoReflect() protoreflect.Message
func (*GetRequiredPackagesRequest) Reset ¶ added in v3.143.0
func (x *GetRequiredPackagesRequest) Reset()
func (*GetRequiredPackagesRequest) String ¶ added in v3.143.0
func (x *GetRequiredPackagesRequest) String() string
type GetRequiredPackagesResponse ¶ added in v3.143.0
type GetRequiredPackagesResponse struct { // The packages required by the program specified by the request. Packages []*PackageDependency `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"` // contains filtered or unexported fields }
`GetRequiredPackagesResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.GetRequiredPackages) call. It contains information about the packages required by a program.
func (*GetRequiredPackagesResponse) Descriptor
deprecated
added in
v3.143.0
func (*GetRequiredPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRequiredPackagesResponse.ProtoReflect.Descriptor instead.
func (*GetRequiredPackagesResponse) GetPackages ¶ added in v3.143.0
func (x *GetRequiredPackagesResponse) GetPackages() []*PackageDependency
func (*GetRequiredPackagesResponse) ProtoMessage ¶ added in v3.143.0
func (*GetRequiredPackagesResponse) ProtoMessage()
func (*GetRequiredPackagesResponse) ProtoReflect ¶ added in v3.143.0
func (x *GetRequiredPackagesResponse) ProtoReflect() protoreflect.Message
func (*GetRequiredPackagesResponse) Reset ¶ added in v3.143.0
func (x *GetRequiredPackagesResponse) Reset()
func (*GetRequiredPackagesResponse) String ¶ added in v3.143.0
func (x *GetRequiredPackagesResponse) String() string
type GetRequiredPluginsRequest ¶
type GetRequiredPluginsRequest struct { // The project name. // // :::{important} // This is deprecated in favour of passing a [program info](pulumirpc.ProgramInfo) struct as the `info` field. Newer // versions of the engine will always set this field to the string `"deprecated"`. // ::: // // Deprecated: Marked as deprecated in pulumi/language.proto. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // The program's working directory. // // :::{important} // This is deprecated in favour of passing a [program info](pulumirpc.ProgramInfo) struct as the `info` field, with // the `program_directory` field set to this value. // ::: // // Deprecated: Marked as deprecated in pulumi/language.proto. Pwd string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"` // The path to the program. // // :::{important} // This is deprecated in favour of passing a [program info](pulumirpc.ProgramInfo) struct as the `info` field, with // the `entry_point` field set to this value. // ::: // // Deprecated: Marked as deprecated in pulumi/language.proto. Program string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"` // The program to use. Info *ProgramInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
`GetRequiredPluginsRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.GetRequiredPlugins) call.
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: Marked as deprecated in pulumi/language.proto.
func (*GetRequiredPluginsRequest) GetProject
deprecated
func (x *GetRequiredPluginsRequest) GetProject() string
Deprecated: Marked as deprecated in pulumi/language.proto.
func (*GetRequiredPluginsRequest) GetPwd
deprecated
func (x *GetRequiredPluginsRequest) GetPwd() string
Deprecated: Marked as deprecated in pulumi/language.proto.
func (*GetRequiredPluginsRequest) ProtoMessage ¶
func (*GetRequiredPluginsRequest) ProtoMessage()
func (*GetRequiredPluginsRequest) ProtoReflect ¶ added in v3.35.0
func (x *GetRequiredPluginsRequest) ProtoReflect() protoreflect.Message
func (*GetRequiredPluginsRequest) Reset ¶
func (x *GetRequiredPluginsRequest) Reset()
func (*GetRequiredPluginsRequest) String ¶
func (x *GetRequiredPluginsRequest) String() string
type GetRequiredPluginsResponse ¶
type GetRequiredPluginsResponse struct { // The plugins required by the program specified by the request. Plugins []*PluginDependency `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` // contains filtered or unexported fields }
`GetRequiredPluginsResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.GetRequiredPlugins) call. It contains information about the plugins required by a program.
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 (x *GetRequiredPluginsResponse) ProtoReflect() protoreflect.Message
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 { // the schema version. Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // the name of the sub-package to lookup SubpackageName string `protobuf:"bytes,2,opt,name=subpackage_name,json=subpackageName,proto3" json:"subpackage_name,omitempty"` // the version of the sub-package to lookup SubpackageVersion string `protobuf:"bytes,3,opt,name=subpackage_version,json=subpackageVersion,proto3" json:"subpackage_version,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaRequest) Descriptor
deprecated
func (*GetSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.
func (*GetSchemaRequest) GetSubpackageName ¶ added in v3.117.0
func (x *GetSchemaRequest) GetSubpackageName() string
func (*GetSchemaRequest) GetSubpackageVersion ¶ added in v3.117.0
func (x *GetSchemaRequest) GetSubpackageVersion() string
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 InputPropertiesError ¶ added in v3.135.0
type InputPropertiesError struct { // The list of invalid input properties. Errors []*InputPropertiesError_PropertyError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
An error that can be returned from a component provider and includes details of the error, which can be multiple properties.
func (*InputPropertiesError) Descriptor
deprecated
added in
v3.135.0
func (*InputPropertiesError) Descriptor() ([]byte, []int)
Deprecated: Use InputPropertiesError.ProtoReflect.Descriptor instead.
func (*InputPropertiesError) GetErrors ¶ added in v3.135.0
func (x *InputPropertiesError) GetErrors() []*InputPropertiesError_PropertyError
func (*InputPropertiesError) ProtoMessage ¶ added in v3.135.0
func (*InputPropertiesError) ProtoMessage()
func (*InputPropertiesError) ProtoReflect ¶ added in v3.135.0
func (x *InputPropertiesError) ProtoReflect() protoreflect.Message
func (*InputPropertiesError) Reset ¶ added in v3.135.0
func (x *InputPropertiesError) Reset()
func (*InputPropertiesError) String ¶ added in v3.135.0
func (x *InputPropertiesError) String() string
type InputPropertiesError_PropertyError ¶ added in v3.135.0
type InputPropertiesError_PropertyError struct { // The path to the property that is invalid. PropertyPath string `protobuf:"bytes,1,opt,name=property_path,json=propertyPath,proto3" json:"property_path,omitempty"` // The reason the property is invalid. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
A single invalid input property.
func (*InputPropertiesError_PropertyError) Descriptor
deprecated
added in
v3.135.0
func (*InputPropertiesError_PropertyError) Descriptor() ([]byte, []int)
Deprecated: Use InputPropertiesError_PropertyError.ProtoReflect.Descriptor instead.
func (*InputPropertiesError_PropertyError) GetPropertyPath ¶ added in v3.135.0
func (x *InputPropertiesError_PropertyError) GetPropertyPath() string
func (*InputPropertiesError_PropertyError) GetReason ¶ added in v3.135.0
func (x *InputPropertiesError_PropertyError) GetReason() string
func (*InputPropertiesError_PropertyError) ProtoMessage ¶ added in v3.135.0
func (*InputPropertiesError_PropertyError) ProtoMessage()
func (*InputPropertiesError_PropertyError) ProtoReflect ¶ added in v3.135.0
func (x *InputPropertiesError_PropertyError) ProtoReflect() protoreflect.Message
func (*InputPropertiesError_PropertyError) Reset ¶ added in v3.135.0
func (x *InputPropertiesError_PropertyError) Reset()
func (*InputPropertiesError_PropertyError) String ¶ added in v3.135.0
func (x *InputPropertiesError_PropertyError) String() string
type InstallDependenciesRequest ¶ added in v3.29.0
type InstallDependenciesRequest struct { // The program's working directory. // // :::{important} // This is deprecated in favour of passing a [program info](pulumirpc.ProgramInfo) struct as the `info` field, with // the `program_directory` field set to this value. // ::: // // Deprecated: Marked as deprecated in pulumi/language.proto. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` // True if we are running in a terminal and may use [ANSI escape // codes](https://en.wikipedia.org/wiki/ANSI_escape_code) in our output. IsTerminal bool `protobuf:"varint,2,opt,name=is_terminal,json=isTerminal,proto3" json:"is_terminal,omitempty"` // The program to use. Info *ProgramInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` // True if the host should use language-specific version managers, such as `pyenv` or `nvm`, to set up the version // of the language toolchain used. UseLanguageVersionTools bool `` /* 135-byte string literal not displayed */ // True if this install is for a plugin, as opposed to a top level Pulumi program. IsPlugin bool `protobuf:"varint,5,opt,name=is_plugin,json=isPlugin,proto3" json:"is_plugin,omitempty"` // contains filtered or unexported fields }
`InstallDependenciesRequest` is the type of requests sent as part of an [](pulumirpc.LanguageRuntime.InstallDependencies) call.
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: Marked as deprecated in pulumi/language.proto.
func (*InstallDependenciesRequest) GetInfo ¶ added in v3.97.0
func (x *InstallDependenciesRequest) GetInfo() *ProgramInfo
func (*InstallDependenciesRequest) GetIsPlugin ¶ added in v3.171.0
func (x *InstallDependenciesRequest) GetIsPlugin() bool
func (*InstallDependenciesRequest) GetIsTerminal ¶ added in v3.29.0
func (x *InstallDependenciesRequest) GetIsTerminal() bool
func (*InstallDependenciesRequest) GetUseLanguageVersionTools ¶ added in v3.130.0
func (x *InstallDependenciesRequest) GetUseLanguageVersionTools() bool
func (*InstallDependenciesRequest) ProtoMessage ¶ added in v3.29.0
func (*InstallDependenciesRequest) ProtoMessage()
func (*InstallDependenciesRequest) ProtoReflect ¶ added in v3.35.0
func (x *InstallDependenciesRequest) ProtoReflect() protoreflect.Message
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 { // A line of standard output. Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // A line of standard error. Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // contains filtered or unexported fields }
`InstallDependenciesResponse` is the type of responses streamed by an [](pulumirpc.LanguageRuntime.InstallDependencies) call.
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 (x *InstallDependenciesResponse) ProtoReflect() protoreflect.Message
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 LanguageHandshakeRequest ¶ added in v3.143.0
type LanguageHandshakeRequest struct { // The gRPC address of the engine calling the language host. EngineAddress string `protobuf:"bytes,1,opt,name=engine_address,json=engineAddress,proto3" json:"engine_address,omitempty"` // The optional root directory, where the `PulumiPlugin.yaml` file or language binary is located. This can't be sent // when the engine is attaching to a language via a port number. RootDirectory *string `protobuf:"bytes,2,opt,name=root_directory,json=rootDirectory,proto3,oneof" json:"root_directory,omitempty"` // The optional absolute path to the directory of the language program to execute. Generally, but not required to // be, underneath the root directory. This can't be sent when the engine is attaching to a language via a port // number. ProgramDirectory *string `protobuf:"bytes,3,opt,name=program_directory,json=programDirectory,proto3,oneof" json:"program_directory,omitempty"` // contains filtered or unexported fields }
`LanguageHandshakeRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.Handshake) call.
func (*LanguageHandshakeRequest) Descriptor
deprecated
added in
v3.143.0
func (*LanguageHandshakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use LanguageHandshakeRequest.ProtoReflect.Descriptor instead.
func (*LanguageHandshakeRequest) GetEngineAddress ¶ added in v3.143.0
func (x *LanguageHandshakeRequest) GetEngineAddress() string
func (*LanguageHandshakeRequest) GetProgramDirectory ¶ added in v3.143.0
func (x *LanguageHandshakeRequest) GetProgramDirectory() string
func (*LanguageHandshakeRequest) GetRootDirectory ¶ added in v3.143.0
func (x *LanguageHandshakeRequest) GetRootDirectory() string
func (*LanguageHandshakeRequest) ProtoMessage ¶ added in v3.143.0
func (*LanguageHandshakeRequest) ProtoMessage()
func (*LanguageHandshakeRequest) ProtoReflect ¶ added in v3.143.0
func (x *LanguageHandshakeRequest) ProtoReflect() protoreflect.Message
func (*LanguageHandshakeRequest) Reset ¶ added in v3.143.0
func (x *LanguageHandshakeRequest) Reset()
func (*LanguageHandshakeRequest) String ¶ added in v3.143.0
func (x *LanguageHandshakeRequest) String() string
type LanguageHandshakeResponse ¶ added in v3.143.0
type LanguageHandshakeResponse struct {
// contains filtered or unexported fields
}
`LanguageHandshakeResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.Handshake) call.
func (*LanguageHandshakeResponse) Descriptor
deprecated
added in
v3.143.0
func (*LanguageHandshakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use LanguageHandshakeResponse.ProtoReflect.Descriptor instead.
func (*LanguageHandshakeResponse) ProtoMessage ¶ added in v3.143.0
func (*LanguageHandshakeResponse) ProtoMessage()
func (*LanguageHandshakeResponse) ProtoReflect ¶ added in v3.143.0
func (x *LanguageHandshakeResponse) ProtoReflect() protoreflect.Message
func (*LanguageHandshakeResponse) Reset ¶ added in v3.143.0
func (x *LanguageHandshakeResponse) Reset()
func (*LanguageHandshakeResponse) String ¶ added in v3.143.0
func (x *LanguageHandshakeResponse) String() string
type LanguageRuntimeClient ¶
type LanguageRuntimeClient interface { // `Handshake` is the first call made by the engine to a language host. It is used to pass the engine's address to // the language host so that it may establish its own connections back, and to establish protocol configuration that // will be used to communicate between the two parties. Handshake(ctx context.Context, in *LanguageHandshakeRequest, opts ...grpc.CallOption) (*LanguageHandshakeResponse, error) // Deprecated: Do not use. // `GetRequiredPlugins` computes the complete set of anticipated [plugins](plugins) required by a Pulumi program. // Among other things, it is intended to be used to pre-install plugins before running a program with // [](pulumirpc.LanguageRuntime.Run), to avoid the need to install them on-demand in response to [resource // registrations](resource-registration) sent back from the running program to the engine. // // :::{important} // The use of `GetRequiredPlugins` is deprecated in favour of [](pulumirpc.LanguageRuntime.GetRequiredPackages), // which returns more granular information about which plugins are required by which packages. // ::: GetRequiredPlugins(ctx context.Context, in *GetRequiredPluginsRequest, opts ...grpc.CallOption) (*GetRequiredPluginsResponse, error) // `GetRequiredPackages` computes the complete set of anticipated [packages](pulumirpc.PackageDependency) required // by a program. It is used to pre-install packages before running a program with [](pulumirpc.LanguageRuntime.Run), // to avoid the need to install them on-demand in response to [resource registrations](resource-registration) sent // back from the running program to the engine. Moreover, when importing resources into a stack, it is used to // determine which plugins are required to service the import of a given resource, since given the presence of // [parameterized providers](parameterized-providers), it is not in general true that a package name corresponds 1:1 // with a plugin name. It replaces [](pulumirpc.LanguageRuntime.GetRequiredPlugins) in the face of [parameterized // providers](parameterized-providers), which as mentioned above can enable multiple instances of the same plugin to // provide multiple packages. GetRequiredPackages(ctx context.Context, in *GetRequiredPackagesRequest, opts ...grpc.CallOption) (*GetRequiredPackagesResponse, error) // `Run` executes a Pulumi program, returning information about whether or not the program produced an error. Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) // `GetPluginInfo` returns information about the [plugin](plugins) implementing this language runtime. GetPluginInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PluginInfo, error) // `InstallDependencies` accepts a request specifying a Pulumi project and program that can be executed with // [](pulumirpc.LanguageRuntime.Run) and installs the dependencies for that program (e.g. by running `npm install` // for NodeJS, or `pip install` for Python). Since dependency installation could take a while, and callers may wish // to report on its progress, this method returns a stream of [](pulumirpc.InstallDependenciesResponse) messages // containing information about standard error and output. InstallDependencies(ctx context.Context, in *InstallDependenciesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[InstallDependenciesResponse], error) // `RuntimeOptionsPrompts` accepts a request specifying a Pulumi project and returns a list of additional prompts to // ask during `pulumi new`. RuntimeOptionsPrompts(ctx context.Context, in *RuntimeOptionsRequest, opts ...grpc.CallOption) (*RuntimeOptionsResponse, error) // `About` returns information about the language runtime being used. About(ctx context.Context, in *AboutRequest, opts ...grpc.CallOption) (*AboutResponse, error) // `GetProgramDependencies` computes the set of language-level dependencies (e.g. NPM packages for NodeJS, or Maven // libraries for Java) required by a program. GetProgramDependencies(ctx context.Context, in *GetProgramDependenciesRequest, opts ...grpc.CallOption) (*GetProgramDependenciesResponse, error) // `RunPlugin` is used to execute a program written in this host's language that implements a Pulumi // [plugin](plugins). It it is plugins what [](pulumirpc.LanguageRuntime.Run) is to programs. Since a plugin is not // expected to terminate until instructed/for a long time, this method returns a stream of // [](pulumirpc.RunPluginResponse) messages containing information about standard error and output, as well as the // exit code of the plugin when it does terminate. RunPlugin(ctx context.Context, in *RunPluginRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[RunPluginResponse], error) // `GenerateProgram` generates code in this host's language that implements the given [PCL](pcl) program. Unlike // [](pulumirpc.LanguageRuntime.GenerateProject), this method *only* generates program code, and does not e.g. // generate a `package.json` for a NodeJS project that details how to run that code. // [](pulumirpc.LanguageRuntime.GenerateProject), this method underpins ["programgen"](programgen) and the main // functionality powering `pulumi convert`. GenerateProgram(ctx context.Context, in *GenerateProgramRequest, opts ...grpc.CallOption) (*GenerateProgramResponse, error) // `GenerateProject` generates code in this host's language that implements the given [PCL](pcl) program and wraps // it in some language-specific notion of a "project", where a project is a buildable or runnable artifact. In this // sense, `GenerateProject`'s output is a superset of that of [](pulumirpc.LanguageRuntime.GenerateProgram). For // instance, when generating a NodeJS project, this method might generate a corresponding `package.json` file, as // well as the relevant NodeJS program code. Along with [](pulumirpc.LanguageRuntime.GenerateProgram), this method // underpins ["programgen"](programgen) and the main functionality powering `pulumi convert`. GenerateProject(ctx context.Context, in *GenerateProjectRequest, opts ...grpc.CallOption) (*GenerateProjectResponse, error) // `GeneratePackage` generates code in this host's language that implements an [SDK](sdkgen) ("sdkgen") for the // given Pulumi package, as specified by a [schema](schema). GeneratePackage(ctx context.Context, in *GeneratePackageRequest, opts ...grpc.CallOption) (*GeneratePackageResponse, error) // `Pack` accepts a request specifying a generated SDK package and packs it into a language-specific artifact. For // instance, in the case of Java, it might produce a JAR file from a list of `.java` sources; in the case of NodeJS, // a `.tgz` file might be produced from a list of `.js` sources; and so on. Presently, `Pack` is primarily used in // [language conformance tests](language-conformance-tests), though it is intended to be used more widely in future // to standardise e.g. provider publishing workflows. Pack(ctx context.Context, in *PackRequest, opts ...grpc.CallOption) (*PackResponse, error) // `Link` links a local dependency into a project. Link(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*LinkResponse, error) // `Cancel` signals the language runtime to gracefully shut down and abort any ongoing operations. // Operations aborted in this way will return an error. Cancel(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, 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.
The LanguageRuntime service defines a standard interface for [language hosts/runtimes](languages). At a high level, a language runtime provides the ability to execute programs, install and query dependencies, and generate code for a specific language.
func NewLanguageRuntimeClient ¶
func NewLanguageRuntimeClient(cc grpc.ClientConnInterface) LanguageRuntimeClient
type LanguageRuntimeServer ¶
type LanguageRuntimeServer interface { // `Handshake` is the first call made by the engine to a language host. It is used to pass the engine's address to // the language host so that it may establish its own connections back, and to establish protocol configuration that // will be used to communicate between the two parties. Handshake(context.Context, *LanguageHandshakeRequest) (*LanguageHandshakeResponse, error) // Deprecated: Do not use. // `GetRequiredPlugins` computes the complete set of anticipated [plugins](plugins) required by a Pulumi program. // Among other things, it is intended to be used to pre-install plugins before running a program with // [](pulumirpc.LanguageRuntime.Run), to avoid the need to install them on-demand in response to [resource // registrations](resource-registration) sent back from the running program to the engine. // // :::{important} // The use of `GetRequiredPlugins` is deprecated in favour of [](pulumirpc.LanguageRuntime.GetRequiredPackages), // which returns more granular information about which plugins are required by which packages. // ::: GetRequiredPlugins(context.Context, *GetRequiredPluginsRequest) (*GetRequiredPluginsResponse, error) // `GetRequiredPackages` computes the complete set of anticipated [packages](pulumirpc.PackageDependency) required // by a program. It is used to pre-install packages before running a program with [](pulumirpc.LanguageRuntime.Run), // to avoid the need to install them on-demand in response to [resource registrations](resource-registration) sent // back from the running program to the engine. Moreover, when importing resources into a stack, it is used to // determine which plugins are required to service the import of a given resource, since given the presence of // [parameterized providers](parameterized-providers), it is not in general true that a package name corresponds 1:1 // with a plugin name. It replaces [](pulumirpc.LanguageRuntime.GetRequiredPlugins) in the face of [parameterized // providers](parameterized-providers), which as mentioned above can enable multiple instances of the same plugin to // provide multiple packages. GetRequiredPackages(context.Context, *GetRequiredPackagesRequest) (*GetRequiredPackagesResponse, error) // `Run` executes a Pulumi program, returning information about whether or not the program produced an error. Run(context.Context, *RunRequest) (*RunResponse, error) // `GetPluginInfo` returns information about the [plugin](plugins) implementing this language runtime. GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error) // `InstallDependencies` accepts a request specifying a Pulumi project and program that can be executed with // [](pulumirpc.LanguageRuntime.Run) and installs the dependencies for that program (e.g. by running `npm install` // for NodeJS, or `pip install` for Python). Since dependency installation could take a while, and callers may wish // to report on its progress, this method returns a stream of [](pulumirpc.InstallDependenciesResponse) messages // containing information about standard error and output. InstallDependencies(*InstallDependenciesRequest, grpc.ServerStreamingServer[InstallDependenciesResponse]) error // `RuntimeOptionsPrompts` accepts a request specifying a Pulumi project and returns a list of additional prompts to // ask during `pulumi new`. RuntimeOptionsPrompts(context.Context, *RuntimeOptionsRequest) (*RuntimeOptionsResponse, error) // `About` returns information about the language runtime being used. About(context.Context, *AboutRequest) (*AboutResponse, error) // `GetProgramDependencies` computes the set of language-level dependencies (e.g. NPM packages for NodeJS, or Maven // libraries for Java) required by a program. GetProgramDependencies(context.Context, *GetProgramDependenciesRequest) (*GetProgramDependenciesResponse, error) // `RunPlugin` is used to execute a program written in this host's language that implements a Pulumi // [plugin](plugins). It it is plugins what [](pulumirpc.LanguageRuntime.Run) is to programs. Since a plugin is not // expected to terminate until instructed/for a long time, this method returns a stream of // [](pulumirpc.RunPluginResponse) messages containing information about standard error and output, as well as the // exit code of the plugin when it does terminate. RunPlugin(*RunPluginRequest, grpc.ServerStreamingServer[RunPluginResponse]) error // `GenerateProgram` generates code in this host's language that implements the given [PCL](pcl) program. Unlike // [](pulumirpc.LanguageRuntime.GenerateProject), this method *only* generates program code, and does not e.g. // generate a `package.json` for a NodeJS project that details how to run that code. // [](pulumirpc.LanguageRuntime.GenerateProject), this method underpins ["programgen"](programgen) and the main // functionality powering `pulumi convert`. GenerateProgram(context.Context, *GenerateProgramRequest) (*GenerateProgramResponse, error) // `GenerateProject` generates code in this host's language that implements the given [PCL](pcl) program and wraps // it in some language-specific notion of a "project", where a project is a buildable or runnable artifact. In this // sense, `GenerateProject`'s output is a superset of that of [](pulumirpc.LanguageRuntime.GenerateProgram). For // instance, when generating a NodeJS project, this method might generate a corresponding `package.json` file, as // well as the relevant NodeJS program code. Along with [](pulumirpc.LanguageRuntime.GenerateProgram), this method // underpins ["programgen"](programgen) and the main functionality powering `pulumi convert`. GenerateProject(context.Context, *GenerateProjectRequest) (*GenerateProjectResponse, error) // `GeneratePackage` generates code in this host's language that implements an [SDK](sdkgen) ("sdkgen") for the // given Pulumi package, as specified by a [schema](schema). GeneratePackage(context.Context, *GeneratePackageRequest) (*GeneratePackageResponse, error) // `Pack` accepts a request specifying a generated SDK package and packs it into a language-specific artifact. For // instance, in the case of Java, it might produce a JAR file from a list of `.java` sources; in the case of NodeJS, // a `.tgz` file might be produced from a list of `.js` sources; and so on. Presently, `Pack` is primarily used in // [language conformance tests](language-conformance-tests), though it is intended to be used more widely in future // to standardise e.g. provider publishing workflows. Pack(context.Context, *PackRequest) (*PackResponse, error) // `Link` links a local dependency into a project. Link(context.Context, *LinkRequest) (*LinkResponse, error) // `Cancel` signals the language runtime to gracefully shut down and abort any ongoing operations. // Operations aborted in this way will return an error. Cancel(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // contains filtered or unexported methods }
LanguageRuntimeServer is the server API for LanguageRuntime service. All implementations must embed UnimplementedLanguageRuntimeServer for forward compatibility.
The LanguageRuntime service defines a standard interface for [language hosts/runtimes](languages). At a high level, a language runtime provides the ability to execute programs, install and query dependencies, and generate code for a specific language.
type LanguageRuntime_InstallDependenciesClient ¶ added in v3.29.0
type LanguageRuntime_InstallDependenciesClient = grpc.ServerStreamingClient[InstallDependenciesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type LanguageRuntime_InstallDependenciesServer ¶ added in v3.29.0
type LanguageRuntime_InstallDependenciesServer = grpc.ServerStreamingServer[InstallDependenciesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type LanguageRuntime_RunPluginClient ¶ added in v3.47.0
type LanguageRuntime_RunPluginClient = grpc.ServerStreamingClient[RunPluginResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type LanguageRuntime_RunPluginServer ¶ added in v3.47.0
type LanguageRuntime_RunPluginServer = grpc.ServerStreamingServer[RunPluginResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type LinkRequest ¶ added in v3.176.0
type LinkRequest struct { // The program to use. Info *ProgramInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // Local dependencies that the program should reference explicitly, instead of e.g. using the language's // package system. This is a map of package names to local paths of language-specific artifacts that // should be used. For instance, in the case of a NodeJS package, this might be a map of NPM package names // to local paths to be used, such as `{ "@pulumi/aws": "/some/path/to/aws.tgz" }` if a local tarball is // to be used instead of the published `@pulumi/aws` package. LocalDependencies map[string]string `` /* 186-byte string literal not displayed */ // The target of a codegen.LoaderServer to use for loading schemas. LoaderTarget string `protobuf:"bytes,3,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"` // contains filtered or unexported fields }
`LinkRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.Link) call.
func (*LinkRequest) Descriptor
deprecated
added in
v3.176.0
func (*LinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkRequest.ProtoReflect.Descriptor instead.
func (*LinkRequest) GetInfo ¶ added in v3.176.0
func (x *LinkRequest) GetInfo() *ProgramInfo
func (*LinkRequest) GetLoaderTarget ¶ added in v3.198.0
func (x *LinkRequest) GetLoaderTarget() string
func (*LinkRequest) GetLocalDependencies ¶ added in v3.176.0
func (x *LinkRequest) GetLocalDependencies() map[string]string
func (*LinkRequest) ProtoMessage ¶ added in v3.176.0
func (*LinkRequest) ProtoMessage()
func (*LinkRequest) ProtoReflect ¶ added in v3.176.0
func (x *LinkRequest) ProtoReflect() protoreflect.Message
func (*LinkRequest) Reset ¶ added in v3.176.0
func (x *LinkRequest) Reset()
func (*LinkRequest) String ¶ added in v3.176.0
func (x *LinkRequest) String() string
type LinkResponse ¶ added in v3.176.0
type LinkResponse struct {
// contains filtered or unexported fields
}
`LinkResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.Link) call.
func (*LinkResponse) Descriptor
deprecated
added in
v3.176.0
func (*LinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use LinkResponse.ProtoReflect.Descriptor instead.
func (*LinkResponse) ProtoMessage ¶ added in v3.176.0
func (*LinkResponse) ProtoMessage()
func (*LinkResponse) ProtoReflect ¶ added in v3.176.0
func (x *LinkResponse) ProtoReflect() protoreflect.Message
func (*LinkResponse) Reset ¶ added in v3.176.0
func (x *LinkResponse) Reset()
func (*LinkResponse) String ¶ added in v3.176.0
func (x *LinkResponse) String() string
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) Descriptor() protoreflect.EnumDescriptor
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
func (LogSeverity) Type() protoreflect.EnumType
type PackRequest ¶ added in v3.78.0
type PackRequest struct { // The directory containing the package to pack. This should be an absolute path on the filesystem that is accessible // to the language host. PackageDirectory string `protobuf:"bytes,1,opt,name=package_directory,json=packageDirectory,proto3" json:"package_directory,omitempty"` // The directory to write the packed artifact to. This should be an absolute path on the filesystem that is // accessible to the language host. DestinationDirectory string `protobuf:"bytes,2,opt,name=destination_directory,json=destinationDirectory,proto3" json:"destination_directory,omitempty"` // contains filtered or unexported fields }
`PackRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.Pack) call.
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 path to the packed artifact. This should be an absolute path on the filesystem that is accessible to the // language host. ArtifactPath string `protobuf:"bytes,1,opt,name=artifact_path,json=artifactPath,proto3" json:"artifact_path,omitempty"` // contains filtered or unexported fields }
`PackResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.Pack) call.
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 PackageDependency ¶ added in v3.143.0
type PackageDependency 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 `` /* 145-byte string literal not displayed */ // The optional parameterization for this package. Parameterization *PackageParameterization `protobuf:"bytes,6,opt,name=parameterization,proto3" json:"parameterization,omitempty"` // contains filtered or unexported fields }
PackageDependency is information about a package that a program may depend upon.
func (*PackageDependency) Descriptor
deprecated
added in
v3.143.0
func (*PackageDependency) Descriptor() ([]byte, []int)
Deprecated: Use PackageDependency.ProtoReflect.Descriptor instead.
func (*PackageDependency) GetChecksums ¶ added in v3.143.0
func (x *PackageDependency) GetChecksums() map[string][]byte
func (*PackageDependency) GetKind ¶ added in v3.143.0
func (x *PackageDependency) GetKind() string
func (*PackageDependency) GetName ¶ added in v3.143.0
func (x *PackageDependency) GetName() string
func (*PackageDependency) GetParameterization ¶ added in v3.143.0
func (x *PackageDependency) GetParameterization() *PackageParameterization
func (*PackageDependency) GetServer ¶ added in v3.143.0
func (x *PackageDependency) GetServer() string
func (*PackageDependency) GetVersion ¶ added in v3.143.0
func (x *PackageDependency) GetVersion() string
func (*PackageDependency) ProtoMessage ¶ added in v3.143.0
func (*PackageDependency) ProtoMessage()
func (*PackageDependency) ProtoReflect ¶ added in v3.143.0
func (x *PackageDependency) ProtoReflect() protoreflect.Message
func (*PackageDependency) Reset ¶ added in v3.143.0
func (x *PackageDependency) Reset()
func (*PackageDependency) String ¶ added in v3.143.0
func (x *PackageDependency) String() string
type PackageParameterization ¶ added in v3.143.0
type PackageParameterization struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the parameterized package name. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // the parameterized package version. Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // the parameter value for the parameterized package. // contains filtered or unexported fields }
func (*PackageParameterization) Descriptor
deprecated
added in
v3.143.0
func (*PackageParameterization) Descriptor() ([]byte, []int)
Deprecated: Use PackageParameterization.ProtoReflect.Descriptor instead.
func (*PackageParameterization) GetName ¶ added in v3.143.0
func (x *PackageParameterization) GetName() string
func (*PackageParameterization) GetValue ¶ added in v3.143.0
func (x *PackageParameterization) GetValue() []byte
func (*PackageParameterization) GetVersion ¶ added in v3.143.0
func (x *PackageParameterization) GetVersion() string
func (*PackageParameterization) ProtoMessage ¶ added in v3.143.0
func (*PackageParameterization) ProtoMessage()
func (*PackageParameterization) ProtoReflect ¶ added in v3.143.0
func (x *PackageParameterization) ProtoReflect() protoreflect.Message
func (*PackageParameterization) Reset ¶ added in v3.143.0
func (x *PackageParameterization) Reset()
func (*PackageParameterization) String ¶ added in v3.143.0
func (x *PackageParameterization) String() string
type Parameterization ¶ added in v3.123.0
type Parameterization struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the parameterized package name. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // the parameterized package version. Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // the parameter value for the parameterized package. // contains filtered or unexported fields }
func (*Parameterization) Descriptor
deprecated
added in
v3.123.0
func (*Parameterization) Descriptor() ([]byte, []int)
Deprecated: Use Parameterization.ProtoReflect.Descriptor instead.
func (*Parameterization) GetName ¶ added in v3.123.0
func (x *Parameterization) GetName() string
func (*Parameterization) GetValue ¶ added in v3.123.0
func (x *Parameterization) GetValue() []byte
func (*Parameterization) GetVersion ¶ added in v3.123.0
func (x *Parameterization) GetVersion() string
func (*Parameterization) ProtoMessage ¶ added in v3.123.0
func (*Parameterization) ProtoMessage()
func (*Parameterization) ProtoReflect ¶ added in v3.123.0
func (x *Parameterization) ProtoReflect() protoreflect.Message
func (*Parameterization) Reset ¶ added in v3.123.0
func (x *Parameterization) Reset()
func (*Parameterization) String ¶ added in v3.123.0
func (x *Parameterization) String() string
type ParameterizeRequest ¶ added in v3.117.0
type ParameterizeRequest struct { // Types that are valid to be assigned to Parameters: // // *ParameterizeRequest_Args // *ParameterizeRequest_Value Parameters isParameterizeRequest_Parameters `protobuf_oneof:"parameters"` // contains filtered or unexported fields }
`ParameterizeRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Parameterize) call. A `ParameterizeRequest` may contain either:
- a string array (`ParametersArgs`), intended to represent a set of command-line arguments so as to support instantiating a parameterized provider from a command-line invocation (e.g. to generate an SDK).
- a byte array accompanied by a name and version (`ParametersValue`), intended to represent a parameter embedded in a previously generated SDK.
Embedding parameter values in SDKs allows programs to consume parameterized providers without needing to know the details of the parameterization. Allowing the representation embedded into an SDK to differ from that supplied on the command-line permits providers to implement optimizations for the common, fast-path case (program execution), such as embedding a generated schema as opposed to generating it on-demand for each resource registration.
func (*ParameterizeRequest) Descriptor
deprecated
added in
v3.117.0
func (*ParameterizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParameterizeRequest.ProtoReflect.Descriptor instead.
func (*ParameterizeRequest) GetArgs ¶ added in v3.117.0
func (x *ParameterizeRequest) GetArgs() *ParameterizeRequest_ParametersArgs
func (*ParameterizeRequest) GetParameters ¶ added in v3.117.0
func (x *ParameterizeRequest) GetParameters() isParameterizeRequest_Parameters
func (*ParameterizeRequest) GetValue ¶ added in v3.117.0
func (x *ParameterizeRequest) GetValue() *ParameterizeRequest_ParametersValue
func (*ParameterizeRequest) ProtoMessage ¶ added in v3.117.0
func (*ParameterizeRequest) ProtoMessage()
func (*ParameterizeRequest) ProtoReflect ¶ added in v3.117.0
func (x *ParameterizeRequest) ProtoReflect() protoreflect.Message
func (*ParameterizeRequest) Reset ¶ added in v3.117.0
func (x *ParameterizeRequest) Reset()
func (*ParameterizeRequest) String ¶ added in v3.117.0
func (x *ParameterizeRequest) String() string
type ParameterizeRequest_Args ¶ added in v3.117.0
type ParameterizeRequest_Args struct { // Arguments from the command line. Args *ParameterizeRequest_ParametersArgs `protobuf:"bytes,1,opt,name=args,proto3,oneof"` }
type ParameterizeRequest_ParametersArgs ¶ added in v3.117.0
type ParameterizeRequest_ParametersArgs struct { Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
A parameter value, represented as an array of strings, as might be provided by a command-line invocation, such as that used to generate an SDK.
func (*ParameterizeRequest_ParametersArgs) Descriptor
deprecated
added in
v3.117.0
func (*ParameterizeRequest_ParametersArgs) Descriptor() ([]byte, []int)
Deprecated: Use ParameterizeRequest_ParametersArgs.ProtoReflect.Descriptor instead.
func (*ParameterizeRequest_ParametersArgs) GetArgs ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersArgs) GetArgs() []string
func (*ParameterizeRequest_ParametersArgs) ProtoMessage ¶ added in v3.117.0
func (*ParameterizeRequest_ParametersArgs) ProtoMessage()
func (*ParameterizeRequest_ParametersArgs) ProtoReflect ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersArgs) ProtoReflect() protoreflect.Message
func (*ParameterizeRequest_ParametersArgs) Reset ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersArgs) Reset()
func (*ParameterizeRequest_ParametersArgs) String ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersArgs) String() string
type ParameterizeRequest_ParametersValue ¶ added in v3.117.0
type ParameterizeRequest_ParametersValue struct { // The sub-package name for this sub-schema parameterization. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The sub-package version for this sub-schema parameterization. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The embedded value from the sub-package. Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A parameter value, represented by an arbitrary array of bytes accompanied by a name and version. This is expected to be the format used by parameterized provider SDKs.
func (*ParameterizeRequest_ParametersValue) Descriptor
deprecated
added in
v3.117.0
func (*ParameterizeRequest_ParametersValue) Descriptor() ([]byte, []int)
Deprecated: Use ParameterizeRequest_ParametersValue.ProtoReflect.Descriptor instead.
func (*ParameterizeRequest_ParametersValue) GetName ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersValue) GetName() string
func (*ParameterizeRequest_ParametersValue) GetValue ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersValue) GetValue() []byte
func (*ParameterizeRequest_ParametersValue) GetVersion ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersValue) GetVersion() string
func (*ParameterizeRequest_ParametersValue) ProtoMessage ¶ added in v3.117.0
func (*ParameterizeRequest_ParametersValue) ProtoMessage()
func (*ParameterizeRequest_ParametersValue) ProtoReflect ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersValue) ProtoReflect() protoreflect.Message
func (*ParameterizeRequest_ParametersValue) Reset ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersValue) Reset()
func (*ParameterizeRequest_ParametersValue) String ¶ added in v3.117.0
func (x *ParameterizeRequest_ParametersValue) String() string
type ParameterizeRequest_Value ¶ added in v3.117.0
type ParameterizeRequest_Value struct { // Values from a generated SDK. Value *ParameterizeRequest_ParametersValue `protobuf:"bytes,2,opt,name=value,proto3,oneof"` }
type ParameterizeResponse ¶ added in v3.117.0
type ParameterizeResponse struct { // The name of the sub-package parameterized. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The version of the sub-package parameterized. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
`ParameterizeResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Parameterize) call. It contains a name and version that can be used to identify the sub-package that now exists as a result of parameterization.
func (*ParameterizeResponse) Descriptor
deprecated
added in
v3.117.0
func (*ParameterizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParameterizeResponse.ProtoReflect.Descriptor instead.
func (*ParameterizeResponse) GetName ¶ added in v3.117.0
func (x *ParameterizeResponse) GetName() string
func (*ParameterizeResponse) GetVersion ¶ added in v3.117.0
func (x *ParameterizeResponse) GetVersion() string
func (*ParameterizeResponse) ProtoMessage ¶ added in v3.117.0
func (*ParameterizeResponse) ProtoMessage()
func (*ParameterizeResponse) ProtoReflect ¶ added in v3.117.0
func (x *ParameterizeResponse) ProtoReflect() protoreflect.Message
func (*ParameterizeResponse) Reset ¶ added in v3.117.0
func (x *ParameterizeResponse) Reset()
func (*ParameterizeResponse) String ¶ added in v3.117.0
func (x *ParameterizeResponse) 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 `` /* 145-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 PolicyComplianceFramework ¶ added in v3.196.0
type PolicyComplianceFramework struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The compliance framework name. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The compliance framework version. Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // The compliance framework reference. Specification string `protobuf:"bytes,4,opt,name=specification,proto3" json:"specification,omitempty"` // The compliance framework specification. // contains filtered or unexported fields }
PolicyComplianceFramework provides information about the compliance framework that a policy belongs to.
func (*PolicyComplianceFramework) Descriptor
deprecated
added in
v3.196.0
func (*PolicyComplianceFramework) Descriptor() ([]byte, []int)
Deprecated: Use PolicyComplianceFramework.ProtoReflect.Descriptor instead.
func (*PolicyComplianceFramework) GetName ¶ added in v3.196.0
func (x *PolicyComplianceFramework) GetName() string
func (*PolicyComplianceFramework) GetReference ¶ added in v3.196.0
func (x *PolicyComplianceFramework) GetReference() string
func (*PolicyComplianceFramework) GetSpecification ¶ added in v3.196.0
func (x *PolicyComplianceFramework) GetSpecification() string
func (*PolicyComplianceFramework) GetVersion ¶ added in v3.196.0
func (x *PolicyComplianceFramework) GetVersion() string
func (*PolicyComplianceFramework) ProtoMessage ¶ added in v3.196.0
func (*PolicyComplianceFramework) ProtoMessage()
func (*PolicyComplianceFramework) ProtoReflect ¶ added in v3.196.0
func (x *PolicyComplianceFramework) ProtoReflect() protoreflect.Message
func (*PolicyComplianceFramework) Reset ¶ added in v3.196.0
func (x *PolicyComplianceFramework) Reset()
func (*PolicyComplianceFramework) String ¶ added in v3.196.0
func (x *PolicyComplianceFramework) 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. PolicyType PolicyType `protobuf:"varint,7,opt,name=policy_type,json=policyType,proto3,enum=pulumirpc.PolicyType" json:"policy_type,omitempty"` // Type of the policy. Severity PolicySeverity `protobuf:"varint,8,opt,name=severity,proto3,enum=pulumirpc.PolicySeverity" json:"severity,omitempty"` // Severity of the policy. Framework *PolicyComplianceFramework `protobuf:"bytes,9,opt,name=framework,proto3" json:"framework,omitempty"` // Compliance framework that this policy belongs to. Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"` // Tags associated with the policy. RemediationSteps string `protobuf:"bytes,11,opt,name=remediation_steps,json=remediationSteps,proto3" json:"remediation_steps,omitempty"` // A description of the steps to take to remediate a policy violation. Url string `protobuf:"bytes,12,opt,name=url,proto3" json:"url,omitempty"` // A URL to more information about 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) GetFramework ¶ added in v3.196.0
func (x *PolicyInfo) GetFramework() *PolicyComplianceFramework
func (*PolicyInfo) GetMessage ¶
func (x *PolicyInfo) GetMessage() string
func (*PolicyInfo) GetName ¶
func (x *PolicyInfo) GetName() string
func (*PolicyInfo) GetPolicyType ¶ added in v3.196.0
func (x *PolicyInfo) GetPolicyType() PolicyType
func (*PolicyInfo) GetRemediationSteps ¶ added in v3.196.0
func (x *PolicyInfo) GetRemediationSteps() string
func (*PolicyInfo) GetSeverity ¶ added in v3.196.0
func (x *PolicyInfo) GetSeverity() PolicySeverity
func (*PolicyInfo) GetTags ¶ added in v3.196.0
func (x *PolicyInfo) GetTags() []string
func (*PolicyInfo) GetUrl ¶ added in v3.196.0
func (x *PolicyInfo) GetUrl() 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 PolicyNotApplicable ¶ added in v3.196.0
type PolicyNotApplicable struct { PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` // The name of the policy that was not applicable. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // An optional reason why the policy was not applicable. // contains filtered or unexported fields }
PolicyNotApplicable describes a policy that was not applicable, including an optional reason why.
func (*PolicyNotApplicable) Descriptor
deprecated
added in
v3.196.0
func (*PolicyNotApplicable) Descriptor() ([]byte, []int)
Deprecated: Use PolicyNotApplicable.ProtoReflect.Descriptor instead.
func (*PolicyNotApplicable) GetPolicyName ¶ added in v3.196.0
func (x *PolicyNotApplicable) GetPolicyName() string
func (*PolicyNotApplicable) GetReason ¶ added in v3.196.0
func (x *PolicyNotApplicable) GetReason() string
func (*PolicyNotApplicable) ProtoMessage ¶ added in v3.196.0
func (*PolicyNotApplicable) ProtoMessage()
func (*PolicyNotApplicable) ProtoReflect ¶ added in v3.196.0
func (x *PolicyNotApplicable) ProtoReflect() protoreflect.Message
func (*PolicyNotApplicable) Reset ¶ added in v3.196.0
func (x *PolicyNotApplicable) Reset()
func (*PolicyNotApplicable) String ¶ added in v3.196.0
func (x *PolicyNotApplicable) String() string
type PolicySeverity ¶ added in v3.196.0
type PolicySeverity int32
PolicySeverity indicates the severity of a policy.
const ( PolicySeverity_POLICY_SEVERITY_UNSPECIFIED PolicySeverity = 0 // Unspecified severity. PolicySeverity_POLICY_SEVERITY_LOW PolicySeverity = 1 // Low severity. PolicySeverity_POLICY_SEVERITY_MEDIUM PolicySeverity = 2 // Medium severity. PolicySeverity_POLICY_SEVERITY_HIGH PolicySeverity = 3 // High severity. PolicySeverity_POLICY_SEVERITY_CRITICAL PolicySeverity = 4 // Critical severity. )
func (PolicySeverity) Descriptor ¶ added in v3.196.0
func (PolicySeverity) Descriptor() protoreflect.EnumDescriptor
func (PolicySeverity) Enum ¶ added in v3.196.0
func (x PolicySeverity) Enum() *PolicySeverity
func (PolicySeverity) EnumDescriptor
deprecated
added in
v3.196.0
func (PolicySeverity) EnumDescriptor() ([]byte, []int)
Deprecated: Use PolicySeverity.Descriptor instead.
func (PolicySeverity) Number ¶ added in v3.196.0
func (x PolicySeverity) Number() protoreflect.EnumNumber
func (PolicySeverity) String ¶ added in v3.196.0
func (x PolicySeverity) String() string
func (PolicySeverity) Type ¶ added in v3.196.0
func (PolicySeverity) Type() protoreflect.EnumType
type PolicyType ¶ added in v3.196.0
type PolicyType int32
PolicyType indicates the type of a policy.
const ( PolicyType_POLICY_TYPE_UNKNOWN PolicyType = 0 // Unknown policy type. PolicyType_POLICY_TYPE_RESOURCE PolicyType = 1 // A policy that validates a resource. PolicyType_POLICY_TYPE_STACK PolicyType = 2 // A policy that validates a stack. )
func (PolicyType) Descriptor ¶ added in v3.196.0
func (PolicyType) Descriptor() protoreflect.EnumDescriptor
func (PolicyType) Enum ¶ added in v3.196.0
func (x PolicyType) Enum() *PolicyType
func (PolicyType) EnumDescriptor
deprecated
added in
v3.196.0
func (PolicyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PolicyType.Descriptor instead.
func (PolicyType) Number ¶ added in v3.196.0
func (x PolicyType) Number() protoreflect.EnumNumber
func (PolicyType) String ¶ added in v3.196.0
func (x PolicyType) String() string
func (PolicyType) Type ¶ added in v3.196.0
func (PolicyType) Type() protoreflect.EnumType
type ProgramInfo ¶ added in v3.97.0
type ProgramInfo struct { // The root of the project containing the program, where the `Pulumi.yaml` file is located. This should be an // absolute path on the filesystem that is accessible to the language host. RootDirectory string `protobuf:"bytes,1,opt,name=root_directory,json=rootDirectory,proto3" json:"root_directory,omitempty"` // The directory containing the program to execute (e.g. the location of the `index.ts` for a TypeScript NodeJS // program). This should be an absolute path on the filesystem that is accessible to the language host. If // `ProgramInfo` is being built from a `Pulumi.yaml`, this will typically be the directory portion of the `main` // property in that file. ProgramDirectory string `protobuf:"bytes,2,opt,name=program_directory,json=programDirectory,proto3" json:"program_directory,omitempty"` // The entry point of the program to execute. This should be a relative path from the `program_directory`, and is // often just `.` to indicate the program directory itself, but it can also be a filename inside the directory.. If // `ProgramInfo` is being built from a `Pulumi.yaml`, this will typically be the filename specified `main` property // in that file if it is present, or the aforementioned `.` if not. EntryPoint string `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"` // A struct capturing any language-specific options. If `ProgramInfo` is being built from a `Pulumi.yaml`, this will // contain the `runtime.options` property from that file. Options *structpb.Struct `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
A `ProgramInfo` struct specifies a Pulumi program, and is built typically based on the location of a `Pulumi.yaml` file and the `runtime`, `main` and other properties within that file.
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 { // The kind of diff associated with this property. Kind PropertyDiff_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=pulumirpc.PropertyDiff_Kind" json:"kind,omitempty"` // True if and only if this difference represents one between a pair of old and new inputs, as opposed to a pair of // old and new states. InputDiff bool `protobuf:"varint,2,opt,name=inputDiff,proto3" json:"inputDiff,omitempty"` // contains filtered or unexported fields }
`PropertyDiff` describes the kind of change that occurred to a property during a diff operation. A `PropertyDiff` may indicate that a property was added, deleted, or updated, and may further indicate that the change requires a replacement.
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
The type of property diff kinds.
const ( // This property was added. PropertyDiff_ADD PropertyDiff_Kind = 0 // This property was added, and this change requires a replace. PropertyDiff_ADD_REPLACE PropertyDiff_Kind = 1 // This property was removed. PropertyDiff_DELETE PropertyDiff_Kind = 2 // This property was removed, and this change requires a replace. PropertyDiff_DELETE_REPLACE PropertyDiff_Kind = 3 // This property's value was changed. PropertyDiff_UPDATE PropertyDiff_Kind = 4 // This property's value was changed, and this change requires a replace. PropertyDiff_UPDATE_REPLACE PropertyDiff_Kind = 5 )
func (PropertyDiff_Kind) Descriptor ¶ added in v3.35.0
func (PropertyDiff_Kind) Descriptor() protoreflect.EnumDescriptor
func (PropertyDiff_Kind) Enum ¶ added in v3.35.0
func (x PropertyDiff_Kind) Enum() *PropertyDiff_Kind
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 (x PropertyDiff_Kind) Number() protoreflect.EnumNumber
func (PropertyDiff_Kind) String ¶
func (x PropertyDiff_Kind) String() string
func (PropertyDiff_Kind) Type ¶ added in v3.35.0
func (PropertyDiff_Kind) Type() protoreflect.EnumType
type ProviderHandshakeRequest ¶ added in v3.143.0
type ProviderHandshakeRequest struct { // The gRPC address of the engine handshaking with the provider. At a minimum, this address will expose an instance // of the [](pulumirpc.Engine) service. EngineAddress string `protobuf:"bytes,1,opt,name=engine_address,json=engineAddress,proto3" json:"engine_address,omitempty"` // A *root directory* where the provider's binary, `PulumiPlugin.yaml`, or other identifying source code is located. // In the event that the provider is *not* being booted by the engine (e.g. in the case that the engine has been // asked to attach to an existing running provider instance via a host/port number), this field will be empty. RootDirectory *string `protobuf:"bytes,2,opt,name=root_directory,json=rootDirectory,proto3,oneof" json:"root_directory,omitempty"` // A *program directory* in which the provider should execute. This is generally a subdirectory of the root // directory, though this is not required. In the event that the provider is *not* being booted by the engine (e.g. // in the case that the engine has been asked to attach to an existing running provider instance via a host/port // number), this field will be empty. ProgramDirectory *string `protobuf:"bytes,3,opt,name=program_directory,json=programDirectory,proto3,oneof" json:"program_directory,omitempty"` // If true the engine will send URN, Name, Type, and ID to the provider as part of the configuration. ConfigureWithUrn bool `protobuf:"varint,4,opt,name=configure_with_urn,json=configureWithUrn,proto3" json:"configure_with_urn,omitempty"` // If true the engine supports views and can send the address of a [](pulumirpc.ResourceStatus) service which can be // used to e.g. create or update view resources. SupportsViews bool `protobuf:"varint,5,opt,name=supports_views,json=supportsViews,proto3" json:"supports_views,omitempty"` // If true the engine supports letting the provider mark resource states as requiring refresh before update. SupportsRefreshBeforeUpdate bool `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
`ProviderHandshakeRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Handshake) call.
func (*ProviderHandshakeRequest) Descriptor
deprecated
added in
v3.143.0
func (*ProviderHandshakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProviderHandshakeRequest.ProtoReflect.Descriptor instead.
func (*ProviderHandshakeRequest) GetConfigureWithUrn ¶ added in v3.154.0
func (x *ProviderHandshakeRequest) GetConfigureWithUrn() bool
func (*ProviderHandshakeRequest) GetEngineAddress ¶ added in v3.143.0
func (x *ProviderHandshakeRequest) GetEngineAddress() string
func (*ProviderHandshakeRequest) GetProgramDirectory ¶ added in v3.143.0
func (x *ProviderHandshakeRequest) GetProgramDirectory() string
func (*ProviderHandshakeRequest) GetRootDirectory ¶ added in v3.143.0
func (x *ProviderHandshakeRequest) GetRootDirectory() string
func (*ProviderHandshakeRequest) GetSupportsRefreshBeforeUpdate ¶ added in v3.172.0
func (x *ProviderHandshakeRequest) GetSupportsRefreshBeforeUpdate() bool
func (*ProviderHandshakeRequest) GetSupportsViews ¶ added in v3.168.0
func (x *ProviderHandshakeRequest) GetSupportsViews() bool
func (*ProviderHandshakeRequest) ProtoMessage ¶ added in v3.143.0
func (*ProviderHandshakeRequest) ProtoMessage()
func (*ProviderHandshakeRequest) ProtoReflect ¶ added in v3.143.0
func (x *ProviderHandshakeRequest) ProtoReflect() protoreflect.Message
func (*ProviderHandshakeRequest) Reset ¶ added in v3.143.0
func (x *ProviderHandshakeRequest) Reset()
func (*ProviderHandshakeRequest) String ¶ added in v3.143.0
func (x *ProviderHandshakeRequest) String() string
type ProviderHandshakeResponse ¶ added in v3.143.0
type ProviderHandshakeResponse struct { // True if and only if the provider supports secrets. If true, the caller should pass secrets as strongly typed // values to the provider. *Must* match the value returned in response to [](pulumirpc.ResourceProvider.Configure). AcceptSecrets bool `protobuf:"varint,1,opt,name=accept_secrets,json=acceptSecrets,proto3" json:"accept_secrets,omitempty"` // True if and only if the provider supports strongly typed resources. If true, the caller should pass resources as // strongly typed values to the provider. *Must* match the value returned in response to // [](pulumirpc.ResourceProvider.Configure). AcceptResources bool `protobuf:"varint,2,opt,name=accept_resources,json=acceptResources,proto3" json:"accept_resources,omitempty"` // True if and only if the provider supports output values as inputs. If true, the engine should pass output values // to the provider where possible. *Must* match the value returned in response to // [](pulumirpc.ResourceProvider.Configure). AcceptOutputs bool `protobuf:"varint,3,opt,name=accept_outputs,json=acceptOutputs,proto3" json:"accept_outputs,omitempty"` // True if the provider accepts and respects autonaming configuration that the engine provides on behalf of the // user. *Must* match the value returned in response to [](pulumirpc.ResourceProvider.Configure). SupportsAutonamingConfiguration bool `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
`ProviderHandshakeResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Handshake) call.
func (*ProviderHandshakeResponse) Descriptor
deprecated
added in
v3.143.0
func (*ProviderHandshakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProviderHandshakeResponse.ProtoReflect.Descriptor instead.
func (*ProviderHandshakeResponse) GetAcceptOutputs ¶ added in v3.154.0
func (x *ProviderHandshakeResponse) GetAcceptOutputs() bool
func (*ProviderHandshakeResponse) GetAcceptResources ¶ added in v3.154.0
func (x *ProviderHandshakeResponse) GetAcceptResources() bool
func (*ProviderHandshakeResponse) GetAcceptSecrets ¶ added in v3.154.0
func (x *ProviderHandshakeResponse) GetAcceptSecrets() bool
func (*ProviderHandshakeResponse) GetSupportsAutonamingConfiguration ¶ added in v3.154.0
func (x *ProviderHandshakeResponse) GetSupportsAutonamingConfiguration() bool
func (*ProviderHandshakeResponse) ProtoMessage ¶ added in v3.143.0
func (*ProviderHandshakeResponse) ProtoMessage()
func (*ProviderHandshakeResponse) ProtoReflect ¶ added in v3.143.0
func (x *ProviderHandshakeResponse) ProtoReflect() protoreflect.Message
func (*ProviderHandshakeResponse) Reset ¶ added in v3.143.0
func (x *ProviderHandshakeResponse) Reset()
func (*ProviderHandshakeResponse) String ¶ added in v3.143.0
func (x *ProviderHandshakeResponse) String() string
type PublishViewStepsRequest ¶ added in v3.168.0
type PublishViewStepsRequest struct { // The service context token. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // The steps to publish. Steps []*ViewStep `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
`PublishViewStepsRequest` is the type of requests sent as part of a [](pulumirpc.ResourceStatus.PublishViewSteps) call.
func (*PublishViewStepsRequest) Descriptor
deprecated
added in
v3.168.0
func (*PublishViewStepsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishViewStepsRequest.ProtoReflect.Descriptor instead.
func (*PublishViewStepsRequest) GetSteps ¶ added in v3.168.0
func (x *PublishViewStepsRequest) GetSteps() []*ViewStep
func (*PublishViewStepsRequest) GetToken ¶ added in v3.168.0
func (x *PublishViewStepsRequest) GetToken() string
func (*PublishViewStepsRequest) ProtoMessage ¶ added in v3.168.0
func (*PublishViewStepsRequest) ProtoMessage()
func (*PublishViewStepsRequest) ProtoReflect ¶ added in v3.168.0
func (x *PublishViewStepsRequest) ProtoReflect() protoreflect.Message
func (*PublishViewStepsRequest) Reset ¶ added in v3.168.0
func (x *PublishViewStepsRequest) Reset()
func (*PublishViewStepsRequest) String ¶ added in v3.168.0
func (x *PublishViewStepsRequest) String() string
type PublishViewStepsResponse ¶ added in v3.168.0
type PublishViewStepsResponse struct {
// contains filtered or unexported fields
}
`PublishViewStepsResponse` is the type of responses sent as part of a [](pulumirpc.ResourceStatus.PublishViewSteps) call.
func (*PublishViewStepsResponse) Descriptor
deprecated
added in
v3.168.0
func (*PublishViewStepsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishViewStepsResponse.ProtoReflect.Descriptor instead.
func (*PublishViewStepsResponse) ProtoMessage ¶ added in v3.168.0
func (*PublishViewStepsResponse) ProtoMessage()
func (*PublishViewStepsResponse) ProtoReflect ¶ added in v3.168.0
func (x *PublishViewStepsResponse) ProtoReflect() protoreflect.Message
func (*PublishViewStepsResponse) Reset ¶ added in v3.168.0
func (x *PublishViewStepsResponse) Reset()
func (*PublishViewStepsResponse) String ¶ added in v3.168.0
func (x *PublishViewStepsResponse) String() string
type ReadRequest ¶
type ReadRequest struct { // The ID of the resource to read. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The URN of the resource being read. Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` // Any current state for the resource being read. This state should be sufficient to uniquely identify the resource. Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` // Any current input properties for the resource being read. These will only be populated when the // [](pulumirpc.ResourceProvider.Read) call is being made as part of a refresh operation. Inputs *structpb.Struct `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,omitempty"` // The name of the resource being read. This must match the name specified by the `urn` field, and is passed so that // providers do not have to implement URN parsing in order to extract the name of the resource. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // The type of the resource being read. This must match the type specified by the `urn` field, and is passed so that // providers do not have to implement URN parsing in order to extract the type of the resource. Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // The address of a [](pulumirpc.ResourceStatus) service which can be used to e.g. create or update view resources. ResourceStatusAddress string `` /* 126-byte string literal not displayed */ // The [](pulumirpc.ResourceStatus) service context token to pass when calling methods on the service. ResourceStatusToken string `protobuf:"bytes,8,opt,name=resource_status_token,json=resourceStatusToken,proto3" json:"resource_status_token,omitempty"` // The old views for the resource being read. These will only be populated when the // [](pulumirpc.ResourceProvider.Read) call is being made as part of a refresh operation. OldViews []*View `protobuf:"bytes,9,rep,name=old_views,json=oldViews,proto3" json:"old_views,omitempty"` // contains filtered or unexported fields }
`ReadRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Read) call.
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) GetName ¶ added in v3.132.0
func (x *ReadRequest) GetName() string
func (*ReadRequest) GetOldViews ¶ added in v3.168.0
func (x *ReadRequest) GetOldViews() []*View
func (*ReadRequest) GetProperties ¶
func (x *ReadRequest) GetProperties() *structpb.Struct
func (*ReadRequest) GetResourceStatusAddress ¶ added in v3.168.0
func (x *ReadRequest) GetResourceStatusAddress() string
func (*ReadRequest) GetResourceStatusToken ¶ added in v3.168.0
func (x *ReadRequest) GetResourceStatusToken() string
func (*ReadRequest) GetType ¶ added in v3.132.0
func (x *ReadRequest) GetType() string
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. /* 158-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. StackTrace *StackTrace `protobuf:"bytes,17,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` // the optional stack trace at the time of the request. ParentStackTraceHandle string `protobuf:"bytes,18,opt,name=parentStackTraceHandle,proto3" json:"parentStackTraceHandle,omitempty"` // the optional parent stack trace handle for the request. Supports stitching stack traces across plugins. PackageRef string `protobuf:"bytes,16,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterPackageRequest. // 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) GetPackageRef ¶ added in v3.128.0
func (x *ReadResourceRequest) GetPackageRef() string
func (*ReadResourceRequest) GetParent ¶
func (x *ReadResourceRequest) GetParent() string
func (*ReadResourceRequest) GetParentStackTraceHandle ¶ added in v3.195.0
func (x *ReadResourceRequest) GetParentStackTraceHandle() 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) GetStackTrace ¶ added in v3.195.0
func (x *ReadResourceRequest) GetStackTrace() *StackTrace
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 { // The ID of the read resource. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The output properties of the resource read from the live environment. Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // Output-derived input properties for the resource. These are returned as they would be returned from a // [](pulumirpc.ResourceProvider.Check) call with the same values. Inputs *structpb.Struct `protobuf:"bytes,3,opt,name=inputs,proto3" json:"inputs,omitempty"` // Indicates that this resource should always be refreshed prior to updates. RefreshBeforeUpdate bool `protobuf:"varint,4,opt,name=refresh_before_update,json=refreshBeforeUpdate,proto3" json:"refresh_before_update,omitempty"` // contains filtered or unexported fields }
`ReadResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Read) call. A `ReadResponse` contains the ID of the resource being read, as well as any state that was successfully read from the live environment.
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) GetRefreshBeforeUpdate ¶ added in v3.172.0
func (x *ReadResponse) GetRefreshBeforeUpdate() bool
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 RegisterPackageRequest ¶ added in v3.122.0
type RegisterPackageRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the plugin name. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // the plugin version. DownloadUrl string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` // the optional plugin download url. Checksums map[string][]byte `` // the optional plugin checksums. /* 145-byte string literal not displayed */ Parameterization *Parameterization `protobuf:"bytes,5,opt,name=parameterization,proto3" json:"parameterization,omitempty"` // the optional parameterization for this package. // contains filtered or unexported fields }
func (*RegisterPackageRequest) Descriptor
deprecated
added in
v3.122.0
func (*RegisterPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPackageRequest.ProtoReflect.Descriptor instead.
func (*RegisterPackageRequest) GetChecksums ¶ added in v3.123.0
func (x *RegisterPackageRequest) GetChecksums() map[string][]byte
func (*RegisterPackageRequest) GetDownloadUrl ¶ added in v3.123.0
func (x *RegisterPackageRequest) GetDownloadUrl() string
func (*RegisterPackageRequest) GetName ¶ added in v3.122.0
func (x *RegisterPackageRequest) GetName() string
func (*RegisterPackageRequest) GetParameterization ¶ added in v3.123.0
func (x *RegisterPackageRequest) GetParameterization() *Parameterization
func (*RegisterPackageRequest) GetVersion ¶ added in v3.122.0
func (x *RegisterPackageRequest) GetVersion() string
func (*RegisterPackageRequest) ProtoMessage ¶ added in v3.122.0
func (*RegisterPackageRequest) ProtoMessage()
func (*RegisterPackageRequest) ProtoReflect ¶ added in v3.122.0
func (x *RegisterPackageRequest) ProtoReflect() protoreflect.Message
func (*RegisterPackageRequest) Reset ¶ added in v3.122.0
func (x *RegisterPackageRequest) Reset()
func (*RegisterPackageRequest) String ¶ added in v3.122.0
func (x *RegisterPackageRequest) String() string
type RegisterPackageResponse ¶ added in v3.122.0
type RegisterPackageResponse struct { // The UUID package reference for this registered package. // // Lifecycle methods accept this reference in the 'packageRef' field. Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*RegisterPackageResponse) Descriptor
deprecated
added in
v3.122.0
func (*RegisterPackageResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPackageResponse.ProtoReflect.Descriptor instead.
func (*RegisterPackageResponse) GetRef ¶ added in v3.122.0
func (x *RegisterPackageResponse) GetRef() string
func (*RegisterPackageResponse) ProtoMessage ¶ added in v3.122.0
func (*RegisterPackageResponse) ProtoMessage()
func (*RegisterPackageResponse) ProtoReflect ¶ added in v3.122.0
func (x *RegisterPackageResponse) ProtoReflect() protoreflect.Message
func (*RegisterPackageResponse) Reset ¶ added in v3.122.0
func (x *RegisterPackageResponse) Reset()
func (*RegisterPackageResponse) String ¶ added in v3.122.0
func (x *RegisterPackageResponse) String() string
type RegisterResourceHookRequest ¶ added in v3.180.0
type RegisterResourceHookRequest struct { // The name of the hook. Must be unique within a program, registering the // same name twice is an error. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Callback *Callback `protobuf:"bytes,2,opt,name=callback,proto3" json:"callback,omitempty"` // the callback that the engine can call to run the hook. OnDryRun bool `protobuf:"varint,3,opt,name=on_dry_run,json=onDryRun,proto3" json:"on_dry_run,omitempty"` // whether to run the hook on dry runs. // contains filtered or unexported fields }
func (*RegisterResourceHookRequest) Descriptor
deprecated
added in
v3.180.0
func (*RegisterResourceHookRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResourceHookRequest.ProtoReflect.Descriptor instead.
func (*RegisterResourceHookRequest) GetCallback ¶ added in v3.180.0
func (x *RegisterResourceHookRequest) GetCallback() *Callback
func (*RegisterResourceHookRequest) GetName ¶ added in v3.180.0
func (x *RegisterResourceHookRequest) GetName() string
func (*RegisterResourceHookRequest) GetOnDryRun ¶ added in v3.180.0
func (x *RegisterResourceHookRequest) GetOnDryRun() bool
func (*RegisterResourceHookRequest) ProtoMessage ¶ added in v3.180.0
func (*RegisterResourceHookRequest) ProtoMessage()
func (*RegisterResourceHookRequest) ProtoReflect ¶ added in v3.180.0
func (x *RegisterResourceHookRequest) ProtoReflect() protoreflect.Message
func (*RegisterResourceHookRequest) Reset ¶ added in v3.180.0
func (x *RegisterResourceHookRequest) Reset()
func (*RegisterResourceHookRequest) String ¶ added in v3.180.0
func (x *RegisterResourceHookRequest) 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 (x *RegisterResourceOutputsRequest) GetOutputs() *structpb.Struct
func (*RegisterResourceOutputsRequest) GetUrn ¶
func (x *RegisterResourceOutputsRequest) GetUrn() string
func (*RegisterResourceOutputsRequest) ProtoMessage ¶
func (*RegisterResourceOutputsRequest) ProtoMessage()
func (*RegisterResourceOutputsRequest) ProtoReflect ¶ added in v3.35.0
func (x *RegisterResourceOutputsRequest) ProtoReflect() protoreflect.Message
func (*RegisterResourceOutputsRequest) Reset ¶
func (x *RegisterResourceOutputsRequest) Reset()
func (*RegisterResourceOutputsRequest) String ¶
func (x *RegisterResourceOutputsRequest) String() 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,oneof" 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. /* 167-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. /* 146-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. /* 158-byte string literal not displayed */ RetainOnDelete *bool `protobuf:"varint,25,opt,name=retainOnDelete,proto3,oneof" 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. StackTrace *StackTrace `protobuf:"bytes,35,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` // the optional stack trace at the time of the request. ParentStackTraceHandle string `protobuf:"bytes,36,opt,name=parentStackTraceHandle,proto3" json:"parentStackTraceHandle,omitempty"` // the optional parent stack trace handle for the request. Supports stitching stack traces across plugins. Transforms []*Callback `protobuf:"bytes,31,rep,name=transforms,proto3" json:"transforms,omitempty"` // a list of transforms to apply to the resource before registering it. SupportsResultReporting bool `protobuf:"varint,32,opt,name=supportsResultReporting,proto3" json:"supportsResultReporting,omitempty"` // true if the request is from an SDK that supports the result field in the response. PackageRef string `protobuf:"bytes,33,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterPackageRequest. // The resource hooks that should run at certain points in the resource's lifecycle. Hooks *RegisterResourceRequest_ResourceHooksBinding `protobuf:"bytes,34,opt,name=hooks,proto3,oneof" json:"hooks,omitempty"` // 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 (x *RegisterResourceRequest) GetCustomTimeouts() *RegisterResourceRequest_CustomTimeouts
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) GetHooks ¶ added in v3.180.0
func (x *RegisterResourceRequest) GetHooks() *RegisterResourceRequest_ResourceHooksBinding
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) GetPackageRef ¶ added in v3.126.0
func (x *RegisterResourceRequest) GetPackageRef() string
func (*RegisterResourceRequest) GetParent ¶
func (x *RegisterResourceRequest) GetParent() string
func (*RegisterResourceRequest) GetParentStackTraceHandle ¶ added in v3.195.0
func (x *RegisterResourceRequest) GetParentStackTraceHandle() 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 (x *RegisterResourceRequest) GetPropertyDependencies() map[string]*RegisterResourceRequest_PropertyDependencies
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) GetStackTrace ¶ added in v3.195.0
func (x *RegisterResourceRequest) GetStackTrace() *StackTrace
func (*RegisterResourceRequest) GetSupportsPartialValues ¶
func (x *RegisterResourceRequest) GetSupportsPartialValues() bool
func (*RegisterResourceRequest) GetSupportsResultReporting ¶ added in v3.114.0
func (x *RegisterResourceRequest) GetSupportsResultReporting() 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 (x *RegisterResourceRequest_CustomTimeouts) GetCreate() string
func (*RegisterResourceRequest_CustomTimeouts) GetDelete ¶
func (x *RegisterResourceRequest_CustomTimeouts) GetDelete() string
func (*RegisterResourceRequest_CustomTimeouts) GetUpdate ¶
func (x *RegisterResourceRequest_CustomTimeouts) GetUpdate() string
func (*RegisterResourceRequest_CustomTimeouts) ProtoMessage ¶
func (*RegisterResourceRequest_CustomTimeouts) ProtoMessage()
func (*RegisterResourceRequest_CustomTimeouts) ProtoReflect ¶ added in v3.35.0
func (x *RegisterResourceRequest_CustomTimeouts) ProtoReflect() protoreflect.Message
func (*RegisterResourceRequest_CustomTimeouts) Reset ¶
func (x *RegisterResourceRequest_CustomTimeouts) Reset()
func (*RegisterResourceRequest_CustomTimeouts) String ¶
func (x *RegisterResourceRequest_CustomTimeouts) String() 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
func (*RegisterResourceRequest_PropertyDependencies) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResourceRequest_PropertyDependencies.ProtoReflect.Descriptor instead.
func (*RegisterResourceRequest_PropertyDependencies) GetUrns ¶
func (x *RegisterResourceRequest_PropertyDependencies) GetUrns() []string
func (*RegisterResourceRequest_PropertyDependencies) ProtoMessage ¶
func (*RegisterResourceRequest_PropertyDependencies) ProtoMessage()
func (*RegisterResourceRequest_PropertyDependencies) ProtoReflect ¶ added in v3.35.0
func (x *RegisterResourceRequest_PropertyDependencies) ProtoReflect() protoreflect.Message
func (*RegisterResourceRequest_PropertyDependencies) Reset ¶
func (x *RegisterResourceRequest_PropertyDependencies) Reset()
func (*RegisterResourceRequest_PropertyDependencies) String ¶
func (x *RegisterResourceRequest_PropertyDependencies) String() string
type RegisterResourceRequest_ResourceHooksBinding ¶ added in v3.180.0
type RegisterResourceRequest_ResourceHooksBinding struct { BeforeCreate []string `protobuf:"bytes,1,rep,name=before_create,json=beforeCreate,proto3" json:"before_create,omitempty"` AfterCreate []string `protobuf:"bytes,2,rep,name=after_create,json=afterCreate,proto3" json:"after_create,omitempty"` BeforeUpdate []string `protobuf:"bytes,3,rep,name=before_update,json=beforeUpdate,proto3" json:"before_update,omitempty"` AfterUpdate []string `protobuf:"bytes,4,rep,name=after_update,json=afterUpdate,proto3" json:"after_update,omitempty"` BeforeDelete []string `protobuf:"bytes,5,rep,name=before_delete,json=beforeDelete,proto3" json:"before_delete,omitempty"` AfterDelete []string `protobuf:"bytes,6,rep,name=after_delete,json=afterDelete,proto3" json:"after_delete,omitempty"` // contains filtered or unexported fields }
func (*RegisterResourceRequest_ResourceHooksBinding) Descriptor
deprecated
added in
v3.180.0
func (*RegisterResourceRequest_ResourceHooksBinding) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResourceRequest_ResourceHooksBinding.ProtoReflect.Descriptor instead.
func (*RegisterResourceRequest_ResourceHooksBinding) GetAfterCreate ¶ added in v3.180.0
func (x *RegisterResourceRequest_ResourceHooksBinding) GetAfterCreate() []string
func (*RegisterResourceRequest_ResourceHooksBinding) GetAfterDelete ¶ added in v3.180.0
func (x *RegisterResourceRequest_ResourceHooksBinding) GetAfterDelete() []string
func (*RegisterResourceRequest_ResourceHooksBinding) GetAfterUpdate ¶ added in v3.180.0
func (x *RegisterResourceRequest_ResourceHooksBinding) GetAfterUpdate() []string
func (*RegisterResourceRequest_ResourceHooksBinding) GetBeforeCreate ¶ added in v3.180.0
func (x *RegisterResourceRequest_ResourceHooksBinding) GetBeforeCreate() []string
func (*RegisterResourceRequest_ResourceHooksBinding) GetBeforeDelete ¶ added in v3.180.0
func (x *RegisterResourceRequest_ResourceHooksBinding) GetBeforeDelete() []string
func (*RegisterResourceRequest_ResourceHooksBinding) GetBeforeUpdate ¶ added in v3.180.0
func (x *RegisterResourceRequest_ResourceHooksBinding) GetBeforeUpdate() []string
func (*RegisterResourceRequest_ResourceHooksBinding) ProtoMessage ¶ added in v3.180.0
func (*RegisterResourceRequest_ResourceHooksBinding) ProtoMessage()
func (*RegisterResourceRequest_ResourceHooksBinding) ProtoReflect ¶ added in v3.180.0
func (x *RegisterResourceRequest_ResourceHooksBinding) ProtoReflect() protoreflect.Message
func (*RegisterResourceRequest_ResourceHooksBinding) Reset ¶ added in v3.180.0
func (x *RegisterResourceRequest_ResourceHooksBinding) Reset()
func (*RegisterResourceRequest_ResourceHooksBinding) String ¶ added in v3.180.0
func (x *RegisterResourceRequest_ResourceHooksBinding) String() 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. /* 167-byte string literal not displayed */ Result Result `protobuf:"varint,7,opt,name=result,proto3,enum=pulumirpc.Result" json:"result,omitempty"` // the reason, whether the resource registration was successful, failed, or skipped. // 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 (x *RegisterResourceResponse) GetPropertyDependencies() map[string]*RegisterResourceResponse_PropertyDependencies
func (*RegisterResourceResponse) GetResult ¶ added in v3.114.0
func (x *RegisterResourceResponse) GetResult() Result
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
func (*RegisterResourceResponse_PropertyDependencies) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResourceResponse_PropertyDependencies.ProtoReflect.Descriptor instead.
func (*RegisterResourceResponse_PropertyDependencies) GetUrns ¶
func (x *RegisterResourceResponse_PropertyDependencies) GetUrns() []string
func (*RegisterResourceResponse_PropertyDependencies) ProtoMessage ¶
func (*RegisterResourceResponse_PropertyDependencies) ProtoMessage()
func (*RegisterResourceResponse_PropertyDependencies) ProtoReflect ¶ added in v3.35.0
func (x *RegisterResourceResponse_PropertyDependencies) ProtoReflect() protoreflect.Message
func (*RegisterResourceResponse_PropertyDependencies) Reset ¶
func (x *RegisterResourceResponse_PropertyDependencies) Reset()
func (*RegisterResourceResponse_PropertyDependencies) String ¶
func (x *RegisterResourceResponse_PropertyDependencies) String() 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. NotApplicable []*PolicyNotApplicable `protobuf:"bytes,2,rep,name=not_applicable,json=notApplicable,proto3" json:"not_applicable,omitempty"` // information about policies that were not applicable. // 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) GetNotApplicable ¶ added in v3.196.0
func (x *RemediateResponse) GetNotApplicable() []*PolicyNotApplicable
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. /* 157-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. /* 158-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. StackTrace *StackTrace `protobuf:"bytes,18,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` // the optional stack trace at the time of the request. ParentStackTraceHandle string `protobuf:"bytes,19,opt,name=parentStackTraceHandle,proto3" json:"parentStackTraceHandle,omitempty"` // the optional parent stack trace handle for the request. Supports stitching stack traces across plugins. PackageRef string `protobuf:"bytes,17,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterPackageRequest. // 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 (x *ResourceCallRequest) GetArgDependencies() map[string]*ResourceCallRequest_ArgumentDependencies
func (*ResourceCallRequest) GetArgs ¶ added in v3.106.0
func (x *ResourceCallRequest) GetArgs() *structpb.Struct
func (*ResourceCallRequest) GetPackageRef ¶ added in v3.128.0
func (x *ResourceCallRequest) GetPackageRef() string
func (*ResourceCallRequest) GetParentStackTraceHandle ¶ added in v3.195.0
func (x *ResourceCallRequest) GetParentStackTraceHandle() string
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) GetStackTrace ¶ added in v3.195.0
func (x *ResourceCallRequest) GetStackTrace() *StackTrace
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 (x *ResourceCallRequest_ArgumentDependencies) GetUrns() []string
func (*ResourceCallRequest_ArgumentDependencies) ProtoMessage ¶ added in v3.106.0
func (*ResourceCallRequest_ArgumentDependencies) ProtoMessage()
func (*ResourceCallRequest_ArgumentDependencies) ProtoReflect ¶ added in v3.106.0
func (x *ResourceCallRequest_ArgumentDependencies) ProtoReflect() protoreflect.Message
func (*ResourceCallRequest_ArgumentDependencies) Reset ¶ added in v3.106.0
func (x *ResourceCallRequest_ArgumentDependencies) Reset()
func (*ResourceCallRequest_ArgumentDependencies) String ¶ added in v3.106.0
func (x *ResourceCallRequest_ArgumentDependencies) String() string
type ResourceHookRequest ¶ added in v3.180.0
type ResourceHookRequest struct { Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` // the urn of the resource for which the hook is called. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // the optional urn of the resource for which the hook is called. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // the name of the resource for which the hook is called. Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // the type of the resource for which the hook is called. NewInputs *structpb.Struct `protobuf:"bytes,5,opt,name=new_inputs,json=newInputs,proto3" json:"new_inputs,omitempty"` // the optional checked new inputs of the resource. OldInputs *structpb.Struct `protobuf:"bytes,6,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // the optional checked old inputs of the resource. NewOutputs *structpb.Struct `protobuf:"bytes,7,opt,name=new_outputs,json=newOutputs,proto3" json:"new_outputs,omitempty"` // the optional new outputs of the resource. OldOutputs *structpb.Struct `protobuf:"bytes,8,opt,name=old_outputs,json=oldOutputs,proto3" json:"old_outputs,omitempty"` // the optional old outputs of the resource. // contains filtered or unexported fields }
ResourceHookRequest is the request object for resource hook callbacks in CallbackInvokeRequest.
func (*ResourceHookRequest) Descriptor
deprecated
added in
v3.180.0
func (*ResourceHookRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceHookRequest.ProtoReflect.Descriptor instead.
func (*ResourceHookRequest) GetId ¶ added in v3.180.0
func (x *ResourceHookRequest) GetId() string
func (*ResourceHookRequest) GetName ¶ added in v3.182.0
func (x *ResourceHookRequest) GetName() string
func (*ResourceHookRequest) GetNewInputs ¶ added in v3.180.0
func (x *ResourceHookRequest) GetNewInputs() *structpb.Struct
func (*ResourceHookRequest) GetNewOutputs ¶ added in v3.180.0
func (x *ResourceHookRequest) GetNewOutputs() *structpb.Struct
func (*ResourceHookRequest) GetOldInputs ¶ added in v3.180.0
func (x *ResourceHookRequest) GetOldInputs() *structpb.Struct
func (*ResourceHookRequest) GetOldOutputs ¶ added in v3.180.0
func (x *ResourceHookRequest) GetOldOutputs() *structpb.Struct
func (*ResourceHookRequest) GetType ¶ added in v3.182.0
func (x *ResourceHookRequest) GetType() string
func (*ResourceHookRequest) GetUrn ¶ added in v3.180.0
func (x *ResourceHookRequest) GetUrn() string
func (*ResourceHookRequest) ProtoMessage ¶ added in v3.180.0
func (*ResourceHookRequest) ProtoMessage()
func (*ResourceHookRequest) ProtoReflect ¶ added in v3.180.0
func (x *ResourceHookRequest) ProtoReflect() protoreflect.Message
func (*ResourceHookRequest) Reset ¶ added in v3.180.0
func (x *ResourceHookRequest) Reset()
func (*ResourceHookRequest) String ¶ added in v3.180.0
func (x *ResourceHookRequest) String() string
type ResourceHookResponse ¶ added in v3.180.0
type ResourceHookResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // an optional error message to return from the hook. // contains filtered or unexported fields }
ResourceHookResponse is the response object for resource hook callbacks in CallbackInvokeResponse.
func (*ResourceHookResponse) Descriptor
deprecated
added in
v3.180.0
func (*ResourceHookResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceHookResponse.ProtoReflect.Descriptor instead.
func (*ResourceHookResponse) GetError ¶ added in v3.180.0
func (x *ResourceHookResponse) GetError() string
func (*ResourceHookResponse) ProtoMessage ¶ added in v3.180.0
func (*ResourceHookResponse) ProtoMessage()
func (*ResourceHookResponse) ProtoReflect ¶ added in v3.180.0
func (x *ResourceHookResponse) ProtoReflect() protoreflect.Message
func (*ResourceHookResponse) Reset ¶ added in v3.180.0
func (x *ResourceHookResponse) Reset()
func (*ResourceHookResponse) String ¶ added in v3.180.0
func (x *ResourceHookResponse) String() string
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. /* 157-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. StackTrace *StackTrace `protobuf:"bytes,10,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` // the optional stack trace at the time of the request. ParentStackTraceHandle string `protobuf:"bytes,11,opt,name=parentStackTraceHandle,proto3" json:"parentStackTraceHandle,omitempty"` // the optional parent stack trace handle for the request. Supports stitching stack traces across plugins. PackageRef string `protobuf:"bytes,9,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterPackageRequest. // 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) GetPackageRef ¶ added in v3.127.0
func (x *ResourceInvokeRequest) GetPackageRef() string
func (*ResourceInvokeRequest) GetParentStackTraceHandle ¶ added in v3.195.0
func (x *ResourceInvokeRequest) GetParentStackTraceHandle() string
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) GetStackTrace ¶ added in v3.195.0
func (x *ResourceInvokeRequest) GetStackTrace() *StackTrace
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) 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) // Register a resource transform for the stack RegisterStackTransform(ctx context.Context, in *Callback, opts ...grpc.CallOption) (*emptypb.Empty, error) // Register an invoke transform for the stack RegisterStackInvokeTransform(ctx context.Context, in *Callback, opts ...grpc.CallOption) (*emptypb.Empty, error) // Register a resource hook that can be called by the engine during certain // steps of a resource's lifecycle. RegisterResourceHook(ctx context.Context, in *RegisterResourceHookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Registers a package and allocates a packageRef. The same package can be registered multiple times in Pulumi. // Multiple requests are idempotent and guaranteed to return the same result. RegisterPackage(ctx context.Context, in *RegisterPackageRequest, opts ...grpc.CallOption) (*RegisterPackageResponse, error) // SignalAndWaitForShutdown lets the resource monitor know that no more // events will be generated. This call blocks until the resource monitor is // finished, which will happen once all the steps have executed. This allows // the language runtime to stay running and handle callback requests, even // after the user program has completed. Runtime SDKs should call this after // executing the user's program. This can only be called once. SignalAndWaitForShutdown(ctx context.Context, in *emptypb.Empty, 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.
ResourceMonitor is the interface a source uses to talk back to the planning monitor orchestrating the execution.
func NewResourceMonitorClient ¶
func NewResourceMonitorClient(cc grpc.ClientConnInterface) ResourceMonitorClient
type ResourceMonitorServer ¶
type ResourceMonitorServer interface { SupportsFeature(context.Context, *SupportsFeatureRequest) (*SupportsFeatureResponse, error) Invoke(context.Context, *ResourceInvokeRequest) (*InvokeResponse, error) Call(context.Context, *ResourceCallRequest) (*CallResponse, error) ReadResource(context.Context, *ReadResourceRequest) (*ReadResourceResponse, error) RegisterResource(context.Context, *RegisterResourceRequest) (*RegisterResourceResponse, error) RegisterResourceOutputs(context.Context, *RegisterResourceOutputsRequest) (*emptypb.Empty, error) // Register a resource transform for the stack RegisterStackTransform(context.Context, *Callback) (*emptypb.Empty, error) // Register an invoke transform for the stack RegisterStackInvokeTransform(context.Context, *Callback) (*emptypb.Empty, error) // Register a resource hook that can be called by the engine during certain // steps of a resource's lifecycle. RegisterResourceHook(context.Context, *RegisterResourceHookRequest) (*emptypb.Empty, error) // Registers a package and allocates a packageRef. The same package can be registered multiple times in Pulumi. // Multiple requests are idempotent and guaranteed to return the same result. RegisterPackage(context.Context, *RegisterPackageRequest) (*RegisterPackageResponse, error) // SignalAndWaitForShutdown lets the resource monitor know that no more // events will be generated. This call blocks until the resource monitor is // finished, which will happen once all the steps have executed. This allows // the language runtime to stay running and handle callback requests, even // after the user program has completed. Runtime SDKs should call this after // executing the user's program. This can only be called once. SignalAndWaitForShutdown(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // contains filtered or unexported methods }
ResourceMonitorServer is the server API for ResourceMonitor service. All implementations must embed UnimplementedResourceMonitorServer for forward compatibility.
ResourceMonitor is the interface a source uses to talk back to the planning monitor orchestrating the execution.
type ResourceProviderClient ¶
type ResourceProviderClient interface { // `Handshake` is the first call made by the engine to a provider. It is used to pass the engine's address to the // provider so that it may establish its own connections back, and to establish protocol configuration that will be // used to communicate between the two parties. Providers that support `Handshake` should return responses // consistent with those returned in response to [](pulumirpc.ResourceProvider.Configure) calls where there is // overlap due to the use of `Configure` prior to `Handshake`'s introduction. Handshake(ctx context.Context, in *ProviderHandshakeRequest, opts ...grpc.CallOption) (*ProviderHandshakeResponse, error) // `Parameterize` is the primary means of supporting [parameterized providers](parameterized-providers), which allow // a caller to change a provider's behavior ahead of its [configuration](pulumirpc.ResourceProvider.Configure) and // subsequent use. Where a [](pulumirpc.ResourceProvider.Configure) call allows a caller to influence provider // behaviour at a high level (e.g. by specifying the region in which an AWS provider should operate), a // `Parameterize` call may change the set of resources and functions that a provider offers (that is, its schema). // This is useful in any case where some "set" of providers can be captured by a single implementation that may // power fundamentally different schemata -- dynamically bridging Terraform providers, or managing Kubernetes // clusters with custom resource definitions, for instance, are good examples. The parameterized package that // `Parameterize` yields is known as a *sub-package* of the original (unparameterized) package. // // `Parameterize` supports two types of parameterization: // // - *Replacement parameterization*, whereby a `Parameterize` call results in a schema that completely replaces the // original provider schema. Bridging a Terraform provider dynamically might be an example of this -- following // the call to `Parameterize`, the provider's schema will become that of the Terraform provider that was bridged. // Providers that implement replacement parameterization expect a *single* call to `Parameterize`. // // - *Extension parameterization*, in which a `Parameterize` call results in a schema that is a superset of the // original. This is useful in cases where a provider can be extended with additional resources or functions, such // as a Kubernetes provider that can be extended with resources representing custom resource definitions. // Providers that implement extension parameterization should accept multiple calls to `Parameterize`. Extension // packages may even be called multiple times with the same package name, but with different versions. The CRUD // operations of extension resources must include the version of which sub-package they correspond to. // // `Parameterize` should work the same whether it is provided with `ParametersArgs` or `ParametersValue` input. In // each case it should return the sub-package name and version (which when a `ParametersValue` is supplied should // match the given input). Parameterize(ctx context.Context, in *ParameterizeRequest, opts ...grpc.CallOption) (*ParameterizeResponse, error) // GetSchema fetches the schema for this resource provider. GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*GetSchemaResponse, error) // `CheckConfig` validates a set of configuration inputs that will be passed to this provider instance. // `CheckConfig` is to provider resources what [](pulumirpc.ResourceProvider.Check) is to individual resources, and // is the first stage in configuring (that is, eventually executing a [](pulumirpc.ResourceProvider.Configure) call) // a provider using user-supplied values. In the case that provider inputs are coming from some source that has been // checked previously (e.g. a Pulumi state), it is not necessary to call `CheckConfig`. // // A `CheckConfig` call returns either a set of checked, known-valid inputs that may subsequently be passed to // [](pulumirpc.ResourceProvider.DiffConfig) and/or [](pulumirpc.ResourceProvider.Configure), or a set of errors // explaining why the inputs are invalid. In the case that a set of inputs are successfully validated and returned, // `CheckConfig` *may also populate default values* for provider configuration, returning them so that they may be // passed to a subsequent [](pulumirpc.ResourceProvider.Configure) call and persisted in the Pulumi state. In the // case that `CheckConfig` fails and returns a set of errors, it is expected that the caller (typically the Pulumi // engine) will fail provider registration. // // As a rule, the provider inputs returned by a call to `CheckConfig` 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 used for detecting and // rendering diffs. CheckConfig(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) // `DiffConfig` compares an existing ("old") provider configuration with a new configuration and computes the // difference (if any) between them. `DiffConfig` is to provider resources what [](pulumirpc.ResourceProvider.Diff) // is to individual resources. `DiffConfig` should only be called with values that have at some point been validated // by a [](pulumirpc.ResourceProvider.CheckConfig) call. The [](pulumirpc.DiffResponse) returned by a `DiffConfig` // call is used primarily to determine whether or not the newly configured provider is capable of managing resources // owned by the old provider. If `DiffConfig` indicates that the provider resource needs to be replaced, for // instance, then all resources owned by that provider will *also* need to be replaced. Replacement semantics should // thus be reserved for changes to configuration properties that are guaranteed to make old resources unmanageable. // Changes to an AWS region, for example, will almost certainly require a provider replacement, but changes to an // AWS access key, should almost certainly not. // // Implementations must satisfy the invariants documented on `DiffResponse`. DiffConfig(ctx context.Context, in *DiffRequest, opts ...grpc.CallOption) (*DiffResponse, error) // `Configure` is the final stage in configuring a provider instance. Callers may supply two sets of data: // // - Provider-specific configuration, which is the set of inputs that have been validated by a previous // [](pulumirpc.ResourceProvider.CheckConfig) call. // - Provider-agnostic ("protocol") configuration, such as whether or not the caller supports secrets. // // The provider is expected to return its own set of protocol configuration, indicating which features it supports // in turn so that the caller and the provider can interact appropriately. // // Providers may expect a *single* call to `Configure`. If a call to `Configure` is missing required configuration, // the provider may return a set of error details containing [](pulumirpc.ConfigureErrorMissingKeys) values to // indicate which keys are missing. // // :::{important} // The use of `Configure` to configure protocol features is deprecated in favour of the // [](pulumirpc.ResourceProvider.Handshake) method, which should be implemented by newer providers. To enable // compatibility between older engines and providers: // // - Callers which call `Handshake` *must* call `Configure` with flags such as `acceptSecrets` and `acceptResources` // set to `true`, since these features predate the introduction of `Handshake` and thus `Handshake`-aware callers // must support them. See [](pulumirpc.ConfigureRequest) for more information. // - Providers which implement `Handshake` *must* support flags such as `acceptSecrets` and `acceptResources`, and // indicate as such by always returning `true` for these fields in [](pulumirpc.ConfigureResponse). See // [](pulumirpc.ConfigureResponse) for more information. // // ::: 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) // 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 a set of input properties against a given resource type. A `Check` call returns either a set of // checked, known-valid inputs that may subsequently be passed to [](pulumirpc.ResourceProvider.Diff), // [](pulumirpc.ResourceProvider.Create), or [](pulumirpc.ResourceProvider.Update); or a set of errors explaining // why the inputs are invalid. In the case that a set of inputs are successfully validated and returned, `Check` // *may also populate default values* for resource inputs, returning them so that they may be passed to a subsequent // call and persisted in the Pulumi state. In the case that `Check` fails and returns a set of errors, it is // expected that the caller (typically the Pulumi engine) will fail resource registration. // // 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 used for detecting and rendering // diffs. Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) // `Diff` compares an existing ("old") set of resource properties with a new set of properties and computes the // difference (if any) between them. `Diff` should only be called with values that have at some point been validated // by a [](pulumirpc.ResourceProvider.Check) call. // // Implementations must satisfy the invariants documented on `DiffResponse`. Diff(ctx context.Context, in *DiffRequest, opts ...grpc.CallOption) (*DiffResponse, error) // `Create` provisions a new instance of the specified [(custom) resource](custom-resources). It returns a // provider-assigned ID for the resource as well as the output properties that arose from the creation properties. // Output properties are typically the union of the resource's input properties and any additional values that were // computed or made available during creation. // // If creation fails, `Create` may return an [](pulumirpc.ErrorResourceInitFailed) error detail explaining why. // Moreover, if `Create` does return an error, it must be the case that the resource was *not* created (that is, // `Create` can be thought of as transactional or atomic). Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) // `Read` reads the current live state associated with a resource identified by the supplied state. The given state // must be sufficient to uniquely identify the resource. This is typically just the resource ID, but may also // include other properties. Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error) // `Update` updates an existing resource according to a new set of inputs, returning a new set of output properties. Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // `Delete` deprovisions an existing resource as specified by its ID. `Delete` should be transactional/atomic -- if // a call to `Delete` fails, it must be the case that the resource was *not* deleted and can be assumed to still // exist. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // `Construct` provisions a new [component resource](component-resources). Providers that implement `Construct` are // referred to as [component providers](component-providers). `Construct` is to component resources what // [](pulumirpc.ResourceProvider.Create) is to [custom resources](custom-resources). Components do not have any // lifecycle of their own, and instead embody the lifecycles of the resources that they are composed of. As such, // `Construct` is effectively a subprogram whose resources will be persisted in the caller's state. It is // consequently passed enough information to manage fully these resources. At a high level, this comprises: // // - A [](pulumirpc.ResourceMonitor) endpoint which the provider can use to [register](resource-registration) nested // custom or component resources that belong to the component. // // * A set of input properties. // // - A full set of [resource options](https://www.pulumi.com/docs/iac/concepts/options/) that the component should // propagate to resources it registers against the supplied resource monitor. 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` returns mappings designed to aid in [converting programs and state from other // ecosystems](converters). It accepts a "conversion key", which effectively corresponds to a source language, such // as `terraform`, and a *source provider name*, which is the name of the provider *in the source language*. Given // these, it returns source-specific mapping data for the provider requested. As an example, the Pulumi AWS // provider, which is bridged from the Terraform AWS provider and thus capable of mapping names between the two, // might respond to a call with key `terraform` and source provider name `aws` with mapping data for transforming // (among other things) Terraform AWS names such as `aws_s3_bucket` into Pulumi AWS types such as // `aws:s3/bucket:Bucket`. If a provider only supports a single source provider, or has some sensible default, it // may respond also to a call in which the source provider name is empty (`""`), which will be made when the engine // does not have sufficient knowledge to work out which provider offers a specific mapping. // // In general, it is expected that providers implemented by bridging an equivalent provider from another ecosystem // (such as bridged Terraform providers built atop the `pulumi-terraform-bridge`, for instance) implement // `GetMapping` to support conversion from that ecosystem into Pulumi using the same logic that underpins the // bridging itself. GetMapping(ctx context.Context, in *GetMappingRequest, opts ...grpc.CallOption) (*GetMappingResponse, error) // `GetMappings` is an optional method designed to aid in [converting programs and state from other // ecosystems](converters). `GetMappings` accepts a "conversion key". This corresponds to a source language, for // which we want to retrieve mappings for names etc. from that source language into Pulumi. An example key might // therefore be `terraform` in the event that we wish to map e.g. Terraform resource names to Pulumi resource types. // Given a key, `GetMappings` returns a list of *source provider names* for which calls to `GetMapping` will return // mappings. So, continuing the Terraform example, the Pulumi AWS provider, which is bridged from the Terraform AWS // provider and thus capable of mapping names between the two, might return the list `["aws"]` in response to a call // with key `terraform`. // // If a provider does not implement `GetMappings`, the engine will fall back to calling `GetMapping` blindly without // a source provider name (that is, with the value `""`). 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.
The ResourceProvider service defines a standard interface for [resource providers](providers). A resource provider manages a set of configuration, resources, functions and so on in a single package, and offers methods such as CRUD operations on resources and invocations of functions. Resource providers are primarily managed by the Pulumi engine as part of a deployment in order to interact with the cloud providers underpinning a Pulumi application.
func NewResourceProviderClient ¶
func NewResourceProviderClient(cc grpc.ClientConnInterface) ResourceProviderClient
type ResourceProviderServer ¶
type ResourceProviderServer interface { // `Handshake` is the first call made by the engine to a provider. It is used to pass the engine's address to the // provider so that it may establish its own connections back, and to establish protocol configuration that will be // used to communicate between the two parties. Providers that support `Handshake` should return responses // consistent with those returned in response to [](pulumirpc.ResourceProvider.Configure) calls where there is // overlap due to the use of `Configure` prior to `Handshake`'s introduction. Handshake(context.Context, *ProviderHandshakeRequest) (*ProviderHandshakeResponse, error) // `Parameterize` is the primary means of supporting [parameterized providers](parameterized-providers), which allow // a caller to change a provider's behavior ahead of its [configuration](pulumirpc.ResourceProvider.Configure) and // subsequent use. Where a [](pulumirpc.ResourceProvider.Configure) call allows a caller to influence provider // behaviour at a high level (e.g. by specifying the region in which an AWS provider should operate), a // `Parameterize` call may change the set of resources and functions that a provider offers (that is, its schema). // This is useful in any case where some "set" of providers can be captured by a single implementation that may // power fundamentally different schemata -- dynamically bridging Terraform providers, or managing Kubernetes // clusters with custom resource definitions, for instance, are good examples. The parameterized package that // `Parameterize` yields is known as a *sub-package* of the original (unparameterized) package. // // `Parameterize` supports two types of parameterization: // // - *Replacement parameterization*, whereby a `Parameterize` call results in a schema that completely replaces the // original provider schema. Bridging a Terraform provider dynamically might be an example of this -- following // the call to `Parameterize`, the provider's schema will become that of the Terraform provider that was bridged. // Providers that implement replacement parameterization expect a *single* call to `Parameterize`. // // - *Extension parameterization*, in which a `Parameterize` call results in a schema that is a superset of the // original. This is useful in cases where a provider can be extended with additional resources or functions, such // as a Kubernetes provider that can be extended with resources representing custom resource definitions. // Providers that implement extension parameterization should accept multiple calls to `Parameterize`. Extension // packages may even be called multiple times with the same package name, but with different versions. The CRUD // operations of extension resources must include the version of which sub-package they correspond to. // // `Parameterize` should work the same whether it is provided with `ParametersArgs` or `ParametersValue` input. In // each case it should return the sub-package name and version (which when a `ParametersValue` is supplied should // match the given input). Parameterize(context.Context, *ParameterizeRequest) (*ParameterizeResponse, error) // GetSchema fetches the schema for this resource provider. GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error) // `CheckConfig` validates a set of configuration inputs that will be passed to this provider instance. // `CheckConfig` is to provider resources what [](pulumirpc.ResourceProvider.Check) is to individual resources, and // is the first stage in configuring (that is, eventually executing a [](pulumirpc.ResourceProvider.Configure) call) // a provider using user-supplied values. In the case that provider inputs are coming from some source that has been // checked previously (e.g. a Pulumi state), it is not necessary to call `CheckConfig`. // // A `CheckConfig` call returns either a set of checked, known-valid inputs that may subsequently be passed to // [](pulumirpc.ResourceProvider.DiffConfig) and/or [](pulumirpc.ResourceProvider.Configure), or a set of errors // explaining why the inputs are invalid. In the case that a set of inputs are successfully validated and returned, // `CheckConfig` *may also populate default values* for provider configuration, returning them so that they may be // passed to a subsequent [](pulumirpc.ResourceProvider.Configure) call and persisted in the Pulumi state. In the // case that `CheckConfig` fails and returns a set of errors, it is expected that the caller (typically the Pulumi // engine) will fail provider registration. // // As a rule, the provider inputs returned by a call to `CheckConfig` 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 used for detecting and // rendering diffs. CheckConfig(context.Context, *CheckRequest) (*CheckResponse, error) // `DiffConfig` compares an existing ("old") provider configuration with a new configuration and computes the // difference (if any) between them. `DiffConfig` is to provider resources what [](pulumirpc.ResourceProvider.Diff) // is to individual resources. `DiffConfig` should only be called with values that have at some point been validated // by a [](pulumirpc.ResourceProvider.CheckConfig) call. The [](pulumirpc.DiffResponse) returned by a `DiffConfig` // call is used primarily to determine whether or not the newly configured provider is capable of managing resources // owned by the old provider. If `DiffConfig` indicates that the provider resource needs to be replaced, for // instance, then all resources owned by that provider will *also* need to be replaced. Replacement semantics should // thus be reserved for changes to configuration properties that are guaranteed to make old resources unmanageable. // Changes to an AWS region, for example, will almost certainly require a provider replacement, but changes to an // AWS access key, should almost certainly not. // // Implementations must satisfy the invariants documented on `DiffResponse`. DiffConfig(context.Context, *DiffRequest) (*DiffResponse, error) // `Configure` is the final stage in configuring a provider instance. Callers may supply two sets of data: // // - Provider-specific configuration, which is the set of inputs that have been validated by a previous // [](pulumirpc.ResourceProvider.CheckConfig) call. // - Provider-agnostic ("protocol") configuration, such as whether or not the caller supports secrets. // // The provider is expected to return its own set of protocol configuration, indicating which features it supports // in turn so that the caller and the provider can interact appropriately. // // Providers may expect a *single* call to `Configure`. If a call to `Configure` is missing required configuration, // the provider may return a set of error details containing [](pulumirpc.ConfigureErrorMissingKeys) values to // indicate which keys are missing. // // :::{important} // The use of `Configure` to configure protocol features is deprecated in favour of the // [](pulumirpc.ResourceProvider.Handshake) method, which should be implemented by newer providers. To enable // compatibility between older engines and providers: // // - Callers which call `Handshake` *must* call `Configure` with flags such as `acceptSecrets` and `acceptResources` // set to `true`, since these features predate the introduction of `Handshake` and thus `Handshake`-aware callers // must support them. See [](pulumirpc.ConfigureRequest) for more information. // - Providers which implement `Handshake` *must* support flags such as `acceptSecrets` and `acceptResources`, and // indicate as such by always returning `true` for these fields in [](pulumirpc.ConfigureResponse). See // [](pulumirpc.ConfigureResponse) for more information. // // ::: Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error) // Invoke dynamically executes a built-in function in the provider. Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error) // Call dynamically executes a method in the provider associated with a component resource. Call(context.Context, *CallRequest) (*CallResponse, error) // `Check` validates a set of input properties against a given resource type. A `Check` call returns either a set of // checked, known-valid inputs that may subsequently be passed to [](pulumirpc.ResourceProvider.Diff), // [](pulumirpc.ResourceProvider.Create), or [](pulumirpc.ResourceProvider.Update); or a set of errors explaining // why the inputs are invalid. In the case that a set of inputs are successfully validated and returned, `Check` // *may also populate default values* for resource inputs, returning them so that they may be passed to a subsequent // call and persisted in the Pulumi state. In the case that `Check` fails and returns a set of errors, it is // expected that the caller (typically the Pulumi engine) will fail resource registration. // // 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 used for detecting and rendering // diffs. Check(context.Context, *CheckRequest) (*CheckResponse, error) // `Diff` compares an existing ("old") set of resource properties with a new set of properties and computes the // difference (if any) between them. `Diff` should only be called with values that have at some point been validated // by a [](pulumirpc.ResourceProvider.Check) call. // // Implementations must satisfy the invariants documented on `DiffResponse`. Diff(context.Context, *DiffRequest) (*DiffResponse, error) // `Create` provisions a new instance of the specified [(custom) resource](custom-resources). It returns a // provider-assigned ID for the resource as well as the output properties that arose from the creation properties. // Output properties are typically the union of the resource's input properties and any additional values that were // computed or made available during creation. // // If creation fails, `Create` may return an [](pulumirpc.ErrorResourceInitFailed) error detail explaining why. // Moreover, if `Create` does return an error, it must be the case that the resource was *not* created (that is, // `Create` can be thought of as transactional or atomic). Create(context.Context, *CreateRequest) (*CreateResponse, error) // `Read` reads the current live state associated with a resource identified by the supplied state. The given state // must be sufficient to uniquely identify the resource. This is typically just the resource ID, but may also // include other properties. Read(context.Context, *ReadRequest) (*ReadResponse, error) // `Update` updates an existing resource according to a new set of inputs, returning a new set of output properties. Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // `Delete` deprovisions an existing resource as specified by its ID. `Delete` should be transactional/atomic -- if // a call to `Delete` fails, it must be the case that the resource was *not* deleted and can be assumed to still // exist. Delete(context.Context, *DeleteRequest) (*emptypb.Empty, error) // `Construct` provisions a new [component resource](component-resources). Providers that implement `Construct` are // referred to as [component providers](component-providers). `Construct` is to component resources what // [](pulumirpc.ResourceProvider.Create) is to [custom resources](custom-resources). Components do not have any // lifecycle of their own, and instead embody the lifecycles of the resources that they are composed of. As such, // `Construct` is effectively a subprogram whose resources will be persisted in the caller's state. It is // consequently passed enough information to manage fully these resources. At a high level, this comprises: // // - A [](pulumirpc.ResourceMonitor) endpoint which the provider can use to [register](resource-registration) nested // custom or component resources that belong to the component. // // * A set of input properties. // // - A full set of [resource options](https://www.pulumi.com/docs/iac/concepts/options/) that the component should // propagate to resources it registers against the supplied resource monitor. 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` returns mappings designed to aid in [converting programs and state from other // ecosystems](converters). It accepts a "conversion key", which effectively corresponds to a source language, such // as `terraform`, and a *source provider name*, which is the name of the provider *in the source language*. Given // these, it returns source-specific mapping data for the provider requested. As an example, the Pulumi AWS // provider, which is bridged from the Terraform AWS provider and thus capable of mapping names between the two, // might respond to a call with key `terraform` and source provider name `aws` with mapping data for transforming // (among other things) Terraform AWS names such as `aws_s3_bucket` into Pulumi AWS types such as // `aws:s3/bucket:Bucket`. If a provider only supports a single source provider, or has some sensible default, it // may respond also to a call in which the source provider name is empty (`""`), which will be made when the engine // does not have sufficient knowledge to work out which provider offers a specific mapping. // // In general, it is expected that providers implemented by bridging an equivalent provider from another ecosystem // (such as bridged Terraform providers built atop the `pulumi-terraform-bridge`, for instance) implement // `GetMapping` to support conversion from that ecosystem into Pulumi using the same logic that underpins the // bridging itself. GetMapping(context.Context, *GetMappingRequest) (*GetMappingResponse, error) // `GetMappings` is an optional method designed to aid in [converting programs and state from other // ecosystems](converters). `GetMappings` accepts a "conversion key". This corresponds to a source language, for // which we want to retrieve mappings for names etc. from that source language into Pulumi. An example key might // therefore be `terraform` in the event that we wish to map e.g. Terraform resource names to Pulumi resource types. // Given a key, `GetMappings` returns a list of *source provider names* for which calls to `GetMapping` will return // mappings. So, continuing the Terraform example, the Pulumi AWS provider, which is bridged from the Terraform AWS // provider and thus capable of mapping names between the two, might return the list `["aws"]` in response to a call // with key `terraform`. // // If a provider does not implement `GetMappings`, the engine will fall back to calling `GetMapping` blindly without // a source provider name (that is, with the value `""`). 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.
The ResourceProvider service defines a standard interface for [resource providers](providers). A resource provider manages a set of configuration, resources, functions and so on in a single package, and offers methods such as CRUD operations on resources and invocations of functions. Resource providers are primarily managed by the Pulumi engine as part of a deployment in order to interact with the cloud providers underpinning a Pulumi application.
type ResourceStatusClient ¶ added in v3.168.0
type ResourceStatusClient interface { // `PublishViewSteps` is used to publish a series of steps for a view resource. // Views can be materialized via create and update steps, and more complex // changes, such as replacements, can be modeled as a series of steps. // The engine does not actually apply these steps, but rather flows them through // the engine such that the view resources are written to state and the view // resources are displayed in the UI. PublishViewSteps(ctx context.Context, in *PublishViewStepsRequest, opts ...grpc.CallOption) (*PublishViewStepsResponse, error) }
ResourceStatusClient is the client API for ResourceStatus 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.
ResourceStatus is an interface that can be called from a resource provider to update status about a resource.
func NewResourceStatusClient ¶ added in v3.168.0
func NewResourceStatusClient(cc grpc.ClientConnInterface) ResourceStatusClient
type ResourceStatusServer ¶ added in v3.168.0
type ResourceStatusServer interface { // `PublishViewSteps` is used to publish a series of steps for a view resource. // Views can be materialized via create and update steps, and more complex // changes, such as replacements, can be modeled as a series of steps. // The engine does not actually apply these steps, but rather flows them through // the engine such that the view resources are written to state and the view // resources are displayed in the UI. PublishViewSteps(context.Context, *PublishViewStepsRequest) (*PublishViewStepsResponse, error) // contains filtered or unexported methods }
ResourceStatusServer is the server API for ResourceStatus service. All implementations must embed UnimplementedResourceStatusServer for forward compatibility.
ResourceStatus is an interface that can be called from a resource provider to update status about a resource.
type Result ¶ added in v3.114.0
type Result int32
func (Result) Descriptor ¶ added in v3.114.0
func (Result) Descriptor() protoreflect.EnumDescriptor
func (Result) EnumDescriptor
deprecated
added in
v3.114.0
func (Result) Number ¶ added in v3.114.0
func (x Result) Number() protoreflect.EnumNumber
func (Result) Type ¶ added in v3.114.0
func (Result) Type() protoreflect.EnumType
type RunPluginRequest ¶ added in v3.47.0
type RunPluginRequest struct { // The plugin program's working directory. Pwd string `protobuf:"bytes,1,opt,name=pwd,proto3" json:"pwd,omitempty"` // The path to the plugin program. // // :::{important} // This is deprecated in favour of passing a [program info](pulumirpc.ProgramInfo) struct as the `info` field, with // the `entry_point` field set to this value. // ::: // // Deprecated: Marked as deprecated in pulumi/language.proto. Program string `protobuf:"bytes,2,opt,name=program,proto3" json:"program,omitempty"` // Any arguments to pass to the plugin program. Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // Any environment variables to set prior to executing the plugin program. Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"` // The [plugin program](pulumirpc.ProgramInfo) to use. Info *ProgramInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` // The kind of plugin to run (resource/analyzer/etc). Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` // The name of the plugin (for display purposes) Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // True if a plugin should be started under a debugger. AttachDebugger bool `protobuf:"varint,8,opt,name=attach_debugger,json=attachDebugger,proto3" json:"attach_debugger,omitempty"` // contains filtered or unexported fields }
`RunPluginRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.RunPlugin) call.
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) GetAttachDebugger ¶ added in v3.170.0
func (x *RunPluginRequest) GetAttachDebugger() bool
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) GetKind ¶ added in v3.165.0
func (x *RunPluginRequest) GetKind() string
func (*RunPluginRequest) GetName ¶ added in v3.170.0
func (x *RunPluginRequest) GetName() string
func (*RunPluginRequest) GetProgram
deprecated
added in
v3.47.0
func (x *RunPluginRequest) GetProgram() string
Deprecated: Marked as deprecated in pulumi/language.proto.
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 valid to be assigned to Output: // // *RunPluginResponse_Stdout // *RunPluginResponse_Stderr // *RunPluginResponse_Exitcode Output isRunPluginResponse_Output `protobuf_oneof:"output"` // contains filtered or unexported fields }
`RunPluginResponse` is the type of responses streamed by a [](pulumirpc.LanguageRuntime.RunPlugin) call.
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 (x *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 { // An exit code that the plugin program has terminated with. This should be the last message sent by the host. Exitcode int32 `protobuf:"varint,3,opt,name=exitcode,proto3,oneof"` }
type RunPluginResponse_Stderr ¶ added in v3.47.0
type RunPluginResponse_Stderr struct { // A line of standard error. Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3,oneof"` }
type RunPluginResponse_Stdout ¶ added in v3.47.0
type RunPluginResponse_Stdout struct { // A line of standard output. Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof"` }
type RunRequest ¶
type RunRequest struct { // The project name. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // The name of the stack being deployed into. Stack string `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"` // The program's working directory. Pwd string `protobuf:"bytes,3,opt,name=pwd,proto3" json:"pwd,omitempty"` // The path to the program. // // :::{important} // This is deprecated in favour of passing a [program info](pulumirpc.ProgramInfo) struct as the `info` field, with // the `entry_point` field set to this value. // ::: // // Deprecated: Marked as deprecated in pulumi/language.proto. Program string `protobuf:"bytes,4,opt,name=program,proto3" json:"program,omitempty"` // Any arguments to pass to the program. Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"` // Configuration variables to apply before running the program. Config map[string]string `` /* 139-byte string literal not displayed */ // True if we are only doing a dry run (preview). DryRun bool `protobuf:"varint,7,opt,name=dryRun,proto3" json:"dryRun,omitempty"` // The degree of parallelism that should be used for resource operations. A value less than or equal to 1 indicates // serial execution. Parallel int32 `protobuf:"varint,8,opt,name=parallel,proto3" json:"parallel,omitempty"` // The address of the [](pulumirpc.ResourceMonitor) that the program should connect to send [resource // registrations](resource-registration) and other calls to. MonitorAddress string `protobuf:"bytes,9,opt,name=monitor_address,json=monitorAddress,proto3" json:"monitor_address,omitempty"` // This is deprecated, query mode is no longer a supported feature. // // Deprecated: Marked as deprecated in pulumi/language.proto. QueryMode bool `protobuf:"varint,10,opt,name=queryMode,proto3" json:"queryMode,omitempty"` // A list of configuration keys whose values should be treated as secrets. ConfigSecretKeys []string `protobuf:"bytes,11,rep,name=configSecretKeys,proto3" json:"configSecretKeys,omitempty"` // The organization of the stack being deployed into. Organization string `protobuf:"bytes,12,opt,name=organization,proto3" json:"organization,omitempty"` // This is deprecated, runtimes should look at the string based config as that maintains the full textual data from // the users config file. // // Deprecated: Marked as deprecated in pulumi/language.proto. ConfigPropertyMap *structpb.Struct `protobuf:"bytes,13,opt,name=configPropertyMap,proto3" json:"configPropertyMap,omitempty"` // The program to use. Info *ProgramInfo `protobuf:"bytes,14,opt,name=info,proto3" json:"info,omitempty"` // The target of a codegen.LoaderServer to use for loading schemas. LoaderTarget string `protobuf:"bytes,15,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"` // True if and only if the host should start the program under a debugger. AttachDebugger bool `protobuf:"varint,16,opt,name=attach_debugger,json=attachDebugger,proto3" json:"attach_debugger,omitempty"` // contains filtered or unexported fields }
`RunRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.Run) call.
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) GetAttachDebugger ¶ added in v3.131.0
func (x *RunRequest) GetAttachDebugger() bool
func (*RunRequest) GetConfig ¶
func (x *RunRequest) GetConfig() map[string]string
func (*RunRequest) GetConfigPropertyMap
deprecated
added in
v3.90.0
func (x *RunRequest) GetConfigPropertyMap() *structpb.Struct
Deprecated: Marked as deprecated in pulumi/language.proto.
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) GetLoaderTarget ¶ added in v3.131.0
func (x *RunRequest) GetLoaderTarget() string
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: Marked as deprecated in pulumi/language.proto.
func (*RunRequest) GetProject ¶
func (x *RunRequest) GetProject() string
func (*RunRequest) GetPwd ¶
func (x *RunRequest) GetPwd() string
func (*RunRequest) GetQueryMode
deprecated
func (x *RunRequest) GetQueryMode() bool
Deprecated: Marked as deprecated in pulumi/language.proto.
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 { // Information about any unhandled error that occurred during the run. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // True if an error happened, but it was reported to the user. Work should halt immediately, reporting nothing // further to the user (since this reporting has already happened). This corresponds to a `result.Bail()` value // being raised in the Go application layer. Bail bool `protobuf:"varint,2,opt,name=bail,proto3" json:"bail,omitempty"` // contains filtered or unexported fields }
`RunResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.Run) call.
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 RuntimeOptionPrompt ¶ added in v3.121.0
type RuntimeOptionPrompt struct { // A unique key that identifies the runtime option. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // A human-readable description of the runtime option. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The type of the runtime option. PromptType RuntimeOptionPrompt_RuntimeOptionType `` /* 127-byte string literal not displayed */ // A set of choices for the runtime option that may be displayed as part of the prompting process. Choices []*RuntimeOptionPrompt_RuntimeOptionValue `protobuf:"bytes,4,rep,name=choices,proto3" json:"choices,omitempty"` // The default value of the runtime option. Default *RuntimeOptionPrompt_RuntimeOptionValue `protobuf:"bytes,5,opt,name=default,proto3" json:"default,omitempty"` // contains filtered or unexported fields }
`RuntimeOptionPrompt` is a struct that captures information about a runtime option that should be prompted for during `pulumi new`.
func (*RuntimeOptionPrompt) Descriptor
deprecated
added in
v3.121.0
func (*RuntimeOptionPrompt) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionPrompt.ProtoReflect.Descriptor instead.
func (*RuntimeOptionPrompt) GetChoices ¶ added in v3.121.0
func (x *RuntimeOptionPrompt) GetChoices() []*RuntimeOptionPrompt_RuntimeOptionValue
func (*RuntimeOptionPrompt) GetDefault ¶ added in v3.121.0
func (x *RuntimeOptionPrompt) GetDefault() *RuntimeOptionPrompt_RuntimeOptionValue
func (*RuntimeOptionPrompt) GetDescription ¶ added in v3.121.0
func (x *RuntimeOptionPrompt) GetDescription() string
func (*RuntimeOptionPrompt) GetKey ¶ added in v3.121.0
func (x *RuntimeOptionPrompt) GetKey() string
func (*RuntimeOptionPrompt) GetPromptType ¶ added in v3.121.0
func (x *RuntimeOptionPrompt) GetPromptType() RuntimeOptionPrompt_RuntimeOptionType
func (*RuntimeOptionPrompt) ProtoMessage ¶ added in v3.121.0
func (*RuntimeOptionPrompt) ProtoMessage()
func (*RuntimeOptionPrompt) ProtoReflect ¶ added in v3.121.0
func (x *RuntimeOptionPrompt) ProtoReflect() protoreflect.Message
func (*RuntimeOptionPrompt) Reset ¶ added in v3.121.0
func (x *RuntimeOptionPrompt) Reset()
func (*RuntimeOptionPrompt) String ¶ added in v3.121.0
func (x *RuntimeOptionPrompt) String() string
type RuntimeOptionPrompt_RuntimeOptionType ¶ added in v3.121.0
type RuntimeOptionPrompt_RuntimeOptionType int32
`RuntimeOptionType` is an enum that captures the type of a runtime option.
const ( // A string value. RuntimeOptionPrompt_STRING RuntimeOptionPrompt_RuntimeOptionType = 0 // A 32-bit integer value. RuntimeOptionPrompt_INT32 RuntimeOptionPrompt_RuntimeOptionType = 1 )
func (RuntimeOptionPrompt_RuntimeOptionType) Descriptor ¶ added in v3.121.0
func (RuntimeOptionPrompt_RuntimeOptionType) Descriptor() protoreflect.EnumDescriptor
func (RuntimeOptionPrompt_RuntimeOptionType) EnumDescriptor
deprecated
added in
v3.121.0
func (RuntimeOptionPrompt_RuntimeOptionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionPrompt_RuntimeOptionType.Descriptor instead.
func (RuntimeOptionPrompt_RuntimeOptionType) Number ¶ added in v3.121.0
func (x RuntimeOptionPrompt_RuntimeOptionType) Number() protoreflect.EnumNumber
func (RuntimeOptionPrompt_RuntimeOptionType) String ¶ added in v3.121.0
func (x RuntimeOptionPrompt_RuntimeOptionType) String() string
func (RuntimeOptionPrompt_RuntimeOptionType) Type ¶ added in v3.121.0
func (RuntimeOptionPrompt_RuntimeOptionType) Type() protoreflect.EnumType
type RuntimeOptionPrompt_RuntimeOptionValue ¶ added in v3.121.0
type RuntimeOptionPrompt_RuntimeOptionValue struct { // The type of the runtime option. PromptType RuntimeOptionPrompt_RuntimeOptionType `` /* 127-byte string literal not displayed */ // The string value of the runtime option, if and only if the type is `STRING`. StringValue string `protobuf:"bytes,2,opt,name=stringValue,proto3" json:"stringValue,omitempty"` // The 32-bit integer value of the runtime option, if and only if the type is `INT32`. Int32Value int32 `protobuf:"varint,3,opt,name=int32Value,proto3" json:"int32Value,omitempty"` // The display name of the runtime option, to be used in prompts. DisplayName string `protobuf:"bytes,4,opt,name=displayName,proto3" json:"displayName,omitempty"` // contains filtered or unexported fields }
`RuntimeOptionValue` is a struct that captures the value of a runtime option.
func (*RuntimeOptionPrompt_RuntimeOptionValue) Descriptor
deprecated
added in
v3.121.0
func (*RuntimeOptionPrompt_RuntimeOptionValue) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionPrompt_RuntimeOptionValue.ProtoReflect.Descriptor instead.
func (*RuntimeOptionPrompt_RuntimeOptionValue) GetDisplayName ¶ added in v3.122.0
func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetDisplayName() string
func (*RuntimeOptionPrompt_RuntimeOptionValue) GetInt32Value ¶ added in v3.121.0
func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetInt32Value() int32
func (*RuntimeOptionPrompt_RuntimeOptionValue) GetPromptType ¶ added in v3.121.0
func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetPromptType() RuntimeOptionPrompt_RuntimeOptionType
func (*RuntimeOptionPrompt_RuntimeOptionValue) GetStringValue ¶ added in v3.121.0
func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetStringValue() string
func (*RuntimeOptionPrompt_RuntimeOptionValue) ProtoMessage ¶ added in v3.121.0
func (*RuntimeOptionPrompt_RuntimeOptionValue) ProtoMessage()
func (*RuntimeOptionPrompt_RuntimeOptionValue) ProtoReflect ¶ added in v3.121.0
func (x *RuntimeOptionPrompt_RuntimeOptionValue) ProtoReflect() protoreflect.Message
func (*RuntimeOptionPrompt_RuntimeOptionValue) Reset ¶ added in v3.121.0
func (x *RuntimeOptionPrompt_RuntimeOptionValue) Reset()
func (*RuntimeOptionPrompt_RuntimeOptionValue) String ¶ added in v3.121.0
func (x *RuntimeOptionPrompt_RuntimeOptionValue) String() string
type RuntimeOptionsRequest ¶ added in v3.121.0
type RuntimeOptionsRequest struct { // The program to use. Info *ProgramInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
`RuntimeOptionsRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.RuntimeOptionsPrompts) call.
func (*RuntimeOptionsRequest) Descriptor
deprecated
added in
v3.121.0
func (*RuntimeOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionsRequest.ProtoReflect.Descriptor instead.
func (*RuntimeOptionsRequest) GetInfo ¶ added in v3.121.0
func (x *RuntimeOptionsRequest) GetInfo() *ProgramInfo
func (*RuntimeOptionsRequest) ProtoMessage ¶ added in v3.121.0
func (*RuntimeOptionsRequest) ProtoMessage()
func (*RuntimeOptionsRequest) ProtoReflect ¶ added in v3.121.0
func (x *RuntimeOptionsRequest) ProtoReflect() protoreflect.Message
func (*RuntimeOptionsRequest) Reset ¶ added in v3.121.0
func (x *RuntimeOptionsRequest) Reset()
func (*RuntimeOptionsRequest) String ¶ added in v3.121.0
func (x *RuntimeOptionsRequest) String() string
type RuntimeOptionsResponse ¶ added in v3.121.0
type RuntimeOptionsResponse struct { // Prompts to ask the user. Prompts []*RuntimeOptionPrompt `protobuf:"bytes,1,rep,name=prompts,proto3" json:"prompts,omitempty"` // contains filtered or unexported fields }
`RuntimeOptionsResponse` is the type of responses sent by a [](pulumirpc.LanguageRuntime.RuntimeOptionsPrompts) call. It contains information about additional prompts to ask during `pulumi new`.
func (*RuntimeOptionsResponse) Descriptor
deprecated
added in
v3.121.0
func (*RuntimeOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionsResponse.ProtoReflect.Descriptor instead.
func (*RuntimeOptionsResponse) GetPrompts ¶ added in v3.121.0
func (x *RuntimeOptionsResponse) GetPrompts() []*RuntimeOptionPrompt
func (*RuntimeOptionsResponse) ProtoMessage ¶ added in v3.121.0
func (*RuntimeOptionsResponse) ProtoMessage()
func (*RuntimeOptionsResponse) ProtoReflect ¶ added in v3.121.0
func (x *RuntimeOptionsResponse) ProtoReflect() protoreflect.Message
func (*RuntimeOptionsResponse) Reset ¶ added in v3.121.0
func (x *RuntimeOptionsResponse) Reset()
func (*RuntimeOptionsResponse) String ¶ added in v3.121.0
func (x *RuntimeOptionsResponse) 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 StackFrame ¶ added in v3.195.0
type StackFrame struct { Pc *SourcePosition `protobuf:"bytes,1,opt,name=pc,proto3" json:"pc,omitempty"` // The position of the frame's program counter. Optional. // contains filtered or unexported fields }
A StackFrame represents a single stack frame.
func (*StackFrame) Descriptor
deprecated
added in
v3.195.0
func (*StackFrame) Descriptor() ([]byte, []int)
Deprecated: Use StackFrame.ProtoReflect.Descriptor instead.
func (*StackFrame) GetPc ¶ added in v3.195.0
func (x *StackFrame) GetPc() *SourcePosition
func (*StackFrame) ProtoMessage ¶ added in v3.195.0
func (*StackFrame) ProtoMessage()
func (*StackFrame) ProtoReflect ¶ added in v3.195.0
func (x *StackFrame) ProtoReflect() protoreflect.Message
func (*StackFrame) Reset ¶ added in v3.195.0
func (x *StackFrame) Reset()
func (*StackFrame) String ¶ added in v3.195.0
func (x *StackFrame) String() string
type StackTrace ¶ added in v3.195.0
type StackTrace struct { Frames []*StackFrame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"` // The frames on the stack. // contains filtered or unexported fields }
A StackTrace represents the frames on the stack at the point of an RPC call.
func (*StackTrace) Descriptor
deprecated
added in
v3.195.0
func (*StackTrace) Descriptor() ([]byte, []int)
Deprecated: Use StackTrace.ProtoReflect.Descriptor instead.
func (*StackTrace) GetFrames ¶ added in v3.195.0
func (x *StackTrace) GetFrames() []*StackFrame
func (*StackTrace) ProtoMessage ¶ added in v3.195.0
func (*StackTrace) ProtoMessage()
func (*StackTrace) ProtoReflect ¶ added in v3.195.0
func (x *StackTrace) ProtoReflect() protoreflect.Message
func (*StackTrace) Reset ¶ added in v3.195.0
func (x *StackTrace) Reset()
func (*StackTrace) String ¶ added in v3.195.0
func (x *StackTrace) String() string
type StartDebuggingRequest ¶ added in v3.131.0
type StartDebuggingRequest struct { // the debug configuration parameters. These are meant to be in the right format for the DAP protocol to consume. Config *structpb.Struct `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // the string to display to the user with instructions on how to connect to the debugger. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*StartDebuggingRequest) Descriptor
deprecated
added in
v3.131.0
func (*StartDebuggingRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartDebuggingRequest.ProtoReflect.Descriptor instead.
func (*StartDebuggingRequest) GetConfig ¶ added in v3.131.0
func (x *StartDebuggingRequest) GetConfig() *structpb.Struct
func (*StartDebuggingRequest) GetMessage ¶ added in v3.131.0
func (x *StartDebuggingRequest) GetMessage() string
func (*StartDebuggingRequest) ProtoMessage ¶ added in v3.131.0
func (*StartDebuggingRequest) ProtoMessage()
func (*StartDebuggingRequest) ProtoReflect ¶ added in v3.131.0
func (x *StartDebuggingRequest) ProtoReflect() protoreflect.Message
func (*StartDebuggingRequest) Reset ¶ added in v3.131.0
func (x *StartDebuggingRequest) Reset()
func (*StartDebuggingRequest) String ¶ added in v3.131.0
func (x *StartDebuggingRequest) 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 TransformInvokeOptions ¶ added in v3.124.0
type TransformInvokeOptions struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` PluginDownloadUrl string `protobuf:"bytes,2,opt,name=plugin_download_url,json=pluginDownloadUrl,proto3" json:"plugin_download_url,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` PluginChecksums map[string][]byte `` /* 180-byte string literal not displayed */ // contains filtered or unexported fields }
TransformInvokeOptions is a subset of all invoke options that are relevant to transforms.
func (*TransformInvokeOptions) Descriptor
deprecated
added in
v3.124.0
func (*TransformInvokeOptions) Descriptor() ([]byte, []int)
Deprecated: Use TransformInvokeOptions.ProtoReflect.Descriptor instead.
func (*TransformInvokeOptions) GetPluginChecksums ¶ added in v3.124.0
func (x *TransformInvokeOptions) GetPluginChecksums() map[string][]byte
func (*TransformInvokeOptions) GetPluginDownloadUrl ¶ added in v3.124.0
func (x *TransformInvokeOptions) GetPluginDownloadUrl() string
func (*TransformInvokeOptions) GetProvider ¶ added in v3.124.0
func (x *TransformInvokeOptions) GetProvider() string
func (*TransformInvokeOptions) GetVersion ¶ added in v3.124.0
func (x *TransformInvokeOptions) GetVersion() string
func (*TransformInvokeOptions) ProtoMessage ¶ added in v3.124.0
func (*TransformInvokeOptions) ProtoMessage()
func (*TransformInvokeOptions) ProtoReflect ¶ added in v3.124.0
func (x *TransformInvokeOptions) ProtoReflect() protoreflect.Message
func (*TransformInvokeOptions) Reset ¶ added in v3.124.0
func (x *TransformInvokeOptions) Reset()
func (*TransformInvokeOptions) String ¶ added in v3.124.0
func (x *TransformInvokeOptions) String() string
type TransformInvokeRequest ¶ added in v3.124.0
type TransformInvokeRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // the token for the invoke request. Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // the input args of the resource. Options *TransformInvokeOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // the options for the resource. // contains filtered or unexported fields }
TransformInvokeRequest is the request object for the TransformInvoke RPC.
func (*TransformInvokeRequest) Descriptor
deprecated
added in
v3.124.0
func (*TransformInvokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransformInvokeRequest.ProtoReflect.Descriptor instead.
func (*TransformInvokeRequest) GetArgs ¶ added in v3.124.0
func (x *TransformInvokeRequest) GetArgs() *structpb.Struct
func (*TransformInvokeRequest) GetOptions ¶ added in v3.124.0
func (x *TransformInvokeRequest) GetOptions() *TransformInvokeOptions
func (*TransformInvokeRequest) GetToken ¶ added in v3.124.0
func (x *TransformInvokeRequest) GetToken() string
func (*TransformInvokeRequest) ProtoMessage ¶ added in v3.124.0
func (*TransformInvokeRequest) ProtoMessage()
func (*TransformInvokeRequest) ProtoReflect ¶ added in v3.124.0
func (x *TransformInvokeRequest) ProtoReflect() protoreflect.Message
func (*TransformInvokeRequest) Reset ¶ added in v3.124.0
func (x *TransformInvokeRequest) Reset()
func (*TransformInvokeRequest) String ¶ added in v3.124.0
func (x *TransformInvokeRequest) String() string
type TransformInvokeResponse ¶ added in v3.124.0
type TransformInvokeResponse struct { Args *structpb.Struct `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"` // the transformed input args. Options *TransformInvokeOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // the options for the resource. // contains filtered or unexported fields }
TransformInvokeResponse is the response object for the TransformInvoke RPC.
func (*TransformInvokeResponse) Descriptor
deprecated
added in
v3.124.0
func (*TransformInvokeResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransformInvokeResponse.ProtoReflect.Descriptor instead.
func (*TransformInvokeResponse) GetArgs ¶ added in v3.124.0
func (x *TransformInvokeResponse) GetArgs() *structpb.Struct
func (*TransformInvokeResponse) GetOptions ¶ added in v3.124.0
func (x *TransformInvokeResponse) GetOptions() *TransformInvokeOptions
func (*TransformInvokeResponse) ProtoMessage ¶ added in v3.124.0
func (*TransformInvokeResponse) ProtoMessage()
func (*TransformInvokeResponse) ProtoReflect ¶ added in v3.124.0
func (x *TransformInvokeResponse) ProtoReflect() protoreflect.Message
func (*TransformInvokeResponse) Reset ¶ added in v3.124.0
func (x *TransformInvokeResponse) Reset()
func (*TransformInvokeResponse) String ¶ added in v3.124.0
func (x *TransformInvokeResponse) 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,oneof" 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,oneof" 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 `` /* 146-byte string literal not displayed */ PluginChecksums map[string][]byte `` /* 181-byte string literal not displayed */ Hooks *RegisterResourceRequest_ResourceHooksBinding `protobuf:"bytes,16,opt,name=hooks,proto3" json:"hooks,omitempty"` // 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 (x *TransformResourceOptions) GetCustomTimeouts() *RegisterResourceRequest_CustomTimeouts
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) GetHooks ¶ added in v3.183.0
func (x *TransformResourceOptions) GetHooks() *RegisterResourceRequest_ResourceHooksBinding
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 (x *TransformResponse) GetOptions() *TransformResourceOptions
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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAnalyzerServer) Analyze ¶
func (UnimplementedAnalyzerServer) Analyze(context.Context, *AnalyzeRequest) (*AnalyzeResponse, error)
func (UnimplementedAnalyzerServer) AnalyzeStack ¶
func (UnimplementedAnalyzerServer) AnalyzeStack(context.Context, *AnalyzeStackRequest) (*AnalyzeResponse, error)
func (UnimplementedAnalyzerServer) Configure ¶
func (UnimplementedAnalyzerServer) Configure(context.Context, *ConfigureAnalyzerRequest) (*emptypb.Empty, error)
func (UnimplementedAnalyzerServer) ConfigureStack ¶ added in v3.170.0
func (UnimplementedAnalyzerServer) ConfigureStack(context.Context, *AnalyzerStackConfigureRequest) (*AnalyzerStackConfigureResponse, error)
func (UnimplementedAnalyzerServer) GetAnalyzerInfo ¶
func (UnimplementedAnalyzerServer) GetAnalyzerInfo(context.Context, *emptypb.Empty) (*AnalyzerInfo, error)
func (UnimplementedAnalyzerServer) GetPluginInfo ¶
func (UnimplementedAnalyzerServer) GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
func (UnimplementedAnalyzerServer) Handshake ¶ added in v3.166.0
func (UnimplementedAnalyzerServer) Handshake(context.Context, *AnalyzerHandshakeRequest) (*AnalyzerHandshakeResponse, error)
func (UnimplementedAnalyzerServer) Remediate ¶ added in v3.88.0
func (UnimplementedAnalyzerServer) Remediate(context.Context, *AnalyzeRequest) (*RemediateResponse, error)
type UnimplementedCallbacksServer ¶ added in v3.107.0
type UnimplementedCallbacksServer struct{}
UnimplementedCallbacksServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCallbacksServer) Invoke ¶ added in v3.107.0
func (UnimplementedCallbacksServer) Invoke(context.Context, *CallbackInvokeRequest) (*CallbackInvokeResponse, error)
type UnimplementedConverterServer ¶ added in v3.58.0
type UnimplementedConverterServer struct{}
UnimplementedConverterServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedConverterServer) ConvertProgram ¶ added in v3.58.0
func (UnimplementedConverterServer) ConvertProgram(context.Context, *ConvertProgramRequest) (*ConvertProgramResponse, error)
func (UnimplementedConverterServer) ConvertState ¶ added in v3.58.0
func (UnimplementedConverterServer) ConvertState(context.Context, *ConvertStateRequest) (*ConvertStateResponse, error)
type UnimplementedEngineServer ¶
type UnimplementedEngineServer struct{}
UnimplementedEngineServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEngineServer) GetRootResource ¶
func (UnimplementedEngineServer) GetRootResource(context.Context, *GetRootResourceRequest) (*GetRootResourceResponse, error)
func (UnimplementedEngineServer) Log ¶
func (UnimplementedEngineServer) Log(context.Context, *LogRequest) (*emptypb.Empty, error)
func (UnimplementedEngineServer) SetRootResource ¶
func (UnimplementedEngineServer) SetRootResource(context.Context, *SetRootResourceRequest) (*SetRootResourceResponse, error)
func (UnimplementedEngineServer) StartDebugging ¶ added in v3.131.0
func (UnimplementedEngineServer) StartDebugging(context.Context, *StartDebuggingRequest) (*emptypb.Empty, error)
type UnimplementedLanguageRuntimeServer ¶
type UnimplementedLanguageRuntimeServer struct{}
UnimplementedLanguageRuntimeServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedLanguageRuntimeServer) About ¶ added in v3.37.0
func (UnimplementedLanguageRuntimeServer) About(context.Context, *AboutRequest) (*AboutResponse, error)
func (UnimplementedLanguageRuntimeServer) GeneratePackage ¶ added in v3.67.0
func (UnimplementedLanguageRuntimeServer) GeneratePackage(context.Context, *GeneratePackageRequest) (*GeneratePackageResponse, error)
func (UnimplementedLanguageRuntimeServer) GenerateProgram ¶ added in v3.67.0
func (UnimplementedLanguageRuntimeServer) GenerateProgram(context.Context, *GenerateProgramRequest) (*GenerateProgramResponse, error)
func (UnimplementedLanguageRuntimeServer) GenerateProject ¶ added in v3.67.0
func (UnimplementedLanguageRuntimeServer) GenerateProject(context.Context, *GenerateProjectRequest) (*GenerateProjectResponse, error)
func (UnimplementedLanguageRuntimeServer) GetPluginInfo ¶
func (UnimplementedLanguageRuntimeServer) GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
func (UnimplementedLanguageRuntimeServer) GetProgramDependencies ¶ added in v3.37.0
func (UnimplementedLanguageRuntimeServer) GetProgramDependencies(context.Context, *GetProgramDependenciesRequest) (*GetProgramDependenciesResponse, error)
func (UnimplementedLanguageRuntimeServer) GetRequiredPackages ¶ added in v3.143.0
func (UnimplementedLanguageRuntimeServer) GetRequiredPackages(context.Context, *GetRequiredPackagesRequest) (*GetRequiredPackagesResponse, error)
func (UnimplementedLanguageRuntimeServer) GetRequiredPlugins ¶
func (UnimplementedLanguageRuntimeServer) GetRequiredPlugins(context.Context, *GetRequiredPluginsRequest) (*GetRequiredPluginsResponse, error)
func (UnimplementedLanguageRuntimeServer) Handshake ¶ added in v3.143.0
func (UnimplementedLanguageRuntimeServer) Handshake(context.Context, *LanguageHandshakeRequest) (*LanguageHandshakeResponse, error)
func (UnimplementedLanguageRuntimeServer) InstallDependencies ¶ added in v3.29.0
func (UnimplementedLanguageRuntimeServer) InstallDependencies(*InstallDependenciesRequest, grpc.ServerStreamingServer[InstallDependenciesResponse]) error
func (UnimplementedLanguageRuntimeServer) Link ¶ added in v3.176.0
func (UnimplementedLanguageRuntimeServer) Link(context.Context, *LinkRequest) (*LinkResponse, error)
func (UnimplementedLanguageRuntimeServer) Pack ¶ added in v3.78.0
func (UnimplementedLanguageRuntimeServer) Pack(context.Context, *PackRequest) (*PackResponse, error)
func (UnimplementedLanguageRuntimeServer) Run ¶
func (UnimplementedLanguageRuntimeServer) Run(context.Context, *RunRequest) (*RunResponse, error)
func (UnimplementedLanguageRuntimeServer) RunPlugin ¶ added in v3.47.0
func (UnimplementedLanguageRuntimeServer) RunPlugin(*RunPluginRequest, grpc.ServerStreamingServer[RunPluginResponse]) error
func (UnimplementedLanguageRuntimeServer) RuntimeOptionsPrompts ¶ added in v3.121.0
func (UnimplementedLanguageRuntimeServer) RuntimeOptionsPrompts(context.Context, *RuntimeOptionsRequest) (*RuntimeOptionsResponse, error)
type UnimplementedResourceMonitorServer ¶
type UnimplementedResourceMonitorServer struct{}
UnimplementedResourceMonitorServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedResourceMonitorServer) Call ¶ added in v3.6.0
func (UnimplementedResourceMonitorServer) Call(context.Context, *ResourceCallRequest) (*CallResponse, error)
func (UnimplementedResourceMonitorServer) Invoke ¶
func (UnimplementedResourceMonitorServer) Invoke(context.Context, *ResourceInvokeRequest) (*InvokeResponse, error)
func (UnimplementedResourceMonitorServer) ReadResource ¶
func (UnimplementedResourceMonitorServer) ReadResource(context.Context, *ReadResourceRequest) (*ReadResourceResponse, error)
func (UnimplementedResourceMonitorServer) RegisterPackage ¶ added in v3.122.0
func (UnimplementedResourceMonitorServer) RegisterPackage(context.Context, *RegisterPackageRequest) (*RegisterPackageResponse, error)
func (UnimplementedResourceMonitorServer) RegisterResource ¶
func (UnimplementedResourceMonitorServer) RegisterResource(context.Context, *RegisterResourceRequest) (*RegisterResourceResponse, error)
func (UnimplementedResourceMonitorServer) RegisterResourceHook ¶ added in v3.180.0
func (UnimplementedResourceMonitorServer) RegisterResourceHook(context.Context, *RegisterResourceHookRequest) (*emptypb.Empty, error)
func (UnimplementedResourceMonitorServer) RegisterResourceOutputs ¶
func (UnimplementedResourceMonitorServer) RegisterResourceOutputs(context.Context, *RegisterResourceOutputsRequest) (*emptypb.Empty, error)
func (UnimplementedResourceMonitorServer) RegisterStackInvokeTransform ¶ added in v3.124.0
func (UnimplementedResourceMonitorServer) RegisterStackTransform ¶ added in v3.107.0
func (UnimplementedResourceMonitorServer) SignalAndWaitForShutdown ¶ added in v3.180.0
func (UnimplementedResourceMonitorServer) SupportsFeature ¶
func (UnimplementedResourceMonitorServer) SupportsFeature(context.Context, *SupportsFeatureRequest) (*SupportsFeatureResponse, error)
type UnimplementedResourceProviderServer ¶
type UnimplementedResourceProviderServer struct{}
UnimplementedResourceProviderServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedResourceProviderServer) Attach ¶ added in v3.30.0
func (UnimplementedResourceProviderServer) Attach(context.Context, *PluginAttach) (*emptypb.Empty, error)
func (UnimplementedResourceProviderServer) Call ¶ added in v3.6.0
func (UnimplementedResourceProviderServer) Call(context.Context, *CallRequest) (*CallResponse, error)
func (UnimplementedResourceProviderServer) Check ¶
func (UnimplementedResourceProviderServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
func (UnimplementedResourceProviderServer) CheckConfig ¶
func (UnimplementedResourceProviderServer) CheckConfig(context.Context, *CheckRequest) (*CheckResponse, error)
func (UnimplementedResourceProviderServer) Configure ¶
func (UnimplementedResourceProviderServer) Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error)
func (UnimplementedResourceProviderServer) Construct ¶
func (UnimplementedResourceProviderServer) Construct(context.Context, *ConstructRequest) (*ConstructResponse, error)
func (UnimplementedResourceProviderServer) Create ¶
func (UnimplementedResourceProviderServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedResourceProviderServer) Delete ¶
func (UnimplementedResourceProviderServer) Delete(context.Context, *DeleteRequest) (*emptypb.Empty, error)
func (UnimplementedResourceProviderServer) Diff ¶
func (UnimplementedResourceProviderServer) Diff(context.Context, *DiffRequest) (*DiffResponse, error)
func (UnimplementedResourceProviderServer) DiffConfig ¶
func (UnimplementedResourceProviderServer) DiffConfig(context.Context, *DiffRequest) (*DiffResponse, error)
func (UnimplementedResourceProviderServer) GetMapping ¶ added in v3.49.0
func (UnimplementedResourceProviderServer) GetMapping(context.Context, *GetMappingRequest) (*GetMappingResponse, error)
func (UnimplementedResourceProviderServer) GetMappings ¶ added in v3.85.0
func (UnimplementedResourceProviderServer) GetMappings(context.Context, *GetMappingsRequest) (*GetMappingsResponse, error)
func (UnimplementedResourceProviderServer) GetPluginInfo ¶
func (UnimplementedResourceProviderServer) GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
func (UnimplementedResourceProviderServer) GetSchema ¶
func (UnimplementedResourceProviderServer) GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)
func (UnimplementedResourceProviderServer) Handshake ¶ added in v3.143.0
func (UnimplementedResourceProviderServer) Handshake(context.Context, *ProviderHandshakeRequest) (*ProviderHandshakeResponse, error)
func (UnimplementedResourceProviderServer) Invoke ¶
func (UnimplementedResourceProviderServer) Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
func (UnimplementedResourceProviderServer) Parameterize ¶ added in v3.117.0
func (UnimplementedResourceProviderServer) Parameterize(context.Context, *ParameterizeRequest) (*ParameterizeResponse, error)
func (UnimplementedResourceProviderServer) Read ¶
func (UnimplementedResourceProviderServer) Read(context.Context, *ReadRequest) (*ReadResponse, error)
func (UnimplementedResourceProviderServer) Update ¶
func (UnimplementedResourceProviderServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnimplementedResourceStatusServer ¶ added in v3.168.0
type UnimplementedResourceStatusServer struct{}
UnimplementedResourceStatusServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedResourceStatusServer) PublishViewSteps ¶ added in v3.168.0
func (UnimplementedResourceStatusServer) PublishViewSteps(context.Context, *PublishViewStepsRequest) (*PublishViewStepsResponse, error)
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 UnsafeResourceStatusServer ¶ added in v3.168.0
type UnsafeResourceStatusServer interface {
// contains filtered or unexported methods
}
UnsafeResourceStatusServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceStatusServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { // The ID of the resource being updated. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The URN of the resource being updated. Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` // The old *output* properties of the resource being updated. Olds *structpb.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"` // The new input properties of the resource being updated. These should have been validated by a call to // [](pulumirpc.ResourceProvider.Check). News *structpb.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"` // A timeout in seconds that the caller is prepared to wait for the operation to complete. Timeout float64 `protobuf:"fixed64,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // A set of [property paths](property-paths) that should be treated as unchanged. IgnoreChanges []string `protobuf:"bytes,6,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // True if and only if the request is being made as part of a preview/dry run, in which case the provider should not // actually update the resource. Preview bool `protobuf:"varint,7,opt,name=preview,proto3" json:"preview,omitempty"` // The old *input* properties of the resource being updated. OldInputs *structpb.Struct `protobuf:"bytes,8,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // The name of the resource being updated. This must match the name specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the name of the resource. Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` // The type of the resource being updated. This must match the type specified by the `urn` field, and is passed so // that providers do not have to implement URN parsing in order to extract the type of the resource. Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` // The address of a [](pulumirpc.ResourceStatus) service which can be used to e.g. create or update view resources. ResourceStatusAddress string `` /* 127-byte string literal not displayed */ // The [](pulumirpc.ResourceStatus) service context token to pass when calling methods on the service. ResourceStatusToken string `protobuf:"bytes,12,opt,name=resource_status_token,json=resourceStatusToken,proto3" json:"resource_status_token,omitempty"` // The old views for the resource being updated. OldViews []*View `protobuf:"bytes,13,rep,name=old_views,json=oldViews,proto3" json:"old_views,omitempty"` // contains filtered or unexported fields }
`UpdateRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Update) call.
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) GetName ¶ added in v3.132.0
func (x *UpdateRequest) GetName() 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) GetOldViews ¶ added in v3.168.0
func (x *UpdateRequest) GetOldViews() []*View
func (*UpdateRequest) GetOlds ¶
func (x *UpdateRequest) GetOlds() *structpb.Struct
func (*UpdateRequest) GetPreview ¶
func (x *UpdateRequest) GetPreview() bool
func (*UpdateRequest) GetResourceStatusAddress ¶ added in v3.168.0
func (x *UpdateRequest) GetResourceStatusAddress() string
func (*UpdateRequest) GetResourceStatusToken ¶ added in v3.168.0
func (x *UpdateRequest) GetResourceStatusToken() string
func (*UpdateRequest) GetTimeout ¶
func (x *UpdateRequest) GetTimeout() float64
func (*UpdateRequest) GetType ¶ added in v3.132.0
func (x *UpdateRequest) GetType() string
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 { // An updated set of resource output properties. Typically this will be a union of the resource's inputs and any // additional values that were computed or made available during the update. Properties *structpb.Struct `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"` // Indicates that this resource should always be refreshed prior to updates. RefreshBeforeUpdate bool `protobuf:"varint,2,opt,name=refresh_before_update,json=refreshBeforeUpdate,proto3" json:"refresh_before_update,omitempty"` // contains filtered or unexported fields }
`UpdateResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Update) call.
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) GetRefreshBeforeUpdate ¶ added in v3.172.0
func (x *UpdateResponse) GetRefreshBeforeUpdate() bool
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
type View ¶ added in v3.168.0
type View struct { // The type of the view resource. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // The name of the view resource. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // An optional type of the parent view resource. ParentType string `protobuf:"bytes,3,opt,name=parent_type,json=parentType,proto3" json:"parent_type,omitempty"` // An optional name of the parent view resource. ParentName string `protobuf:"bytes,4,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // The view resource's inputs. Inputs *structpb.Struct `protobuf:"bytes,5,opt,name=inputs,proto3" json:"inputs,omitempty"` // The view resource's outputs. Outputs *structpb.Struct `protobuf:"bytes,6,opt,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
`View` represents the state of a view resource.
func (*View) Descriptor
deprecated
added in
v3.168.0
func (*View) GetOutputs ¶ added in v3.168.0
func (*View) GetParentName ¶ added in v3.168.0
func (*View) GetParentType ¶ added in v3.168.0
func (*View) ProtoMessage ¶ added in v3.168.0
func (*View) ProtoMessage()
func (*View) ProtoReflect ¶ added in v3.168.0
func (x *View) ProtoReflect() protoreflect.Message
type ViewStep ¶ added in v3.168.0
type ViewStep struct { // The status of the operation. Status ViewStep_Status `protobuf:"varint,1,opt,name=status,proto3,enum=pulumirpc.ViewStep_Status" json:"status,omitempty"` // An optional error message indicating the operation failed. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // The operation being performed. Op ViewStep_Op `protobuf:"varint,3,opt,name=op,proto3,enum=pulumirpc.ViewStep_Op" json:"op,omitempty"` // The type of the view resource. Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // The name of the view resource. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // The state of the view resource before performing the step. Old *ViewStepState `protobuf:"bytes,6,opt,name=old,proto3" json:"old,omitempty"` // The state of the view resource after performing the step. New *ViewStepState `protobuf:"bytes,7,opt,name=new,proto3" json:"new,omitempty"` // The keys causing a replacement (only applicable for "create" and "replace" ops). Keys []string `protobuf:"bytes,8,rep,name=keys,proto3" json:"keys,omitempty"` // The keys that changed with this step. Diffs []string `protobuf:"bytes,9,rep,name=diffs,proto3" json:"diffs,omitempty"` // A detailed diff is a map from [property paths](property-paths) to [](pulumirpc.PropertyDiff)s, // which describe the kind of change that occurred to the property located at that path. DetailedDiff map[string]*PropertyDiff `` /* 172-byte string literal not displayed */ // Whether the detailed diff is present. HasDetailedDiff bool `protobuf:"varint,11,opt,name=has_detailed_diff,json=hasDetailedDiff,proto3" json:"has_detailed_diff,omitempty"` // contains filtered or unexported fields }
`ViewStep` represents a deployment operation step for a view resource.
func (*ViewStep) Descriptor
deprecated
added in
v3.168.0
func (*ViewStep) GetDetailedDiff ¶ added in v3.168.0
func (x *ViewStep) GetDetailedDiff() map[string]*PropertyDiff
func (*ViewStep) GetHasDetailedDiff ¶ added in v3.168.0
func (*ViewStep) GetNew ¶ added in v3.168.0
func (x *ViewStep) GetNew() *ViewStepState
func (*ViewStep) GetOld ¶ added in v3.168.0
func (x *ViewStep) GetOld() *ViewStepState
func (*ViewStep) GetOp ¶ added in v3.168.0
func (x *ViewStep) GetOp() ViewStep_Op
func (*ViewStep) GetStatus ¶ added in v3.168.0
func (x *ViewStep) GetStatus() ViewStep_Status
func (*ViewStep) ProtoMessage ¶ added in v3.168.0
func (*ViewStep) ProtoMessage()
func (*ViewStep) ProtoReflect ¶ added in v3.168.0
func (x *ViewStep) ProtoReflect() protoreflect.Message
type ViewStepState ¶ added in v3.168.0
type ViewStepState struct { // The type of the view resource. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // The name of the view resource. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // An optional type of the parent view resource. By default, a view resource will // be a child of the owning resource, but views can be nested within other views, // as long as they're all under the same owner. Both parent_type and parent_name // must be set together. ParentType string `protobuf:"bytes,3,opt,name=parent_type,json=parentType,proto3" json:"parent_type,omitempty"` // An optional name of the parent view resource. By default, a view resource will // be a child of the owning resource, but views can be nested within other views, // as long as they're all under the same owner. Both parent_type and parent_name // must be set together. ParentName string `protobuf:"bytes,4,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // The view resource's inputs. Inputs *structpb.Struct `protobuf:"bytes,5,opt,name=inputs,proto3" json:"inputs,omitempty"` // The view resource's outputs. Outputs *structpb.Struct `protobuf:"bytes,6,opt,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
`ViewStepState` represents the state of a view resource.
func (*ViewStepState) Descriptor
deprecated
added in
v3.168.0
func (*ViewStepState) Descriptor() ([]byte, []int)
Deprecated: Use ViewStepState.ProtoReflect.Descriptor instead.
func (*ViewStepState) GetInputs ¶ added in v3.168.0
func (x *ViewStepState) GetInputs() *structpb.Struct
func (*ViewStepState) GetName ¶ added in v3.168.0
func (x *ViewStepState) GetName() string
func (*ViewStepState) GetOutputs ¶ added in v3.168.0
func (x *ViewStepState) GetOutputs() *structpb.Struct
func (*ViewStepState) GetParentName ¶ added in v3.168.0
func (x *ViewStepState) GetParentName() string
func (*ViewStepState) GetParentType ¶ added in v3.168.0
func (x *ViewStepState) GetParentType() string
func (*ViewStepState) GetType ¶ added in v3.168.0
func (x *ViewStepState) GetType() string
func (*ViewStepState) ProtoMessage ¶ added in v3.168.0
func (*ViewStepState) ProtoMessage()
func (*ViewStepState) ProtoReflect ¶ added in v3.168.0
func (x *ViewStepState) ProtoReflect() protoreflect.Message
func (*ViewStepState) Reset ¶ added in v3.168.0
func (x *ViewStepState) Reset()
func (*ViewStepState) String ¶ added in v3.168.0
func (x *ViewStepState) String() string
type ViewStep_Op ¶ added in v3.168.0
type ViewStep_Op int32
Represents the kind of operation performed by a step.
const ( // An unspecified operation. ViewStep_UNSPECIFIED ViewStep_Op = 0 // Nothing to do. ViewStep_SAME ViewStep_Op = 1 // Creating a new resource. ViewStep_CREATE ViewStep_Op = 2 // Updating an existing resource. ViewStep_UPDATE ViewStep_Op = 3 // Deleting an existing resource. ViewStep_DELETE ViewStep_Op = 4 // Replacing a resource with a new one. ViewStep_REPLACE ViewStep_Op = 5 // Creating a new resource for a replacement. ViewStep_CREATE_REPLACEMENT ViewStep_Op = 6 // Deleting an existing resource after replacement. ViewStep_DELETE_REPLACED ViewStep_Op = 7 // Reading an existing resource. ViewStep_READ ViewStep_Op = 8 // Reading an existing resource for a replacement. ViewStep_READ_REPLACEMENT ViewStep_Op = 9 // Refreshing an existing resource. ViewStep_REFRESH ViewStep_Op = 10 // Removing a resource that was read. ViewStep_READ_DISCARD ViewStep_Op = 11 // Discarding a read resource that was replaced. ViewStep_DISCARD_REPLACED ViewStep_Op = 12 // Removing a pending replace resource. ViewStep_REMOVE_PENDING_REPLACE ViewStep_Op = 13 // Import an existing resource. ViewStep_IMPORT ViewStep_Op = 14 // Replace an existing resource. ViewStep_IMPORT_REPLACEMENT ViewStep_Op = 15 )
func (ViewStep_Op) Descriptor ¶ added in v3.168.0
func (ViewStep_Op) Descriptor() protoreflect.EnumDescriptor
func (ViewStep_Op) Enum ¶ added in v3.168.0
func (x ViewStep_Op) Enum() *ViewStep_Op
func (ViewStep_Op) EnumDescriptor
deprecated
added in
v3.168.0
func (ViewStep_Op) EnumDescriptor() ([]byte, []int)
Deprecated: Use ViewStep_Op.Descriptor instead.
func (ViewStep_Op) Number ¶ added in v3.168.0
func (x ViewStep_Op) Number() protoreflect.EnumNumber
func (ViewStep_Op) String ¶ added in v3.168.0
func (x ViewStep_Op) String() string
func (ViewStep_Op) Type ¶ added in v3.168.0
func (ViewStep_Op) Type() protoreflect.EnumType
type ViewStep_Status ¶ added in v3.168.0
type ViewStep_Status int32
Status is returned when an error has occurred during a resource provider operation. It indicates whether the operation could be rolled back cleanly (OK). If not, it means the resource was left in an indeterminate state.
const ( ViewStep_OK ViewStep_Status = 0 ViewStep_PARTIAL_FAILURE ViewStep_Status = 1 ViewStep_UNKNOWN ViewStep_Status = 2 )
func (ViewStep_Status) Descriptor ¶ added in v3.168.0
func (ViewStep_Status) Descriptor() protoreflect.EnumDescriptor
func (ViewStep_Status) Enum ¶ added in v3.168.0
func (x ViewStep_Status) Enum() *ViewStep_Status
func (ViewStep_Status) EnumDescriptor
deprecated
added in
v3.168.0
func (ViewStep_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ViewStep_Status.Descriptor instead.
func (ViewStep_Status) Number ¶ added in v3.168.0
func (x ViewStep_Status) Number() protoreflect.EnumNumber
func (ViewStep_Status) String ¶ added in v3.168.0
func (x ViewStep_Status) String() string
func (ViewStep_Status) Type ¶ added in v3.168.0
func (ViewStep_Status) Type() protoreflect.EnumType
Source Files
¶
- alias.pb.go
- analyzer.pb.go
- analyzer_grpc.pb.go
- callback.pb.go
- callback_grpc.pb.go
- converter.pb.go
- converter_grpc.pb.go
- engine.pb.go
- engine_grpc.pb.go
- errors.pb.go
- language.pb.go
- language_grpc.pb.go
- plugin.pb.go
- provider.pb.go
- provider_grpc.pb.go
- resource.pb.go
- resource_grpc.pb.go
- resource_status.pb.go
- resource_status_grpc.pb.go
- source.pb.go