cmd

package
Version: v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const OstentVersion = "0.7.0"

OstentVersion of the latest known release. Compared to bin mode. MUST BE semver compatible: no two digits ("X.Y") allowed.

Variables

View Source
var RootCmd = &cobra.Command{
	SilenceUsage: true,
	Use:          "ostent",
	Short:        "Ostent is a metrics tool.",
	Long:         "Ostent is a server tool to collect, display and report system metrics.",

	PersistentPostRunE: persistentPostRuns.runE,
	PersistentPreRunE:  persistentPreRuns.runE,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func MainAgent added in v0.7.0

func MainAgent(send chan chan string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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