config

package
v10.332.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.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 MonitorConfig

type MonitorConfig struct {
	Common    *ProcessorConfig
	MergeTags []string
	Monitors  map[Type]interface{}
}

MonitorConfig specifies the configs for monitors.

func (*MonitorConfig) String

func (c *MonitorConfig) String() string

String returns the configuration in string

type ProcessorConfig

type ProcessorConfig struct {
	Collector           collector.EventCollector
	Policy              policy.Resolver
	ExternalEventSender []external.ReceiverRegistration
	MergeTags           []string
	ResyncLock          *sync.RWMutex
}

ProcessorConfig holds configuration for the processors

func (*ProcessorConfig) IsComplete

func (c *ProcessorConfig) IsComplete() error

IsComplete checks if configuration is complete

type Type

type Type int

Type specifies the type of monitors supported.

const (
	Docker Type = iota + 1
	LinuxProcess
	LinuxHost
	K8s
	Windows
)

Types supported.

Jump to

Keyboard shortcuts

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