config

package
v10.12.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0 Imports: 4 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{}
	ApplicationProxyPort int
}

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
	ApplicationProxyPort int
}

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
)

Types supported.

Jump to

Keyboard shortcuts

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