Documentation
¶
Index ¶
- 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)
- 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 (m *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 (m *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) GetTags() []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 (*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 AnalyzerInfo
- func (*AnalyzerInfo) Descriptor() ([]byte, []int)deprecated
- 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) GetSupportsConfig() bool
- 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) 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 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) 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) GetSendsOldInputs() bool
- func (x *ConfigureRequest) GetSendsOldInputsToDelete() bool
- 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) GetRetainOnDelete() bool
- func (x *ConstructRequest) GetStack() 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 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) 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) 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 (*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) GetProperties() *structpb.Struct
- 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 (*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) 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 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 (m *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 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) GetMessage() string
- func (x *PolicyInfo) GetName() string
- func (*PolicyInfo) ProtoMessage()
- func (x *PolicyInfo) ProtoReflect() protoreflect.Message
- func (x *PolicyInfo) Reset()
- func (x *PolicyInfo) String() string
- 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) GetEngineAddress() string
- func (x *ProviderHandshakeRequest) GetProgramDirectory() string
- func (x *ProviderHandshakeRequest) GetRootDirectory() string
- func (*ProviderHandshakeRequest) ProtoMessage()
- func (x *ProviderHandshakeRequest) ProtoReflect() protoreflect.Message
- func (x *ProviderHandshakeRequest) Reset()
- func (x *ProviderHandshakeRequest) String() string
- type ProviderHandshakeResponse
- 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) GetProperties() *structpb.Struct
- 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) 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) 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 (*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 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) 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) 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) 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 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) 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) GetPluginChecksums() map[string][]byte
- func (x *ResourceCallRequest) GetPluginDownloadURL() string
- func (x *ResourceCallRequest) GetProvider() string
- func (x *ResourceCallRequest) GetSourcePosition() *SourcePosition
- 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 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) GetPluginChecksums() map[string][]byte
- func (x *ResourceInvokeRequest) GetPluginDownloadURL() string
- func (x *ResourceInvokeRequest) GetProvider() string
- func (x *ResourceInvokeRequest) GetSourcePosition() *SourcePosition
- 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 ResourceMonitor_StreamInvokeClient
- type ResourceMonitor_StreamInvokeServer
- type ResourceProviderClient
- type ResourceProviderServer
- type ResourceProvider_StreamInvokeClient
- type ResourceProvider_StreamInvokeServer
- type Result
- type RunPluginRequest
- func (*RunPluginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunPluginRequest) GetArgs() []string
- func (x *RunPluginRequest) GetEnv() []string
- func (x *RunPluginRequest) GetInfo() *ProgramInfo
- 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 (m *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.Struct
- 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() bool
- 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 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) 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) Configure(context.Context, *ConfigureAnalyzerRequest) (*emptypb.Empty, error)
- func (UnimplementedAnalyzerServer) GetAnalyzerInfo(context.Context, *emptypb.Empty) (*AnalyzerInfo, error)
- func (UnimplementedAnalyzerServer) GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, 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) 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, LanguageRuntime_InstallDependenciesServer) error
- func (UnimplementedLanguageRuntimeServer) Pack(context.Context, *PackRequest) (*PackResponse, error)
- func (UnimplementedLanguageRuntimeServer) Run(context.Context, *RunRequest) (*RunResponse, error)
- func (UnimplementedLanguageRuntimeServer) RunPlugin(*RunPluginRequest, LanguageRuntime_RunPluginServer) 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) 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) StreamInvoke(*ResourceInvokeRequest, ResourceMonitor_StreamInvokeServer) 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) StreamInvoke(*InvokeRequest, ResourceProvider_StreamInvokeServer) error
- func (UnimplementedResourceProviderServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeAnalyzerServer
- type UnsafeCallbacksServer
- type UnsafeConverterServer
- type UnsafeEngineServer
- type UnsafeLanguageRuntimeServer
- type UnsafeResourceMonitorServer
- type UnsafeResourceProviderServer
- 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) GetOlds() *structpb.Struct
- func (x *UpdateRequest) GetPreview() bool
- 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
Constants ¶
This section is empty.
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 ( 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 Analyzer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "codeinfrarpc.Analyzer", HandlerType: (*AnalyzerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Analyze", Handler: _Analyzer_Analyze_Handler, }, { MethodName: "AnalyzeStack", Handler: _Analyzer_AnalyzeStack_Handler, }, { MethodName: "Remediate", Handler: _Analyzer_Remediate_Handler, }, { MethodName: "GetAnalyzerInfo", Handler: _Analyzer_GetAnalyzerInfo_Handler, }, { MethodName: "GetPluginInfo", Handler: _Analyzer_GetPluginInfo_Handler, }, { MethodName: "Configure", Handler: _Analyzer_Configure_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "codeinfra/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: "codeinfrarpc.Callbacks", HandlerType: (*CallbacksServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Invoke", Handler: _Callbacks_Invoke_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "codeinfra/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: "codeinfrarpc.Converter", HandlerType: (*ConverterServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ConvertState", Handler: _Converter_ConvertState_Handler, }, { MethodName: "ConvertProgram", Handler: _Converter_ConvertProgram_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "codeinfra/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: "codeinfrarpc.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: "codeinfra/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_codeinfra_alias_proto protoreflect.FileDescriptor
var File_codeinfra_analyzer_proto protoreflect.FileDescriptor
var File_codeinfra_callback_proto protoreflect.FileDescriptor
var File_codeinfra_converter_proto protoreflect.FileDescriptor
var File_codeinfra_engine_proto protoreflect.FileDescriptor
var File_codeinfra_errors_proto protoreflect.FileDescriptor
var File_codeinfra_language_proto protoreflect.FileDescriptor
var File_codeinfra_plugin_proto protoreflect.FileDescriptor
var File_codeinfra_provider_proto protoreflect.FileDescriptor
var File_codeinfra_resource_proto protoreflect.FileDescriptor
var File_codeinfra_source_proto protoreflect.FileDescriptor
var LanguageRuntime_ServiceDesc = grpc.ServiceDesc{ ServiceName: "codeinfrarpc.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, }, }, Streams: []grpc.StreamDesc{ { StreamName: "InstallDependencies", Handler: _LanguageRuntime_InstallDependencies_Handler, ServerStreams: true, }, { StreamName: "RunPlugin", Handler: _LanguageRuntime_RunPlugin_Handler, ServerStreams: true, }, }, Metadata: "codeinfra/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: "codeinfrarpc.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: "RegisterPackage", Handler: _ResourceMonitor_RegisterPackage_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamInvoke", Handler: _ResourceMonitor_StreamInvoke_Handler, ServerStreams: true, }, }, Metadata: "codeinfra/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: "codeinfrarpc.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{ { StreamName: "StreamInvoke", Handler: _ResourceProvider_StreamInvoke_Handler, ServerStreams: true, }, }, Metadata: "codeinfra/provider.proto", }
ResourceProvider_ServiceDesc is the grpc.ServiceDesc for ResourceProvider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAnalyzerServer ¶
func RegisterAnalyzerServer(s grpc.ServiceRegistrar, srv AnalyzerServer)
func RegisterCallbacksServer ¶
func RegisterCallbacksServer(s grpc.ServiceRegistrar, srv CallbacksServer)
func RegisterConverterServer ¶
func RegisterConverterServer(s grpc.ServiceRegistrar, srv ConverterServer)
func RegisterEngineServer ¶
func RegisterEngineServer(s grpc.ServiceRegistrar, srv EngineServer)
func RegisterLanguageRuntimeServer ¶
func RegisterLanguageRuntimeServer(s grpc.ServiceRegistrar, srv LanguageRuntimeServer)
func RegisterResourceMonitorServer ¶
func RegisterResourceMonitorServer(s grpc.ServiceRegistrar, srv ResourceMonitorServer)
func RegisterResourceProviderServer ¶
func RegisterResourceProviderServer(s grpc.ServiceRegistrar, srv ResourceProviderServer)
Types ¶
type AboutRequest ¶
type AboutRequest struct { Info *ProgramInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // the program info to use. // contains filtered or unexported fields }
func (*AboutRequest) Descriptor
deprecated
func (*AboutRequest) Descriptor() ([]byte, []int)
Deprecated: Use AboutRequest.ProtoReflect.Descriptor instead.
func (*AboutRequest) GetInfo ¶
func (x *AboutRequest) GetInfo() *ProgramInfo
func (*AboutRequest) ProtoMessage ¶
func (*AboutRequest) ProtoMessage()
func (*AboutRequest) ProtoReflect ¶
func (x *AboutRequest) ProtoReflect() protoreflect.Message
func (*AboutRequest) Reset ¶
func (x *AboutRequest) Reset()
func (*AboutRequest) String ¶
func (x *AboutRequest) String() string
type AboutResponse ¶
type AboutResponse struct { Executable string `protobuf:"bytes,1,opt,name=executable,proto3" json:"executable,omitempty"` // the primary executable for the runtime of this language. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // the version of the runtime for this language. Metadata map[string]string `` // other information about this language. /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
AboutResponse returns runtime information about the language.
func (*AboutResponse) Descriptor
deprecated
func (*AboutResponse) Descriptor() ([]byte, []int)
Deprecated: Use AboutResponse.ProtoReflect.Descriptor instead.
func (*AboutResponse) GetExecutable ¶
func (x *AboutResponse) GetExecutable() string
func (*AboutResponse) GetMetadata ¶
func (x *AboutResponse) GetMetadata() map[string]string
func (*AboutResponse) GetVersion ¶
func (x *AboutResponse) GetVersion() string
func (*AboutResponse) ProtoMessage ¶
func (*AboutResponse) ProtoMessage()
func (*AboutResponse) ProtoReflect ¶
func (x *AboutResponse) ProtoReflect() protoreflect.Message
func (*AboutResponse) Reset ¶
func (x *AboutResponse) Reset()
func (*AboutResponse) String ¶
func (x *AboutResponse) String() string
type Alias ¶
type Alias struct { // Types that are assignable to Alias: // *Alias_Urn // *Alias_Spec_ Alias isAlias_Alias `protobuf_oneof:"alias"` // contains filtered or unexported fields }
func (*Alias) Descriptor
deprecated
func (*Alias) GetSpec ¶
func (x *Alias) GetSpec() *Alias_Spec
func (*Alias) ProtoMessage ¶
func (*Alias) ProtoMessage()
func (*Alias) ProtoReflect ¶
func (x *Alias) ProtoReflect() protoreflect.Message
type Alias_Spec ¶
type Alias_Spec struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The previous name of the resource. If none is provided, we will use the current name. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The previous type of the resource. If none is provided, we will use the current resoource type. Stack string `protobuf:"bytes,3,opt,name=stack,proto3" json:"stack,omitempty"` // The previous stack of the resource. If not set, the current stack of the resource is used. Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` // The previous project of the resource. If not set, the current project of the resource is used. // The previous parent of the resource. If not set, the current parent of the resource is used. // // Types that are assignable to Parent: // *Alias_Spec_ParentUrn // *Alias_Spec_NoParent Parent isAlias_Spec_Parent `protobuf_oneof:"parent"` // contains filtered or unexported fields }
func (*Alias_Spec) Descriptor
deprecated
func (*Alias_Spec) Descriptor() ([]byte, []int)
Deprecated: Use Alias_Spec.ProtoReflect.Descriptor instead.
func (*Alias_Spec) GetName ¶
func (x *Alias_Spec) GetName() string
func (*Alias_Spec) GetNoParent ¶
func (x *Alias_Spec) GetNoParent() bool
func (*Alias_Spec) GetParent ¶
func (m *Alias_Spec) GetParent() isAlias_Spec_Parent
func (*Alias_Spec) GetParentUrn ¶
func (x *Alias_Spec) GetParentUrn() string
func (*Alias_Spec) GetProject ¶
func (x *Alias_Spec) GetProject() string
func (*Alias_Spec) GetStack ¶
func (x *Alias_Spec) GetStack() string
func (*Alias_Spec) GetType ¶
func (x *Alias_Spec) GetType() string
func (*Alias_Spec) ProtoMessage ¶
func (*Alias_Spec) ProtoMessage()
func (*Alias_Spec) ProtoReflect ¶
func (x *Alias_Spec) ProtoReflect() protoreflect.Message
func (*Alias_Spec) Reset ¶
func (x *Alias_Spec) Reset()
func (*Alias_Spec) String ¶
func (x *Alias_Spec) String() string
type Alias_Spec_ ¶
type Alias_Spec_ struct {
Spec *Alias_Spec `protobuf:"bytes,2,opt,name=spec,proto3,oneof"` // An alias specification.
}
type Alias_Spec_NoParent ¶
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 ¶
type Alias_Spec_ParentUrn struct {
ParentUrn string `protobuf:"bytes,5,opt,name=parentUrn,proto3,oneof"` // The urn of the previous parent.
}
type Alias_Urn ¶
type Alias_Urn struct {
Urn string `protobuf:"bytes,1,opt,name=urn,proto3,oneof"` // The previous urn to alias to.
}
type AnalyzeDiagnostic ¶
type AnalyzeDiagnostic struct { PolicyName string `protobuf:"bytes,1,opt,name=policyName,proto3" json:"policyName,omitempty"` // Name of the violated policy. PolicyPackName string `protobuf:"bytes,2,opt,name=policyPackName,proto3" json:"policyPackName,omitempty"` // Name of the policy pack the policy is in. PolicyPackVersion string `protobuf:"bytes,3,opt,name=policyPackVersion,proto3" json:"policyPackVersion,omitempty"` // Version of the policy pack. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Description of policy rule. e.g., "encryption enabled." Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // Message to display on policy violation, e.g., remediation steps. Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` // Keywords/terms to associate with a policy, e.g., "cost". EnforcementLevel EnforcementLevel `protobuf:"varint,7,opt,name=enforcementLevel,proto3,enum=codeinfrarpc.EnforcementLevel" json:"enforcementLevel,omitempty"` // Severity of the policy violation. Urn string `protobuf:"bytes,8,opt,name=urn,proto3" json:"urn,omitempty"` // URN of the resource that violates the policy. // contains filtered or unexported fields }
func (*AnalyzeDiagnostic) Descriptor
deprecated
func (*AnalyzeDiagnostic) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeDiagnostic.ProtoReflect.Descriptor instead.
func (*AnalyzeDiagnostic) GetDescription ¶
func (x *AnalyzeDiagnostic) GetDescription() string
func (*AnalyzeDiagnostic) GetEnforcementLevel ¶
func (x *AnalyzeDiagnostic) GetEnforcementLevel() EnforcementLevel
func (*AnalyzeDiagnostic) GetMessage ¶
func (x *AnalyzeDiagnostic) GetMessage() string
func (*AnalyzeDiagnostic) GetPolicyName ¶
func (x *AnalyzeDiagnostic) GetPolicyName() string
func (*AnalyzeDiagnostic) GetPolicyPackName ¶
func (x *AnalyzeDiagnostic) GetPolicyPackName() string
func (*AnalyzeDiagnostic) GetPolicyPackVersion ¶
func (x *AnalyzeDiagnostic) GetPolicyPackVersion() string
func (*AnalyzeDiagnostic) GetTags ¶
func (x *AnalyzeDiagnostic) GetTags() []string
func (*AnalyzeDiagnostic) GetUrn ¶
func (x *AnalyzeDiagnostic) GetUrn() string
func (*AnalyzeDiagnostic) ProtoMessage ¶
func (*AnalyzeDiagnostic) ProtoMessage()
func (*AnalyzeDiagnostic) ProtoReflect ¶
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 ¶
func (x *AnalyzeRequest) ProtoReflect() protoreflect.Message
func (*AnalyzeRequest) Reset ¶
func (x *AnalyzeRequest) Reset()
func (*AnalyzeRequest) String ¶
func (x *AnalyzeRequest) String() string
type AnalyzeResponse ¶
type AnalyzeResponse struct { Diagnostics []*AnalyzeDiagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // information about policy violations. // contains filtered or unexported fields }
func (*AnalyzeResponse) Descriptor
deprecated
func (*AnalyzeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeResponse.ProtoReflect.Descriptor instead.
func (*AnalyzeResponse) GetDiagnostics ¶
func (x *AnalyzeResponse) GetDiagnostics() []*AnalyzeDiagnostic
func (*AnalyzeResponse) ProtoMessage ¶
func (*AnalyzeResponse) ProtoMessage()
func (*AnalyzeResponse) ProtoReflect ¶
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 ¶
func (x *AnalyzeStackRequest) ProtoReflect() protoreflect.Message
func (*AnalyzeStackRequest) Reset ¶
func (x *AnalyzeStackRequest) Reset()
func (*AnalyzeStackRequest) String ¶
func (x *AnalyzeStackRequest) String() string
type AnalyzerClient ¶
type AnalyzerClient interface { // Analyze analyzes a single resource object, and returns any errors that it finds. // Called with the "inputs" to the resource, before it is updated. Analyze(ctx context.Context, in *AnalyzeRequest, opts ...grpc.CallOption) (*AnalyzeResponse, error) // AnalyzeStack analyzes all resources within a stack, at the end of a successful // preview or update. The provided resources are the "outputs", after any mutations // have taken place. AnalyzeStack(ctx context.Context, in *AnalyzeStackRequest, opts ...grpc.CallOption) (*AnalyzeResponse, error) // Remediate optionally transforms a single resource object. This effectively rewrites // a single resource object's properties instead of using what was generated by the program. Remediate(ctx context.Context, in *AnalyzeRequest, opts ...grpc.CallOption) (*RemediateResponse, error) // GetAnalyzerInfo returns metadata about the analyzer (e.g., list of policies contained). GetAnalyzerInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AnalyzerInfo, error) // GetPluginInfo returns generic information about this plugin, like its version. GetPluginInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PluginInfo, error) // Configure configures the analyzer, passing configuration properties for each policy. Configure(ctx context.Context, in *ConfigureAnalyzerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AnalyzerClient is the client API for Analyzer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAnalyzerClient ¶
func NewAnalyzerClient(cc grpc.ClientConnInterface) AnalyzerClient
type AnalyzerInfo ¶
type AnalyzerInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the PolicyPack. DisplayName string `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"` // Pretty name for the PolicyPack. Policies []*PolicyInfo `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"` // Metadata about policies contained in PolicyPack. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // Version of the Policy Pack. SupportsConfig bool `protobuf:"varint,5,opt,name=supportsConfig,proto3" json:"supportsConfig,omitempty"` // Whether the Policy Pack supports config. InitialConfig map[string]*PolicyConfig `` // Map of policy name to config. /* 167-byte string literal not displayed */ // contains filtered or unexported fields }
AnalyzerInfo provides metadata about a PolicyPack inside an analyzer.
func (*AnalyzerInfo) Descriptor
deprecated
func (*AnalyzerInfo) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerInfo.ProtoReflect.Descriptor instead.
func (*AnalyzerInfo) GetDisplayName ¶
func (x *AnalyzerInfo) GetDisplayName() string
func (*AnalyzerInfo) GetInitialConfig ¶
func (x *AnalyzerInfo) GetInitialConfig() map[string]*PolicyConfig
func (*AnalyzerInfo) GetName ¶
func (x *AnalyzerInfo) GetName() string
func (*AnalyzerInfo) GetPolicies ¶
func (x *AnalyzerInfo) GetPolicies() []*PolicyInfo
func (*AnalyzerInfo) GetSupportsConfig ¶
func (x *AnalyzerInfo) GetSupportsConfig() bool
func (*AnalyzerInfo) GetVersion ¶
func (x *AnalyzerInfo) GetVersion() string
func (*AnalyzerInfo) ProtoMessage ¶
func (*AnalyzerInfo) ProtoMessage()
func (*AnalyzerInfo) ProtoReflect ¶
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 ¶
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 ¶
func (x *AnalyzerProviderResource) ProtoReflect() protoreflect.Message
func (*AnalyzerProviderResource) Reset ¶
func (x *AnalyzerProviderResource) Reset()
func (*AnalyzerProviderResource) String ¶
func (x *AnalyzerProviderResource) String() string
type AnalyzerResource ¶
type AnalyzerResource struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // the type token of the resource. Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // the full properties to use for validation. Urn string `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"` // the URN of the resource. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // the name for the resource's URN. Options *AnalyzerResourceOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` // the resource options. Provider *AnalyzerProviderResource `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"` // the resource's provider. Parent string `protobuf:"bytes,7,opt,name=parent,proto3" json:"parent,omitempty"` // an optional parent URN that this child resource belongs to. Dependencies []string `protobuf:"bytes,8,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // a list of URNs that this resource depends on. PropertyDependencies map[string]*AnalyzerPropertyDependencies `` // a map from property keys to the dependencies of the property. /* 181-byte string literal not displayed */ // contains filtered or unexported fields }
AnalyzerResource defines the view of a Codeinfra-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 ¶
func (x *AnalyzerResource) ProtoReflect() protoreflect.Message
func (*AnalyzerResource) Reset ¶
func (x *AnalyzerResource) Reset()
func (*AnalyzerResource) String ¶
func (x *AnalyzerResource) String() string
type AnalyzerResourceOptions ¶
type AnalyzerResourceOptions struct { Protect bool `protobuf:"varint,1,opt,name=protect,proto3" json:"protect,omitempty"` // true if the resource should be marked protected. IgnoreChanges []string `protobuf:"bytes,2,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // a list of property names to ignore during changes. DeleteBeforeReplace bool `protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"` // true if this resource should be deleted before replacement. DeleteBeforeReplaceDefined bool `protobuf:"varint,4,opt,name=deleteBeforeReplaceDefined,proto3" json:"deleteBeforeReplaceDefined,omitempty"` // true if the deleteBeforeReplace property should be treated as defined even if it is false. AdditionalSecretOutputs []string `protobuf:"bytes,5,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"` // a list of output properties that should also be treated as secret, in addition to ones we detect. Aliases []string `protobuf:"bytes,6,rep,name=aliases,proto3" json:"aliases,omitempty"` // a list of additional URNs that shoud be considered the same. CustomTimeouts *AnalyzerResourceOptions_CustomTimeouts `protobuf:"bytes,7,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"` // a config block that will be used to configure timeouts for CRUD operations. // contains filtered or unexported fields }
AnalyzerResourceOptions defines the options associated with a resource.
func (*AnalyzerResourceOptions) Descriptor
deprecated
func (*AnalyzerResourceOptions) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzerResourceOptions.ProtoReflect.Descriptor instead.
func (*AnalyzerResourceOptions) GetAdditionalSecretOutputs ¶
func (x *AnalyzerResourceOptions) GetAdditionalSecretOutputs() []string
func (*AnalyzerResourceOptions) GetAliases ¶
func (x *AnalyzerResourceOptions) GetAliases() []string
func (*AnalyzerResourceOptions) GetCustomTimeouts ¶
func (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) GetProtect ¶
func (x *AnalyzerResourceOptions) GetProtect() bool
func (*AnalyzerResourceOptions) ProtoMessage ¶
func (*AnalyzerResourceOptions) ProtoMessage()
func (*AnalyzerResourceOptions) ProtoReflect ¶
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 ¶
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) // contains filtered or unexported methods }
AnalyzerServer is the server API for Analyzer service. All implementations must embed UnimplementedAnalyzerServer for forward compatibility
type CallRequest ¶
type CallRequest struct { Tok string `protobuf:"bytes,1,opt,name=tok,proto3" json:"tok,omitempty"` // the function token to invoke. Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // the arguments for the function invocation. ArgDependencies map[string]*CallRequest_ArgumentDependencies `` // a map from argument keys to the dependencies of the argument. /* 171-byte string literal not displayed */ Project string `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"` // the project name. Stack string `protobuf:"bytes,7,opt,name=stack,proto3" json:"stack,omitempty"` // the name of the stack being deployed into. Config map[string]string `` // the configuration variables to apply before running. /* 153-byte string literal not displayed */ ConfigSecretKeys []string `protobuf:"bytes,9,rep,name=configSecretKeys,proto3" json:"configSecretKeys,omitempty"` // the configuration keys that have secret values. DryRun bool `protobuf:"varint,10,opt,name=dryRun,proto3" json:"dryRun,omitempty"` // true if we're only doing a dryrun (preview). Parallel int32 `protobuf:"varint,11,opt,name=parallel,proto3" json:"parallel,omitempty"` // the degree of parallelism for resource operations (<=1 for serial). MonitorEndpoint string `protobuf:"bytes,12,opt,name=monitorEndpoint,proto3" json:"monitorEndpoint,omitempty"` // the address for communicating back to the resource monitor. Organization string `protobuf:"bytes,14,opt,name=organization,proto3" json:"organization,omitempty"` // the organization of the stack being deployed into. AcceptsOutputValues bool `protobuf:"varint,17,opt,name=accepts_output_values,json=acceptsOutputValues,proto3" json:"accepts_output_values,omitempty"` // the engine can be passed output values back, returnDependencies can be left blank if returning output values. // contains filtered or unexported fields }
func (*CallRequest) Descriptor
deprecated
func (*CallRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallRequest.ProtoReflect.Descriptor instead.
func (*CallRequest) GetAcceptsOutputValues ¶
func (x *CallRequest) GetAcceptsOutputValues() bool
func (*CallRequest) GetArgDependencies ¶
func (x *CallRequest) GetArgDependencies() map[string]*CallRequest_ArgumentDependencies
func (*CallRequest) GetArgs ¶
func (x *CallRequest) GetArgs() *structpb.Struct
func (*CallRequest) GetConfig ¶
func (x *CallRequest) GetConfig() map[string]string
func (*CallRequest) GetConfigSecretKeys ¶
func (x *CallRequest) GetConfigSecretKeys() []string
func (*CallRequest) GetDryRun ¶
func (x *CallRequest) GetDryRun() bool
func (*CallRequest) GetMonitorEndpoint ¶
func (x *CallRequest) GetMonitorEndpoint() string
func (*CallRequest) GetOrganization ¶
func (x *CallRequest) GetOrganization() string
func (*CallRequest) GetParallel ¶
func (x *CallRequest) GetParallel() int32
func (*CallRequest) GetProject ¶
func (x *CallRequest) GetProject() string
func (*CallRequest) GetStack ¶
func (x *CallRequest) GetStack() string
func (*CallRequest) GetTok ¶
func (x *CallRequest) GetTok() string
func (*CallRequest) ProtoMessage ¶
func (*CallRequest) ProtoMessage()
func (*CallRequest) ProtoReflect ¶
func (x *CallRequest) ProtoReflect() protoreflect.Message
func (*CallRequest) Reset ¶
func (x *CallRequest) Reset()
func (*CallRequest) String ¶
func (x *CallRequest) String() string
type CallRequest_ArgumentDependencies ¶
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
func (*CallRequest_ArgumentDependencies) Descriptor() ([]byte, []int)
Deprecated: Use CallRequest_ArgumentDependencies.ProtoReflect.Descriptor instead.
func (*CallRequest_ArgumentDependencies) GetUrns ¶
func (x *CallRequest_ArgumentDependencies) GetUrns() []string
func (*CallRequest_ArgumentDependencies) ProtoMessage ¶
func (*CallRequest_ArgumentDependencies) ProtoMessage()
func (*CallRequest_ArgumentDependencies) ProtoReflect ¶
func (x *CallRequest_ArgumentDependencies) ProtoReflect() protoreflect.Message
func (*CallRequest_ArgumentDependencies) Reset ¶
func (x *CallRequest_ArgumentDependencies) Reset()
func (*CallRequest_ArgumentDependencies) String ¶
func (x *CallRequest_ArgumentDependencies) String() string
type CallResponse ¶
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 `` /* 177-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CallResponse) Descriptor
deprecated
func (*CallResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallResponse.ProtoReflect.Descriptor instead.
func (*CallResponse) GetFailures ¶
func (x *CallResponse) GetFailures() []*CheckFailure
func (*CallResponse) GetReturn ¶
func (x *CallResponse) GetReturn() *structpb.Struct
func (*CallResponse) GetReturnDependencies ¶
func (x *CallResponse) GetReturnDependencies() map[string]*CallResponse_ReturnDependencies
func (*CallResponse) ProtoMessage ¶
func (*CallResponse) ProtoMessage()
func (*CallResponse) ProtoReflect ¶
func (x *CallResponse) ProtoReflect() protoreflect.Message
func (*CallResponse) Reset ¶
func (x *CallResponse) Reset()
func (*CallResponse) String ¶
func (x *CallResponse) String() string
type CallResponse_ReturnDependencies ¶
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
func (*CallResponse_ReturnDependencies) Descriptor() ([]byte, []int)
Deprecated: Use CallResponse_ReturnDependencies.ProtoReflect.Descriptor instead.
func (*CallResponse_ReturnDependencies) GetUrns ¶
func (x *CallResponse_ReturnDependencies) GetUrns() []string
func (*CallResponse_ReturnDependencies) ProtoMessage ¶
func (*CallResponse_ReturnDependencies) ProtoMessage()
func (*CallResponse_ReturnDependencies) ProtoReflect ¶
func (x *CallResponse_ReturnDependencies) ProtoReflect() protoreflect.Message
func (*CallResponse_ReturnDependencies) Reset ¶
func (x *CallResponse_ReturnDependencies) Reset()
func (*CallResponse_ReturnDependencies) String ¶
func (x *CallResponse_ReturnDependencies) String() string
type Callback ¶
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
func (*Callback) ProtoMessage ¶
func (*Callback) ProtoMessage()
func (*Callback) ProtoReflect ¶
func (x *Callback) ProtoReflect() protoreflect.Message
type CallbackInvokeRequest ¶
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
func (*CallbackInvokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallbackInvokeRequest.ProtoReflect.Descriptor instead.
func (*CallbackInvokeRequest) GetRequest ¶
func (x *CallbackInvokeRequest) GetRequest() []byte
func (*CallbackInvokeRequest) GetToken ¶
func (x *CallbackInvokeRequest) GetToken() string
func (*CallbackInvokeRequest) ProtoMessage ¶
func (*CallbackInvokeRequest) ProtoMessage()
func (*CallbackInvokeRequest) ProtoReflect ¶
func (x *CallbackInvokeRequest) ProtoReflect() protoreflect.Message
func (*CallbackInvokeRequest) Reset ¶
func (x *CallbackInvokeRequest) Reset()
func (*CallbackInvokeRequest) String ¶
func (x *CallbackInvokeRequest) String() string
type CallbackInvokeResponse ¶
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
func (*CallbackInvokeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallbackInvokeResponse.ProtoReflect.Descriptor instead.
func (*CallbackInvokeResponse) GetResponse ¶
func (x *CallbackInvokeResponse) GetResponse() []byte
func (*CallbackInvokeResponse) ProtoMessage ¶
func (*CallbackInvokeResponse) ProtoMessage()
func (*CallbackInvokeResponse) ProtoReflect ¶
func (x *CallbackInvokeResponse) ProtoReflect() protoreflect.Message
func (*CallbackInvokeResponse) Reset ¶
func (x *CallbackInvokeResponse) Reset()
func (*CallbackInvokeResponse) String ¶
func (x *CallbackInvokeResponse) String() string
type CallbacksClient ¶
type CallbacksClient interface { // Invoke invokes a given callback, identified by its token. Invoke(ctx context.Context, in *CallbackInvokeRequest, opts ...grpc.CallOption) (*CallbackInvokeResponse, error) }
CallbacksClient is the client API for Callbacks service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCallbacksClient ¶
func NewCallbacksClient(cc grpc.ClientConnInterface) CallbacksClient
type CallbacksServer ¶
type CallbacksServer interface { // Invoke invokes a given callback, identified by its token. Invoke(context.Context, *CallbackInvokeRequest) (*CallbackInvokeResponse, error) // contains filtered or unexported methods }
CallbacksServer is the server API for Callbacks service. All implementations must embed UnimplementedCallbacksServer for forward compatibility
type CheckFailure ¶
type CheckFailure struct { // 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 [](codeinfrarpc.ResourceProvider.CheckConfig) or [](codeinfrarpc.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 ¶
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 // [](codeinfrarpc.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.codeinfra.com/docs/concepts/options/ignorechanges/), then the values in `news` may // differ from those written in the Codeinfra program registering this resource. In such cases, the caller (e.g. the // Codeinfra 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 [](codeinfrarpc.ResourceProvider.CheckConfig) and [](codeinfrarpc.ResourceProvider.Check) calls. A `CheckRequest` primarily captures the URN and inputs of the resource being checked. In the case of [](codeinfrarpc.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 ¶
func (x *CheckRequest) GetAutonaming() *CheckRequest_AutonamingOptions
func (*CheckRequest) GetName ¶
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 ¶
func (x *CheckRequest) GetRandomSeed() []byte
func (*CheckRequest) GetType ¶
func (x *CheckRequest) GetType() string
func (*CheckRequest) GetUrn ¶
func (x *CheckRequest) GetUrn() string
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
type CheckRequest_AutonamingOptions ¶
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=codeinfrarpc.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
func (*CheckRequest_AutonamingOptions) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest_AutonamingOptions.ProtoReflect.Descriptor instead.
func (*CheckRequest_AutonamingOptions) GetMode ¶
func (x *CheckRequest_AutonamingOptions) GetMode() CheckRequest_AutonamingOptions_Mode
func (*CheckRequest_AutonamingOptions) GetProposedName ¶
func (x *CheckRequest_AutonamingOptions) GetProposedName() string
func (*CheckRequest_AutonamingOptions) ProtoMessage ¶
func (*CheckRequest_AutonamingOptions) ProtoMessage()
func (*CheckRequest_AutonamingOptions) ProtoReflect ¶
func (x *CheckRequest_AutonamingOptions) ProtoReflect() protoreflect.Message
func (*CheckRequest_AutonamingOptions) Reset ¶
func (x *CheckRequest_AutonamingOptions) Reset()
func (*CheckRequest_AutonamingOptions) String ¶
func (x *CheckRequest_AutonamingOptions) String() string
type CheckRequest_AutonamingOptions_Mode ¶
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 ¶
func (CheckRequest_AutonamingOptions_Mode) Descriptor() protoreflect.EnumDescriptor
func (CheckRequest_AutonamingOptions_Mode) Enum ¶
func (x CheckRequest_AutonamingOptions_Mode) Enum() *CheckRequest_AutonamingOptions_Mode
func (CheckRequest_AutonamingOptions_Mode) EnumDescriptor
deprecated
func (CheckRequest_AutonamingOptions_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckRequest_AutonamingOptions_Mode.Descriptor instead.
func (CheckRequest_AutonamingOptions_Mode) Number ¶
func (x CheckRequest_AutonamingOptions_Mode) Number() protoreflect.EnumNumber
func (CheckRequest_AutonamingOptions_Mode) String ¶
func (x CheckRequest_AutonamingOptions_Mode) String() string
func (CheckRequest_AutonamingOptions_Mode) Type ¶
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 [](codeinfrarpc.ResourceProvider.CheckConfig) or [](codeinfrarpc.ResourceProvider.Check) call. A `CheckResponse` may contain either:
- a set of checked, known-valid `inputs`. In the case of [](codeinfrarpc.ResourceProvider.CheckConfig), these may subsequently be passed to [](codeinfrarpc.ResourceProvider.DiffConfig) and/or [](codeinfrarpc.ResourceProvider.Configure). In the case of [](codeinfrarpc.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 Codeinfra 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 ¶
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
type ConfigureAnalyzerRequest ¶
type ConfigureAnalyzerRequest struct { PolicyConfig map[string]*PolicyConfig `` // Map of policy name to config. /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
ConfigureAnalyzerRequest provides configuration information to the analyzer.
func (*ConfigureAnalyzerRequest) Descriptor
deprecated
func (*ConfigureAnalyzerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureAnalyzerRequest.ProtoReflect.Descriptor instead.
func (*ConfigureAnalyzerRequest) GetPolicyConfig ¶
func (x *ConfigureAnalyzerRequest) GetPolicyConfig() map[string]*PolicyConfig
func (*ConfigureAnalyzerRequest) ProtoMessage ¶
func (*ConfigureAnalyzerRequest) ProtoMessage()
func (*ConfigureAnalyzerRequest) ProtoReflect ¶
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 [](codeinfrarpc.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 ¶
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 *Codeinfra name* of the missing key, and not any provider-internal or upstream name. Names // that differ between Codeinfra 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 [](codeinfrarpc.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 ¶
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 `` /* 159-byte string literal not displayed */ // A map of input properties for the provider. // // :::{warning} // `args` may include secrets. Because `ConfigureRequest` is sent before [](codeinfrarpc.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 // [](codeinfrarpc.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 // [](codeinfrarpc.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 [](codeinfrarpc.ResourceProvider.Diff) and // [](codeinfrarpc.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 [](codeinfrarpc.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 // [](codeinfrarpc.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 [](codeinfrarpc.ResourceProvider.Handshake). SendsOldInputsToDelete bool `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
`ConfigureRequest` is the type of requests sent as part of a [](codeinfrarpc.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) GetSendsOldInputs ¶
func (x *ConfigureRequest) GetSendsOldInputs() bool
func (*ConfigureRequest) GetSendsOldInputsToDelete ¶
func (x *ConfigureRequest) GetSendsOldInputsToDelete() bool
func (*ConfigureRequest) GetVariables ¶
func (x *ConfigureRequest) GetVariables() map[string]string
func (*ConfigureRequest) ProtoMessage ¶
func (*ConfigureRequest) ProtoMessage()
func (*ConfigureRequest) ProtoReflect ¶
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* be true if the provider implements [](codeinfrarpc.ResourceProvider.Handshake). AcceptSecrets bool `protobuf:"varint,1,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"` // True if and only if the provider supports the `preview` field on [](codeinfrarpc.ResourceProvider.Create) and // [](codeinfrarpc.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 [](codeinfrarpc.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* be true if the provider implements // [](codeinfrarpc.ResourceProvider.Handshake). 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* be true if the provider implements // [](codeinfrarpc.ResourceProvider.Handshake). 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 user. SupportsAutonamingConfiguration bool `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
`ConfigureResponse` is the type of responses sent by a [](codeinfrarpc.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 ¶
func (x *ConfigureResponse) GetAcceptOutputs() bool
func (*ConfigureResponse) GetAcceptResources ¶
func (x *ConfigureResponse) GetAcceptResources() bool
func (*ConfigureResponse) GetAcceptSecrets ¶
func (x *ConfigureResponse) GetAcceptSecrets() bool
func (*ConfigureResponse) GetSupportsAutonamingConfiguration ¶
func (x *ConfigureResponse) GetSupportsAutonamingConfiguration() bool
func (*ConfigureResponse) GetSupportsPreview ¶
func (x *ConfigureResponse) GetSupportsPreview() bool
func (*ConfigureResponse) ProtoMessage ¶
func (*ConfigureResponse) ProtoMessage()
func (*ConfigureResponse) ProtoReflect ¶
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 `` /* 153-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 [](codeinfrarpc.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 [](codeinfrarpc.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, // [](codeinfrarpc.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 `` /* 176-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 `` /* 160-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" 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 // [](codeinfrarpc.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" 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 [](codeinfrarpc.ResourceProvider.Delete) should *not* be called when the resource (and by extension, its // nested resources) are removed from a Codeinfra program. RetainOnDelete bool `protobuf:"varint,24,opt,name=retainOnDelete,proto3" 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 // [](codeinfrarpc.ConstructResponse)'s `stateDependencies` field. AcceptsOutputValues bool `protobuf:"varint,25,opt,name=accepts_output_values,json=acceptsOutputValues,proto3" json:"accepts_output_values,omitempty"` // contains filtered or unexported fields }
`ConstructRequest` is the type of requests sent as part of a [](codeinfrarpc.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 ¶
func (x *ConstructRequest) GetAcceptsOutputValues() bool
func (*ConstructRequest) GetAdditionalSecretOutputs ¶
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 ¶
func (x *ConstructRequest) GetConfigSecretKeys() []string
func (*ConstructRequest) GetCustomTimeouts ¶
func (x *ConstructRequest) GetCustomTimeouts() *ConstructRequest_CustomTimeouts
func (*ConstructRequest) GetDeleteBeforeReplace ¶
func (x *ConstructRequest) GetDeleteBeforeReplace() bool
func (*ConstructRequest) GetDeletedWith ¶
func (x *ConstructRequest) GetDeletedWith() string
func (*ConstructRequest) GetDependencies ¶
func (x *ConstructRequest) GetDependencies() []string
func (*ConstructRequest) GetDryRun ¶
func (x *ConstructRequest) GetDryRun() bool
func (*ConstructRequest) GetIgnoreChanges ¶
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 ¶
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 ¶
func (x *ConstructRequest) GetReplaceOnChanges() []string
func (*ConstructRequest) GetRetainOnDelete ¶
func (x *ConstructRequest) GetRetainOnDelete() bool
func (*ConstructRequest) GetStack ¶
func (x *ConstructRequest) GetStack() string
func (*ConstructRequest) GetType ¶
func (x *ConstructRequest) GetType() string
func (*ConstructRequest) ProtoMessage ¶
func (*ConstructRequest) ProtoMessage()
func (*ConstructRequest) ProtoReflect ¶
func (x *ConstructRequest) ProtoReflect() protoreflect.Message
func (*ConstructRequest) Reset ¶
func (x *ConstructRequest) Reset()
func (*ConstructRequest) String ¶
func (x *ConstructRequest) String() string
type ConstructRequest_CustomTimeouts ¶
type ConstructRequest_CustomTimeouts struct { // How long a caller is prepared to wait for a nested resource's [](codeinfrarpc.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 [](codeinfrarpc.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 [](codeinfrarpc.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
func (*ConstructRequest_CustomTimeouts) Descriptor() ([]byte, []int)
Deprecated: Use ConstructRequest_CustomTimeouts.ProtoReflect.Descriptor instead.
func (*ConstructRequest_CustomTimeouts) GetCreate ¶
func (x *ConstructRequest_CustomTimeouts) GetCreate() string
func (*ConstructRequest_CustomTimeouts) GetDelete ¶
func (x *ConstructRequest_CustomTimeouts) GetDelete() string
func (*ConstructRequest_CustomTimeouts) GetUpdate ¶
func (x *ConstructRequest_CustomTimeouts) GetUpdate() string
func (*ConstructRequest_CustomTimeouts) ProtoMessage ¶
func (*ConstructRequest_CustomTimeouts) ProtoMessage()
func (*ConstructRequest_CustomTimeouts) ProtoReflect ¶
func (x *ConstructRequest_CustomTimeouts) ProtoReflect() protoreflect.Message
func (*ConstructRequest_CustomTimeouts) Reset ¶
func (x *ConstructRequest_CustomTimeouts) Reset()
func (*ConstructRequest_CustomTimeouts) String ¶
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 ¶
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 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 [](codeinfrarpc.ConstructRequest)'s // `accepts_output_values` field to false. StateDependencies map[string]*ConstructResponse_PropertyDependencies `` /* 175-byte string literal not displayed */ // contains filtered or unexported fields }
`ConstructResponse` is the type of responses sent by a [](codeinfrarpc.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 ¶
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 ¶
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 ¶
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 `codeinfra convert` for this conversion. Normally used to specifiy a root file, or conversion options. Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*ConvertProgramRequest) Descriptor
deprecated
func (*ConvertProgramRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConvertProgramRequest.ProtoReflect.Descriptor instead.
func (*ConvertProgramRequest) GetArgs ¶
func (x *ConvertProgramRequest) GetArgs() []string
func (*ConvertProgramRequest) GetLoaderTarget ¶
func (x *ConvertProgramRequest) GetLoaderTarget() string
func (*ConvertProgramRequest) GetMapperTarget ¶
func (x *ConvertProgramRequest) GetMapperTarget() string
func (*ConvertProgramRequest) GetSourceDirectory ¶
func (x *ConvertProgramRequest) GetSourceDirectory() string
func (*ConvertProgramRequest) GetTargetDirectory ¶
func (x *ConvertProgramRequest) GetTargetDirectory() string
func (*ConvertProgramRequest) ProtoMessage ¶
func (*ConvertProgramRequest) ProtoMessage()
func (*ConvertProgramRequest) ProtoReflect ¶
func (x *ConvertProgramRequest) ProtoReflect() protoreflect.Message
func (*ConvertProgramRequest) Reset ¶
func (x *ConvertProgramRequest) Reset()
func (*ConvertProgramRequest) String ¶
func (x *ConvertProgramRequest) String() string
type ConvertProgramResponse ¶
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
func (*ConvertProgramResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConvertProgramResponse.ProtoReflect.Descriptor instead.
func (*ConvertProgramResponse) GetDiagnostics ¶
func (x *ConvertProgramResponse) GetDiagnostics() []*codegen.Diagnostic
func (*ConvertProgramResponse) ProtoMessage ¶
func (*ConvertProgramResponse) ProtoMessage()
func (*ConvertProgramResponse) ProtoReflect ¶
func (x *ConvertProgramResponse) ProtoReflect() protoreflect.Message
func (*ConvertProgramResponse) Reset ¶
func (x *ConvertProgramResponse) Reset()
func (*ConvertProgramResponse) String ¶
func (x *ConvertProgramResponse) String() string
type ConvertStateRequest ¶
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 `codeinfra 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
func (*ConvertStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConvertStateRequest.ProtoReflect.Descriptor instead.
func (*ConvertStateRequest) GetArgs ¶
func (x *ConvertStateRequest) GetArgs() []string
func (*ConvertStateRequest) GetMapperTarget ¶
func (x *ConvertStateRequest) GetMapperTarget() string
func (*ConvertStateRequest) ProtoMessage ¶
func (*ConvertStateRequest) ProtoMessage()
func (*ConvertStateRequest) ProtoReflect ¶
func (x *ConvertStateRequest) ProtoReflect() protoreflect.Message
func (*ConvertStateRequest) Reset ¶
func (x *ConvertStateRequest) Reset()
func (*ConvertStateRequest) String ¶
func (x *ConvertStateRequest) String() string
type ConvertStateResponse ¶
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
func (*ConvertStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConvertStateResponse.ProtoReflect.Descriptor instead.
func (*ConvertStateResponse) GetDiagnostics ¶
func (x *ConvertStateResponse) GetDiagnostics() []*codegen.Diagnostic
func (*ConvertStateResponse) GetResources ¶
func (x *ConvertStateResponse) GetResources() []*ResourceImport
func (*ConvertStateResponse) ProtoMessage ¶
func (*ConvertStateResponse) ProtoMessage()
func (*ConvertStateResponse) ProtoReflect ¶
func (x *ConvertStateResponse) ProtoReflect() protoreflect.Message
func (*ConvertStateResponse) Reset ¶
func (x *ConvertStateResponse) Reset()
func (*ConvertStateResponse) String ¶
func (x *ConvertStateResponse) String() string
type ConverterClient ¶
type ConverterClient interface { // ConvertState converts state from the target ecosystem into a form that can be imported into Codeinfra. 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 Codeinfra. ConvertProgram(ctx context.Context, in *ConvertProgramRequest, opts ...grpc.CallOption) (*ConvertProgramResponse, error) }
ConverterClient is the client API for Converter service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewConverterClient ¶
func NewConverterClient(cc grpc.ClientConnInterface) ConverterClient
type ConverterServer ¶
type ConverterServer interface { // ConvertState converts state from the target ecosystem into a form that can be imported into Codeinfra. ConvertState(context.Context, *ConvertStateRequest) (*ConvertStateResponse, error) // ConvertProgram converts a program from the target ecosystem into a form that can be used with Codeinfra. ConvertProgram(context.Context, *ConvertProgramRequest) (*ConvertProgramResponse, error) // contains filtered or unexported methods }
ConverterServer is the server API for Converter service. All implementations must embed UnimplementedConverterServer for forward compatibility
type CreateRequest ¶
type CreateRequest struct { // 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 // [](codeinfrarpc.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"` // contains filtered or unexported fields }
`CreateRequest` is the type of requests sent as part of a [](codeinfrarpc.ResourceProvider.Create) call.
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetName ¶
func (x *CreateRequest) GetName() string
func (*CreateRequest) GetPreview ¶
func (x *CreateRequest) GetPreview() bool
func (*CreateRequest) GetProperties ¶
func (x *CreateRequest) GetProperties() *structpb.Struct
func (*CreateRequest) GetTimeout ¶
func (x *CreateRequest) GetTimeout() float64
func (*CreateRequest) GetType ¶
func (x *CreateRequest) GetType() string
func (*CreateRequest) GetUrn ¶
func (x *CreateRequest) GetUrn() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
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"` // contains filtered or unexported fields }
`CreateResponse` is the type of responses sent by a [](codeinfrarpc.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) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
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"` // contains filtered or unexported fields }
`DeleteRequest` is the type of requests sent as part of a [](codeinfrarpc.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 ¶
func (x *DeleteRequest) GetName() string
func (*DeleteRequest) GetOldInputs ¶
func (x *DeleteRequest) GetOldInputs() *structpb.Struct
func (*DeleteRequest) GetProperties ¶
func (x *DeleteRequest) GetProperties() *structpb.Struct
func (*DeleteRequest) GetTimeout ¶
func (x *DeleteRequest) GetTimeout() float64
func (*DeleteRequest) GetType ¶
func (x *DeleteRequest) GetType() string
func (*DeleteRequest) GetUrn ¶
func (x *DeleteRequest) GetUrn() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DependencyInfo ¶
type DependencyInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the dependency. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The version of the dependency. // contains filtered or unexported fields }
func (*DependencyInfo) Descriptor
deprecated
func (*DependencyInfo) Descriptor() ([]byte, []int)
Deprecated: Use DependencyInfo.ProtoReflect.Descriptor instead.
func (*DependencyInfo) GetName ¶
func (x *DependencyInfo) GetName() string
func (*DependencyInfo) GetVersion ¶
func (x *DependencyInfo) GetVersion() string
func (*DependencyInfo) ProtoMessage ¶
func (*DependencyInfo) ProtoMessage()
func (*DependencyInfo) ProtoReflect ¶
func (x *DependencyInfo) ProtoReflect() protoreflect.Message
func (*DependencyInfo) Reset ¶
func (x *DependencyInfo) Reset()
func (*DependencyInfo) String ¶
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 [](codeinfrarpc.ResourceProvider.CheckConfig) or [](codeinfrarpc.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 [](codeinfrarpc.ResourceProvider.DiffConfig) and [](codeinfrarpc.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 [](codeinfrarpc.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 [](codeinfrarpc.ResourceProvider.DiffConfig) call should have been previously checked by a call to [](codeinfrarpc.ResourceProvider.CheckConfig); inputs supplied to a [](codeinfrarpc.ResourceProvider.Diff) call should have been previously checked by a call to [](codeinfrarpc.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 ¶
func (x *DiffRequest) GetName() string
func (*DiffRequest) GetNews ¶
func (x *DiffRequest) GetNews() *structpb.Struct
func (*DiffRequest) GetOldInputs ¶
func (x *DiffRequest) GetOldInputs() *structpb.Struct
func (*DiffRequest) GetOlds ¶
func (x *DiffRequest) GetOlds() *structpb.Struct
func (*DiffRequest) GetType ¶
func (x *DiffRequest) GetType() string
func (*DiffRequest) GetUrn ¶
func (x *DiffRequest) GetUrn() string
func (*DiffRequest) ProtoMessage ¶
func (*DiffRequest) ProtoMessage()
func (*DiffRequest) ProtoReflect ¶
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=codeinfrarpc.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 [](codeinfrarpc.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 Codeinfra engine) // will compute a representation based on the simple diff fields (`changes`, `replaces`, and so on). DetailedDiff map[string]*PropertyDiff `` /* 165-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 [](codeinfrarpc.ResourceProvider.DiffConfig) or [](codeinfrarpc.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 ¶
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 ¶
func (DiffResponse_DiffChanges) Descriptor() protoreflect.EnumDescriptor
func (DiffResponse_DiffChanges) Enum ¶
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 ¶
func (x DiffResponse_DiffChanges) Number() protoreflect.EnumNumber
func (DiffResponse_DiffChanges) String ¶
func (x DiffResponse_DiffChanges) String() string
func (DiffResponse_DiffChanges) Type ¶
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 ¶
func (EnforcementLevel) Descriptor() protoreflect.EnumDescriptor
func (EnforcementLevel) Enum ¶
func (x EnforcementLevel) Enum() *EnforcementLevel
func (EnforcementLevel) EnumDescriptor
deprecated
func (EnforcementLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnforcementLevel.Descriptor instead.
func (EnforcementLevel) Number ¶
func (x EnforcementLevel) Number() protoreflect.EnumNumber
func (EnforcementLevel) String ¶
func (x EnforcementLevel) String() string
func (EnforcementLevel) Type ¶
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.
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
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 ¶
func (x *ErrorCause) ProtoReflect() protoreflect.Message
func (*ErrorCause) Reset ¶
func (x *ErrorCause) Reset()
func (*ErrorCause) String ¶
func (x *ErrorCause) String() string
type ErrorResourceInitFailed ¶
type ErrorResourceInitFailed struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the ID of the created resource. Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // any properties that were computed during updating. Reasons []string `protobuf:"bytes,3,rep,name=reasons,proto3" json:"reasons,omitempty"` // error messages associated with initialization failure. Inputs *structpb.Struct `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,omitempty"` // the current inputs to this resource (only applicable for Read) // contains filtered or unexported fields }
ErrorResourceInitFailed is sent as a Detail `ResourceProvider.{Create, Update}` fail because a resource was created successfully, but failed to initialize.
func (*ErrorResourceInitFailed) Descriptor
deprecated
func (*ErrorResourceInitFailed) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResourceInitFailed.ProtoReflect.Descriptor instead.
func (*ErrorResourceInitFailed) GetId ¶
func (x *ErrorResourceInitFailed) GetId() string
func (*ErrorResourceInitFailed) GetInputs ¶
func (x *ErrorResourceInitFailed) GetInputs() *structpb.Struct
func (*ErrorResourceInitFailed) GetProperties ¶
func (x *ErrorResourceInitFailed) GetProperties() *structpb.Struct
func (*ErrorResourceInitFailed) GetReasons ¶
func (x *ErrorResourceInitFailed) GetReasons() []string
func (*ErrorResourceInitFailed) ProtoMessage ¶
func (*ErrorResourceInitFailed) ProtoMessage()
func (*ErrorResourceInitFailed) ProtoReflect ¶
func (x *ErrorResourceInitFailed) ProtoReflect() protoreflect.Message
func (*ErrorResourceInitFailed) Reset ¶
func (x *ErrorResourceInitFailed) Reset()
func (*ErrorResourceInitFailed) String ¶
func (x *ErrorResourceInitFailed) String() string
type GeneratePackageRequest ¶
type GeneratePackageRequest struct { // the directory to generate the package in. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` // the JSON-encoded schema. Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` // extra files to copy to the package output. ExtraFiles map[string][]byte `` /* 179-byte string literal not displayed */ // The target of a codegen.LoaderServer to use for loading schemas. LoaderTarget string `protobuf:"bytes,4,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"` // local dependencies to use instead of using the package system. This is a map of package name to a local // path of a language specific artifact to use for the SDK for that package. LocalDependencies map[string]string `` /* 200-byte string literal not displayed */ // if true generates an SDK appropriate for local usage, this may differ from a standard publishable SDK depending // on the language. Local bool `protobuf:"varint,6,opt,name=local,proto3" json:"local,omitempty"` // contains filtered or unexported fields }
func (*GeneratePackageRequest) Descriptor
deprecated
func (*GeneratePackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GeneratePackageRequest.ProtoReflect.Descriptor instead.
func (*GeneratePackageRequest) GetDirectory ¶
func (x *GeneratePackageRequest) GetDirectory() string
func (*GeneratePackageRequest) GetExtraFiles ¶
func (x *GeneratePackageRequest) GetExtraFiles() map[string][]byte
func (*GeneratePackageRequest) GetLoaderTarget ¶
func (x *GeneratePackageRequest) GetLoaderTarget() string
func (*GeneratePackageRequest) GetLocal ¶
func (x *GeneratePackageRequest) GetLocal() bool
func (*GeneratePackageRequest) GetLocalDependencies ¶
func (x *GeneratePackageRequest) GetLocalDependencies() map[string]string
func (*GeneratePackageRequest) GetSchema ¶
func (x *GeneratePackageRequest) GetSchema() string
func (*GeneratePackageRequest) ProtoMessage ¶
func (*GeneratePackageRequest) ProtoMessage()
func (*GeneratePackageRequest) ProtoReflect ¶
func (x *GeneratePackageRequest) ProtoReflect() protoreflect.Message
func (*GeneratePackageRequest) Reset ¶
func (x *GeneratePackageRequest) Reset()
func (*GeneratePackageRequest) String ¶
func (x *GeneratePackageRequest) String() string
type GeneratePackageResponse ¶
type GeneratePackageResponse struct { // any diagnostics from code generation. Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*GeneratePackageResponse) Descriptor
deprecated
func (*GeneratePackageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GeneratePackageResponse.ProtoReflect.Descriptor instead.
func (*GeneratePackageResponse) GetDiagnostics ¶
func (x *GeneratePackageResponse) GetDiagnostics() []*codegen.Diagnostic
func (*GeneratePackageResponse) ProtoMessage ¶
func (*GeneratePackageResponse) ProtoMessage()
func (*GeneratePackageResponse) ProtoReflect ¶
func (x *GeneratePackageResponse) ProtoReflect() protoreflect.Message
func (*GeneratePackageResponse) Reset ¶
func (x *GeneratePackageResponse) Reset()
func (*GeneratePackageResponse) String ¶
func (x *GeneratePackageResponse) String() string
type GenerateProgramRequest ¶
type GenerateProgramRequest struct { // the PCL source of the project. Source map[string]string `` /* 153-byte string literal not displayed */ // The target of a codegen.LoaderServer to use for loading schemas. LoaderTarget string `protobuf:"bytes,2,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"` // if PCL binding should be strict or not. Strict bool `protobuf:"varint,3,opt,name=strict,proto3" json:"strict,omitempty"` // contains filtered or unexported fields }
func (*GenerateProgramRequest) Descriptor
deprecated
func (*GenerateProgramRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateProgramRequest.ProtoReflect.Descriptor instead.
func (*GenerateProgramRequest) GetLoaderTarget ¶
func (x *GenerateProgramRequest) GetLoaderTarget() string
func (*GenerateProgramRequest) GetSource ¶
func (x *GenerateProgramRequest) GetSource() map[string]string
func (*GenerateProgramRequest) GetStrict ¶
func (x *GenerateProgramRequest) GetStrict() bool
func (*GenerateProgramRequest) ProtoMessage ¶
func (*GenerateProgramRequest) ProtoMessage()
func (*GenerateProgramRequest) ProtoReflect ¶
func (x *GenerateProgramRequest) ProtoReflect() protoreflect.Message
func (*GenerateProgramRequest) Reset ¶
func (x *GenerateProgramRequest) Reset()
func (*GenerateProgramRequest) String ¶
func (x *GenerateProgramRequest) String() string
type GenerateProgramResponse ¶
type GenerateProgramResponse struct { // any diagnostics from code generation. Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // the generated program source code. Source map[string][]byte `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GenerateProgramResponse) Descriptor
deprecated
func (*GenerateProgramResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateProgramResponse.ProtoReflect.Descriptor instead.
func (*GenerateProgramResponse) GetDiagnostics ¶
func (x *GenerateProgramResponse) GetDiagnostics() []*codegen.Diagnostic
func (*GenerateProgramResponse) GetSource ¶
func (x *GenerateProgramResponse) GetSource() map[string][]byte
func (*GenerateProgramResponse) ProtoMessage ¶
func (*GenerateProgramResponse) ProtoMessage()
func (*GenerateProgramResponse) ProtoReflect ¶
func (x *GenerateProgramResponse) ProtoReflect() protoreflect.Message
func (*GenerateProgramResponse) Reset ¶
func (x *GenerateProgramResponse) Reset()
func (*GenerateProgramResponse) String ¶
func (x *GenerateProgramResponse) String() string
type GenerateProjectRequest ¶
type GenerateProjectRequest struct { // the directory to generate the project from. SourceDirectory string `protobuf:"bytes,1,opt,name=source_directory,json=sourceDirectory,proto3" json:"source_directory,omitempty"` // the directory to generate the project in. TargetDirectory string `protobuf:"bytes,2,opt,name=target_directory,json=targetDirectory,proto3" json:"target_directory,omitempty"` // the JSON-encoded codeinfra project file. Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` // if PCL binding should be strict or not. Strict bool `protobuf:"varint,4,opt,name=strict,proto3" json:"strict,omitempty"` // The target of a codegen.LoaderServer to use for loading schemas. LoaderTarget string `protobuf:"bytes,5,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"` // local dependencies to use instead of using the package system. This is a map of package name to a local // path of a language specific artifact to use for the SDK for that package. LocalDependencies map[string]string `` /* 200-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GenerateProjectRequest) Descriptor
deprecated
func (*GenerateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateProjectRequest.ProtoReflect.Descriptor instead.
func (*GenerateProjectRequest) GetLoaderTarget ¶
func (x *GenerateProjectRequest) GetLoaderTarget() string
func (*GenerateProjectRequest) GetLocalDependencies ¶
func (x *GenerateProjectRequest) GetLocalDependencies() map[string]string
func (*GenerateProjectRequest) GetProject ¶
func (x *GenerateProjectRequest) GetProject() string
func (*GenerateProjectRequest) GetSourceDirectory ¶
func (x *GenerateProjectRequest) GetSourceDirectory() string
func (*GenerateProjectRequest) GetStrict ¶
func (x *GenerateProjectRequest) GetStrict() bool
func (*GenerateProjectRequest) GetTargetDirectory ¶
func (x *GenerateProjectRequest) GetTargetDirectory() string
func (*GenerateProjectRequest) ProtoMessage ¶
func (*GenerateProjectRequest) ProtoMessage()
func (*GenerateProjectRequest) ProtoReflect ¶
func (x *GenerateProjectRequest) ProtoReflect() protoreflect.Message
func (*GenerateProjectRequest) Reset ¶
func (x *GenerateProjectRequest) Reset()
func (*GenerateProjectRequest) String ¶
func (x *GenerateProjectRequest) String() string
type GenerateProjectResponse ¶
type GenerateProjectResponse struct { // any diagnostics from code generation. Diagnostics []*codegen.Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` // contains filtered or unexported fields }
func (*GenerateProjectResponse) Descriptor
deprecated
func (*GenerateProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateProjectResponse.ProtoReflect.Descriptor instead.
func (*GenerateProjectResponse) GetDiagnostics ¶
func (x *GenerateProjectResponse) GetDiagnostics() []*codegen.Diagnostic
func (*GenerateProjectResponse) ProtoMessage ¶
func (*GenerateProjectResponse) ProtoMessage()
func (*GenerateProjectResponse) ProtoReflect ¶
func (x *GenerateProjectResponse) ProtoReflect() protoreflect.Message
func (*GenerateProjectResponse) Reset ¶
func (x *GenerateProjectResponse) Reset()
func (*GenerateProjectResponse) String ¶
func (x *GenerateProjectResponse) String() string
type GetMappingRequest ¶
type GetMappingRequest struct { // the conversion key for the mapping being requested. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // the optional provider key for the mapping being requested, if this is empty the provider should assume this // request is from an old engine from before GetMappings and should return it's "primary" mapping. If this is set // then the `provider` field in GetMappingResponse should be the same. Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
GetMappingRequest allows providers to return ecosystem specific information to allow the provider to be converted from a source markup to Codeinfra. It's expected that provider bridges that target a given ecosystem (e.g. Terraform, Kubernetes) would also publish a conversion plugin to convert markup from that ecosystem to Codeinfra, using the bridged providers.
func (*GetMappingRequest) Descriptor
deprecated
func (*GetMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingRequest.ProtoReflect.Descriptor instead.
func (*GetMappingRequest) GetKey ¶
func (x *GetMappingRequest) GetKey() string
func (*GetMappingRequest) GetProvider ¶
func (x *GetMappingRequest) GetProvider() string
func (*GetMappingRequest) ProtoMessage ¶
func (*GetMappingRequest) ProtoMessage()
func (*GetMappingRequest) ProtoReflect ¶
func (x *GetMappingRequest) ProtoReflect() protoreflect.Message
func (*GetMappingRequest) Reset ¶
func (x *GetMappingRequest) Reset()
func (*GetMappingRequest) String ¶
func (x *GetMappingRequest) String() string
type GetMappingResponse ¶
type GetMappingResponse struct { // the provider key this is mapping for. For example the Codeinfra provider "terraform-template" would return "template" for this. Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // the conversion plugin specific data. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
GetMappingResponse returns convert plugin specific data for this provider. This will normally be human readable JSON, but the engine doesn't mandate any form.
func (*GetMappingResponse) Descriptor
deprecated
func (*GetMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingResponse.ProtoReflect.Descriptor instead.
func (*GetMappingResponse) GetData ¶
func (x *GetMappingResponse) GetData() []byte
func (*GetMappingResponse) GetProvider ¶
func (x *GetMappingResponse) GetProvider() string
func (*GetMappingResponse) ProtoMessage ¶
func (*GetMappingResponse) ProtoMessage()
func (*GetMappingResponse) ProtoReflect ¶
func (x *GetMappingResponse) ProtoReflect() protoreflect.Message
func (*GetMappingResponse) Reset ¶
func (x *GetMappingResponse) Reset()
func (*GetMappingResponse) String ¶
func (x *GetMappingResponse) String() string
type GetMappingsRequest ¶
type GetMappingsRequest struct { // the conversion key for the mapping being requested. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
GetMappingsRequest allows providers to return ecosystem specific information without having to send back large data blobs for provider mappings that the engine doesn't then need.
func (*GetMappingsRequest) Descriptor
deprecated
func (*GetMappingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingsRequest.ProtoReflect.Descriptor instead.
func (*GetMappingsRequest) GetKey ¶
func (x *GetMappingsRequest) GetKey() string
func (*GetMappingsRequest) ProtoMessage ¶
func (*GetMappingsRequest) ProtoMessage()
func (*GetMappingsRequest) ProtoReflect ¶
func (x *GetMappingsRequest) ProtoReflect() protoreflect.Message
func (*GetMappingsRequest) Reset ¶
func (x *GetMappingsRequest) Reset()
func (*GetMappingsRequest) String ¶
func (x *GetMappingsRequest) String() string
type GetMappingsResponse ¶
type GetMappingsResponse struct { // the provider keys this provider can supply mappings for. For example the Codeinfra provider "terraform-template" // would return ["template"] for this. Providers []string `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` // contains filtered or unexported fields }
GetMappingsRequest returns a list of providers that this provider can provide mapping information for.
func (*GetMappingsResponse) Descriptor
deprecated
func (*GetMappingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingsResponse.ProtoReflect.Descriptor instead.
func (*GetMappingsResponse) GetProviders ¶
func (x *GetMappingsResponse) GetProviders() []string
func (*GetMappingsResponse) ProtoMessage ¶
func (*GetMappingsResponse) ProtoMessage()
func (*GetMappingsResponse) ProtoReflect ¶
func (x *GetMappingsResponse) ProtoReflect() protoreflect.Message
func (*GetMappingsResponse) Reset ¶
func (x *GetMappingsResponse) Reset()
func (*GetMappingsResponse) String ¶
func (x *GetMappingsResponse) String() string
type GetProgramDependenciesRequest ¶
type GetProgramDependenciesRequest struct { // Deprecated: Do not use. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the project name, the engine always sets this to "deprecated" now. // Deprecated: Do not use. Pwd string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"` // the program's working directory. Deprecated, use info.program_directory instead. // Deprecated: Do not use. Program string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"` // the path to the program. Deprecated, use info.entry_point instead. TransitiveDependencies bool `protobuf:"varint,4,opt,name=transitiveDependencies,proto3" json:"transitiveDependencies,omitempty"` // if transitive dependencies should be included in the result. Info *ProgramInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` // the program info to use to calculate dependencies. // contains filtered or unexported fields }
func (*GetProgramDependenciesRequest) Descriptor
deprecated
func (*GetProgramDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProgramDependenciesRequest.ProtoReflect.Descriptor instead.
func (*GetProgramDependenciesRequest) GetInfo ¶
func (x *GetProgramDependenciesRequest) GetInfo() *ProgramInfo
func (*GetProgramDependenciesRequest) GetProgram
deprecated
func (x *GetProgramDependenciesRequest) GetProgram() string
Deprecated: Do not use.
func (*GetProgramDependenciesRequest) GetProject
deprecated
func (x *GetProgramDependenciesRequest) GetProject() string
Deprecated: Do not use.
func (*GetProgramDependenciesRequest) GetPwd
deprecated
func (x *GetProgramDependenciesRequest) GetPwd() string
Deprecated: Do not use.
func (*GetProgramDependenciesRequest) GetTransitiveDependencies ¶
func (x *GetProgramDependenciesRequest) GetTransitiveDependencies() bool
func (*GetProgramDependenciesRequest) ProtoMessage ¶
func (*GetProgramDependenciesRequest) ProtoMessage()
func (*GetProgramDependenciesRequest) ProtoReflect ¶
func (x *GetProgramDependenciesRequest) ProtoReflect() protoreflect.Message
func (*GetProgramDependenciesRequest) Reset ¶
func (x *GetProgramDependenciesRequest) Reset()
func (*GetProgramDependenciesRequest) String ¶
func (x *GetProgramDependenciesRequest) String() string
type GetProgramDependenciesResponse ¶
type GetProgramDependenciesResponse struct { Dependencies []*DependencyInfo `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // the dependencies of this program // contains filtered or unexported fields }
func (*GetProgramDependenciesResponse) Descriptor
deprecated
func (*GetProgramDependenciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProgramDependenciesResponse.ProtoReflect.Descriptor instead.
func (*GetProgramDependenciesResponse) GetDependencies ¶
func (x *GetProgramDependenciesResponse) GetDependencies() []*DependencyInfo
func (*GetProgramDependenciesResponse) ProtoMessage ¶
func (*GetProgramDependenciesResponse) ProtoMessage()
func (*GetProgramDependenciesResponse) ProtoReflect ¶
func (x *GetProgramDependenciesResponse) ProtoReflect() protoreflect.Message
func (*GetProgramDependenciesResponse) Reset ¶
func (x *GetProgramDependenciesResponse) Reset()
func (*GetProgramDependenciesResponse) String ¶
func (x *GetProgramDependenciesResponse) String() string
type GetRequiredPackagesRequest ¶
type GetRequiredPackagesRequest struct { Info *ProgramInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // the program info to use to calculate packages. // contains filtered or unexported fields }
func (*GetRequiredPackagesRequest) Descriptor
deprecated
func (*GetRequiredPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequiredPackagesRequest.ProtoReflect.Descriptor instead.
func (*GetRequiredPackagesRequest) GetInfo ¶
func (x *GetRequiredPackagesRequest) GetInfo() *ProgramInfo
func (*GetRequiredPackagesRequest) ProtoMessage ¶
func (*GetRequiredPackagesRequest) ProtoMessage()
func (*GetRequiredPackagesRequest) ProtoReflect ¶
func (x *GetRequiredPackagesRequest) ProtoReflect() protoreflect.Message
func (*GetRequiredPackagesRequest) Reset ¶
func (x *GetRequiredPackagesRequest) Reset()
func (*GetRequiredPackagesRequest) String ¶
func (x *GetRequiredPackagesRequest) String() string
type GetRequiredPackagesResponse ¶
type GetRequiredPackagesResponse struct { Packages []*PackageDependency `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"` // a list of packages required by this program. // contains filtered or unexported fields }
func (*GetRequiredPackagesResponse) Descriptor
deprecated
func (*GetRequiredPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRequiredPackagesResponse.ProtoReflect.Descriptor instead.
func (*GetRequiredPackagesResponse) GetPackages ¶
func (x *GetRequiredPackagesResponse) GetPackages() []*PackageDependency
func (*GetRequiredPackagesResponse) ProtoMessage ¶
func (*GetRequiredPackagesResponse) ProtoMessage()
func (*GetRequiredPackagesResponse) ProtoReflect ¶
func (x *GetRequiredPackagesResponse) ProtoReflect() protoreflect.Message
func (*GetRequiredPackagesResponse) Reset ¶
func (x *GetRequiredPackagesResponse) Reset()
func (*GetRequiredPackagesResponse) String ¶
func (x *GetRequiredPackagesResponse) String() string
type GetRequiredPluginsRequest ¶
type GetRequiredPluginsRequest struct { // Deprecated: Do not use. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the project name, the engine always sets this to "deprecated" now. // Deprecated: Do not use. Pwd string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"` // the program's working directory. Deprecated, use info.program_directory instead. // Deprecated: Do not use. Program string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"` // the path to the program. Deprecated, use info.entry_point instead. Info *ProgramInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` // the program info to use to calculate plugins. // contains filtered or unexported fields }
func (*GetRequiredPluginsRequest) Descriptor
deprecated
func (*GetRequiredPluginsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequiredPluginsRequest.ProtoReflect.Descriptor instead.
func (*GetRequiredPluginsRequest) GetInfo ¶
func (x *GetRequiredPluginsRequest) GetInfo() *ProgramInfo
func (*GetRequiredPluginsRequest) GetProgram
deprecated
func (x *GetRequiredPluginsRequest) GetProgram() string
Deprecated: Do not use.
func (*GetRequiredPluginsRequest) GetProject
deprecated
func (x *GetRequiredPluginsRequest) GetProject() string
Deprecated: Do not use.
func (*GetRequiredPluginsRequest) GetPwd
deprecated
func (x *GetRequiredPluginsRequest) GetPwd() string
Deprecated: Do not use.
func (*GetRequiredPluginsRequest) ProtoMessage ¶
func (*GetRequiredPluginsRequest) ProtoMessage()
func (*GetRequiredPluginsRequest) ProtoReflect ¶
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 { Plugins []*PluginDependency `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` // a list of plugins required by this program. // contains filtered or unexported fields }
func (*GetRequiredPluginsResponse) Descriptor
deprecated
func (*GetRequiredPluginsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRequiredPluginsResponse.ProtoReflect.Descriptor instead.
func (*GetRequiredPluginsResponse) GetPlugins ¶
func (x *GetRequiredPluginsResponse) GetPlugins() []*PluginDependency
func (*GetRequiredPluginsResponse) ProtoMessage ¶
func (*GetRequiredPluginsResponse) ProtoMessage()
func (*GetRequiredPluginsResponse) ProtoReflect ¶
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 ¶
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 ¶
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 ¶
func (x *GetSchemaRequest) GetSubpackageName() string
func (*GetSchemaRequest) GetSubpackageVersion ¶
func (x *GetSchemaRequest) GetSubpackageVersion() string
func (*GetSchemaRequest) GetVersion ¶
func (x *GetSchemaRequest) GetVersion() int32
func (*GetSchemaRequest) ProtoMessage ¶
func (*GetSchemaRequest) ProtoMessage()
func (*GetSchemaRequest) ProtoReflect ¶
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 ¶
func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message
func (*GetSchemaResponse) Reset ¶
func (x *GetSchemaResponse) Reset()
func (*GetSchemaResponse) String ¶
func (x *GetSchemaResponse) String() string
type InputPropertiesError ¶
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
func (*InputPropertiesError) Descriptor() ([]byte, []int)
Deprecated: Use InputPropertiesError.ProtoReflect.Descriptor instead.
func (*InputPropertiesError) GetErrors ¶
func (x *InputPropertiesError) GetErrors() []*InputPropertiesError_PropertyError
func (*InputPropertiesError) ProtoMessage ¶
func (*InputPropertiesError) ProtoMessage()
func (*InputPropertiesError) ProtoReflect ¶
func (x *InputPropertiesError) ProtoReflect() protoreflect.Message
func (*InputPropertiesError) Reset ¶
func (x *InputPropertiesError) Reset()
func (*InputPropertiesError) String ¶
func (x *InputPropertiesError) String() string
type InputPropertiesError_PropertyError ¶
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
func (*InputPropertiesError_PropertyError) Descriptor() ([]byte, []int)
Deprecated: Use InputPropertiesError_PropertyError.ProtoReflect.Descriptor instead.
func (*InputPropertiesError_PropertyError) GetPropertyPath ¶
func (x *InputPropertiesError_PropertyError) GetPropertyPath() string
func (*InputPropertiesError_PropertyError) GetReason ¶
func (x *InputPropertiesError_PropertyError) GetReason() string
func (*InputPropertiesError_PropertyError) ProtoMessage ¶
func (*InputPropertiesError_PropertyError) ProtoMessage()
func (*InputPropertiesError_PropertyError) ProtoReflect ¶
func (x *InputPropertiesError_PropertyError) ProtoReflect() protoreflect.Message
func (*InputPropertiesError_PropertyError) Reset ¶
func (x *InputPropertiesError_PropertyError) Reset()
func (*InputPropertiesError_PropertyError) String ¶
func (x *InputPropertiesError_PropertyError) String() string
type InstallDependenciesRequest ¶
type InstallDependenciesRequest struct { // Deprecated: Do not use. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` // the program's working directory. Deprecated, use info.program_directory instead. IsTerminal bool `protobuf:"varint,2,opt,name=is_terminal,json=isTerminal,proto3" json:"is_terminal,omitempty"` // if we are running in a terminal and should use ANSI codes Info *ProgramInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` // the program info to use to execute the plugin. UseLanguageVersionTools bool `` // if we should use language version tools like pyenv or /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InstallDependenciesRequest) Descriptor
deprecated
func (*InstallDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallDependenciesRequest.ProtoReflect.Descriptor instead.
func (*InstallDependenciesRequest) GetDirectory
deprecated
func (x *InstallDependenciesRequest) GetDirectory() string
Deprecated: Do not use.
func (*InstallDependenciesRequest) GetInfo ¶
func (x *InstallDependenciesRequest) GetInfo() *ProgramInfo
func (*InstallDependenciesRequest) GetIsTerminal ¶
func (x *InstallDependenciesRequest) GetIsTerminal() bool
func (*InstallDependenciesRequest) GetUseLanguageVersionTools ¶
func (x *InstallDependenciesRequest) GetUseLanguageVersionTools() bool
func (*InstallDependenciesRequest) ProtoMessage ¶
func (*InstallDependenciesRequest) ProtoMessage()
func (*InstallDependenciesRequest) ProtoReflect ¶
func (x *InstallDependenciesRequest) ProtoReflect() protoreflect.Message
func (*InstallDependenciesRequest) Reset ¶
func (x *InstallDependenciesRequest) Reset()
func (*InstallDependenciesRequest) String ¶
func (x *InstallDependenciesRequest) String() string
type InstallDependenciesResponse ¶
type InstallDependenciesResponse struct { Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // a line of stdout text. Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // a line of stderr text. // contains filtered or unexported fields }
func (*InstallDependenciesResponse) Descriptor
deprecated
func (*InstallDependenciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstallDependenciesResponse.ProtoReflect.Descriptor instead.
func (*InstallDependenciesResponse) GetStderr ¶
func (x *InstallDependenciesResponse) GetStderr() []byte
func (*InstallDependenciesResponse) GetStdout ¶
func (x *InstallDependenciesResponse) GetStdout() []byte
func (*InstallDependenciesResponse) ProtoMessage ¶
func (*InstallDependenciesResponse) ProtoMessage()
func (*InstallDependenciesResponse) ProtoReflect ¶
func (x *InstallDependenciesResponse) ProtoReflect() protoreflect.Message
func (*InstallDependenciesResponse) Reset ¶
func (x *InstallDependenciesResponse) Reset()
func (*InstallDependenciesResponse) String ¶
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 ¶
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 ¶
func (x *InvokeResponse) ProtoReflect() protoreflect.Message
func (*InvokeResponse) Reset ¶
func (x *InvokeResponse) Reset()
func (*InvokeResponse) String ¶
func (x *InvokeResponse) String() string
type LanguageHandshakeRequest ¶
type LanguageHandshakeRequest struct { // The grpc address for the engine. EngineAddress string `protobuf:"bytes,1,opt,name=engine_address,json=engineAddress,proto3" json:"engine_address,omitempty"` // The optional root directory, where the `CodeinfraPlugin.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 }
func (*LanguageHandshakeRequest) Descriptor
deprecated
func (*LanguageHandshakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use LanguageHandshakeRequest.ProtoReflect.Descriptor instead.
func (*LanguageHandshakeRequest) GetEngineAddress ¶
func (x *LanguageHandshakeRequest) GetEngineAddress() string
func (*LanguageHandshakeRequest) GetProgramDirectory ¶
func (x *LanguageHandshakeRequest) GetProgramDirectory() string
func (*LanguageHandshakeRequest) GetRootDirectory ¶
func (x *LanguageHandshakeRequest) GetRootDirectory() string
func (*LanguageHandshakeRequest) ProtoMessage ¶
func (*LanguageHandshakeRequest) ProtoMessage()
func (*LanguageHandshakeRequest) ProtoReflect ¶
func (x *LanguageHandshakeRequest) ProtoReflect() protoreflect.Message
func (*LanguageHandshakeRequest) Reset ¶
func (x *LanguageHandshakeRequest) Reset()
func (*LanguageHandshakeRequest) String ¶
func (x *LanguageHandshakeRequest) String() string
type LanguageHandshakeResponse ¶
type LanguageHandshakeResponse struct {
// contains filtered or unexported fields
}
func (*LanguageHandshakeResponse) Descriptor
deprecated
func (*LanguageHandshakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use LanguageHandshakeResponse.ProtoReflect.Descriptor instead.
func (*LanguageHandshakeResponse) ProtoMessage ¶
func (*LanguageHandshakeResponse) ProtoMessage()
func (*LanguageHandshakeResponse) ProtoReflect ¶
func (x *LanguageHandshakeResponse) ProtoReflect() protoreflect.Message
func (*LanguageHandshakeResponse) Reset ¶
func (x *LanguageHandshakeResponse) Reset()
func (*LanguageHandshakeResponse) String ¶
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 required by a program. GetRequiredPlugins(ctx context.Context, in *GetRequiredPluginsRequest, opts ...grpc.CallOption) (*GetRequiredPluginsResponse, error) // GetRequiredPackages computes the complete set of anticipated packages required by a program. GetRequiredPackages(ctx context.Context, in *GetRequiredPackagesRequest, opts ...grpc.CallOption) (*GetRequiredPackagesResponse, error) // Run executes a program and returns its result. Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) // GetPluginInfo returns generic information about this plugin, like its version. GetPluginInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PluginInfo, error) // InstallDependencies will install dependencies for the project, e.g. by running `npm install` for nodejs projects. InstallDependencies(ctx context.Context, in *InstallDependenciesRequest, opts ...grpc.CallOption) (LanguageRuntime_InstallDependenciesClient, error) // RuntimeOptionsPrompts returns a list of additional prompts to ask during `codeinfra new`. RuntimeOptionsPrompts(ctx context.Context, in *RuntimeOptionsRequest, opts ...grpc.CallOption) (*RuntimeOptionsResponse, error) // About returns information about the runtime for this language. About(ctx context.Context, in *AboutRequest, opts ...grpc.CallOption) (*AboutResponse, error) // GetProgramDependencies returns the set of dependencies required by the program. GetProgramDependencies(ctx context.Context, in *GetProgramDependenciesRequest, opts ...grpc.CallOption) (*GetProgramDependenciesResponse, error) // RunPlugin executes a plugin program and returns its result asynchronously. RunPlugin(ctx context.Context, in *RunPluginRequest, opts ...grpc.CallOption) (LanguageRuntime_RunPluginClient, error) // GenerateProgram generates a given PCL program into a program for this language. GenerateProgram(ctx context.Context, in *GenerateProgramRequest, opts ...grpc.CallOption) (*GenerateProgramResponse, error) // GenerateProject generates a given PCL program into a project for this language. GenerateProject(ctx context.Context, in *GenerateProjectRequest, opts ...grpc.CallOption) (*GenerateProjectResponse, error) // GeneratePackage generates a given codeinfra package into a package for this language. GeneratePackage(ctx context.Context, in *GeneratePackageRequest, opts ...grpc.CallOption) (*GeneratePackageResponse, error) // Pack packs a package into a language specific artifact. Pack(ctx context.Context, in *PackRequest, opts ...grpc.CallOption) (*PackResponse, error) }
LanguageRuntimeClient is the client API for LanguageRuntime service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
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 required by a program. GetRequiredPlugins(context.Context, *GetRequiredPluginsRequest) (*GetRequiredPluginsResponse, error) // GetRequiredPackages computes the complete set of anticipated packages required by a program. GetRequiredPackages(context.Context, *GetRequiredPackagesRequest) (*GetRequiredPackagesResponse, error) // Run executes a program and returns its result. Run(context.Context, *RunRequest) (*RunResponse, error) // GetPluginInfo returns generic information about this plugin, like its version. GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error) // InstallDependencies will install dependencies for the project, e.g. by running `npm install` for nodejs projects. InstallDependencies(*InstallDependenciesRequest, LanguageRuntime_InstallDependenciesServer) error // RuntimeOptionsPrompts returns a list of additional prompts to ask during `codeinfra new`. RuntimeOptionsPrompts(context.Context, *RuntimeOptionsRequest) (*RuntimeOptionsResponse, error) // About returns information about the runtime for this language. About(context.Context, *AboutRequest) (*AboutResponse, error) // GetProgramDependencies returns the set of dependencies required by the program. GetProgramDependencies(context.Context, *GetProgramDependenciesRequest) (*GetProgramDependenciesResponse, error) // RunPlugin executes a plugin program and returns its result asynchronously. RunPlugin(*RunPluginRequest, LanguageRuntime_RunPluginServer) error // GenerateProgram generates a given PCL program into a program for this language. GenerateProgram(context.Context, *GenerateProgramRequest) (*GenerateProgramResponse, error) // GenerateProject generates a given PCL program into a project for this language. GenerateProject(context.Context, *GenerateProjectRequest) (*GenerateProjectResponse, error) // GeneratePackage generates a given codeinfra package into a package for this language. GeneratePackage(context.Context, *GeneratePackageRequest) (*GeneratePackageResponse, error) // Pack packs a package into a language specific artifact. Pack(context.Context, *PackRequest) (*PackResponse, error) // contains filtered or unexported methods }
LanguageRuntimeServer is the server API for LanguageRuntime service. All implementations must embed UnimplementedLanguageRuntimeServer for forward compatibility
type LanguageRuntime_InstallDependenciesClient ¶
type LanguageRuntime_InstallDependenciesClient interface { Recv() (*InstallDependenciesResponse, error) grpc.ClientStream }
type LanguageRuntime_InstallDependenciesServer ¶
type LanguageRuntime_InstallDependenciesServer interface { Send(*InstallDependenciesResponse) error grpc.ServerStream }
type LanguageRuntime_RunPluginClient ¶
type LanguageRuntime_RunPluginClient interface { Recv() (*RunPluginResponse, error) grpc.ClientStream }
type LanguageRuntime_RunPluginServer ¶
type LanguageRuntime_RunPluginServer interface { Send(*RunPluginResponse) error grpc.ServerStream }
type LogRequest ¶
type LogRequest struct { // the logging level of this message. Severity LogSeverity `protobuf:"varint,1,opt,name=severity,proto3,enum=codeinfrarpc.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 ¶
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 ¶
func (LogSeverity) Descriptor() protoreflect.EnumDescriptor
func (LogSeverity) Enum ¶
func (x LogSeverity) Enum() *LogSeverity
func (LogSeverity) EnumDescriptor
deprecated
func (LogSeverity) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogSeverity.Descriptor instead.
func (LogSeverity) Number ¶
func (x LogSeverity) Number() protoreflect.EnumNumber
func (LogSeverity) String ¶
func (x LogSeverity) String() string
func (LogSeverity) Type ¶
func (LogSeverity) Type() protoreflect.EnumType
type PackRequest ¶
type PackRequest struct { // the directory of a package to pack. PackageDirectory string `protobuf:"bytes,1,opt,name=package_directory,json=packageDirectory,proto3" json:"package_directory,omitempty"` // the directory to write the packed artifact to. DestinationDirectory string `protobuf:"bytes,2,opt,name=destination_directory,json=destinationDirectory,proto3" json:"destination_directory,omitempty"` // contains filtered or unexported fields }
func (*PackRequest) Descriptor
deprecated
func (*PackRequest) Descriptor() ([]byte, []int)
Deprecated: Use PackRequest.ProtoReflect.Descriptor instead.
func (*PackRequest) GetDestinationDirectory ¶
func (x *PackRequest) GetDestinationDirectory() string
func (*PackRequest) GetPackageDirectory ¶
func (x *PackRequest) GetPackageDirectory() string
func (*PackRequest) ProtoMessage ¶
func (*PackRequest) ProtoMessage()
func (*PackRequest) ProtoReflect ¶
func (x *PackRequest) ProtoReflect() protoreflect.Message
func (*PackRequest) Reset ¶
func (x *PackRequest) Reset()
func (*PackRequest) String ¶
func (x *PackRequest) String() string
type PackResponse ¶
type PackResponse struct { // the full path of the packed artifact. ArtifactPath string `protobuf:"bytes,1,opt,name=artifact_path,json=artifactPath,proto3" json:"artifact_path,omitempty"` // contains filtered or unexported fields }
func (*PackResponse) Descriptor
deprecated
func (*PackResponse) Descriptor() ([]byte, []int)
Deprecated: Use PackResponse.ProtoReflect.Descriptor instead.
func (*PackResponse) GetArtifactPath ¶
func (x *PackResponse) GetArtifactPath() string
func (*PackResponse) ProtoMessage ¶
func (*PackResponse) ProtoMessage()
func (*PackResponse) ProtoReflect ¶
func (x *PackResponse) ProtoReflect() protoreflect.Message
func (*PackResponse) Reset ¶
func (x *PackResponse) Reset()
func (*PackResponse) String ¶
func (x *PackResponse) String() string
type PackageDependency ¶
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 codeinfra releases, e.g. "darwin-amd64", "windows-arm64". Checksums map[string][]byte `` /* 159-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
func (*PackageDependency) Descriptor() ([]byte, []int)
Deprecated: Use PackageDependency.ProtoReflect.Descriptor instead.
func (*PackageDependency) GetChecksums ¶
func (x *PackageDependency) GetChecksums() map[string][]byte
func (*PackageDependency) GetKind ¶
func (x *PackageDependency) GetKind() string
func (*PackageDependency) GetName ¶
func (x *PackageDependency) GetName() string
func (*PackageDependency) GetParameterization ¶
func (x *PackageDependency) GetParameterization() *PackageParameterization
func (*PackageDependency) GetServer ¶
func (x *PackageDependency) GetServer() string
func (*PackageDependency) GetVersion ¶
func (x *PackageDependency) GetVersion() string
func (*PackageDependency) ProtoMessage ¶
func (*PackageDependency) ProtoMessage()
func (*PackageDependency) ProtoReflect ¶
func (x *PackageDependency) ProtoReflect() protoreflect.Message
func (*PackageDependency) Reset ¶
func (x *PackageDependency) Reset()
func (*PackageDependency) String ¶
func (x *PackageDependency) String() string
type PackageParameterization ¶
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
func (*PackageParameterization) Descriptor() ([]byte, []int)
Deprecated: Use PackageParameterization.ProtoReflect.Descriptor instead.
func (*PackageParameterization) GetName ¶
func (x *PackageParameterization) GetName() string
func (*PackageParameterization) GetValue ¶
func (x *PackageParameterization) GetValue() []byte
func (*PackageParameterization) GetVersion ¶
func (x *PackageParameterization) GetVersion() string
func (*PackageParameterization) ProtoMessage ¶
func (*PackageParameterization) ProtoMessage()
func (*PackageParameterization) ProtoReflect ¶
func (x *PackageParameterization) ProtoReflect() protoreflect.Message
func (*PackageParameterization) Reset ¶
func (x *PackageParameterization) Reset()
func (*PackageParameterization) String ¶
func (x *PackageParameterization) String() string
type Parameterization ¶
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
func (*Parameterization) Descriptor() ([]byte, []int)
Deprecated: Use Parameterization.ProtoReflect.Descriptor instead.
func (*Parameterization) GetName ¶
func (x *Parameterization) GetName() string
func (*Parameterization) GetValue ¶
func (x *Parameterization) GetValue() []byte
func (*Parameterization) GetVersion ¶
func (x *Parameterization) GetVersion() string
func (*Parameterization) ProtoMessage ¶
func (*Parameterization) ProtoMessage()
func (*Parameterization) ProtoReflect ¶
func (x *Parameterization) ProtoReflect() protoreflect.Message
func (*Parameterization) Reset ¶
func (x *Parameterization) Reset()
func (*Parameterization) String ¶
func (x *Parameterization) String() string
type ParameterizeRequest ¶
type ParameterizeRequest struct { // Types that are assignable 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 [](codeinfrarpc.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
func (*ParameterizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParameterizeRequest.ProtoReflect.Descriptor instead.
func (*ParameterizeRequest) GetArgs ¶
func (x *ParameterizeRequest) GetArgs() *ParameterizeRequest_ParametersArgs
func (*ParameterizeRequest) GetParameters ¶
func (m *ParameterizeRequest) GetParameters() isParameterizeRequest_Parameters
func (*ParameterizeRequest) GetValue ¶
func (x *ParameterizeRequest) GetValue() *ParameterizeRequest_ParametersValue
func (*ParameterizeRequest) ProtoMessage ¶
func (*ParameterizeRequest) ProtoMessage()
func (*ParameterizeRequest) ProtoReflect ¶
func (x *ParameterizeRequest) ProtoReflect() protoreflect.Message
func (*ParameterizeRequest) Reset ¶
func (x *ParameterizeRequest) Reset()
func (*ParameterizeRequest) String ¶
func (x *ParameterizeRequest) String() string
type ParameterizeRequest_Args ¶
type ParameterizeRequest_Args struct { // Arguments from the command line. Args *ParameterizeRequest_ParametersArgs `protobuf:"bytes,1,opt,name=args,proto3,oneof"` }
type ParameterizeRequest_ParametersArgs ¶
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
func (*ParameterizeRequest_ParametersArgs) Descriptor() ([]byte, []int)
Deprecated: Use ParameterizeRequest_ParametersArgs.ProtoReflect.Descriptor instead.
func (*ParameterizeRequest_ParametersArgs) GetArgs ¶
func (x *ParameterizeRequest_ParametersArgs) GetArgs() []string
func (*ParameterizeRequest_ParametersArgs) ProtoMessage ¶
func (*ParameterizeRequest_ParametersArgs) ProtoMessage()
func (*ParameterizeRequest_ParametersArgs) ProtoReflect ¶
func (x *ParameterizeRequest_ParametersArgs) ProtoReflect() protoreflect.Message
func (*ParameterizeRequest_ParametersArgs) Reset ¶
func (x *ParameterizeRequest_ParametersArgs) Reset()
func (*ParameterizeRequest_ParametersArgs) String ¶
func (x *ParameterizeRequest_ParametersArgs) String() string
type ParameterizeRequest_ParametersValue ¶
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
func (*ParameterizeRequest_ParametersValue) Descriptor() ([]byte, []int)
Deprecated: Use ParameterizeRequest_ParametersValue.ProtoReflect.Descriptor instead.
func (*ParameterizeRequest_ParametersValue) GetName ¶
func (x *ParameterizeRequest_ParametersValue) GetName() string
func (*ParameterizeRequest_ParametersValue) GetValue ¶
func (x *ParameterizeRequest_ParametersValue) GetValue() []byte
func (*ParameterizeRequest_ParametersValue) GetVersion ¶
func (x *ParameterizeRequest_ParametersValue) GetVersion() string
func (*ParameterizeRequest_ParametersValue) ProtoMessage ¶
func (*ParameterizeRequest_ParametersValue) ProtoMessage()
func (*ParameterizeRequest_ParametersValue) ProtoReflect ¶
func (x *ParameterizeRequest_ParametersValue) ProtoReflect() protoreflect.Message
func (*ParameterizeRequest_ParametersValue) Reset ¶
func (x *ParameterizeRequest_ParametersValue) Reset()
func (*ParameterizeRequest_ParametersValue) String ¶
func (x *ParameterizeRequest_ParametersValue) String() string
type ParameterizeRequest_Value ¶
type ParameterizeRequest_Value struct { // Values from a generated SDK. Value *ParameterizeRequest_ParametersValue `protobuf:"bytes,2,opt,name=value,proto3,oneof"` }
type ParameterizeResponse ¶
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 [](codeinfrarpc.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
func (*ParameterizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParameterizeResponse.ProtoReflect.Descriptor instead.
func (*ParameterizeResponse) GetName ¶
func (x *ParameterizeResponse) GetName() string
func (*ParameterizeResponse) GetVersion ¶
func (x *ParameterizeResponse) GetVersion() string
func (*ParameterizeResponse) ProtoMessage ¶
func (*ParameterizeResponse) ProtoMessage()
func (*ParameterizeResponse) ProtoReflect ¶
func (x *ParameterizeResponse) ProtoReflect() protoreflect.Message
func (*ParameterizeResponse) Reset ¶
func (x *ParameterizeResponse) Reset()
func (*ParameterizeResponse) String ¶
func (x *ParameterizeResponse) String() string
type PluginAttach ¶
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
func (*PluginAttach) Descriptor() ([]byte, []int)
Deprecated: Use PluginAttach.ProtoReflect.Descriptor instead.
func (*PluginAttach) GetAddress ¶
func (x *PluginAttach) GetAddress() string
func (*PluginAttach) ProtoMessage ¶
func (*PluginAttach) ProtoMessage()
func (*PluginAttach) ProtoReflect ¶
func (x *PluginAttach) ProtoReflect() protoreflect.Message
func (*PluginAttach) Reset ¶
func (x *PluginAttach) Reset()
func (*PluginAttach) String ¶
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 codeinfra releases, e.g. "darwin-amd64", "windows-arm64". Checksums map[string][]byte `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
PluginDependency is information about a plugin that a program may depend upon.
func (*PluginDependency) Descriptor
deprecated
func (*PluginDependency) Descriptor() ([]byte, []int)
Deprecated: Use PluginDependency.ProtoReflect.Descriptor instead.
func (*PluginDependency) GetChecksums ¶
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 ¶
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 ¶
func (x *PluginInfo) ProtoReflect() protoreflect.Message
func (*PluginInfo) Reset ¶
func (x *PluginInfo) Reset()
func (*PluginInfo) String ¶
func (x *PluginInfo) String() string
type PolicyConfig ¶
type PolicyConfig struct { EnforcementLevel EnforcementLevel `protobuf:"varint,1,opt,name=enforcementLevel,proto3,enum=codeinfrarpc.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 ¶
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 ¶
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=codeinfrarpc.EnforcementLevel" json:"enforcementLevel,omitempty"` // Severity of the policy violation. ConfigSchema *PolicyConfigSchema `protobuf:"bytes,6,opt,name=configSchema,proto3" json:"configSchema,omitempty"` // Config schema for the policy. // contains filtered or unexported fields }
PolicyInfo provides metadata about a policy within a Policy Pack.
func (*PolicyInfo) Descriptor
deprecated
func (*PolicyInfo) Descriptor() ([]byte, []int)
Deprecated: Use PolicyInfo.ProtoReflect.Descriptor instead.
func (*PolicyInfo) GetConfigSchema ¶
func (x *PolicyInfo) GetConfigSchema() *PolicyConfigSchema
func (*PolicyInfo) GetDescription ¶
func (x *PolicyInfo) GetDescription() string
func (*PolicyInfo) GetDisplayName ¶
func (x *PolicyInfo) GetDisplayName() string
func (*PolicyInfo) GetEnforcementLevel ¶
func (x *PolicyInfo) GetEnforcementLevel() EnforcementLevel
func (*PolicyInfo) GetMessage ¶
func (x *PolicyInfo) GetMessage() string
func (*PolicyInfo) GetName ¶
func (x *PolicyInfo) GetName() string
func (*PolicyInfo) ProtoMessage ¶
func (*PolicyInfo) ProtoMessage()
func (*PolicyInfo) ProtoReflect ¶
func (x *PolicyInfo) ProtoReflect() protoreflect.Message
func (*PolicyInfo) Reset ¶
func (x *PolicyInfo) Reset()
func (*PolicyInfo) String ¶
func (x *PolicyInfo) String() string
type ProgramInfo ¶
type ProgramInfo struct { // the root of the project, where the `Codeinfra.yaml` file is located. RootDirectory string `protobuf:"bytes,1,opt,name=root_directory,json=rootDirectory,proto3" json:"root_directory,omitempty"` // the absolute path to the directory of the program to execute. Generally, but not required to be, // underneath the root directory. ProgramDirectory string `protobuf:"bytes,2,opt,name=program_directory,json=programDirectory,proto3" json:"program_directory,omitempty"` // the entry point of the program, normally '.' meaning to just use the program directory, but can also be // a filename inside the program directory. How that filename is interpreted, if at all, is language // specific. EntryPoint string `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"` // JSON style options from the `Codeinfra.yaml` runtime options section. Options *structpb.Struct `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
ProgramInfo are the common set of options that a language runtime needs to execute or query a program. This is filled in by the engine based on where the `Codeinfra.yaml` file was, the `runtime.options` property, and the `main` property.
func (*ProgramInfo) Descriptor
deprecated
func (*ProgramInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProgramInfo.ProtoReflect.Descriptor instead.
func (*ProgramInfo) GetEntryPoint ¶
func (x *ProgramInfo) GetEntryPoint() string
func (*ProgramInfo) GetOptions ¶
func (x *ProgramInfo) GetOptions() *structpb.Struct
func (*ProgramInfo) GetProgramDirectory ¶
func (x *ProgramInfo) GetProgramDirectory() string
func (*ProgramInfo) GetRootDirectory ¶
func (x *ProgramInfo) GetRootDirectory() string
func (*ProgramInfo) ProtoMessage ¶
func (*ProgramInfo) ProtoMessage()
func (*ProgramInfo) ProtoReflect ¶
func (x *ProgramInfo) ProtoReflect() protoreflect.Message
func (*ProgramInfo) Reset ¶
func (x *ProgramInfo) Reset()
func (*ProgramInfo) String ¶
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=codeinfrarpc.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 ¶
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 ¶
func (PropertyDiff_Kind) Descriptor() protoreflect.EnumDescriptor
func (PropertyDiff_Kind) Enum ¶
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 ¶
func (x PropertyDiff_Kind) Number() protoreflect.EnumNumber
func (PropertyDiff_Kind) String ¶
func (x PropertyDiff_Kind) String() string
func (PropertyDiff_Kind) Type ¶
func (PropertyDiff_Kind) Type() protoreflect.EnumType
type ProviderHandshakeRequest ¶
type ProviderHandshakeRequest struct { // The gRPC address of the engine handshaking with the provider. At a minimum, this address will expose an instance // of the [](codeinfrarpc.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, `CodeinfraPlugin.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"` // contains filtered or unexported fields }
`ProviderHandshakeRequest` is the type of requests sent as part of a [](codeinfrarpc.ResourceProvider.Handshake) call.
func (*ProviderHandshakeRequest) Descriptor
deprecated
func (*ProviderHandshakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProviderHandshakeRequest.ProtoReflect.Descriptor instead.
func (*ProviderHandshakeRequest) GetEngineAddress ¶
func (x *ProviderHandshakeRequest) GetEngineAddress() string
func (*ProviderHandshakeRequest) GetProgramDirectory ¶
func (x *ProviderHandshakeRequest) GetProgramDirectory() string
func (*ProviderHandshakeRequest) GetRootDirectory ¶
func (x *ProviderHandshakeRequest) GetRootDirectory() string
func (*ProviderHandshakeRequest) ProtoMessage ¶
func (*ProviderHandshakeRequest) ProtoMessage()
func (*ProviderHandshakeRequest) ProtoReflect ¶
func (x *ProviderHandshakeRequest) ProtoReflect() protoreflect.Message
func (*ProviderHandshakeRequest) Reset ¶
func (x *ProviderHandshakeRequest) Reset()
func (*ProviderHandshakeRequest) String ¶
func (x *ProviderHandshakeRequest) String() string
type ProviderHandshakeResponse ¶
type ProviderHandshakeResponse struct {
// contains filtered or unexported fields
}
`ProviderHandshakeResponse` is the type of responses sent by a [](codeinfrarpc.ResourceProvider.Handshake) call.
func (*ProviderHandshakeResponse) Descriptor
deprecated
func (*ProviderHandshakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProviderHandshakeResponse.ProtoReflect.Descriptor instead.
func (*ProviderHandshakeResponse) ProtoMessage ¶
func (*ProviderHandshakeResponse) ProtoMessage()
func (*ProviderHandshakeResponse) ProtoReflect ¶
func (x *ProviderHandshakeResponse) ProtoReflect() protoreflect.Message
func (*ProviderHandshakeResponse) Reset ¶
func (x *ProviderHandshakeResponse) Reset()
func (*ProviderHandshakeResponse) String ¶
func (x *ProviderHandshakeResponse) 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 // [](codeinfrarpc.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"` // contains filtered or unexported fields }
`ReadRequest` is the type of requests sent as part of a [](codeinfrarpc.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 ¶
func (x *ReadRequest) GetName() string
func (*ReadRequest) GetProperties ¶
func (x *ReadRequest) GetProperties() *structpb.Struct
func (*ReadRequest) GetType ¶
func (x *ReadRequest) GetType() string
func (*ReadRequest) GetUrn ¶
func (x *ReadRequest) GetUrn() string
func (*ReadRequest) ProtoMessage ¶
func (*ReadRequest) ProtoMessage()
func (*ReadRequest) ProtoReflect ¶
func (x *ReadRequest) ProtoReflect() protoreflect.Message
func (*ReadRequest) Reset ¶
func (x *ReadRequest) Reset()
func (*ReadRequest) String ¶
func (x *ReadRequest) String() string
type ReadResourceRequest ¶
type ReadResourceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the ID of the resource to read. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // the type of the resource object. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // the name, for URN purposes, of the object. Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // an optional parent URN that this child resource belongs to. Properties *structpb.Struct `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"` // optional state sufficient to uniquely identify the resource. Dependencies []string `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // a list of URNs that this read depends on, as observed by the language host. Provider string `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"` // an optional reference to the provider to use for this read. Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` // the version of the provider to use when servicing this request. AcceptSecrets bool `protobuf:"varint,9,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"` // when true operations should return secrets as strongly typed. AdditionalSecretOutputs []string `protobuf:"bytes,10,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"` // a list of output properties that should also be treated as secret, in addition to ones we detect. AcceptResources bool `protobuf:"varint,12,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` // when true operations should return resource references as strongly typed. PluginDownloadURL string `protobuf:"bytes,13,opt,name=pluginDownloadURL,proto3" json:"pluginDownloadURL,omitempty"` // the server url of the provider to use when servicing this request. PluginChecksums map[string][]byte `` // a map of checksums of the provider to use when servicing this request. /* 172-byte string literal not displayed */ SourcePosition *SourcePosition `protobuf:"bytes,14,opt,name=sourcePosition,proto3" json:"sourcePosition,omitempty"` // the optional source position of the user code that initiated the read. PackageRef string `protobuf:"bytes,16,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterProviderRequest. // 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 ¶
func (x *ReadResourceRequest) GetPackageRef() string
func (*ReadResourceRequest) GetParent ¶
func (x *ReadResourceRequest) GetParent() string
func (*ReadResourceRequest) GetPluginChecksums ¶
func (x *ReadResourceRequest) GetPluginChecksums() map[string][]byte
func (*ReadResourceRequest) GetPluginDownloadURL ¶
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 ¶
func (x *ReadResourceRequest) GetSourcePosition() *SourcePosition
func (*ReadResourceRequest) GetType ¶
func (x *ReadResourceRequest) GetType() string
func (*ReadResourceRequest) GetVersion ¶
func (x *ReadResourceRequest) GetVersion() string
func (*ReadResourceRequest) ProtoMessage ¶
func (*ReadResourceRequest) ProtoMessage()
func (*ReadResourceRequest) ProtoReflect ¶
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 ¶
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 // [](codeinfrarpc.ResourceProvider.Check) call with the same values. Inputs *structpb.Struct `protobuf:"bytes,3,opt,name=inputs,proto3" json:"inputs,omitempty"` // contains filtered or unexported fields }
`ReadResponse` is the type of responses sent by a [](codeinfrarpc.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) ProtoMessage ¶
func (*ReadResponse) ProtoMessage()
func (*ReadResponse) ProtoReflect ¶
func (x *ReadResponse) ProtoReflect() protoreflect.Message
func (*ReadResponse) Reset ¶
func (x *ReadResponse) Reset()
func (*ReadResponse) String ¶
func (x *ReadResponse) String() string
type RegisterPackageRequest ¶
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. /* 159-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
func (*RegisterPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPackageRequest.ProtoReflect.Descriptor instead.
func (*RegisterPackageRequest) GetChecksums ¶
func (x *RegisterPackageRequest) GetChecksums() map[string][]byte
func (*RegisterPackageRequest) GetDownloadUrl ¶
func (x *RegisterPackageRequest) GetDownloadUrl() string
func (*RegisterPackageRequest) GetName ¶
func (x *RegisterPackageRequest) GetName() string
func (*RegisterPackageRequest) GetParameterization ¶
func (x *RegisterPackageRequest) GetParameterization() *Parameterization
func (*RegisterPackageRequest) GetVersion ¶
func (x *RegisterPackageRequest) GetVersion() string
func (*RegisterPackageRequest) ProtoMessage ¶
func (*RegisterPackageRequest) ProtoMessage()
func (*RegisterPackageRequest) ProtoReflect ¶
func (x *RegisterPackageRequest) ProtoReflect() protoreflect.Message
func (*RegisterPackageRequest) Reset ¶
func (x *RegisterPackageRequest) Reset()
func (*RegisterPackageRequest) String ¶
func (x *RegisterPackageRequest) String() string
type RegisterPackageResponse ¶
type RegisterPackageResponse struct { // The UUID package reference for this registered package. Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*RegisterPackageResponse) Descriptor
deprecated
func (*RegisterPackageResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPackageResponse.ProtoReflect.Descriptor instead.
func (*RegisterPackageResponse) GetRef ¶
func (x *RegisterPackageResponse) GetRef() string
func (*RegisterPackageResponse) ProtoMessage ¶
func (*RegisterPackageResponse) ProtoMessage()
func (*RegisterPackageResponse) ProtoReflect ¶
func (x *RegisterPackageResponse) ProtoReflect() protoreflect.Message
func (*RegisterPackageResponse) Reset ¶
func (x *RegisterPackageResponse) Reset()
func (*RegisterPackageResponse) String ¶
func (x *RegisterPackageResponse) 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 ¶
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" json:"protect,omitempty"` // true if the resource should be marked protected. Dependencies []string `protobuf:"bytes,7,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // a list of URNs that this resource depends on, as observed by the language host. Provider string `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"` // an optional reference to the provider to manage this resource's CRUD operations. PropertyDependencies map[string]*RegisterResourceRequest_PropertyDependencies `` // a map from property keys to the dependencies of the property. /* 181-byte string literal not displayed */ DeleteBeforeReplace bool `protobuf:"varint,10,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"` // true if this resource should be deleted before replacement. Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"` // the version of the provider to use when servicing this request. IgnoreChanges []string `protobuf:"bytes,12,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // a list of property selectors to ignore during updates. AcceptSecrets bool `protobuf:"varint,13,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"` // when true operations should return secrets as strongly typed. AdditionalSecretOutputs []string `protobuf:"bytes,14,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"` // a list of output properties that should also be treated as secret, in addition to ones we detect. AliasURNs []string `protobuf:"bytes,15,rep,name=aliasURNs,proto3" json:"aliasURNs,omitempty"` // a list of additional URNs that should be considered the same. ImportId string `protobuf:"bytes,16,opt,name=importId,proto3" json:"importId,omitempty"` // if set, this resource's state should be imported from the given ID. CustomTimeouts *RegisterResourceRequest_CustomTimeouts `protobuf:"bytes,17,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"` // ability to pass a custom Timeout block. DeleteBeforeReplaceDefined bool `protobuf:"varint,18,opt,name=deleteBeforeReplaceDefined,proto3" json:"deleteBeforeReplaceDefined,omitempty"` // true if the deleteBeforeReplace property should be treated as defined even if it is false. SupportsPartialValues bool `protobuf:"varint,19,opt,name=supportsPartialValues,proto3" json:"supportsPartialValues,omitempty"` // true if the request is from an SDK that supports partially-known properties during preview. Remote bool `protobuf:"varint,20,opt,name=remote,proto3" json:"remote,omitempty"` // true if the resource is a plugin-managed component resource. AcceptResources bool `protobuf:"varint,21,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` // when true operations should return resource references as strongly typed. Providers map[string]string `` // an optional reference to the provider map to manage this resource's CRUD operations. /* 160-byte string literal not displayed */ ReplaceOnChanges []string `protobuf:"bytes,23,rep,name=replaceOnChanges,proto3" json:"replaceOnChanges,omitempty"` // a list of properties that if changed should force a replacement. PluginDownloadURL string `protobuf:"bytes,24,opt,name=pluginDownloadURL,proto3" json:"pluginDownloadURL,omitempty"` // the server URL of the provider to use when servicing this request. PluginChecksums map[string][]byte `` // a map of checksums expected for the provider plugin. /* 172-byte string literal not displayed */ RetainOnDelete bool `protobuf:"varint,25,opt,name=retainOnDelete,proto3" json:"retainOnDelete,omitempty"` // if true the engine will not call the resource providers delete method for this resource. Aliases []*Alias `protobuf:"bytes,26,rep,name=aliases,proto3" json:"aliases,omitempty"` // a list of additional aliases that should be considered the same. DeletedWith string `protobuf:"bytes,27,opt,name=deletedWith,proto3" json:"deletedWith,omitempty"` // if set the engine will not call the resource providers delete method for this resource when specified resource is deleted. // Indicates that alias specs are specified correctly according to the spec. // Older versions of the Node.js SDK did not send alias specs correctly. // If this is not set to true and the engine detects the request is from the // Node.js runtime, the engine will transform incorrect alias specs into // correct ones. // Other SDKs that are correctly specifying alias specs could set this to // true, but it's not necessary. AliasSpecs bool `protobuf:"varint,28,opt,name=aliasSpecs,proto3" json:"aliasSpecs,omitempty"` SourcePosition *SourcePosition `protobuf:"bytes,29,opt,name=sourcePosition,proto3" json:"sourcePosition,omitempty"` // the optional source position of the user code that initiated the register. Transforms []*Callback `protobuf:"bytes,31,rep,name=transforms,proto3" json:"transforms,omitempty"` // a list of transforms to apply to the resource before registering it. 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 RegisterProviderRequest. // 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 ¶
func (x *RegisterResourceRequest) GetAliasSpecs() bool
func (*RegisterResourceRequest) GetAliasURNs ¶
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 ¶
func (x *RegisterResourceRequest) GetDeletedWith() string
func (*RegisterResourceRequest) GetDependencies ¶
func (x *RegisterResourceRequest) GetDependencies() []string
func (*RegisterResourceRequest) GetIgnoreChanges ¶
func (x *RegisterResourceRequest) GetIgnoreChanges() []string
func (*RegisterResourceRequest) GetImportId ¶
func (x *RegisterResourceRequest) GetImportId() string
func (*RegisterResourceRequest) GetName ¶
func (x *RegisterResourceRequest) GetName() string
func (*RegisterResourceRequest) GetObject ¶
func (x *RegisterResourceRequest) GetObject() *structpb.Struct
func (*RegisterResourceRequest) GetPackageRef ¶
func (x *RegisterResourceRequest) GetPackageRef() string
func (*RegisterResourceRequest) GetParent ¶
func (x *RegisterResourceRequest) GetParent() string
func (*RegisterResourceRequest) GetPluginChecksums ¶
func (x *RegisterResourceRequest) GetPluginChecksums() map[string][]byte
func (*RegisterResourceRequest) GetPluginDownloadURL ¶
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 ¶
func (x *RegisterResourceRequest) GetReplaceOnChanges() []string
func (*RegisterResourceRequest) GetRetainOnDelete ¶
func (x *RegisterResourceRequest) GetRetainOnDelete() bool
func (*RegisterResourceRequest) GetSourcePosition ¶
func (x *RegisterResourceRequest) GetSourcePosition() *SourcePosition
func (*RegisterResourceRequest) GetSupportsPartialValues ¶
func (x *RegisterResourceRequest) GetSupportsPartialValues() bool
func (*RegisterResourceRequest) GetSupportsResultReporting ¶
func (x *RegisterResourceRequest) GetSupportsResultReporting() bool
func (*RegisterResourceRequest) GetTransforms ¶
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 ¶
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 ¶
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 ¶
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 RegisterResourceResponse ¶
type RegisterResourceResponse struct { Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` // the URN assigned by the engine. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // the unique ID assigned by the provider. Object *structpb.Struct `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // the resulting object properties, including provider defaults. Stable bool `protobuf:"varint,4,opt,name=stable,proto3" json:"stable,omitempty"` // if true, the object's state is stable and may be trusted not to change. Stables []string `protobuf:"bytes,5,rep,name=stables,proto3" json:"stables,omitempty"` // an optional list of guaranteed-stable properties. PropertyDependencies map[string]*RegisterResourceResponse_PropertyDependencies `` // a map from property keys to the dependencies of the property. /* 181-byte string literal not displayed */ Result Result `protobuf:"varint,7,opt,name=result,proto3,enum=codeinfrarpc.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 ¶
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 ¶
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 ¶
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 ¶
type RemediateResponse struct { Remediations []*Remediation `protobuf:"bytes,1,rep,name=remediations,proto3" json:"remediations,omitempty"` // the list of remediations that were applied. // contains filtered or unexported fields }
RemediateResponse contains a sequence of remediations applied, in order.
func (*RemediateResponse) Descriptor
deprecated
func (*RemediateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemediateResponse.ProtoReflect.Descriptor instead.
func (*RemediateResponse) GetRemediations ¶
func (x *RemediateResponse) GetRemediations() []*Remediation
func (*RemediateResponse) ProtoMessage ¶
func (*RemediateResponse) ProtoMessage()
func (*RemediateResponse) ProtoReflect ¶
func (x *RemediateResponse) ProtoReflect() protoreflect.Message
func (*RemediateResponse) Reset ¶
func (x *RemediateResponse) Reset()
func (*RemediateResponse) String ¶
func (x *RemediateResponse) String() string
type Remediation ¶
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
func (*Remediation) Descriptor() ([]byte, []int)
Deprecated: Use Remediation.ProtoReflect.Descriptor instead.
func (*Remediation) GetDescription ¶
func (x *Remediation) GetDescription() string
func (*Remediation) GetDiagnostic ¶
func (x *Remediation) GetDiagnostic() string
func (*Remediation) GetPolicyName ¶
func (x *Remediation) GetPolicyName() string
func (*Remediation) GetPolicyPackName ¶
func (x *Remediation) GetPolicyPackName() string
func (*Remediation) GetPolicyPackVersion ¶
func (x *Remediation) GetPolicyPackVersion() string
func (*Remediation) GetProperties ¶
func (x *Remediation) GetProperties() *structpb.Struct
func (*Remediation) ProtoMessage ¶
func (*Remediation) ProtoMessage()
func (*Remediation) ProtoReflect ¶
func (x *Remediation) ProtoReflect() protoreflect.Message
func (*Remediation) Reset ¶
func (x *Remediation) Reset()
func (*Remediation) String ¶
func (x *Remediation) String() string
type ResourceCallRequest ¶
type ResourceCallRequest struct { Tok string `protobuf:"bytes,1,opt,name=tok,proto3" json:"tok,omitempty"` // the function token to invoke. Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // the arguments for the function invocation. ArgDependencies map[string]*ResourceCallRequest_ArgumentDependencies `` // a map from argument keys to the dependencies of the argument. /* 171-byte string literal not displayed */ Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"` // an optional reference to the provider to use for this invoke. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // the version of the provider to use when servicing this request. PluginDownloadURL string `protobuf:"bytes,13,opt,name=pluginDownloadURL,proto3" json:"pluginDownloadURL,omitempty"` // the pluginDownloadURL of the provider to use when servicing this request. PluginChecksums map[string][]byte `` // a map of checksums of the provider to use when servicing this request. /* 172-byte string literal not displayed */ SourcePosition *SourcePosition `protobuf:"bytes,15,opt,name=sourcePosition,proto3" json:"sourcePosition,omitempty"` // the optional source position of the user code that initiated the call. PackageRef string `protobuf:"bytes,17,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterProviderRequest. // contains filtered or unexported fields }
func (*ResourceCallRequest) Descriptor
deprecated
func (*ResourceCallRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCallRequest.ProtoReflect.Descriptor instead.
func (*ResourceCallRequest) GetArgDependencies ¶
func (x *ResourceCallRequest) GetArgDependencies() map[string]*ResourceCallRequest_ArgumentDependencies
func (*ResourceCallRequest) GetArgs ¶
func (x *ResourceCallRequest) GetArgs() *structpb.Struct
func (*ResourceCallRequest) GetPackageRef ¶
func (x *ResourceCallRequest) GetPackageRef() string
func (*ResourceCallRequest) GetPluginChecksums ¶
func (x *ResourceCallRequest) GetPluginChecksums() map[string][]byte
func (*ResourceCallRequest) GetPluginDownloadURL ¶
func (x *ResourceCallRequest) GetPluginDownloadURL() string
func (*ResourceCallRequest) GetProvider ¶
func (x *ResourceCallRequest) GetProvider() string
func (*ResourceCallRequest) GetSourcePosition ¶
func (x *ResourceCallRequest) GetSourcePosition() *SourcePosition
func (*ResourceCallRequest) GetTok ¶
func (x *ResourceCallRequest) GetTok() string
func (*ResourceCallRequest) GetVersion ¶
func (x *ResourceCallRequest) GetVersion() string
func (*ResourceCallRequest) ProtoMessage ¶
func (*ResourceCallRequest) ProtoMessage()
func (*ResourceCallRequest) ProtoReflect ¶
func (x *ResourceCallRequest) ProtoReflect() protoreflect.Message
func (*ResourceCallRequest) Reset ¶
func (x *ResourceCallRequest) Reset()
func (*ResourceCallRequest) String ¶
func (x *ResourceCallRequest) String() string
type ResourceCallRequest_ArgumentDependencies ¶
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
func (*ResourceCallRequest_ArgumentDependencies) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCallRequest_ArgumentDependencies.ProtoReflect.Descriptor instead.
func (*ResourceCallRequest_ArgumentDependencies) GetUrns ¶
func (x *ResourceCallRequest_ArgumentDependencies) GetUrns() []string
func (*ResourceCallRequest_ArgumentDependencies) ProtoMessage ¶
func (*ResourceCallRequest_ArgumentDependencies) ProtoMessage()
func (*ResourceCallRequest_ArgumentDependencies) ProtoReflect ¶
func (x *ResourceCallRequest_ArgumentDependencies) ProtoReflect() protoreflect.Message
func (*ResourceCallRequest_ArgumentDependencies) Reset ¶
func (x *ResourceCallRequest_ArgumentDependencies) Reset()
func (*ResourceCallRequest_ArgumentDependencies) String ¶
func (x *ResourceCallRequest_ArgumentDependencies) String() string
type ResourceImport ¶
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
func (*ResourceImport) Descriptor() ([]byte, []int)
Deprecated: Use ResourceImport.ProtoReflect.Descriptor instead.
func (*ResourceImport) GetId ¶
func (x *ResourceImport) GetId() string
func (*ResourceImport) GetIsComponent ¶
func (x *ResourceImport) GetIsComponent() bool
func (*ResourceImport) GetIsRemote ¶
func (x *ResourceImport) GetIsRemote() bool
func (*ResourceImport) GetLogicalName ¶
func (x *ResourceImport) GetLogicalName() string
func (*ResourceImport) GetName ¶
func (x *ResourceImport) GetName() string
func (*ResourceImport) GetPluginDownloadURL ¶
func (x *ResourceImport) GetPluginDownloadURL() string
func (*ResourceImport) GetType ¶
func (x *ResourceImport) GetType() string
func (*ResourceImport) GetVersion ¶
func (x *ResourceImport) GetVersion() string
func (*ResourceImport) ProtoMessage ¶
func (*ResourceImport) ProtoMessage()
func (*ResourceImport) ProtoReflect ¶
func (x *ResourceImport) ProtoReflect() protoreflect.Message
func (*ResourceImport) Reset ¶
func (x *ResourceImport) Reset()
func (*ResourceImport) String ¶
func (x *ResourceImport) String() string
type ResourceInvokeRequest ¶
type ResourceInvokeRequest struct { Tok string `protobuf:"bytes,1,opt,name=tok,proto3" json:"tok,omitempty"` // the function token to invoke. Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // the arguments for the function invocation. Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` // an optional reference to the provider version to use for this invoke. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // the version of the provider to use when servicing this request. AcceptResources bool `protobuf:"varint,5,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` // when true operations should return resource references as strongly typed. PluginDownloadURL string `protobuf:"bytes,6,opt,name=pluginDownloadURL,proto3" json:"pluginDownloadURL,omitempty"` // an optional reference to the provider url to use for this invoke. PluginChecksums map[string][]byte `` // a map of checksums expected for the provider plugin. /* 171-byte string literal not displayed */ SourcePosition *SourcePosition `protobuf:"bytes,7,opt,name=sourcePosition,proto3" json:"sourcePosition,omitempty"` // the optional source position of the user code that initiated the invoke. PackageRef string `protobuf:"bytes,9,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterProviderRequest. // contains filtered or unexported fields }
func (*ResourceInvokeRequest) Descriptor
deprecated
func (*ResourceInvokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceInvokeRequest.ProtoReflect.Descriptor instead.
func (*ResourceInvokeRequest) GetAcceptResources ¶
func (x *ResourceInvokeRequest) GetAcceptResources() bool
func (*ResourceInvokeRequest) GetArgs ¶
func (x *ResourceInvokeRequest) GetArgs() *structpb.Struct
func (*ResourceInvokeRequest) GetPackageRef ¶
func (x *ResourceInvokeRequest) GetPackageRef() string
func (*ResourceInvokeRequest) GetPluginChecksums ¶
func (x *ResourceInvokeRequest) GetPluginChecksums() map[string][]byte
func (*ResourceInvokeRequest) GetPluginDownloadURL ¶
func (x *ResourceInvokeRequest) GetPluginDownloadURL() string
func (*ResourceInvokeRequest) GetProvider ¶
func (x *ResourceInvokeRequest) GetProvider() string
func (*ResourceInvokeRequest) GetSourcePosition ¶
func (x *ResourceInvokeRequest) GetSourcePosition() *SourcePosition
func (*ResourceInvokeRequest) GetTok ¶
func (x *ResourceInvokeRequest) GetTok() string
func (*ResourceInvokeRequest) GetVersion ¶
func (x *ResourceInvokeRequest) GetVersion() string
func (*ResourceInvokeRequest) ProtoMessage ¶
func (*ResourceInvokeRequest) ProtoMessage()
func (*ResourceInvokeRequest) ProtoReflect ¶
func (x *ResourceInvokeRequest) ProtoReflect() protoreflect.Message
func (*ResourceInvokeRequest) Reset ¶
func (x *ResourceInvokeRequest) Reset()
func (*ResourceInvokeRequest) String ¶
func (x *ResourceInvokeRequest) String() string
type ResourceMonitorClient ¶
type ResourceMonitorClient interface { SupportsFeature(ctx context.Context, in *SupportsFeatureRequest, opts ...grpc.CallOption) (*SupportsFeatureResponse, error) Invoke(ctx context.Context, in *ResourceInvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error) StreamInvoke(ctx context.Context, in *ResourceInvokeRequest, opts ...grpc.CallOption) (ResourceMonitor_StreamInvokeClient, error) Call(ctx context.Context, in *ResourceCallRequest, opts ...grpc.CallOption) (*CallResponse, error) ReadResource(ctx context.Context, in *ReadResourceRequest, opts ...grpc.CallOption) (*ReadResourceResponse, error) RegisterResource(ctx context.Context, in *RegisterResourceRequest, opts ...grpc.CallOption) (*RegisterResourceResponse, error) RegisterResourceOutputs(ctx context.Context, in *RegisterResourceOutputsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 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) RegisterPackage(ctx context.Context, in *RegisterPackageRequest, opts ...grpc.CallOption) (*RegisterPackageResponse, 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.
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) StreamInvoke(*ResourceInvokeRequest, ResourceMonitor_StreamInvokeServer) 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) RegisterPackage(context.Context, *RegisterPackageRequest) (*RegisterPackageResponse, error) // contains filtered or unexported methods }
ResourceMonitorServer is the server API for ResourceMonitor service. All implementations must embed UnimplementedResourceMonitorServer for forward compatibility
type ResourceMonitor_StreamInvokeClient ¶
type ResourceMonitor_StreamInvokeClient interface { Recv() (*InvokeResponse, error) grpc.ClientStream }
type ResourceMonitor_StreamInvokeServer ¶
type ResourceMonitor_StreamInvokeServer interface { Send(*InvokeResponse) error grpc.ServerStream }
type ResourceProviderClient ¶
type ResourceProviderClient interface { // `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` implicitly support the set of // feature flags previously handled by `Configure` prior to `Handshake`'s introduction, such as secrets and resource // references. 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](codeinfrarpc.ResourceProvider.Configure) and // subsequent use. Where a [](codeinfrarpc.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 [](codeinfrarpc.ResourceProvider.Check) is to individual resources, and // is the first stage in configuring (that is, eventually executing a [](codeinfrarpc.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 Codeinfra 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 // [](codeinfrarpc.ResourceProvider.DiffConfig) and/or [](codeinfrarpc.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 [](codeinfrarpc.ResourceProvider.Configure) call and persisted in the Codeinfra state. In the // case that `CheckConfig` fails and returns a set of errors, it is expected that the caller (typically the Codeinfra // 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 [](codeinfrarpc.ResourceProvider.Diff) // is to individual resources. `DiffConfig` should only be called with values that have at some point been validated // by a [](codeinfrarpc.ResourceProvider.CheckConfig) call. The [](codeinfrarpc.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 // [](codeinfrarpc.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 [](codeinfrarpc.ConfigureErrorMissingKeys) values to // indicate which keys are missing. // // :::{important} // The use of `Configure` to configure protocol features is deprecated in favour of the // [](codeinfrarpc.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 [](codeinfrarpc.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 [](codeinfrarpc.ConfigureResponse). See // [](codeinfrarpc.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) // StreamInvoke dynamically executes a built-in function in the provider, which returns a stream // of responses. StreamInvoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (ResourceProvider_StreamInvokeClient, error) // Call dynamically executes a method in the provider associated with a component resource. Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error) // `Check` validates 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 [](codeinfrarpc.ResourceProvider.Diff), // [](codeinfrarpc.ResourceProvider.Create), or [](codeinfrarpc.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 Codeinfra state. In the case that `Check` fails and returns a set of errors, it is // expected that the caller (typically the Codeinfra 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 [](codeinfrarpc.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 [](codeinfrarpc.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 // [](codeinfrarpc.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 [](codeinfrarpc.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.codeinfra.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 fetches the mapping for this resource provider, if any. A provider should return an empty // response (not an error) if it doesn't have a mapping for the given key. GetMapping(ctx context.Context, in *GetMappingRequest, opts ...grpc.CallOption) (*GetMappingResponse, error) // GetMappings is an optional method that returns what mappings (if any) a provider supports. If a provider does not // implement this method the engine falls back to the old behaviour of just calling GetMapping without a name. // If this method is implemented than the engine will then call GetMapping only with the names returned from this method. GetMappings(ctx context.Context, in *GetMappingsRequest, opts ...grpc.CallOption) (*GetMappingsResponse, error) }
ResourceProviderClient is the client API for ResourceProvider service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
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` implicitly support the set of // feature flags previously handled by `Configure` prior to `Handshake`'s introduction, such as secrets and resource // references. 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](codeinfrarpc.ResourceProvider.Configure) and // subsequent use. Where a [](codeinfrarpc.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 [](codeinfrarpc.ResourceProvider.Check) is to individual resources, and // is the first stage in configuring (that is, eventually executing a [](codeinfrarpc.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 Codeinfra 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 // [](codeinfrarpc.ResourceProvider.DiffConfig) and/or [](codeinfrarpc.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 [](codeinfrarpc.ResourceProvider.Configure) call and persisted in the Codeinfra state. In the // case that `CheckConfig` fails and returns a set of errors, it is expected that the caller (typically the Codeinfra // 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 [](codeinfrarpc.ResourceProvider.Diff) // is to individual resources. `DiffConfig` should only be called with values that have at some point been validated // by a [](codeinfrarpc.ResourceProvider.CheckConfig) call. The [](codeinfrarpc.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 // [](codeinfrarpc.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 [](codeinfrarpc.ConfigureErrorMissingKeys) values to // indicate which keys are missing. // // :::{important} // The use of `Configure` to configure protocol features is deprecated in favour of the // [](codeinfrarpc.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 [](codeinfrarpc.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 [](codeinfrarpc.ConfigureResponse). See // [](codeinfrarpc.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) // StreamInvoke dynamically executes a built-in function in the provider, which returns a stream // of responses. StreamInvoke(*InvokeRequest, ResourceProvider_StreamInvokeServer) error // Call dynamically executes a method in the provider associated with a component resource. Call(context.Context, *CallRequest) (*CallResponse, error) // `Check` validates 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 [](codeinfrarpc.ResourceProvider.Diff), // [](codeinfrarpc.ResourceProvider.Create), or [](codeinfrarpc.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 Codeinfra state. In the case that `Check` fails and returns a set of errors, it is // expected that the caller (typically the Codeinfra 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 [](codeinfrarpc.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 [](codeinfrarpc.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 // [](codeinfrarpc.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 [](codeinfrarpc.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.codeinfra.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 fetches the mapping for this resource provider, if any. A provider should return an empty // response (not an error) if it doesn't have a mapping for the given key. GetMapping(context.Context, *GetMappingRequest) (*GetMappingResponse, error) // GetMappings is an optional method that returns what mappings (if any) a provider supports. If a provider does not // implement this method the engine falls back to the old behaviour of just calling GetMapping without a name. // If this method is implemented than the engine will then call GetMapping only with the names returned from this method. GetMappings(context.Context, *GetMappingsRequest) (*GetMappingsResponse, error) // contains filtered or unexported methods }
ResourceProviderServer is the server API for ResourceProvider service. All implementations must embed UnimplementedResourceProviderServer for forward compatibility
type ResourceProvider_StreamInvokeClient ¶
type ResourceProvider_StreamInvokeClient interface { Recv() (*InvokeResponse, error) grpc.ClientStream }
type ResourceProvider_StreamInvokeServer ¶
type ResourceProvider_StreamInvokeServer interface { Send(*InvokeResponse) error grpc.ServerStream }
type Result ¶
type Result int32
func (Result) Descriptor ¶
func (Result) Descriptor() protoreflect.EnumDescriptor
func (Result) EnumDescriptor
deprecated
func (Result) Number ¶
func (x Result) Number() protoreflect.EnumNumber
func (Result) Type ¶
func (Result) Type() protoreflect.EnumType
type RunPluginRequest ¶
type RunPluginRequest struct { Pwd string `protobuf:"bytes,1,opt,name=pwd,proto3" json:"pwd,omitempty"` // the program's working directory. // Deprecated: Do not use. Program string `protobuf:"bytes,2,opt,name=program,proto3" json:"program,omitempty"` // the path to the program to execute. Deprecated, use info.entry_point instead. Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // any arguments to pass to the program. Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"` // any environment variables to set as part of the program. Info *ProgramInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` // the program info to use to execute the plugin. // contains filtered or unexported fields }
func (*RunPluginRequest) Descriptor
deprecated
func (*RunPluginRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunPluginRequest.ProtoReflect.Descriptor instead.
func (*RunPluginRequest) GetArgs ¶
func (x *RunPluginRequest) GetArgs() []string
func (*RunPluginRequest) GetEnv ¶
func (x *RunPluginRequest) GetEnv() []string
func (*RunPluginRequest) GetInfo ¶
func (x *RunPluginRequest) GetInfo() *ProgramInfo
func (*RunPluginRequest) GetProgram
deprecated
func (x *RunPluginRequest) GetProgram() string
Deprecated: Do not use.
func (*RunPluginRequest) GetPwd ¶
func (x *RunPluginRequest) GetPwd() string
func (*RunPluginRequest) ProtoMessage ¶
func (*RunPluginRequest) ProtoMessage()
func (*RunPluginRequest) ProtoReflect ¶
func (x *RunPluginRequest) ProtoReflect() protoreflect.Message
func (*RunPluginRequest) Reset ¶
func (x *RunPluginRequest) Reset()
func (*RunPluginRequest) String ¶
func (x *RunPluginRequest) String() string
type RunPluginResponse ¶
type RunPluginResponse struct { // Types that are assignable to Output: // *RunPluginResponse_Stdout // *RunPluginResponse_Stderr // *RunPluginResponse_Exitcode Output isRunPluginResponse_Output `protobuf_oneof:"output"` // contains filtered or unexported fields }
func (*RunPluginResponse) Descriptor
deprecated
func (*RunPluginResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunPluginResponse.ProtoReflect.Descriptor instead.
func (*RunPluginResponse) GetExitcode ¶
func (x *RunPluginResponse) GetExitcode() int32
func (*RunPluginResponse) GetOutput ¶
func (m *RunPluginResponse) GetOutput() isRunPluginResponse_Output
func (*RunPluginResponse) GetStderr ¶
func (x *RunPluginResponse) GetStderr() []byte
func (*RunPluginResponse) GetStdout ¶
func (x *RunPluginResponse) GetStdout() []byte
func (*RunPluginResponse) ProtoMessage ¶
func (*RunPluginResponse) ProtoMessage()
func (*RunPluginResponse) ProtoReflect ¶
func (x *RunPluginResponse) ProtoReflect() protoreflect.Message
func (*RunPluginResponse) Reset ¶
func (x *RunPluginResponse) Reset()
func (*RunPluginResponse) String ¶
func (x *RunPluginResponse) String() string
type RunPluginResponse_Exitcode ¶
type RunPluginResponse_Exitcode struct {
Exitcode int32 `protobuf:"varint,3,opt,name=exitcode,proto3,oneof"` // the exit code of the provider.
}
type RunPluginResponse_Stderr ¶
type RunPluginResponse_Stderr struct {
Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3,oneof"` // a line of stderr text.
}
type RunPluginResponse_Stdout ¶
type RunPluginResponse_Stdout struct {
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof"` // a line of stdout text.
}
type RunRequest ¶
type RunRequest struct { Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the project name. Stack string `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"` // the name of the stack being deployed into. Pwd string `protobuf:"bytes,3,opt,name=pwd,proto3" json:"pwd,omitempty"` // the program's working directory. // Deprecated: Do not use. Program string `protobuf:"bytes,4,opt,name=program,proto3" json:"program,omitempty"` // the path to the program to execute. Deprecated, use info.entry_point instead. Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"` // any arguments to pass to the program. Config map[string]string `` // the configuration variables to apply before running. /* 153-byte string literal not displayed */ DryRun bool `protobuf:"varint,7,opt,name=dryRun,proto3" json:"dryRun,omitempty"` // true if we're only doing a dryrun (preview). Parallel int32 `protobuf:"varint,8,opt,name=parallel,proto3" json:"parallel,omitempty"` // the degree of parallelism for resource operations (<=1 for serial). MonitorAddress string `protobuf:"bytes,9,opt,name=monitor_address,json=monitorAddress,proto3" json:"monitor_address,omitempty"` // the address for communicating back to the resource monitor. QueryMode bool `protobuf:"varint,10,opt,name=queryMode,proto3" json:"queryMode,omitempty"` // true if we're only doing a query. ConfigSecretKeys []string `protobuf:"bytes,11,rep,name=configSecretKeys,proto3" json:"configSecretKeys,omitempty"` // the configuration keys that have secret values. Organization string `protobuf:"bytes,12,opt,name=organization,proto3" json:"organization,omitempty"` // the organization of the stack being deployed into. ConfigPropertyMap *structpb.Struct `protobuf:"bytes,13,opt,name=configPropertyMap,proto3" json:"configPropertyMap,omitempty"` // the configuration variables to apply before running. Info *ProgramInfo `protobuf:"bytes,14,opt,name=info,proto3" json:"info,omitempty"` // the program info to use to execute the program. // 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"` AttachDebugger bool `protobuf:"varint,16,opt,name=attach_debugger,json=attachDebugger,proto3" json:"attach_debugger,omitempty"` // true if the language host is supposed to start the program under a debugger. // contains filtered or unexported fields }
RunRequest asks the interpreter to execute a program.
func (*RunRequest) Descriptor
deprecated
func (*RunRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
func (*RunRequest) GetArgs ¶
func (x *RunRequest) GetArgs() []string
func (*RunRequest) GetAttachDebugger ¶
func (x *RunRequest) GetAttachDebugger() bool
func (*RunRequest) GetConfig ¶
func (x *RunRequest) GetConfig() map[string]string
func (*RunRequest) GetConfigPropertyMap ¶
func (x *RunRequest) GetConfigPropertyMap() *structpb.Struct
func (*RunRequest) GetConfigSecretKeys ¶
func (x *RunRequest) GetConfigSecretKeys() []string
func (*RunRequest) GetDryRun ¶
func (x *RunRequest) GetDryRun() bool
func (*RunRequest) GetInfo ¶
func (x *RunRequest) GetInfo() *ProgramInfo
func (*RunRequest) GetLoaderTarget ¶
func (x *RunRequest) GetLoaderTarget() string
func (*RunRequest) GetMonitorAddress ¶
func (x *RunRequest) GetMonitorAddress() string
func (*RunRequest) GetOrganization ¶
func (x *RunRequest) GetOrganization() string
func (*RunRequest) GetParallel ¶
func (x *RunRequest) GetParallel() int32
func (*RunRequest) GetProgram
deprecated
func (x *RunRequest) GetProgram() string
Deprecated: Do not use.
func (*RunRequest) GetProject ¶
func (x *RunRequest) GetProject() string
func (*RunRequest) GetPwd ¶
func (x *RunRequest) GetPwd() string
func (*RunRequest) GetQueryMode ¶
func (x *RunRequest) GetQueryMode() bool
func (*RunRequest) GetStack ¶
func (x *RunRequest) GetStack() string
func (*RunRequest) ProtoMessage ¶
func (*RunRequest) ProtoMessage()
func (*RunRequest) ProtoReflect ¶
func (x *RunRequest) ProtoReflect() protoreflect.Message
func (*RunRequest) Reset ¶
func (x *RunRequest) Reset()
func (*RunRequest) String ¶
func (x *RunRequest) String() string
type RunResponse ¶
type RunResponse struct { // An unhandled error if any occurred. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // An error happened. And it was reported to the user. Work should stop immediately // with nothing further to print to the user. This corresponds to a "result.Bail()" // value in the 'go' layer. Bail bool `protobuf:"varint,2,opt,name=bail,proto3" json:"bail,omitempty"` // contains filtered or unexported fields }
RunResponse is the response back from the interpreter/source back to the monitor.
func (*RunResponse) Descriptor
deprecated
func (*RunResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.
func (*RunResponse) GetBail ¶
func (x *RunResponse) GetBail() bool
func (*RunResponse) GetError ¶
func (x *RunResponse) GetError() string
func (*RunResponse) ProtoMessage ¶
func (*RunResponse) ProtoMessage()
func (*RunResponse) ProtoReflect ¶
func (x *RunResponse) ProtoReflect() protoreflect.Message
func (*RunResponse) Reset ¶
func (x *RunResponse) Reset()
func (*RunResponse) String ¶
func (x *RunResponse) String() string
type RuntimeOptionPrompt ¶
type RuntimeOptionPrompt struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` PromptType RuntimeOptionPrompt_RuntimeOptionType `` /* 130-byte string literal not displayed */ Choices []*RuntimeOptionPrompt_RuntimeOptionValue `protobuf:"bytes,4,rep,name=choices,proto3" json:"choices,omitempty"` Default *RuntimeOptionPrompt_RuntimeOptionValue `protobuf:"bytes,5,opt,name=default,proto3" json:"default,omitempty"` // contains filtered or unexported fields }
func (*RuntimeOptionPrompt) Descriptor
deprecated
func (*RuntimeOptionPrompt) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionPrompt.ProtoReflect.Descriptor instead.
func (*RuntimeOptionPrompt) GetChoices ¶
func (x *RuntimeOptionPrompt) GetChoices() []*RuntimeOptionPrompt_RuntimeOptionValue
func (*RuntimeOptionPrompt) GetDefault ¶
func (x *RuntimeOptionPrompt) GetDefault() *RuntimeOptionPrompt_RuntimeOptionValue
func (*RuntimeOptionPrompt) GetDescription ¶
func (x *RuntimeOptionPrompt) GetDescription() string
func (*RuntimeOptionPrompt) GetKey ¶
func (x *RuntimeOptionPrompt) GetKey() string
func (*RuntimeOptionPrompt) GetPromptType ¶
func (x *RuntimeOptionPrompt) GetPromptType() RuntimeOptionPrompt_RuntimeOptionType
func (*RuntimeOptionPrompt) ProtoMessage ¶
func (*RuntimeOptionPrompt) ProtoMessage()
func (*RuntimeOptionPrompt) ProtoReflect ¶
func (x *RuntimeOptionPrompt) ProtoReflect() protoreflect.Message
func (*RuntimeOptionPrompt) Reset ¶
func (x *RuntimeOptionPrompt) Reset()
func (*RuntimeOptionPrompt) String ¶
func (x *RuntimeOptionPrompt) String() string
type RuntimeOptionPrompt_RuntimeOptionType ¶
type RuntimeOptionPrompt_RuntimeOptionType int32
const ( RuntimeOptionPrompt_STRING RuntimeOptionPrompt_RuntimeOptionType = 0 RuntimeOptionPrompt_INT32 RuntimeOptionPrompt_RuntimeOptionType = 1 )
func (RuntimeOptionPrompt_RuntimeOptionType) Descriptor ¶
func (RuntimeOptionPrompt_RuntimeOptionType) Descriptor() protoreflect.EnumDescriptor
func (RuntimeOptionPrompt_RuntimeOptionType) EnumDescriptor
deprecated
func (RuntimeOptionPrompt_RuntimeOptionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionPrompt_RuntimeOptionType.Descriptor instead.
func (RuntimeOptionPrompt_RuntimeOptionType) Number ¶
func (x RuntimeOptionPrompt_RuntimeOptionType) Number() protoreflect.EnumNumber
func (RuntimeOptionPrompt_RuntimeOptionType) String ¶
func (x RuntimeOptionPrompt_RuntimeOptionType) String() string
func (RuntimeOptionPrompt_RuntimeOptionType) Type ¶
func (RuntimeOptionPrompt_RuntimeOptionType) Type() protoreflect.EnumType
type RuntimeOptionPrompt_RuntimeOptionValue ¶
type RuntimeOptionPrompt_RuntimeOptionValue struct { PromptType RuntimeOptionPrompt_RuntimeOptionType `` /* 130-byte string literal not displayed */ StringValue string `protobuf:"bytes,2,opt,name=stringValue,proto3" json:"stringValue,omitempty"` Int32Value int32 `protobuf:"varint,3,opt,name=int32Value,proto3" json:"int32Value,omitempty"` DisplayName string `protobuf:"bytes,4,opt,name=displayName,proto3" json:"displayName,omitempty"` // contains filtered or unexported fields }
func (*RuntimeOptionPrompt_RuntimeOptionValue) Descriptor
deprecated
func (*RuntimeOptionPrompt_RuntimeOptionValue) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionPrompt_RuntimeOptionValue.ProtoReflect.Descriptor instead.
func (*RuntimeOptionPrompt_RuntimeOptionValue) GetDisplayName ¶
func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetDisplayName() string
func (*RuntimeOptionPrompt_RuntimeOptionValue) GetInt32Value ¶
func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetInt32Value() int32
func (*RuntimeOptionPrompt_RuntimeOptionValue) GetPromptType ¶
func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetPromptType() RuntimeOptionPrompt_RuntimeOptionType
func (*RuntimeOptionPrompt_RuntimeOptionValue) GetStringValue ¶
func (x *RuntimeOptionPrompt_RuntimeOptionValue) GetStringValue() string
func (*RuntimeOptionPrompt_RuntimeOptionValue) ProtoMessage ¶
func (*RuntimeOptionPrompt_RuntimeOptionValue) ProtoMessage()
func (*RuntimeOptionPrompt_RuntimeOptionValue) ProtoReflect ¶
func (x *RuntimeOptionPrompt_RuntimeOptionValue) ProtoReflect() protoreflect.Message
func (*RuntimeOptionPrompt_RuntimeOptionValue) Reset ¶
func (x *RuntimeOptionPrompt_RuntimeOptionValue) Reset()
func (*RuntimeOptionPrompt_RuntimeOptionValue) String ¶
func (x *RuntimeOptionPrompt_RuntimeOptionValue) String() string
type RuntimeOptionsRequest ¶
type RuntimeOptionsRequest struct { Info *ProgramInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The current program info used to evaluate which prompts should be asked. // contains filtered or unexported fields }
func (*RuntimeOptionsRequest) Descriptor
deprecated
func (*RuntimeOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionsRequest.ProtoReflect.Descriptor instead.
func (*RuntimeOptionsRequest) GetInfo ¶
func (x *RuntimeOptionsRequest) GetInfo() *ProgramInfo
func (*RuntimeOptionsRequest) ProtoMessage ¶
func (*RuntimeOptionsRequest) ProtoMessage()
func (*RuntimeOptionsRequest) ProtoReflect ¶
func (x *RuntimeOptionsRequest) ProtoReflect() protoreflect.Message
func (*RuntimeOptionsRequest) Reset ¶
func (x *RuntimeOptionsRequest) Reset()
func (*RuntimeOptionsRequest) String ¶
func (x *RuntimeOptionsRequest) String() string
type RuntimeOptionsResponse ¶
type RuntimeOptionsResponse struct { Prompts []*RuntimeOptionPrompt `protobuf:"bytes,1,rep,name=prompts,proto3" json:"prompts,omitempty"` // additional prompts to ask the user // contains filtered or unexported fields }
func (*RuntimeOptionsResponse) Descriptor
deprecated
func (*RuntimeOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeOptionsResponse.ProtoReflect.Descriptor instead.
func (*RuntimeOptionsResponse) GetPrompts ¶
func (x *RuntimeOptionsResponse) GetPrompts() []*RuntimeOptionPrompt
func (*RuntimeOptionsResponse) ProtoMessage ¶
func (*RuntimeOptionsResponse) ProtoMessage()
func (*RuntimeOptionsResponse) ProtoReflect ¶
func (x *RuntimeOptionsResponse) ProtoReflect() protoreflect.Message
func (*RuntimeOptionsResponse) Reset ¶
func (x *RuntimeOptionsResponse) Reset()
func (*RuntimeOptionsResponse) String ¶
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 ¶
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 ¶
func (x *SetRootResourceResponse) ProtoReflect() protoreflect.Message
func (*SetRootResourceResponse) Reset ¶
func (x *SetRootResourceResponse) Reset()
func (*SetRootResourceResponse) String ¶
func (x *SetRootResourceResponse) String() string
type SourcePosition ¶
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
func (*SourcePosition) Descriptor() ([]byte, []int)
Deprecated: Use SourcePosition.ProtoReflect.Descriptor instead.
func (*SourcePosition) GetColumn ¶
func (x *SourcePosition) GetColumn() int32
func (*SourcePosition) GetLine ¶
func (x *SourcePosition) GetLine() int32
func (*SourcePosition) GetUri ¶
func (x *SourcePosition) GetUri() string
func (*SourcePosition) ProtoMessage ¶
func (*SourcePosition) ProtoMessage()
func (*SourcePosition) ProtoReflect ¶
func (x *SourcePosition) ProtoReflect() protoreflect.Message
func (*SourcePosition) Reset ¶
func (x *SourcePosition) Reset()
func (*SourcePosition) String ¶
func (x *SourcePosition) String() string
type StartDebuggingRequest ¶
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
func (*StartDebuggingRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartDebuggingRequest.ProtoReflect.Descriptor instead.
func (*StartDebuggingRequest) GetConfig ¶
func (x *StartDebuggingRequest) GetConfig() *structpb.Struct
func (*StartDebuggingRequest) GetMessage ¶
func (x *StartDebuggingRequest) GetMessage() string
func (*StartDebuggingRequest) ProtoMessage ¶
func (*StartDebuggingRequest) ProtoMessage()
func (*StartDebuggingRequest) ProtoReflect ¶
func (x *StartDebuggingRequest) ProtoReflect() protoreflect.Message
func (*StartDebuggingRequest) Reset ¶
func (x *StartDebuggingRequest) Reset()
func (*StartDebuggingRequest) String ¶
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 ¶
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 ¶
func (x *SupportsFeatureResponse) ProtoReflect() protoreflect.Message
func (*SupportsFeatureResponse) Reset ¶
func (x *SupportsFeatureResponse) Reset()
func (*SupportsFeatureResponse) String ¶
func (x *SupportsFeatureResponse) String() string
type TransformInvokeOptions ¶
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 `` /* 194-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
func (*TransformInvokeOptions) Descriptor() ([]byte, []int)
Deprecated: Use TransformInvokeOptions.ProtoReflect.Descriptor instead.
func (*TransformInvokeOptions) GetPluginChecksums ¶
func (x *TransformInvokeOptions) GetPluginChecksums() map[string][]byte
func (*TransformInvokeOptions) GetPluginDownloadUrl ¶
func (x *TransformInvokeOptions) GetPluginDownloadUrl() string
func (*TransformInvokeOptions) GetProvider ¶
func (x *TransformInvokeOptions) GetProvider() string
func (*TransformInvokeOptions) GetVersion ¶
func (x *TransformInvokeOptions) GetVersion() string
func (*TransformInvokeOptions) ProtoMessage ¶
func (*TransformInvokeOptions) ProtoMessage()
func (*TransformInvokeOptions) ProtoReflect ¶
func (x *TransformInvokeOptions) ProtoReflect() protoreflect.Message
func (*TransformInvokeOptions) Reset ¶
func (x *TransformInvokeOptions) Reset()
func (*TransformInvokeOptions) String ¶
func (x *TransformInvokeOptions) String() string
type TransformInvokeRequest ¶
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
func (*TransformInvokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransformInvokeRequest.ProtoReflect.Descriptor instead.
func (*TransformInvokeRequest) GetArgs ¶
func (x *TransformInvokeRequest) GetArgs() *structpb.Struct
func (*TransformInvokeRequest) GetOptions ¶
func (x *TransformInvokeRequest) GetOptions() *TransformInvokeOptions
func (*TransformInvokeRequest) GetToken ¶
func (x *TransformInvokeRequest) GetToken() string
func (*TransformInvokeRequest) ProtoMessage ¶
func (*TransformInvokeRequest) ProtoMessage()
func (*TransformInvokeRequest) ProtoReflect ¶
func (x *TransformInvokeRequest) ProtoReflect() protoreflect.Message
func (*TransformInvokeRequest) Reset ¶
func (x *TransformInvokeRequest) Reset()
func (*TransformInvokeRequest) String ¶
func (x *TransformInvokeRequest) String() string
type TransformInvokeResponse ¶
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
func (*TransformInvokeResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransformInvokeResponse.ProtoReflect.Descriptor instead.
func (*TransformInvokeResponse) GetArgs ¶
func (x *TransformInvokeResponse) GetArgs() *structpb.Struct
func (*TransformInvokeResponse) GetOptions ¶
func (x *TransformInvokeResponse) GetOptions() *TransformInvokeOptions
func (*TransformInvokeResponse) ProtoMessage ¶
func (*TransformInvokeResponse) ProtoMessage()
func (*TransformInvokeResponse) ProtoReflect ¶
func (x *TransformInvokeResponse) ProtoReflect() protoreflect.Message
func (*TransformInvokeResponse) Reset ¶
func (x *TransformInvokeResponse) Reset()
func (*TransformInvokeResponse) String ¶
func (x *TransformInvokeResponse) String() string
type TransformRequest ¶
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
func (*TransformRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransformRequest.ProtoReflect.Descriptor instead.
func (*TransformRequest) GetCustom ¶
func (x *TransformRequest) GetCustom() bool
func (*TransformRequest) GetName ¶
func (x *TransformRequest) GetName() string
func (*TransformRequest) GetOptions ¶
func (x *TransformRequest) GetOptions() *TransformResourceOptions
func (*TransformRequest) GetParent ¶
func (x *TransformRequest) GetParent() string
func (*TransformRequest) GetProperties ¶
func (x *TransformRequest) GetProperties() *structpb.Struct
func (*TransformRequest) GetType ¶
func (x *TransformRequest) GetType() string
func (*TransformRequest) ProtoMessage ¶
func (*TransformRequest) ProtoMessage()
func (*TransformRequest) ProtoReflect ¶
func (x *TransformRequest) ProtoReflect() protoreflect.Message
func (*TransformRequest) Reset ¶
func (x *TransformRequest) Reset()
func (*TransformRequest) String ¶
func (x *TransformRequest) String() string
type TransformResourceOptions ¶
type TransformResourceOptions struct { DependsOn []string `protobuf:"bytes,1,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` Protect bool `protobuf:"varint,2,opt,name=protect,proto3" json:"protect,omitempty"` IgnoreChanges []string `protobuf:"bytes,3,rep,name=ignore_changes,json=ignoreChanges,proto3" json:"ignore_changes,omitempty"` ReplaceOnChanges []string `protobuf:"bytes,4,rep,name=replace_on_changes,json=replaceOnChanges,proto3" json:"replace_on_changes,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` Aliases []*Alias `protobuf:"bytes,6,rep,name=aliases,proto3" json:"aliases,omitempty"` Provider string `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"` CustomTimeouts *RegisterResourceRequest_CustomTimeouts `protobuf:"bytes,8,opt,name=custom_timeouts,json=customTimeouts,proto3" json:"custom_timeouts,omitempty"` PluginDownloadUrl string `protobuf:"bytes,9,opt,name=plugin_download_url,json=pluginDownloadUrl,proto3" json:"plugin_download_url,omitempty"` RetainOnDelete bool `protobuf:"varint,10,opt,name=retain_on_delete,json=retainOnDelete,proto3" json:"retain_on_delete,omitempty"` DeletedWith string `protobuf:"bytes,11,opt,name=deleted_with,json=deletedWith,proto3" json:"deleted_with,omitempty"` DeleteBeforeReplace *bool `` /* 128-byte string literal not displayed */ AdditionalSecretOutputs []string `` /* 133-byte string literal not displayed */ Providers map[string]string `` /* 160-byte string literal not displayed */ PluginChecksums map[string][]byte `` /* 195-byte string literal not displayed */ // contains filtered or unexported fields }
TransformResourceOptions is a subset of all resource options that are relevant to transforms.
func (*TransformResourceOptions) Descriptor
deprecated
func (*TransformResourceOptions) Descriptor() ([]byte, []int)
Deprecated: Use TransformResourceOptions.ProtoReflect.Descriptor instead.
func (*TransformResourceOptions) GetAdditionalSecretOutputs ¶
func (x *TransformResourceOptions) GetAdditionalSecretOutputs() []string
func (*TransformResourceOptions) GetAliases ¶
func (x *TransformResourceOptions) GetAliases() []*Alias
func (*TransformResourceOptions) GetCustomTimeouts ¶
func (x *TransformResourceOptions) GetCustomTimeouts() *RegisterResourceRequest_CustomTimeouts
func (*TransformResourceOptions) GetDeleteBeforeReplace ¶
func (x *TransformResourceOptions) GetDeleteBeforeReplace() bool
func (*TransformResourceOptions) GetDeletedWith ¶
func (x *TransformResourceOptions) GetDeletedWith() string
func (*TransformResourceOptions) GetDependsOn ¶
func (x *TransformResourceOptions) GetDependsOn() []string
func (*TransformResourceOptions) GetIgnoreChanges ¶
func (x *TransformResourceOptions) GetIgnoreChanges() []string
func (*TransformResourceOptions) GetPluginChecksums ¶
func (x *TransformResourceOptions) GetPluginChecksums() map[string][]byte
func (*TransformResourceOptions) GetPluginDownloadUrl ¶
func (x *TransformResourceOptions) GetPluginDownloadUrl() string
func (*TransformResourceOptions) GetProtect ¶
func (x *TransformResourceOptions) GetProtect() bool
func (*TransformResourceOptions) GetProvider ¶
func (x *TransformResourceOptions) GetProvider() string
func (*TransformResourceOptions) GetProviders ¶
func (x *TransformResourceOptions) GetProviders() map[string]string
func (*TransformResourceOptions) GetReplaceOnChanges ¶
func (x *TransformResourceOptions) GetReplaceOnChanges() []string
func (*TransformResourceOptions) GetRetainOnDelete ¶
func (x *TransformResourceOptions) GetRetainOnDelete() bool
func (*TransformResourceOptions) GetVersion ¶
func (x *TransformResourceOptions) GetVersion() string
func (*TransformResourceOptions) ProtoMessage ¶
func (*TransformResourceOptions) ProtoMessage()
func (*TransformResourceOptions) ProtoReflect ¶
func (x *TransformResourceOptions) ProtoReflect() protoreflect.Message
func (*TransformResourceOptions) Reset ¶
func (x *TransformResourceOptions) Reset()
func (*TransformResourceOptions) String ¶
func (x *TransformResourceOptions) String() string
type TransformResponse ¶
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
func (*TransformResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransformResponse.ProtoReflect.Descriptor instead.
func (*TransformResponse) GetOptions ¶
func (x *TransformResponse) GetOptions() *TransformResourceOptions
func (*TransformResponse) GetProperties ¶
func (x *TransformResponse) GetProperties() *structpb.Struct
func (*TransformResponse) ProtoMessage ¶
func (*TransformResponse) ProtoMessage()
func (*TransformResponse) ProtoReflect ¶
func (x *TransformResponse) ProtoReflect() protoreflect.Message
func (*TransformResponse) Reset ¶
func (x *TransformResponse) Reset()
func (*TransformResponse) String ¶
func (x *TransformResponse) String() string
type UnimplementedAnalyzerServer ¶
type UnimplementedAnalyzerServer struct { }
UnimplementedAnalyzerServer must be embedded to have forward compatible implementations.
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) GetAnalyzerInfo ¶
func (UnimplementedAnalyzerServer) GetAnalyzerInfo(context.Context, *emptypb.Empty) (*AnalyzerInfo, error)
func (UnimplementedAnalyzerServer) GetPluginInfo ¶
func (UnimplementedAnalyzerServer) GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
func (UnimplementedAnalyzerServer) Remediate ¶
func (UnimplementedAnalyzerServer) Remediate(context.Context, *AnalyzeRequest) (*RemediateResponse, error)
type UnimplementedCallbacksServer ¶
type UnimplementedCallbacksServer struct { }
UnimplementedCallbacksServer must be embedded to have forward compatible implementations.
func (UnimplementedCallbacksServer) Invoke ¶
func (UnimplementedCallbacksServer) Invoke(context.Context, *CallbackInvokeRequest) (*CallbackInvokeResponse, error)
type UnimplementedConverterServer ¶
type UnimplementedConverterServer struct { }
UnimplementedConverterServer must be embedded to have forward compatible implementations.
func (UnimplementedConverterServer) ConvertProgram ¶
func (UnimplementedConverterServer) ConvertProgram(context.Context, *ConvertProgramRequest) (*ConvertProgramResponse, error)
func (UnimplementedConverterServer) ConvertState ¶
func (UnimplementedConverterServer) ConvertState(context.Context, *ConvertStateRequest) (*ConvertStateResponse, error)
type UnimplementedEngineServer ¶
type UnimplementedEngineServer struct { }
UnimplementedEngineServer must be embedded to have forward compatible implementations.
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 ¶
func (UnimplementedEngineServer) StartDebugging(context.Context, *StartDebuggingRequest) (*emptypb.Empty, error)
type UnimplementedLanguageRuntimeServer ¶
type UnimplementedLanguageRuntimeServer struct { }
UnimplementedLanguageRuntimeServer must be embedded to have forward compatible implementations.
func (UnimplementedLanguageRuntimeServer) About ¶
func (UnimplementedLanguageRuntimeServer) About(context.Context, *AboutRequest) (*AboutResponse, error)
func (UnimplementedLanguageRuntimeServer) GeneratePackage ¶
func (UnimplementedLanguageRuntimeServer) GeneratePackage(context.Context, *GeneratePackageRequest) (*GeneratePackageResponse, error)
func (UnimplementedLanguageRuntimeServer) GenerateProgram ¶
func (UnimplementedLanguageRuntimeServer) GenerateProgram(context.Context, *GenerateProgramRequest) (*GenerateProgramResponse, error)
func (UnimplementedLanguageRuntimeServer) GenerateProject ¶
func (UnimplementedLanguageRuntimeServer) GenerateProject(context.Context, *GenerateProjectRequest) (*GenerateProjectResponse, error)
func (UnimplementedLanguageRuntimeServer) GetPluginInfo ¶
func (UnimplementedLanguageRuntimeServer) GetPluginInfo(context.Context, *emptypb.Empty) (*PluginInfo, error)
func (UnimplementedLanguageRuntimeServer) GetProgramDependencies ¶
func (UnimplementedLanguageRuntimeServer) GetProgramDependencies(context.Context, *GetProgramDependenciesRequest) (*GetProgramDependenciesResponse, error)
func (UnimplementedLanguageRuntimeServer) GetRequiredPackages ¶
func (UnimplementedLanguageRuntimeServer) GetRequiredPackages(context.Context, *GetRequiredPackagesRequest) (*GetRequiredPackagesResponse, error)
func (UnimplementedLanguageRuntimeServer) GetRequiredPlugins ¶
func (UnimplementedLanguageRuntimeServer) GetRequiredPlugins(context.Context, *GetRequiredPluginsRequest) (*GetRequiredPluginsResponse, error)
func (UnimplementedLanguageRuntimeServer) Handshake ¶
func (UnimplementedLanguageRuntimeServer) Handshake(context.Context, *LanguageHandshakeRequest) (*LanguageHandshakeResponse, error)
func (UnimplementedLanguageRuntimeServer) InstallDependencies ¶
func (UnimplementedLanguageRuntimeServer) InstallDependencies(*InstallDependenciesRequest, LanguageRuntime_InstallDependenciesServer) error
func (UnimplementedLanguageRuntimeServer) Pack ¶
func (UnimplementedLanguageRuntimeServer) Pack(context.Context, *PackRequest) (*PackResponse, error)
func (UnimplementedLanguageRuntimeServer) Run ¶
func (UnimplementedLanguageRuntimeServer) Run(context.Context, *RunRequest) (*RunResponse, error)
func (UnimplementedLanguageRuntimeServer) RunPlugin ¶
func (UnimplementedLanguageRuntimeServer) RunPlugin(*RunPluginRequest, LanguageRuntime_RunPluginServer) error
func (UnimplementedLanguageRuntimeServer) RuntimeOptionsPrompts ¶
func (UnimplementedLanguageRuntimeServer) RuntimeOptionsPrompts(context.Context, *RuntimeOptionsRequest) (*RuntimeOptionsResponse, error)
type UnimplementedResourceMonitorServer ¶
type UnimplementedResourceMonitorServer struct { }
UnimplementedResourceMonitorServer must be embedded to have forward compatible implementations.
func (UnimplementedResourceMonitorServer) Call ¶
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 ¶
func (UnimplementedResourceMonitorServer) RegisterPackage(context.Context, *RegisterPackageRequest) (*RegisterPackageResponse, error)
func (UnimplementedResourceMonitorServer) RegisterResource ¶
func (UnimplementedResourceMonitorServer) RegisterResource(context.Context, *RegisterResourceRequest) (*RegisterResourceResponse, error)
func (UnimplementedResourceMonitorServer) RegisterResourceOutputs ¶
func (UnimplementedResourceMonitorServer) RegisterResourceOutputs(context.Context, *RegisterResourceOutputsRequest) (*emptypb.Empty, error)
func (UnimplementedResourceMonitorServer) RegisterStackInvokeTransform ¶
func (UnimplementedResourceMonitorServer) RegisterStackTransform ¶
func (UnimplementedResourceMonitorServer) StreamInvoke ¶
func (UnimplementedResourceMonitorServer) StreamInvoke(*ResourceInvokeRequest, ResourceMonitor_StreamInvokeServer) error
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.
func (UnimplementedResourceProviderServer) Attach ¶
func (UnimplementedResourceProviderServer) Attach(context.Context, *PluginAttach) (*emptypb.Empty, error)
func (UnimplementedResourceProviderServer) Call ¶
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 ¶
func (UnimplementedResourceProviderServer) GetMapping(context.Context, *GetMappingRequest) (*GetMappingResponse, error)
func (UnimplementedResourceProviderServer) GetMappings ¶
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 ¶
func (UnimplementedResourceProviderServer) Handshake(context.Context, *ProviderHandshakeRequest) (*ProviderHandshakeResponse, error)
func (UnimplementedResourceProviderServer) Invoke ¶
func (UnimplementedResourceProviderServer) Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
func (UnimplementedResourceProviderServer) Parameterize ¶
func (UnimplementedResourceProviderServer) Parameterize(context.Context, *ParameterizeRequest) (*ParameterizeResponse, error)
func (UnimplementedResourceProviderServer) Read ¶
func (UnimplementedResourceProviderServer) Read(context.Context, *ReadRequest) (*ReadResponse, error)
func (UnimplementedResourceProviderServer) StreamInvoke ¶
func (UnimplementedResourceProviderServer) StreamInvoke(*InvokeRequest, ResourceProvider_StreamInvokeServer) error
func (UnimplementedResourceProviderServer) Update ¶
func (UnimplementedResourceProviderServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeAnalyzerServer ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type UnsafeResourceProviderServer interface {
// contains filtered or unexported methods
}
UnsafeResourceProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceProviderServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { // 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 // [](codeinfrarpc.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"` // contains filtered or unexported fields }
`UpdateRequest` is the type of requests sent as part of a [](codeinfrarpc.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 ¶
func (x *UpdateRequest) GetName() string
func (*UpdateRequest) GetNews ¶
func (x *UpdateRequest) GetNews() *structpb.Struct
func (*UpdateRequest) GetOldInputs ¶
func (x *UpdateRequest) GetOldInputs() *structpb.Struct
func (*UpdateRequest) GetOlds ¶
func (x *UpdateRequest) GetOlds() *structpb.Struct
func (*UpdateRequest) GetPreview ¶
func (x *UpdateRequest) GetPreview() bool
func (*UpdateRequest) GetTimeout ¶
func (x *UpdateRequest) GetTimeout() float64
func (*UpdateRequest) GetType ¶
func (x *UpdateRequest) GetType() string
func (*UpdateRequest) GetUrn ¶
func (x *UpdateRequest) GetUrn() string
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
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"` // contains filtered or unexported fields }
`UpdateResponse` is the type of responses sent by a [](codeinfrarpc.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) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string