behavior

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BehaviorModeller

type BehaviorModeller struct {
	ModellerStopCh chan bool
	// contains filtered or unexported fields
}

func NewBehaviorModeller

func NewBehaviorModeller(
	tracer *varmortracer.Tracer,
	monitor *varmormonitor.RuntimeMonitor,
	nodeName string,
	namespace string,
	name string,
	enforcer string,
	startTime time.Time,
	duration time.Duration,
	stopCh <-chan struct{},
	managerIP string,
	managerPort int,
	classifierPort int,
	debug bool,
	log logr.Logger) *BehaviorModeller

func (*BehaviorModeller) IsModeling

func (modeller *BehaviorModeller) IsModeling() bool

func (*BehaviorModeller) PreprocessAndSendBehaviorData

func (modeller *BehaviorModeller) PreprocessAndSendBehaviorData()

func (*BehaviorModeller) Run

func (modeller *BehaviorModeller) Run()

func (*BehaviorModeller) UpdateDuration

func (modeller *BehaviorModeller) UpdateDuration(duration time.Duration)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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