Documentation ¶
Index ¶
- func Call(conn *connector.Conn, funcName string, flagSet *pflag.FlagSet, args []string) error
- func Help(conn *connector.Conn, funcName string, flagSet *pflag.FlagSet, args []string) error
- func List(conn *connector.Conn, funcName string, flagSet *pflag.FlagSet, args []string) error
- func Run(processAdminFunc ProcessAdminFuncType, ctx *context.Ctx, funcName string, ...) error
- type ArgSpec
- type ArgsSpec
- type FuncCallArg
- type FuncInfo
- type FuncInfos
- type ProcessAdminFuncType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FuncCallArg ¶
type FuncCallArg struct { Name string Type string StringValue string NumberValue float64 BoolValue bool // Changed is an equivalent for pflag.Flag.Changed // It's true when user entered argument value // If this value is false, argument isn't passed to function // (in fact, opt.<arg-name> is nil) Changed bool }
type FuncInfo ¶
func (*FuncInfo) DecodeMsgpack ¶
type FuncInfos ¶
func (*FuncInfos) FormatUsages ¶
Click to show internal directories.
Click to hide internal directories.