cli_helpers

package
v10.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLogLevel   = log.InfoLevel
	CustomLogLevelSet = false
)

Functions

func AddSecretsCleanupLogHook

func AddSecretsCleanupLogHook()

func FixHOME

func FixHOME(app *cli.App)

func LogRuntimePlatform added in v1.1.3

func LogRuntimePlatform(app *cli.App)

func SetupCPUProfile

func SetupCPUProfile(app *cli.App)

func SetupLogLevelOptions

func SetupLogLevelOptions(app *cli.App)

Types

type SecretsCleanupHook

type SecretsCleanupHook struct{}

func (*SecretsCleanupHook) Fire

func (s *SecretsCleanupHook) Fire(entry *logrus.Entry) error

func (*SecretsCleanupHook) Levels

func (s *SecretsCleanupHook) Levels() []logrus.Level

Jump to

Keyboard shortcuts

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