linuxmonitor

package
v6.23.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2017 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() monitorinstance.Implementation

New returns a new implmentation of a monitor implmentation

Types

type Config

type Config struct {
	EventMetadataExtractor events.EventMetadataExtractor
	StoredPath             string
	ReleasePath            string
	Host                   bool
}

Config is the configuration options to start a CNI monitor

func DefaultConfig

func DefaultConfig(host bool) *Config

DefaultConfig provides a default configuration

func SetupDefaultConfig

func SetupDefaultConfig(linuxConfig *Config) *Config

SetupDefaultConfig adds defaults to a partial configuration

type StoredContext

type StoredContext struct {
	EventInfo *events.EventInfo
	Tags      *policy.TagStore
}

StoredContext is the information stored to retrieve the context in case of restart.

Jump to

Keyboard shortcuts

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