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
Click to show internal directories.
Click to hide internal directories.