Documentation ¶
Index ¶
- Constants
- func RunLocalProvider(clientCtx cosmosclient.Context, ...) (sdktest.BufferWriter, error)
- func TestLeaseShell(clientCtx client.Context, extraArgs []string, lID mtypes.LeaseID, ...) (sdktest.BufferWriter, error)
- func TestSendManifest(clientCtx client.Context, id mtypes.BidID, sdlPath string, extraArgs ...string) (sdktest.BufferWriter, error)
Constants ¶
View Source
const ( TestClusterPublicHostname = "e2e.test" TestClusterNodePortQuantity = 100 )
Variables ¶
This section is empty.
Functions ¶
func RunLocalProvider ¶
func RunLocalProvider(clientCtx cosmosclient.Context, chainID, nodeRPC, virtengineHome, from, gatewayListenAddress string, extraArgs ...string) (sdktest.BufferWriter, error)
RunLocalProvider wraps up the Provider cobra command for testing and supplies new default values to the flags. prev: virtenginectl provider run --from=foo --cluster-k8s --gateway-listen-address=localhost:39729 --home=/tmp/virtengine_integration_TestE2EApp_324892307/.virtenginectl --node=tcp://0.0.0.0:41863 --keyring-backend test
func TestLeaseShell ¶
func TestSendManifest ¶
func TestSendManifest(clientCtx client.Context, id mtypes.BidID, sdlPath string, extraArgs ...string) (sdktest.BufferWriter, error)
TestSendManifest for integration testing this is similar to cli command exampled below
virtengine provider send-manifest --owner <address> \ --dseq 7 \ --provider <address> ./../_run/kube/deployment.yaml \ --home=/tmp/virtengine_integration_TestE2EApp_324892307/.virtenginectl --node=tcp://0.0.0.0:41863
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.