Documentation ¶
Overview ¶
nolint
Index ¶
- Constants
- Variables
- func GetCmdBindService() *cobra.Command
- func GetCmdCallService() *cobra.Command
- func GetCmdDefineService() *cobra.Command
- func GetCmdDisableServiceBinding() *cobra.Command
- func GetCmdEnableServiceBinding() *cobra.Command
- func GetCmdKillRequestContext() *cobra.Command
- func GetCmdPauseRequestContext() *cobra.Command
- func GetCmdQueryEarnedFees() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryRequestContext() *cobra.Command
- func GetCmdQuerySchema() *cobra.Command
- func GetCmdQueryServiceBinding() *cobra.Command
- func GetCmdQueryServiceBindings() *cobra.Command
- func GetCmdQueryServiceDefinition() *cobra.Command
- func GetCmdQueryServiceRequest() *cobra.Command
- func GetCmdQueryServiceRequests() *cobra.Command
- func GetCmdQueryServiceResponse() *cobra.Command
- func GetCmdQueryServiceResponses() *cobra.Command
- func GetCmdQueryWithdrawAddr() *cobra.Command
- func GetCmdRefundServiceDeposit() *cobra.Command
- func GetCmdRespondService() *cobra.Command
- func GetCmdSetWithdrawAddr() *cobra.Command
- func GetCmdStartRequestContext() *cobra.Command
- func GetCmdUpdateRequestContext() *cobra.Command
- func GetCmdUpdateServiceBinding() *cobra.Command
- func GetCmdWithdrawEarnedFees() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
Constants ¶
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" FlagOptions = "options" FlagProviders = "providers" FlagServiceFeeCap = "service-fee-cap" FlagTimeout = "timeout" FlagData = "data" FlagRepeated = "repeated" FlagFrequency = "frequency" FlagTotal = "total" FlagRequestID = "request-id" FlagResult = "result" )
Variables ¶
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 ¶
GetCmdBindService implements binding a service command
func GetCmdCallService ¶
GetCmdCallService implements initiating a service call command
func GetCmdDefineService ¶
GetCmdDefineService implements defining a service command
func GetCmdDisableServiceBinding ¶
GetCmdDisableServiceBinding implements disabling a service binding command
func GetCmdEnableServiceBinding ¶
GetCmdEnableServiceBinding implements enabling a service binding command
func GetCmdKillRequestContext ¶
GetCmdKillRequestContext implements terminating a request context command
func GetCmdPauseRequestContext ¶
GetCmdPauseRequestContext implements pausing a request context command
func GetCmdQueryEarnedFees ¶
GetCmdQueryEarnedFees implements the query earned fees command
func GetCmdQueryParams ¶
GetCmdQueryParams implements the query params command.
func GetCmdQueryRequestContext ¶
GetCmdQueryRequestContext implements the query request context command
func GetCmdQuerySchema ¶
GetCmdQuerySchema implements the query schema command
func GetCmdQueryServiceBinding ¶
GetCmdQueryServiceBinding implements the query service binding command
func GetCmdQueryServiceBindings ¶
GetCmdQueryServiceBindings implements the query service bindings command
func GetCmdQueryServiceDefinition ¶
GetCmdQueryServiceDefinition implements the query service definition command.
func GetCmdQueryServiceRequest ¶
GetCmdQueryServiceRequest implements the query service request command
func GetCmdQueryServiceRequests ¶
GetCmdQueryServiceRequests implements the query service requests command
func GetCmdQueryServiceResponse ¶
GetCmdQueryServiceResponse implements the query service response command
func GetCmdQueryServiceResponses ¶
GetCmdQueryServiceResponses implements the query service responses command
func GetCmdQueryWithdrawAddr ¶
GetCmdQueryWithdrawAddr implements the query withdraw address command
func GetCmdRefundServiceDeposit ¶
GetCmdRefundServiceDeposit implements refunding deposit command
func GetCmdRespondService ¶
GetCmdRespondService implements responding to a service request command
func GetCmdSetWithdrawAddr ¶
GetCmdSetWithdrawAddr implements setting a withdrawal address command
func GetCmdStartRequestContext ¶
GetCmdStartRequestContext implements restarting a request context command
func GetCmdUpdateRequestContext ¶
GetCmdUpdateRequestContext implements updating a request context command
func GetCmdUpdateServiceBinding ¶
GetCmdUpdateServiceBinding implements updating a service binding command
func GetCmdWithdrawEarnedFees ¶
GetCmdWithdrawEarnedFees implements withdrawing earned fees command
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for the module.
Types ¶
This section is empty.