windows

package
v2.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TargetManager

type TargetManager struct{}

TargetManager manages a series of windows event targets.

func NewTargetManager

func NewTargetManager(
	reg prometheus.Registerer,
	logger log.Logger,
	client api.EntryHandler,
	scrapeConfigs []scrapeconfig.Config,
) (*TargetManager, error)

NewTargetManager creates a new Windows managers.

func (*TargetManager) ActiveTargets

func (tm *TargetManager) ActiveTargets() map[string][]target.Target

ActiveTargets returns the list of active Windows targets.

func (*TargetManager) AllTargets

func (tm *TargetManager) AllTargets() map[string][]target.Target

AllTargets returns the list of all targets.

func (*TargetManager) Ready

func (tm *TargetManager) Ready() bool

Ready returns true if at least one Windows target is also ready.

func (*TargetManager) Stop

func (tm *TargetManager) Stop()

Stop stops the Windows target manager and all of its targets.

Directories

Path Synopsis
Package win_eventlog Input plugin to collect Windows Event Log messages
Package win_eventlog Input plugin to collect Windows Event Log messages

Jump to

Keyboard shortcuts

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