config

package
v8.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2018 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
)

Types supported.

Jump to

Keyboard shortcuts

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