provider

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestClusterPublicHostname   = "e2e.test"
	TestClusterNodePortQuantity = 100
)

Variables

This section is empty.

Functions

func ExecLeaseShell added in v0.10.0

func ExecLeaseShell(ctx context.Context, clientCtx sdkclient.Context, args ...string) (sdktest.BufferWriter, error)

func ExecMigrateHostname added in v0.10.0

func ExecMigrateHostname(ctx context.Context, clientCtx sdkclient.Context, args ...string) (sdktest.BufferWriter, error)

func ExecSendManifest added in v0.10.0

func ExecSendManifest(ctx context.Context, clientCtx sdkclient.Context, args ...string) (sdktest.BufferWriter, error)

ExecSendManifest for integration testing this is similar to cli command exampled below

akash provider send-manifest --owner <address> \
	--dseq 7 \
	--provider <address> ./../_run/kube/deployment.yaml \
	--home=/tmp/akash_integration_TestE2EApp_324892307/.akashctl --node=tcp://0.0.0.0:41863

func RunLocalOperator added in v0.10.0

func RunLocalOperator(ctx context.Context, clientCtx sdkclient.Context, args ...string) (sdktest.BufferWriter, error)

func RunLocalProvider

func RunLocalProvider(
	ctx context.Context,
	clientCtx sdkclient.Context,
	args ...string,
) (sdktest.BufferWriter, error)

RunLocalProvider wraps up the Provider cobra command for testing and supplies new default values to the flags. prev: akash provider run --from=foo --cluster-k8s --gateway-listen-address=localhost:39729 --home=/tmp/akash_integration_TestE2EApp_324892307/.akash --node=tcp://0.0.0.0:41863 --keyring-backend test

Types

This section is empty.

Jump to

Keyboard shortcuts

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