app

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func New

func New(config *AgentConfig) *Agent

New constructs a new agent component

func (*Agent) Close

func (a *Agent) Close()

func (*Agent) ReloadConfig

func (a *Agent) ReloadConfig() error

func (*Agent) Run

func (a *Agent) Run() error

func (*Agent) Stop

func (a *Agent) Stop() error

type AgentConfig

type AgentConfig struct {
	ConfigFile    string
	MetricWriter  metricstore.Writer
	Logger        *zap.Logger
	HttpPort      int
	MetricFactory metrics.Factory
	NewSDManager  bool
}

Directories

Path Synopsis
aws
dns
gce
install
Package install has the side-effect of registering all builtin service discovery config types.
Package install has the side-effect of registering all builtin service discovery config types.
xds
model

Jump to

Keyboard shortcuts

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