config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorString_ParseFailed = "Configuration parse failed"

Functions

This section is empty.

Types

type InfluxCleanConfig

type InfluxCleanConfig struct {
	Name      string
	Influxdb1 []Influxdb1Info
}

func NewInfluxCleanConfig added in v0.0.2

func NewInfluxCleanConfig() *InfluxCleanConfig

func (*InfluxCleanConfig) ReadFile

func (c *InfluxCleanConfig) ReadFile(f io.Reader) error

ReadFile reads a config reader, expands env variables and parse config

type Influxdb1Info

type Influxdb1Info struct {
	Url                  string
	Env_user             string
	Env_password         string
	User                 string
	Password             string
	Insecure_skip_verify bool
	Oldseries            []OldSeriesInfo
}

type OldSeriesInfo

type OldSeriesInfo struct {
	Name           string
	Databases      []string
	Rp             string
	Measurement    string
	Field          string
	Filter         string
	Tags           []string
	Drop_from_all  bool
	Sleep_duration string
	History_window []string
	Current_window []string
}

Jump to

Keyboard shortcuts

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