config

package
v0.0.0-...-160db18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(cfg ScrapeConfig) config

NewConfig returns a new configuration struct that contains all fields that we need

Types

type ScrapeConfig

type ScrapeConfig struct {
	EnablePrometheusFlag bool
	EnablePbenchFlag     bool
	InsecureTLSFlag      bool
	DurationFlag         int
	BlockString          string
	NetString            string
	ProcessString        string
	ResultDir            string
	SearchDir            string
	StepFlag             string
	TokenFlag            string
	UrlFlag              string
}

Jump to

Keyboard shortcuts

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