agent_check v0.2.5 AgentCheck.GlobalState
Link to this section Summary
Functions
Get the entire state struct
Call maint callback after 10 seconds
Set a new state
Update the capacity and reschedule it every 10 seconds
Link to this section Functions
Link to this function
default_capacity()
Link to this function
down()
Link to this function
drain()
Link to this function
get_stats()
Get the entire state struct
Link to this function
maint()
Call maint callback after 10 seconds
Link to this function
ready()
Link to this function
set_state(new_state)
Set a new state
Link to this function
start_link(capacity_callback, maint_callback)
Link to this function
stop(reason)
Link to this function
update_capacity_loop()
Update the capacity and reschedule it every 10 seconds