pub struct PodClient { /* private fields */ }Implementations§
Source§impl PodClient
impl PodClient
pub fn new(api_client: ApiClient) -> Self
pub async fn create_pod( &self, namespace: &str, pod: Value, ) -> Result<Value, Error>
pub async fn get_pod(&self, namespace: &str, name: &str) -> Result<Value, Error>
pub async fn list_pods(&self, namespace: &str) -> Result<Value, Error>
pub async fn update_pod( &self, namespace: &str, name: &str, pod: Value, ) -> Result<Value, Error>
pub async fn delete_pod(&self, namespace: &str, name: &str) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for PodClient
impl !RefUnwindSafe for PodClient
impl Send for PodClient
impl Sync for PodClient
impl Unpin for PodClient
impl !UnwindSafe for PodClient
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