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
Click to show internal directories.
Click to hide internal directories.