cmd

package
Version: v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package cmd contains the CLI commands.

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "php-fpm_exporter",
	Short: "Exports php-fpm metrics for prometheus",
	Long:  `php-fpm_exporter exports prometheus compatible metrics from php-fpm.`,
}

RootCmd represents the base command when called without any subcommands

View Source
var Version string

Version that is being reported by the CLI

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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