agent_check v0.2.0 AgentCheck.GlobalState

Link to this section Summary

Functions

Get the entire state struct

Call maint callback

Set a new state

Update the capacity and reschedule it every 10 seconds

Link to this section Functions

Link to this function default_capacity()

Get the entire state struct

Call maint callback

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 update_capacity_loop()

Update the capacity and reschedule it every 10 seconds