config

package
v10.267.11+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 2

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
	MergeTags []string
}

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 (
	CNI Type = iota + 1
	Docker
	LinuxProcess
	LinuxHost
	UID
	Kubernetes
	SSH
	Pod
	Windows
)

Types supported.

Jump to

Keyboard shortcuts

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