Documentation ¶
Index ¶
- type RuntimeMonitor
- func (monitor *RuntimeMonitor) AddModellerChs(profileName string, ch chan uint32)
- func (monitor *RuntimeMonitor) Close()
- func (monitor *RuntimeMonitor) CollectExistingTargetContainers() error
- func (monitor *RuntimeMonitor) DeleteModellerChs(profileName string)
- func (monitor *RuntimeMonitor) IsMonitoring() (bool, error)
- func (monitor *RuntimeMonitor) Run(stopCh <-chan struct{})
- func (monitor *RuntimeMonitor) SetTaskNotifyChs(createCh chan varmortypes.ContainerInfo, ...)
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)
Click to show internal directories.
Click to hide internal directories.