commands

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigFile      string
	HomePath        string
	PidFile         string
	Packaging       string
	ConfigOverrides string
	Version         bool
	VerboseVersion  bool
	Profile         bool
	ProfileAddr     string
	ProfilePort     uint64
	Tracing         bool
	TracingFile     string
)

flags for the grafana server command(s)

Functions

func RunServer

func RunServer(opts ServerOptions) error

func RunTargetServer

func RunTargetServer(opts ServerOptions) error

func ServerCommand

func ServerCommand(version, commit, enterpriseCommit, buildBranch, buildstamp string) *cli.Command

func SetBuildInfo

func SetBuildInfo(opts ServerOptions)

func TargetCommand

func TargetCommand(version, commit, buildBranch, buildstamp string) *cli.Command

Types

type ServerOptions

type ServerOptions struct {
	Version          string
	Commit           string
	EnterpriseCommit string
	BuildBranch      string
	BuildStamp       string
	Context          *cli.Context
}

Jump to

Keyboard shortcuts

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