Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { EventMetadataExtractor extractors.EventMetadataExtractor Host bool }
Config is the configuration options to start a CNI monitor
func DefaultConfig ¶
DefaultConfig provides a default configuration
func SetupDefaultConfig ¶
SetupDefaultConfig adds defaults to a partial configuration
type WindowsMonitor ¶
type WindowsMonitor struct {
// contains filtered or unexported fields
}
WindowsMonitor hold state for the windows monitor
func New ¶
func New(context.Context) *WindowsMonitor
New returns a new implmentation of a monitor implmentation
func (*WindowsMonitor) Resync ¶
func (w *WindowsMonitor) Resync(ctx context.Context) error
Resync instructs the monitor to do a resync.
func (*WindowsMonitor) Run ¶
func (w *WindowsMonitor) Run(ctx context.Context) error
Run implements Implementation interface
func (*WindowsMonitor) SetupConfig ¶
func (w *WindowsMonitor) SetupConfig(registerer registerer.Registerer, cfg interface{}) error
SetupConfig sets up the config for the monitor
func (*WindowsMonitor) SetupHandlers ¶
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
Click to show internal directories.
Click to hide internal directories.