pub struct Kibana { /* private fields */ }Expand description
The Kibana client. API groups are reached through namespace methods such as
security, each returning request builders.
Cloning a client or selecting a space shares the transport and its connection pool.
Implementations§
Source§impl Kibana
impl Kibana
pub fn new(transport: Transport) -> Self
pub fn transport(&self) -> &Transport
Sourcepub fn space(&self, id: impl Into<String>) -> Result<Self>
pub fn space(&self, id: impl Into<String>) -> Result<Self>
A client whose space-scoped routes use /s/{id}. Global routes are unchanged.
This selects a space without contacting Kibana or creating the space.
Empty IDs, dot segments and IDs containing / return Error::Configuration.
pub fn default_space(&self) -> Self
pub fn space_id(&self) -> Option<&str>
pub fn security(&self) -> Security<'_>
pub fn exceptions(&self) -> Exceptions<'_>
pub fn cases(&self) -> Cases<'_>
pub fn fleet(&self) -> Fleet<'_>
pub fn spaces(&self) -> Spaces<'_>
pub fn roles(&self) -> Roles<'_>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Kibana
impl !UnwindSafe for Kibana
impl Freeze for Kibana
impl Send for Kibana
impl Sync for Kibana
impl Unpin for Kibana
impl UnsafeUnpin for Kibana
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more