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.
Source
pub async fn admin_offline_with_opts( &self, offline: bool, options: AdminOfflineRequestOptions, ) -> 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.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn admin_offline_raw( &self, request: &AdminOfflineRequest, ) -> Result<AdminOfflineResponse, KineticaError>
Sends a pre-built AdminOfflineRequest to the /admin/offline endpoint.
Source
pub async fn admin_offline_from_url( &self, url: &str, request: &AdminOfflineRequest, ) -> Result<AdminOfflineResponse, KineticaError>
Sends a pre-built AdminOfflineRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.