runtime

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 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) AddTaskNotifyChs added in v0.6.0

func (monitor *RuntimeMonitor) AddTaskNotifyChs(
	subscriber string,
	startCh *chan varmortypes.ContainerInfo,
	deleteCh *chan varmortypes.ContainerInfo,
	deleteSynCh *chan bool)

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 subscribers

func (*RuntimeMonitor) DeleteTaskNotifyChs added in v0.6.0

func (monitor *RuntimeMonitor) DeleteTaskNotifyChs(subscriber string)

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