cli

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvSettings

type EnvSettings struct {
	// Djobi jobs & stages logs ES URL
	MetricsLogAPIURL string

	// Pipelines
	PipelinesURL, PipelinesPath string

	// Template
	ReportHTMLTemplatePath string

	// Logging stuff
	LogLevel string

	FrontURLPath string

	Debug bool
}

EnvSettings describes all of the environment settings.

func New

func New() *EnvSettings

func (*EnvSettings) AddFlags

func (s *EnvSettings) AddFlags(fs *pflag.FlagSet)

AddFlags binds flags to the given flagset.

func (*EnvSettings) EnvVars

func (s *EnvSettings) EnvVars() map[string]string

Jump to

Keyboard shortcuts

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