env

package
v0.0.0-...-8f56db8 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Labels

type Labels map[string]bool

func InitEnvDefaultLabel

func InitEnvDefaultLabel(envPrefix string, envSuffix string, defaultLabel string) Labels

InitEnvDefaultLabel extract Label of monitoror Env variable and inject Default label if missing Like:

	 MO_CONFIG=xxx => MO_CONFIG_DEFAULT
  MO_MONITORABLE_JENKINS_URL=xxx => MO_MONITORABLE_JENKINS_DEFAULT_URL=xxx =>

Jump to

Keyboard shortcuts

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