cli

package
v0.7.8-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBidFilterFlags

func AddBidFilterFlags(flags *pflag.FlagSet)

AddBidFilterFlags add flags to filter for bid list

func AddBidIDFlags

func AddBidIDFlags(flags *pflag.FlagSet)

AddBidIDFlags add flags for bid

func AddLeaseFilterFlags

func AddLeaseFilterFlags(flags *pflag.FlagSet)

AddLeaseFilterFlags add flags to filter for lease list

func AddOrderFilterFlags

func AddOrderFilterFlags(flags *pflag.FlagSet)

AddOrderFilterFlags add flags to filter for order list

func AddOrderIDFlags

func AddOrderIDFlags(flags *pflag.FlagSet)

AddOrderIDFlags add flags for order

func AddProviderFlag added in v0.7.4

func AddProviderFlag(flags *pflag.FlagSet)

AddProviderFlag add provider flag to command flags set

func AddQueryBidIDFlags

func AddQueryBidIDFlags(flags *pflag.FlagSet)

AddQueryBidIDFlags add flags for bid in query commands

func BidFiltersFromFlags

func BidFiltersFromFlags(flags *pflag.FlagSet) (query.BidFilters, error)

BidFiltersFromFlags returns BidFilters with given flags and error if occurred

func BidIDFromFlags

func BidIDFromFlags(ctx context.CLIContext, flags *pflag.FlagSet) (types.BidID, error)

BidIDFromFlags returns BidID with given flags and error if occurred

func BidIDFromFlagsWithoutCtx

func BidIDFromFlagsWithoutCtx(flags *pflag.FlagSet) (types.BidID, error)

BidIDFromFlagsWithoutCtx returns BidID with given flags and error if occurred Here provider value is taken from flags

func GetQueryCmd

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

GetQueryCmd returns the transaction commands for the market module

func GetTxCmd

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

GetTxCmd returns the transaction commands for market module

func LeaseFiltersFromFlags

func LeaseFiltersFromFlags(flags *pflag.FlagSet) (query.LeaseFilters, error)

LeaseFiltersFromFlags returns LeaseFilters with given flags and error if occurred

func MarkReqBidIDFlags

func MarkReqBidIDFlags(cmd *cobra.Command)

MarkReqBidIDFlags marks flags required for bid Used in get bid query command

func MarkReqOrderIDFlags

func MarkReqOrderIDFlags(cmd *cobra.Command)

MarkReqOrderIDFlags marks flags required for order

func MarkReqProviderFlag added in v0.7.4

func MarkReqProviderFlag(cmd *cobra.Command)

MarkReqProviderFlag marks provider flag as required

func OrderFiltersFromFlags

func OrderFiltersFromFlags(flags *pflag.FlagSet) (query.OrderFilters, error)

OrderFiltersFromFlags returns OrderFilters with given flags and error if occurred

func OrderIDFromFlags

func OrderIDFromFlags(flags *pflag.FlagSet) (types.OrderID, error)

OrderIDFromFlags returns OrderID with given flags and error if occurred

func ProviderFromFlagsWithoutCtx added in v0.7.4

func ProviderFromFlagsWithoutCtx(flags *pflag.FlagSet) (sdk.AccAddress, error)

ProviderFromFlagsWithoutCtx returns Provider address with given flags and error if occurred

Types

This section is empty.

Jump to

Keyboard shortcuts

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