atmo

package
v0.0.0-test Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Discover2Monitor = 0
	Monitor2Protect  = 1
)
View Source
const (
	AllMode     = 0 // not used
	ProfileMode = 1
	PolicyMode  = 2
)

Variables

This section is empty.

Functions

func Init

func Init(timerWheel *utils.TimerWheel, test_cb testFunc, decision_cb decisionFunc) *automode_ctx

/

Types

type AutoModeHelper

type AutoModeHelper interface {
	ConfigureCompleteDuration(mover int, dComplete time.Duration)
	AddGroup(mover int, group string, modeType int) bool
	RemoveGroup(group string)
	Counts(mover int) int
	Enabled() (bool, bool)
	List(mover int) []string
	GetTheGroupType(group string) (int, string)
}

func GetAutoModeHelper

func GetAutoModeHelper() AutoModeHelper

Jump to

Keyboard shortcuts

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