providerinvoker

package
v0.4.4-alpha37 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionInsertPayload

type ActionInsertPayload interface {
	GetItemisationResult() ItemisationResult
	IsHousekeepingDone() bool
	GetTableName() string
	GetParamsUsed() map[string]interface{}
	GetReqEncoding() string
}

type ActionInsertResult

type ActionInsertResult interface {
	GetError() (error, bool)
	IsHousekeepingDone() bool
}

type InsertPreparator

type InsertPreparator interface {
	ActionInsertPreparation(payload ActionInsertPayload) ActionInsertResult
}

type Invoker

type Invoker interface {
	Invoke(ctx context.Context, req Request) (Result, error)
}

type ItemisationResult

type ItemisationResult interface {
	GetItems() (interface{}, bool)
	GetSingltetonResponse() (map[string]interface{}, bool)
	IsOk() bool
	IsNilPayload() bool
}

type MessageHandler

type MessageHandler interface {
	LogHTTPResponseMap(any)
}

type Request

type Request struct {
	Payload any
}

Request carries an invoker-specific payload. Step 1 keeps this opaque so we can stabilise call-shapes in StackQL before lift/shift into any-sdk.

type Result

type Result struct {
	Body     any
	Messages []string
}

Result is a protocol-agnostic execution result from StackQL's point of view.

Jump to

Keyboard shortcuts

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