Help us shape the future of Go! Take the 2026 Go Developer Survey

sdk

package
v0.2.61 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindOutputProposal

func BindOutputProposal(proposal *providerv0.OutputProposal) (*providerv0.OutputProposal, error)

func DecodeFilteredResponse

func DecodeFilteredResponse(response *providerv0.ExecuteRequestResponse) (map[string]*providerv0.PublicValue, error)

func Diagnostic

func Diagnostic(severity basev0.FailureDiagnostic_Severity, namespace, code, message string) (*basev0.FailureDiagnostic, error)

func HandleCaptureResult

func HandleCaptureResult(result *providerv0.CaptureResult) (*providerv0.OpaqueReference, error)

func NewBlockedAction

func NewBlockedAction(id string, position uint32, resourceType string) (*providerv0.PlanAction, error)

func NewCreateAction

func NewCreateAction(id string, position uint32, resourceType, prospectiveRemoteID string) (*providerv0.PlanAction, error)

func NewDeleteAction

func NewDeleteAction(id string, position uint32, resourceType string) (*providerv0.PlanAction, error)

func NewImportAction

func NewImportAction(id string, position uint32, resourceType string) (*providerv0.PlanAction, error)

func NewManualAction

func NewManualAction(id string, position uint32, resourceType string) (*providerv0.PlanAction, error)

func NewNoOpAction

func NewNoOpAction(id string, position uint32, resourceType string) (*providerv0.PlanAction, error)

func NewProjectOutputAction

func NewProjectOutputAction(id string, position uint32, proposal *providerv0.OutputProposal) (*providerv0.PlanAction, error)

NewProjectOutputAction returns a validation-ready PROJECT_OUTPUT action. A project-output action must carry a bound output proposal (canonical validation rejects one without it), so the proposal is a required argument and is digest-bound here rather than left for the caller to attach.

func NewReplaceAction

func NewReplaceAction(id string, position uint32, resourceType, prospectiveRemoteID string) (*providerv0.PlanAction, error)

func NewUpdateAction

func NewUpdateAction(id string, position uint32, resourceType string) (*providerv0.PlanAction, error)

func PlannedRequest

func PlannedRequest(request *providerv0.PlannedRequest) (*providerv0.PlannedRequest, error)

func ValidateUpgrade

func ValidateUpgrade(response *providerv0.UpgradeStateResponse, fromVersion, toVersion uint32) error

Types

type Base

type Base struct {
	providerv0.UnimplementedProviderServer
	// contains filtered or unexported fields
}

func NewBase

func NewBase(information *providerv0.GetProviderInformationResponse) (*Base, error)

Jump to

Keyboard shortcuts

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