config

package
v0.0.0-...-dc029e1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	METRICS_NONE MetricSet = 0
	METRICS_BASE           = 1 << iota
	METRICS_ERRORS
	METRICS_PERF
	METRICS_COUNTERS
	METRICS_DEBUG
	METRICS_DEFAULT = METRICS_BASE | METRICS_ERRORS | METRICS_PERF | METRICS_COUNTERS
)

Variables

This section is empty.

Functions

func AuthUsers

func AuthUsers() map[string]string

func Collectors

func Collectors() []string

func HttpListen

func HttpListen() string

func HttpPath

func HttpPath() string

func LogLevel

func LogLevel() syslog.Priority

func OvsRundir

func OvsRundir() string

func Parse

func Parse() error

func TlsCert

func TlsCert() string

func TlsKey

func TlsKey() string

Types

type MetricSet

type MetricSet uint

func MetricSets

func MetricSets() MetricSet

func ParseMetricSets

func ParseMetricSets(names []string) (MetricSet, error)

func (MetricSet) Has

func (s MetricSet) Has(o MetricSet) bool

func (MetricSet) String

func (s MetricSet) String() string

Jump to

Keyboard shortcuts

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