Documentation
¶
Index ¶
- func ExecAuthorization(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func ExecCloseBid(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecCloseLease(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecCreateBid(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecCreateGrant(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func ExecCreateLease(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecDeploymentClose(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecDeploymentCreate(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecDeploymentUpdate(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecGovSubmitLegacyProposal(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func ExecQueryAccount(ctx context.Context, cctx client.Context, address fmt.Stringer, ...) (testutil.BufferWriter, error)
- func ExecQueryBid(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecQueryBids(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecQueryDeployment(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecQueryDeployments(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecQueryGroup(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecQueryLease(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecQueryLeases(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecQueryOrder(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecQueryOrders(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecQueryProvider(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecQueryProviders(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecRevokeAuthz(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func ExecSend(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func ExecTestCLICmd(ctx context.Context, cctx client.Context, cmd *cobra.Command, args ...string) (testutil.BufferWriter, error)
- func ExecTxCreateProvider(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func ExecTxUpdateProvider(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func GetTxFees(ctx context.Context, t testing.TB, cctx client.Context, data []byte) sdk.FeeTx
- func MsgDeposit(clientCtx client.Context, args ...string) (testutil.BufferWriter, error)
- func MsgVote(clientCtx client.Context, args ...string) (testutil.BufferWriter, error)
- func QueryBalancesExec(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func QueryCertificateExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func QueryCertificatesExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func TxAuxToFeeExec(ctx context.Context, cctx client.Context, filename string, extraArgs ...string) (testutil.BufferWriter, error)
- func TxBroadcastExec(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func TxDecodeExec(ctx context.Context, cctx client.Context, encodedTx string, ...) (testutil.BufferWriter, error)
- func TxEncodeExec(ctx context.Context, cctx client.Context, filename string, extraArgs ...string) (testutil.BufferWriter, error)
- func TxGenerateClientExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func TxGenerateServerExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func TxMultiSignBatchExec(ctx context.Context, cctx client.Context, filename string, from string, ...) (testutil.BufferWriter, error)
- func TxMultiSignExec(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func TxPublishClientExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func TxPublishServerExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func TxRevokeClientExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func TxRevokeServerExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
- func TxSignBatchExec(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func TxSignExec(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func TxValidateSignaturesExec(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
- func ValidateTxSuccessful(ctx context.Context, t testing.TB, cctx client.Context, data []byte) (*sdk.TxResponse, *sdktx.Tx)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecAuthorization ¶
func ExecCloseBid ¶
func ExecCloseBid(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
ExecCloseBid is used for testing close bid tx
func ExecCloseLease ¶
func ExecCloseLease(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
ExecCloseLease is used for testing close order tx
func ExecCreateBid ¶
func ExecCreateBid(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
ExecCreateBid is used for testing create bid tx
func ExecCreateGrant ¶
func ExecCreateLease ¶
func ExecCreateLease(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
ExecCreateLease is used for creating a lease
func ExecDeploymentClose ¶
func ExecDeploymentClose(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecDeploymentClose is used for testing close deployment tx requires --dseq, --fees
func ExecDeploymentCreate ¶
func ExecDeploymentCreate(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecDeploymentCreate is used for testing create deployment tx
func ExecDeploymentUpdate ¶
func ExecDeploymentUpdate(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecDeploymentUpdate is used for testing update deployment tx
func ExecGovSubmitLegacyProposal ¶
func ExecGovSubmitLegacyProposal(ctx context.Context, cctx client.Context, args ...string) (testutil.BufferWriter, error)
ExecGovSubmitLegacyProposal creates a tx for submit legacy proposal
func ExecQueryAccount ¶
func ExecQueryBid ¶
func ExecQueryBid(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
ExecQueryBid is used for testing bid query
func ExecQueryBids ¶
func ExecQueryBids(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecQueryBids is used for testing bids query
func ExecQueryDeployment ¶
func ExecQueryDeployment(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecQueryDeployment is used for testing deployment query
func ExecQueryDeployments ¶
func ExecQueryDeployments(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecQueryDeployments is used for testing deployments query
func ExecQueryGroup ¶
func ExecQueryGroup(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecQueryGroup is used for testing group query
func ExecQueryLease ¶
func ExecQueryLease(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
ExecQueryLease is used for testing lease query
func ExecQueryLeases ¶
func ExecQueryLeases(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecQueryLeases is used for testing leases query
func ExecQueryOrder ¶
func ExecQueryOrder(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
ExecQueryOrder is used for testing order query
func ExecQueryOrders ¶
func ExecQueryOrders(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecQueryOrders is used for testing orders query
func ExecQueryProvider ¶
func ExecQueryProvider(ctx context.Context, cctx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
ExecQueryProvider is used for testing provider query
func ExecQueryProviders ¶
func ExecQueryProviders(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecQueryProviders is used for testing providers query
func ExecRevokeAuthz ¶
func ExecTestCLICmd ¶
func ExecTestCLICmd(ctx context.Context, cctx client.Context, cmd *cobra.Command, args ...string) (testutil.BufferWriter, error)
ExecTestCLICmd builds the client context, mocks the output and executes the command.
func ExecTxCreateProvider ¶
func ExecTxCreateProvider(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecTxCreateProvider is used for testing create provider tx
func ExecTxUpdateProvider ¶
func ExecTxUpdateProvider(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
ExecTxUpdateProvider is used for testing update provider tx
func GetTxFees ¶
GetTxFees is a gentle response to inappropriate approach of cli test utils send transaction may fail and calling cli routine won't know about it
func MsgDeposit ¶
MsgDeposit deposits on a proposal
func QueryBalancesExec ¶
func QueryCertificateExec ¶
func QueryCertificateExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
QueryCertificateExec is used for testing certificate query
func QueryCertificatesExec ¶
func QueryCertificatesExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
QueryCertificatesExec is used for testing certificates query
func TxAuxToFeeExec ¶
func TxAuxToFeeExec(ctx context.Context, cctx client.Context, filename string, extraArgs ...string) (testutil.BufferWriter, error)
TxAuxToFeeExec executes `GetAuxToFeeCommand` cli command with given args.
func TxBroadcastExec ¶
func TxDecodeExec ¶
func TxEncodeExec ¶
func TxGenerateClientExec ¶
func TxGenerateClientExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
TxGenerateClientExec is used for testing create client certificate tx
func TxGenerateServerExec ¶
func TxGenerateServerExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
TxGenerateServerExec is used for testing create server certificate tx
func TxMultiSignBatchExec ¶
func TxMultiSignExec ¶
func TxPublishClientExec ¶
func TxPublishClientExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
TxPublishClientExec is used for testing create client certificate tx
func TxPublishServerExec ¶
func TxPublishServerExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
TxPublishServerExec is used for testing create server certificate tx
func TxRevokeClientExec ¶
func TxRevokeClientExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
TxRevokeClientExec is used for testing create client certificate tx
func TxRevokeServerExec ¶
func TxRevokeServerExec(ctx context.Context, cctx client.Context, args ...string) (sdktest.BufferWriter, error)
TxRevokeServerExec is used for testing create server certificate tx
func TxSignBatchExec ¶
func TxSignExec ¶
func ValidateTxSuccessful ¶
func ValidateTxSuccessful(ctx context.Context, t testing.TB, cctx client.Context, data []byte) (*sdk.TxResponse, *sdktx.Tx)
ValidateTxSuccessful is a gentle response to inappropriate approach of cli test utils send transaction may fail and calling cli routine won't know about it
Types ¶
This section is empty.