agent

package
v1.22.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, options *Options) error

Types

type Options

type Options struct {
	DebugMode bool                        `json:"debugmode,omitempty" description:"enable debug mode"`
	LogLevel  string                      `json:"loglevel,omitempty"`
	System    *system.Options             `json:"system,omitempty"`
	API       *apis.Options               `json:"api,omitempty"`
	Debug     *apis.DebugOptions          `json:"debug,omitempty" description:"debug options"`
	Exporter  *prometheus.ExporterOptions `json:"exporter,omitempty"`
}

func DefaultOptions

func DefaultOptions() *Options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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