cmd

package
v0.0.0-...-64e3f11 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:              "metrics-agent [command] [flags]",
	Short:            "Starts the Cloudability Metrics Agent",
	Long:             `Starts the Cloudability Metrics Agent for the configured metrics collectors and polling interval.`,
	Args:             cobra.MinimumNArgs(1),
	TraverseChildren: true,
	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
		return util.SetupLogger()
	},
	Run: func(cmd *cobra.Command, args []string) {
	},
}

RootCmd is the cobra root command to be executed

Functions

func Execute

func Execute()

Execute metrics-agent with arguments

Types

This section is empty.

Jump to

Keyboard shortcuts

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