cli

package
v0.7.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDeploymentFilterFlags

func AddDeploymentFilterFlags(flags *pflag.FlagSet)

AddDeploymentFilterFlags add flags to filter for deployment list

func AddDeploymentIDFlags

func AddDeploymentIDFlags(flags *pflag.FlagSet)

AddDeploymentIDFlags add flags for deployment

func AddGroupFilterFlags

func AddGroupFilterFlags(flags *pflag.FlagSet)

AddGroupFilterFlags add flags to filter for group list

func AddGroupIDFlags

func AddGroupIDFlags(flags *pflag.FlagSet)

AddGroupIDFlags add flags for Group

func DepFiltersFromFlags

func DepFiltersFromFlags(flags *pflag.FlagSet) (query.DeploymentFilters, error)

DepFiltersFromFlags returns DeploymentFilters with given flags and error if occurred

func DeploymentIDFromFlags

func DeploymentIDFromFlags(flags *pflag.FlagSet, defaultOwner string) (types.DeploymentID, error)

DeploymentIDFromFlags returns DeploymentID with given flags, owner and error if occurred

func GetQueryCmd

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

GetQueryCmd returns the query commands for the deployment module

func GetTxCmd

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

GetTxCmd returns the transaction commands for this module

func GroupFiltersFromFlags

func GroupFiltersFromFlags(flags *pflag.FlagSet) (query.GroupFilters, error)

GroupFiltersFromFlags returns GroupFilters with given flags and error if occurred

func GroupIDFromFlags

func GroupIDFromFlags(flags *pflag.FlagSet) (types.GroupID, error)

GroupIDFromFlags returns GroupID with given flags and error if occurred

func MarkReqDeploymentIDFlags

func MarkReqDeploymentIDFlags(cmd *cobra.Command)

MarkReqDeploymentIDFlags marks flags required for deployment

func MarkReqGroupIDFlags

func MarkReqGroupIDFlags(cmd *cobra.Command)

MarkReqGroupIDFlags marks flags required for group

Types

This section is empty.

Jump to

Keyboard shortcuts

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