config

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ListenAddress string
	TelemetryPath string
	DatabaseURL   string
	StoreTimeout  time.Duration

	ExportStats     bool
	ExportPools     bool
	ExportDatabases bool
	ExportLists     bool
	DefaultLabels   string
}

Config represents exporter configuration.

func LoadFromCLI

func LoadFromCLI(ctx *cli.Context) Config

Jump to

Keyboard shortcuts

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