Documentation
¶
Overview ¶
Package connectors adapts independent integrations to the SDK lifecycle It contains no feature imports, so executables retain dependency isolation
Index ¶
- Variables
- func Clamp(v, lo, hi float64) float64
- func Factory(options Options) engine.Factory
- func HostClient(ctx context.Context) *sdk.Client
- func JSONInputs(s map[string]any, key string) (map[string]any, error)
- func SingleResource(map[string]any) string
- type Choice
- type ClientReader
- type Driver
- type HTTP
- type HTTPError
- type Options
- type Outcome
- type Runner
- type Runtime
Constants ¶
This section is empty.
Variables ¶
var Boolean = settings.Bool
var NewHTTP = httpclient.NewService
var Number = settings.Number
var RetryAt = httpclient.RetryAt
var SafeError = credentials.SafeError
var Secret = credentials.Secret
var String = settings.String
Functions ¶
func HostClient ¶ added in v0.1.1
HostClient returns the authenticated client for the current connector operation.
func JSONInputs ¶
Read and validate an object-valued JSON settings field
func SingleResource ¶
SingleResource supplies the connection-wide identity for status samples
Types ¶
type ClientReader ¶ added in v0.1.1
type ClientReader interface {
ReadWithClient(context.Context, *sdk.Client, string, map[string]any) (any, error)
}
ClientReader is an optional connector read hook for authenticated host RPC.
type HTTP ¶
type HTTP = httpclient.Service
type HTTPError ¶
type HTTPError = httpclient.HTTPError