runtime

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeMonitor

type RuntimeMonitor struct {
	// contains filtered or unexported fields
}

func NewRuntimeMonitor

func NewRuntimeMonitor(
	createCh chan varmortypes.ContainerInfo,
	deleteCh chan varmortypes.ContainerInfo,
	deleteSynCh chan bool,
	log logr.Logger) (*RuntimeMonitor, error)

func (*RuntimeMonitor) Close

func (monitor *RuntimeMonitor) Close()

func (*RuntimeMonitor) CollectExistingTargetContainers

func (monitor *RuntimeMonitor) CollectExistingTargetContainers() error

CollectExistingTargetContainers collects all existing containers that should be protected and sends them to the enforcer

func (*RuntimeMonitor) IsMonitoring

func (monitor *RuntimeMonitor) IsMonitoring() (bool, error)

func (*RuntimeMonitor) Run

func (monitor *RuntimeMonitor) Run(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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