cnimonitor

package
v6.35.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerMetadataExtractor

func DockerMetadataExtractor(event *events.EventInfo) (*policy.PURuntime, error)

DockerMetadataExtractor is a systemd based metadata extractor

func KubernetesMetadataExtractor

func KubernetesMetadataExtractor(event *events.EventInfo) (*policy.PURuntime, error)

KubernetesMetadataExtractor is a systemd based metadata extractor

func New

func New() monitorinstance.Implementation

New returns a new implmentation of a monitor implmentation

Types

type Config

type Config struct {
	EventMetadataExtractor events.EventMetadataExtractor
	ContextStorePath       string
}

Config is the configuration options to start a CNI monitor

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig provides a default configuration

func SetupDefaultConfig

func SetupDefaultConfig(cniConfig *Config) *Config

SetupDefaultConfig adds defaults to a partial configuration

Jump to

Keyboard shortcuts

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