Documentation ¶
Overview ¶
Agent state machine from Elkeid Add some trivial limitation
Index ¶
Constants ¶
View Source
const ( HADES_HOME = "/etc/hades/" HADES_PIDPATH = "/var/run/" HADES_LOGHOME = "/var/log/hades/" HADES_MACHINE_ID = HADES_HOME + "machine-id" )
View Source
const (
Product = "hades-agent"
)
Variables ¶
View Source
var ( Version string // compile time added Context, Cancel = context.WithCancel(context.Background()) Workdir, _ = os.Getwd() ID string )
View Source
var ( Hostname atomic.Value PrivateIPv4 atomic.Value PublicIPv4 atomic.Value PrivateIPv6 atomic.Value PublicIPv6 atomic.Value )
View Source
var Controller = filepath.Join(HADES_HOME, "hadesctl")
Functions ¶
func SetAbnormal ¶
func SetAbnormal(err string)
func SetRunning ¶
func SetRunning()
Types ¶
Click to show internal directories.
Click to hide internal directories.