cmd

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const RunConfigFileParm = "exporter.configFile"
View Source
const RunPortParm = "exporter.port"
View Source
const RunRestartParm = "exporter.restart"

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

func NewCompletionCmd() *cobra.Command

NewCmdCompletion creates the `completion` command

func NewConvertGaCommand

func NewConvertGaCommand() *cobra.Command

func NewRunCommand

func NewRunCommand() *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL