Skip to main content
Source

pub async fn admin_offline( &self, offline: bool, ) -> Result<AdminOfflineResponse, KineticaError>

Take the system offline

Take the system offline. When the system is offline, no user operations can be performed with the exception of a system shutdown.

  • offline - Set to true if desired state is offline.

Take the system offline

Take the system offline. When the system is offline, no user operations can be performed with the exception of a system shutdown.

  • offline - Set to true if desired state is offline.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built AdminOfflineRequest to the /admin/offline endpoint.

Sends a pre-built AdminOfflineRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.