adapters

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

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.

Jump to

Keyboard shortcuts

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