trireme-lib: Index | Files

package windowsmonitor

import ""


Package Files

config.go monitor.go processor.go

type Config Uses

type Config struct {
    EventMetadataExtractor extractors.EventMetadataExtractor
    Host                   bool

Config is the configuration options to start a CNI monitor

func DefaultConfig Uses

func DefaultConfig(host bool) *Config

DefaultConfig provides a default configuration

func SetupDefaultConfig Uses

func SetupDefaultConfig(windowsConfig *Config) *Config

SetupDefaultConfig adds defaults to a partial configuration

type WindowsMonitor Uses

type WindowsMonitor struct {
    // contains filtered or unexported fields

WindowsMonitor hold state for the windows monitor

func New Uses

func New() *WindowsMonitor

New returns a new implmentation of a monitor implmentation

func (*WindowsMonitor) Resync Uses

func (w *WindowsMonitor) Resync(ctx context.Context) error

Resync instructs the monitor to do a resync.

func (*WindowsMonitor) Run Uses

func (w *WindowsMonitor) Run(ctx context.Context) error

Run implements Implementation interface

func (*WindowsMonitor) SetupConfig Uses

func (w *WindowsMonitor) SetupConfig(registerer registerer.Registerer, cfg interface{}) error

SetupConfig sets up the config for the monitor

func (*WindowsMonitor) SetupHandlers Uses

func (w *WindowsMonitor) SetupHandlers(m *config.ProcessorConfig)

SetupHandlers sets up handlers for monitors to invoke for various events such as processing unit events and synchronization events. This will be called before Start() by the consumer of the monitor

Package windowsmonitor imports 9 packages (graph). Updated 2020-03-26 with GOOS=windows. Refresh now. Tools for package owners.