uidmonitor

package
v6.26.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: GPL-2.0 Imports: 18 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
}

Config is the configuration options to start a CNI monitor

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig provides default configuration for uid monitor

func SetupDefaultConfig

func SetupDefaultConfig(uidConfig *Config) *Config

SetupDefaultConfig adds defaults to a partial configuration

type StoredContext

type StoredContext struct {
	MarkVal   string
	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