Documentation ¶
Index ¶
- func AddBidFilterFlags(flags *pflag.FlagSet)
- func AddBidIDFlags(flags *pflag.FlagSet)
- func AddLeaseFilterFlags(flags *pflag.FlagSet)
- func AddOrderFilterFlags(flags *pflag.FlagSet)
- func AddOrderIDFlags(flags *pflag.FlagSet)
- func AddProviderFlag(flags *pflag.FlagSet)
- func AddQueryBidIDFlags(flags *pflag.FlagSet)
- func BidFiltersFromFlags(flags *pflag.FlagSet) (query.BidFilters, error)
- func BidIDFromFlags(ctx context.CLIContext, flags *pflag.FlagSet) (types.BidID, error)
- func BidIDFromFlagsWithoutCtx(flags *pflag.FlagSet) (types.BidID, error)
- func GetQueryCmd(key string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(key string, cdc *codec.Codec) *cobra.Command
- func LeaseFiltersFromFlags(flags *pflag.FlagSet) (query.LeaseFilters, error)
- func MarkReqBidIDFlags(cmd *cobra.Command)
- func MarkReqOrderIDFlags(cmd *cobra.Command)
- func MarkReqProviderFlag(cmd *cobra.Command)
- func OrderFiltersFromFlags(flags *pflag.FlagSet) (query.OrderFilters, error)
- func OrderIDFromFlags(flags *pflag.FlagSet) (types.OrderID, error)
- func ProviderFromFlagsWithoutCtx(flags *pflag.FlagSet) (sdk.AccAddress, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBidFilterFlags ¶
AddBidFilterFlags add flags to filter for bid list
func AddLeaseFilterFlags ¶
AddLeaseFilterFlags add flags to filter for lease list
func AddOrderFilterFlags ¶
AddOrderFilterFlags add flags to filter for order list
func AddOrderIDFlags ¶
AddOrderIDFlags add flags for order
func AddProviderFlag ¶ added in v0.7.4
AddProviderFlag add provider flag to command flags set
func AddQueryBidIDFlags ¶
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 ¶
BidIDFromFlags returns BidID with given flags and error if occurred
func BidIDFromFlagsWithoutCtx ¶
BidIDFromFlagsWithoutCtx returns BidID with given flags and error if occurred Here provider value is taken from flags
func GetQueryCmd ¶
GetQueryCmd returns the transaction commands for the market module
func LeaseFiltersFromFlags ¶
func LeaseFiltersFromFlags(flags *pflag.FlagSet) (query.LeaseFilters, error)
LeaseFiltersFromFlags returns LeaseFilters with given flags and error if occurred
func MarkReqBidIDFlags ¶
MarkReqBidIDFlags marks flags required for bid Used in get bid query command
func MarkReqOrderIDFlags ¶
MarkReqOrderIDFlags marks flags required for order
func MarkReqProviderFlag ¶ added in v0.7.4
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 ¶
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.