trireme-lib: go.aporeto.io/trireme-lib/monitor/config Index | Files

package config

import "go.aporeto.io/trireme-lib/monitor/config"

Index

Package Files

config.go

type MonitorConfig Uses

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

MonitorConfig specifies the configs for monitors.

func (*MonitorConfig) String Uses

func (c *MonitorConfig) String() string

String returns the configuration in string

type ProcessorConfig Uses

type ProcessorConfig struct {
    Collector            collector.EventCollector
    Policy               policy.Resolver
    MergeTags            []string
    ApplicationProxyPort int
}

ProcessorConfig holds configuration for the processors

func (*ProcessorConfig) IsComplete Uses

func (c *ProcessorConfig) IsComplete() error

IsComplete checks if configuration is complete

type Type Uses

type Type int

Type specifies the type of monitors supported.

const (
    CNI Type = iota + 1
    Docker
    LinuxProcess
    LinuxHost
    UID
    Kubernetes
)

Types supported.

Package config imports 4 packages (graph) and is imported by 8 packages. Updated 2018-07-12. Refresh now. Tools for package owners.