agent

package
v1.23.5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 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"`
	Kubectl   *apis.KubectlOptions        `json:"kubectl,omitempty" description:"kubectl options"`
	Exporter  *prometheus.ExporterOptions `json:"exporter,omitempty"`
	Otel      *otel.Options               `json:"otel,omitempty"`
	Installer *installerapi.ClientOptions `json:"installer,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