runtime

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: Apache-2.0 Imports: 19 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(log logr.Logger) (*RuntimeMonitor, error)

func (*RuntimeMonitor) AddModellerChs added in v0.5.5

func (monitor *RuntimeMonitor) AddModellerChs(profileName string, ch chan uint32)

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) DeleteModellerChs added in v0.5.5

func (monitor *RuntimeMonitor) DeleteModellerChs(profileName string)

func (*RuntimeMonitor) IsMonitoring

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

func (*RuntimeMonitor) Run

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

func (*RuntimeMonitor) SetTaskNotifyChs added in v0.5.5

func (monitor *RuntimeMonitor) SetTaskNotifyChs(
	createCh chan varmortypes.ContainerInfo,
	deleteCh chan varmortypes.ContainerInfo,
	deleteSynCh chan bool)

Jump to

Keyboard shortcuts

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