env

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PortHealthcheck = "port.healthcheck"
	PortMetrics     = "port.metrics"
	PortDebug       = "port.debug"

	SecretLabelSelector     = "secret.selector.label"
	SecretNameSelector      = "secret.selector.name"
	SecretNamespaceSelector = "secret.selector.namespace"
	SecretContentSelector   = "secret.selector.content"

	SecretFileSingle          = "secret.file.single"
	SecretFileNamePattern     = "secret.file.name.pattern"
	SecretFilePropertyPattern = "secret.file.property.pattern"

	SecretKeyTransformation = "secret.key.transformation"

	CallbackMethod      = "callback.method"
	CallbackUrl         = "callback.url"
	CallbackBody        = "callback.body"
	CallbackContenttype = "callback.contenttype"

	LogJson  = "log.json"
	LogLevel = "log.level"

	DefaultPortHealthcheck = 8383
	DefaultPortMetrics     = 8080
	DefaultPortDebug       = 1234

	DefaultLogJson  = false
	DefaultLogLevel = logrus.InfoLevel

	FinalizerPrefix = "jaconi.io/secret-file-provider-"
)

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(rootCmd *cobra.Command)

func GetSingleNamespace

func GetSingleNamespace() string

GetSingleNamespace will return the name of a single namespace, if set. This will return an empty string if either no namespace or multiple ones are actively selected.

Types

This section is empty.

Jump to

Keyboard shortcuts

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