pub struct RealKubeClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl KubeClient for RealKubeClient
impl KubeClient for RealKubeClient
fn get_configmap<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
namespace: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ConfigMap>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_configmap<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
cm: &'life1 ConfigMap,
namespace: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn patch_configmap<'a, 'async_trait>(
&'a self,
name: &'a str,
namespace: &'a str,
patch: &'a Patch<&'a Value>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
fn delete_configmap<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
namespace: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_pod<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
pod: &'life1 Value,
namespace: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_pod<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
namespace: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_resource<'life0, 'life1, 'async_trait>(
&'life0 self,
resource: &'life1 ResourceInfo,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for RealKubeClient
impl !UnwindSafe for RealKubeClient
impl Freeze for RealKubeClient
impl Send for RealKubeClient
impl Sync for RealKubeClient
impl Unpin for RealKubeClient
impl UnsafeUnpin for RealKubeClient
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more