Documentation ¶
Index ¶
- Variables
- func AddDeploymentFilterFlags(flags *pflag.FlagSet)
- func AddDeploymentIDFlags(flags *pflag.FlagSet)
- func AddGroupIDFlags(flags *pflag.FlagSet)
- func DepFiltersFromFlags(flags *pflag.FlagSet) (types.DeploymentFilters, error)
- func DeploymentIDFromFlags(flags *pflag.FlagSet, defaultOwner string) (types.DeploymentID, error)
- func GetQueryCmd() *cobra.Command
- func GetTxCmd(key string) *cobra.Command
- func GroupIDFromFlags(flags *pflag.FlagSet) (types.GroupID, error)
- func MarkReqDeploymentIDFlags(cmd *cobra.Command)
- func MarkReqGroupIDFlags(cmd *cobra.Command)
- func QueryDeploymentExec(clientCtx client.Context, id types.DeploymentID, extraArgs ...string) (sdktest.BufferWriter, error)
- func QueryDeploymentsExec(clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func QueryGroupExec(clientCtx client.Context, id types.GroupID, extraArgs ...string) (sdktest.BufferWriter, error)
- func TxCloseDeploymentExec(clientCtx client.Context, from fmt.Stringer, extraArgs ...string) (sdktest.BufferWriter, error)
- func TxCloseGroupExec(clientCtx client.Context, groupID types.GroupID, from fmt.Stringer, ...) (sdktest.BufferWriter, error)
- func TxCreateDeploymentExec(clientCtx client.Context, from fmt.Stringer, filePath string, ...) (sdktest.BufferWriter, error)
- func TxUpdateDeploymentExec(clientCtx client.Context, from fmt.Stringer, filePath string, ...) (sdktest.BufferWriter, error)
Constants ¶
This section is empty.
Variables ¶
var (
ErrStateValue = errors.New("query: invalid state value")
)
Functions ¶
func AddDeploymentFilterFlags ¶
AddDeploymentFilterFlags add flags to filter for deployment list
func AddDeploymentIDFlags ¶
AddDeploymentIDFlags add flags for deployment
func AddGroupIDFlags ¶
AddGroupIDFlags add flags for Group
func DepFiltersFromFlags ¶
func DepFiltersFromFlags(flags *pflag.FlagSet) (types.DeploymentFilters, error)
DepFiltersFromFlags returns DeploymentFilters with given flags and error if occurred
func DeploymentIDFromFlags ¶
DeploymentIDFromFlags returns DeploymentID with given flags, owner and error if occurred
func GetQueryCmd ¶
GetQueryCmd returns the query commands for the deployment module
func GroupIDFromFlags ¶
GroupIDFromFlags returns GroupID with given flags and error if occurred
func MarkReqDeploymentIDFlags ¶
MarkReqDeploymentIDFlags marks flags required for deployment
func MarkReqGroupIDFlags ¶
MarkReqGroupIDFlags marks flags required for group
func QueryDeploymentExec ¶ added in v0.9.1
func QueryDeploymentExec(clientCtx client.Context, id types.DeploymentID, extraArgs ...string) (sdktest.BufferWriter, error)
QueryDeploymentExec is used for testing deployment query
func QueryDeploymentsExec ¶ added in v0.9.1
func QueryDeploymentsExec(clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
QueryDeploymentsExec is used for testing deployments query
func QueryGroupExec ¶ added in v0.9.1
func QueryGroupExec(clientCtx client.Context, id types.GroupID, extraArgs ...string) (sdktest.BufferWriter, error)
QueryGroupExec is used for testing group query
func TxCloseDeploymentExec ¶ added in v0.9.1
func TxCloseDeploymentExec(clientCtx client.Context, from fmt.Stringer, extraArgs ...string) (sdktest.BufferWriter, error)
TxCloseDeploymentExec is used for testing close deployment tx requires --dseq, --fees
func TxCloseGroupExec ¶ added in v0.9.1
func TxCloseGroupExec(clientCtx client.Context, groupID types.GroupID, from fmt.Stringer, extraArgs ...string) (sdktest.BufferWriter, error)
TxCloseGroupExec is used for testing close group tx
Types ¶
This section is empty.