internal

package
v0.0.0-...-ebc5297 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindEnv

func BindEnv()

func InitConfig

func InitConfig(configName string) error

InitConfig intializes the config for the application If no config file is provided with the --config flag it will look for a config in following locations:

${context} being one of the supported components: agent|web|runner

Order represents priority /etc/trento/${context}.yaml /usr/etc/trento/${context}.yaml $HOME/.config/trento/${context}.yaml

func SetLogFormatter

func SetLogFormatter(timestampFormat string)

func SetLogLevel

func SetLogLevel(level string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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