Versions in this module Expand all Collapse all v2 v2.6.5 Jun 21, 2023 Changes in this version + func AdminAPIRequest(adminAddr, method, uri string, headers http.Header, body io.Reader) (*http.Response, error) + func Commands() map[string]Command + func DetermineAdminAPIAddress(address string, config []byte, configFile, configAdapter string) (string, error) + func LoadConfig(configFile, adapterName string) ([]byte, string, error) + func Main() + func RegisterCommand(cmd Command) + func WrapCommandFuncForCobra(f CommandFunc) func(cmd *cobra.Command, _ []string) error + type Command struct + CobraFunc func(*cobra.Command) + Flags *flag.FlagSet + Func CommandFunc + Long string + Name string + Short string + Usage string + type CommandFunc func(Flags) (int, error) + type Flags struct + func (f Flags) Bool(name string) bool + func (f Flags) Duration(name string) time.Duration + func (f Flags) Float64(name string) float64 + func (f Flags) Int(name string) int + func (f Flags) String(name string) string + type StringSlice []string + func (ss *StringSlice) Set(value string) error + func (ss StringSlice) String() string