Documentation
¶
Overview ¶
Package adapters implements the narrow client interfaces the workflow engine's step executors depend on (steps.ChainClient and steps.ProviderClient), backed by the real Akash node and provider gateway clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChainClient ¶
func NewChainClient(cl aclient.Client) steps.ChainClient
NewChainClient wraps an Akash node client into the narrow interface the workflow step executors use to broadcast transactions and run queries.
func NewConsoleChainClient ¶
func NewConsoleChainClient(cc *console.Client, chainQueries steps.ChainClient, root, ctxName string) steps.ChainClient
NewConsoleChainClient wraps a Console API client into the workflow steps.ChainClient interface. chainQueries, when non-nil, handles query steps directly against the chain; root/ctxName locate the per-context manifest cache used to pass the deployment manifest from create to lease.
func NewProviderClient ¶
func NewProviderClient(cctx sdkclient.Context, authType string) steps.ProviderClient
NewProviderClient creates a workflow provider client. authType is "jwt" (default when empty) or "mtls", matching internal/provider.NewGatewayClient.
Types ¶
This section is empty.