app

package
v4.2.464+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PROBE_TYPE_READINESS = "readiness"
	PROBE_TYPE_LIVENESS  = "liveness"
)

Variables

View Source
var (
	ProbeCmd = &cobra.Command{
		Use:   "probe",
		Short: "probe alameda evictioner",
		Long:  "",
		Run: func(cmd *cobra.Command, args []string) {
			initConfig()
			initLogger()
			setLoggerScopesWithConfig(*config.Log)
			startProbing()
		},
	}
)
View Source
var (
	RootCmd = &cobra.Command{
		Use:   "evictioner",
		Short: "alameda evictioner",
		Long:  "",
	}
)
View Source
var (
	RunCmd = &cobra.Command{
		Use:   "run",
		Short: "start alameda evictioner",
		Long:  "",
		Run: func(cmd *cobra.Command, args []string) {
			app.PrintSoftwareVer()
			initConfig()
			initLogger()
			setLoggerScopesWithConfig(*config.Log)
			displayConfig()
			startEvictioner()
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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