Documentation
¶
Index ¶
- func GetGrafanaPluginDir(currentOS string) string
- type ApiClient
- type CommandLine
- type ContextCommandLine
- func (c *ContextCommandLine) Application() *cli.App
- func (c *ContextCommandLine) ConfigFile() string
- func (c *ContextCommandLine) HomePath() string
- func (c *ContextCommandLine) PluginDirectory() string
- func (c *ContextCommandLine) PluginRepoURL() string
- func (c *ContextCommandLine) PluginURL() string
- func (c *ContextCommandLine) ShowHelp() error
- func (c *ContextCommandLine) ShowVersion()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGrafanaPluginDir ¶
Types ¶
type CommandLine ¶
type CommandLine interface {
ShowHelp() error
ShowVersion()
Application() *cli.App
Args() cli.Args
Bool(name string) bool
Int(name string) int
String(name string) string
StringSlice(name string) []string
FlagNames() (names []string)
Generic(name string) interface{}
PluginDirectory() string
PluginRepoURL() string
PluginURL() string
}
type ContextCommandLine ¶
type ContextCommandLine struct {
*cli.Context
}
func (*ContextCommandLine) Application ¶
func (c *ContextCommandLine) Application() *cli.App
func (*ContextCommandLine) ConfigFile ¶
func (c *ContextCommandLine) ConfigFile() string
func (*ContextCommandLine) HomePath ¶
func (c *ContextCommandLine) HomePath() string
func (*ContextCommandLine) PluginDirectory ¶
func (c *ContextCommandLine) PluginDirectory() string
func (*ContextCommandLine) PluginRepoURL ¶
func (c *ContextCommandLine) PluginRepoURL() string
func (*ContextCommandLine) PluginURL ¶
func (c *ContextCommandLine) PluginURL() string
func (*ContextCommandLine) ShowHelp ¶
func (c *ContextCommandLine) ShowHelp() error
func (*ContextCommandLine) ShowVersion ¶
func (c *ContextCommandLine) ShowVersion()
Click to show internal directories.
Click to hide internal directories.