cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

nolint

Index

Constants

View Source
const (
	FlagName              = "name"
	FlagDescription       = "description"
	FlagTags              = "tags"
	FlagAuthorDescription = "author-description"
	FlagSchemas           = "schemas"
	FlagServiceName       = "service-name"
	FlagOwner             = "owner"
	FlagProvider          = "provider"
	FlagDeposit           = "deposit"
	FlagPricing           = "pricing"
	FlagQoS               = "qos"
	FlagProviders         = "providers"
	FlagServiceFeeCap     = "service-fee-cap"
	FlagTimeout           = "timeout"
	FlagData              = "data"
	FlagSuperMode         = "super-mode"
	FlagRepeated          = "repeated"
	FlagFrequency         = "frequency"
	FlagTotal             = "total"
	FlagRequestID         = "request-id"
	FlagResult            = "result"
)

Variables

View Source
var (
	FsDefineService        = flag.NewFlagSet("", flag.ContinueOnError)
	FsBindService          = flag.NewFlagSet("", flag.ContinueOnError)
	FsUpdateServiceBinding = flag.NewFlagSet("", flag.ContinueOnError)
	FsEnableServiceBinding = flag.NewFlagSet("", flag.ContinueOnError)
	FsCallService          = flag.NewFlagSet("", flag.ContinueOnError)
	FsRespondService       = flag.NewFlagSet("", flag.ContinueOnError)
	FsUpdateRequestContext = flag.NewFlagSet("", flag.ContinueOnError)
	FsQueryServiceBindings = flag.NewFlagSet("", flag.ContinueOnError)
)

common flagsets to add to various functions

Functions

func GetCmdBindService

func GetCmdBindService(cdc *codec.Codec) *cobra.Command

GetCmdBindService implements binding a service command

func GetCmdCallService

func GetCmdCallService(cdc *codec.Codec) *cobra.Command

GetCmdCallService implements initiating a service call command

func GetCmdDefineService

func GetCmdDefineService(cdc *codec.Codec) *cobra.Command

GetCmdDefineService implements defining a service command

func GetCmdDisableServiceBinding

func GetCmdDisableServiceBinding(cdc *codec.Codec) *cobra.Command

GetCmdDisableServiceBinding implements disabling a service binding command

func GetCmdEnableServiceBinding

func GetCmdEnableServiceBinding(cdc *codec.Codec) *cobra.Command

GetCmdEnableServiceBinding implements enabling a service binding command

func GetCmdKillRequestContext

func GetCmdKillRequestContext(cdc *codec.Codec) *cobra.Command

GetCmdKillRequestContext implements terminating a request context command

func GetCmdPauseRequestContext

func GetCmdPauseRequestContext(cdc *codec.Codec) *cobra.Command

GetCmdPauseRequestContext implements pausing a request context command

func GetCmdQueryEarnedFees

func GetCmdQueryEarnedFees(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryEarnedFees implements the query earned fees command

func GetCmdQueryParams

func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryParams implements the query params command.

func GetCmdQueryRequestContext

func GetCmdQueryRequestContext(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryRequestContext implements the query request context command

func GetCmdQuerySchema

func GetCmdQuerySchema(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQuerySchema implements the query schema command

func GetCmdQueryServiceBinding

func GetCmdQueryServiceBinding(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryServiceBinding implements the query service binding command

func GetCmdQueryServiceBindings

func GetCmdQueryServiceBindings(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryServiceBindings implements the query service bindings command

func GetCmdQueryServiceDefinition

func GetCmdQueryServiceDefinition(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryServiceDefinition implements the query service definition command.

func GetCmdQueryServiceRequest

func GetCmdQueryServiceRequest(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryServiceRequest implements the query service request command

func GetCmdQueryServiceRequests

func GetCmdQueryServiceRequests(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryServiceRequests implements the query service requests command

func GetCmdQueryServiceResponse

func GetCmdQueryServiceResponse(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryServiceResponse implements the query service response command

func GetCmdQueryServiceResponses

func GetCmdQueryServiceResponses(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryServiceResponses implements the query service responses command

func GetCmdQueryWithdrawAddr

func GetCmdQueryWithdrawAddr(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryWithdrawAddr implements the query withdraw address command

func GetCmdRefundServiceDeposit

func GetCmdRefundServiceDeposit(cdc *codec.Codec) *cobra.Command

GetCmdRefundServiceDeposit implements refunding deposit command

func GetCmdRespondService

func GetCmdRespondService(cdc *codec.Codec) *cobra.Command

GetCmdRespondService implements responding to a service request command

func GetCmdSetWithdrawAddr

func GetCmdSetWithdrawAddr(cdc *codec.Codec) *cobra.Command

GetCmdSetWithdrawAddr implements setting a withdrawal address command

func GetCmdStartRequestContext

func GetCmdStartRequestContext(cdc *codec.Codec) *cobra.Command

GetCmdStartRequestContext implements restarting a request context command

func GetCmdUpdateRequestContext

func GetCmdUpdateRequestContext(cdc *codec.Codec) *cobra.Command

GetCmdUpdateRequestContext implements updating a request context command

func GetCmdUpdateServiceBinding

func GetCmdUpdateServiceBinding(cdc *codec.Codec) *cobra.Command

GetCmdUpdateServiceBinding implements updating a service binding command

func GetCmdWithdrawEarnedFees

func GetCmdWithdrawEarnedFees(cdc *codec.Codec) *cobra.Command

GetCmdWithdrawEarnedFees implements withdrawing earned fees command

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for the module.

func GetTxCmd

func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

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