cli

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: Apache-2.0 Imports: 17 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"
	FlagOptions           = "options"
	FlagProviders         = "providers"
	FlagServiceFeeCap     = "service-fee-cap"
	FlagTimeout           = "timeout"
	FlagData              = "data"
	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() *cobra.Command

GetCmdBindService implements binding a service command

func GetCmdCallService

func GetCmdCallService() *cobra.Command

GetCmdCallService implements initiating a service call command

func GetCmdDefineService

func GetCmdDefineService() *cobra.Command

GetCmdDefineService implements defining a service command

func GetCmdDisableServiceBinding

func GetCmdDisableServiceBinding() *cobra.Command

GetCmdDisableServiceBinding implements disabling a service binding command

func GetCmdEnableServiceBinding

func GetCmdEnableServiceBinding() *cobra.Command

GetCmdEnableServiceBinding implements enabling a service binding command

func GetCmdKillRequestContext

func GetCmdKillRequestContext() *cobra.Command

GetCmdKillRequestContext implements terminating a request context command

func GetCmdPauseRequestContext

func GetCmdPauseRequestContext() *cobra.Command

GetCmdPauseRequestContext implements pausing a request context command

func GetCmdQueryEarnedFees

func GetCmdQueryEarnedFees() *cobra.Command

GetCmdQueryEarnedFees implements the query earned fees command

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query params command.

func GetCmdQueryRequestContext

func GetCmdQueryRequestContext() *cobra.Command

GetCmdQueryRequestContext implements the query request context command

func GetCmdQuerySchema

func GetCmdQuerySchema() *cobra.Command

GetCmdQuerySchema implements the query schema command

func GetCmdQueryServiceBinding

func GetCmdQueryServiceBinding() *cobra.Command

GetCmdQueryServiceBinding implements the query service binding command

func GetCmdQueryServiceBindings

func GetCmdQueryServiceBindings() *cobra.Command

GetCmdQueryServiceBindings implements the query service bindings command

func GetCmdQueryServiceDefinition

func GetCmdQueryServiceDefinition() *cobra.Command

GetCmdQueryServiceDefinition implements the query service definition command.

func GetCmdQueryServiceRequest

func GetCmdQueryServiceRequest() *cobra.Command

GetCmdQueryServiceRequest implements the query service request command

func GetCmdQueryServiceRequests

func GetCmdQueryServiceRequests() *cobra.Command

GetCmdQueryServiceRequests implements the query service requests command

func GetCmdQueryServiceResponse

func GetCmdQueryServiceResponse() *cobra.Command

GetCmdQueryServiceResponse implements the query service response command

func GetCmdQueryServiceResponses

func GetCmdQueryServiceResponses() *cobra.Command

GetCmdQueryServiceResponses implements the query service responses command

func GetCmdQueryWithdrawAddr

func GetCmdQueryWithdrawAddr() *cobra.Command

GetCmdQueryWithdrawAddr implements the query withdraw address command

func GetCmdRefundServiceDeposit

func GetCmdRefundServiceDeposit() *cobra.Command

GetCmdRefundServiceDeposit implements refunding deposit command

func GetCmdRespondService

func GetCmdRespondService() *cobra.Command

GetCmdRespondService implements responding to a service request command

func GetCmdSetWithdrawAddr

func GetCmdSetWithdrawAddr() *cobra.Command

GetCmdSetWithdrawAddr implements setting a withdrawal address command

func GetCmdStartRequestContext

func GetCmdStartRequestContext() *cobra.Command

GetCmdStartRequestContext implements restarting a request context command

func GetCmdUpdateRequestContext

func GetCmdUpdateRequestContext() *cobra.Command

GetCmdUpdateRequestContext implements updating a request context command

func GetCmdUpdateServiceBinding

func GetCmdUpdateServiceBinding() *cobra.Command

GetCmdUpdateServiceBinding implements updating a service binding command

func GetCmdWithdrawEarnedFees

func GetCmdWithdrawEarnedFees() *cobra.Command

GetCmdWithdrawEarnedFees implements withdrawing earned fees command

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for the module.

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd 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