Documentation ¶
Index ¶
Constants ¶
View Source
const RunConfigFileParm = "exporter.configFile"
View Source
const RunPortParm = "exporter.port"
View Source
const RunRestartParm = "exporter.restart"
View Source
const WithGoMetricsParamName = "exporter.goMetrics"
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewCompletionCmd ¶
NewCmdCompletion creates the `completion` command
func NewConvertGaCommand ¶
func NewRunCommand ¶
func NewVersionCommand ¶
Types ¶
type ConvertGaOptions ¶
type ConvertGaOptions struct{}
func NewConvertGaOptions ¶
func NewConvertGaOptions() *ConvertGaOptions
func (*ConvertGaOptions) ValidArgs ¶ added in v0.2.0
func (i *ConvertGaOptions) ValidArgs(_ *cobra.Command, args []string, _ string) ([]string, cobra.ShellCompDirective)
ValidArgs returns a list of possible arguments.
type RootOptions ¶
type RootOptions struct {
// contains filtered or unexported fields
}
func NewRootCommand ¶
func NewRootCommand() (*cobra.Command, *RootOptions)
func NewRootOptions ¶
func NewRootOptions() *RootOptions
type RunOptions ¶
type RunOptions struct {
// contains filtered or unexported fields
}
func NewRunOptions ¶
func NewRunOptions() *RunOptions
type VersionOptions ¶
type VersionOptions struct{}
func NewVersionOptions ¶
func NewVersionOptions() *VersionOptions
Source Files ¶
Click to show internal directories.
Click to hide internal directories.