Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConfigDir is the directory to store config file ConfigDir string // DefaultConfigFile is the default config file name DefaultConfigFile string )
Directories
View Source
var ( // ErrConfigNotMatch indicates error for no config matchs ErrConfigNotMatch = fmt.Errorf("no config matchs") // ErrEmptyEndpoint indicates error for empty endpoint ErrEmptyEndpoint = fmt.Errorf("no endpoint has been set") )
Error strings
View Source
var ConfigCmd = &cobra.Command{
Use: "config",
Short: "Set or get configuration for ioctl",
}
ConfigCmd represents the config command
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.