[−][src]Struct k8_client::metadata::DoNothingClient
Trait Implementations
impl MetadataClient for DoNothingClient
[src]
type MetadataClientError = DoNothingError
fn retrieve_item<'life0, 'life1, 'async_trait, S, M>(
&'life0 self,
_metadata: &'life1 M
) -> Pin<Box<dyn Future<Output = Result<K8Obj<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
M: K8Meta + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
K8Obj<S>: DeserializeOwned,
DoNothingClient: 'async_trait,
[src]
&'life0 self,
_metadata: &'life1 M
) -> Pin<Box<dyn Future<Output = Result<K8Obj<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
M: K8Meta + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
K8Obj<S>: DeserializeOwned,
DoNothingClient: 'async_trait,
fn retrieve_items_with_option<'life0, 'async_trait, S, N>(
&'life0 self,
_namespace: N,
_option: Option<ListArg>
) -> Pin<Box<dyn Future<Output = Result<K8List<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
N: Into<NameSpace> + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
DoNothingClient: 'async_trait,
[src]
&'life0 self,
_namespace: N,
_option: Option<ListArg>
) -> Pin<Box<dyn Future<Output = Result<K8List<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
N: Into<NameSpace> + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
DoNothingClient: 'async_trait,
fn retrieve_items_in_chunks<'a, S, N>(
self: Arc<DoNothingClient>,
_namespace: N,
_limit: u32,
_option: Option<ListArg>
) -> Pin<Box<dyn Stream<Item = K8List<S>> + 'a + Send>> where
N: Into<NameSpace> + Send + Sync + 'static,
S: Spec + 'static,
[src]
self: Arc<DoNothingClient>,
_namespace: N,
_limit: u32,
_option: Option<ListArg>
) -> Pin<Box<dyn Stream<Item = K8List<S>> + 'a + Send>> where
N: Into<NameSpace> + Send + Sync + 'static,
S: Spec + 'static,
fn delete_item<'life0, 'life1, 'async_trait, S, M>(
&'life0 self,
_metadata: &'life1 M
) -> Pin<Box<dyn Future<Output = Result<K8Status, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
M: K8Meta + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
DoNothingClient: 'async_trait,
[src]
&'life0 self,
_metadata: &'life1 M
) -> Pin<Box<dyn Future<Output = Result<K8Status, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
M: K8Meta + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
DoNothingClient: 'async_trait,
fn create_item<'life0, 'async_trait, S>(
&'life0 self,
_value: K8SpecObj<S, InputObjectMeta>
) -> Pin<Box<dyn Future<Output = Result<K8Obj<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
S: Spec + Send + 'async_trait,
K8SpecObj<S, InputObjectMeta>: Serialize,
K8SpecObj<S, InputObjectMeta>: Debug,
K8Obj<S>: DeserializeOwned,
DoNothingClient: 'async_trait,
[src]
&'life0 self,
_value: K8SpecObj<S, InputObjectMeta>
) -> Pin<Box<dyn Future<Output = Result<K8Obj<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
S: Spec + Send + 'async_trait,
K8SpecObj<S, InputObjectMeta>: Serialize,
K8SpecObj<S, InputObjectMeta>: Debug,
K8Obj<S>: DeserializeOwned,
DoNothingClient: 'async_trait,
fn update_status<'life0, 'life1, 'async_trait, S>(
&'life0 self,
_value: &'life1 UpdateK8ObjStatus<S>
) -> Pin<Box<dyn Future<Output = Result<K8Obj<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
S: Spec + Send + Sync + 'async_trait,
UpdateK8ObjStatus<S>: Serialize,
UpdateK8ObjStatus<S>: Debug,
K8Obj<S>: DeserializeOwned,
<S as Spec>::Status: Send,
<S as Spec>::Status: Sync,
DoNothingClient: 'async_trait,
[src]
&'life0 self,
_value: &'life1 UpdateK8ObjStatus<S>
) -> Pin<Box<dyn Future<Output = Result<K8Obj<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
S: Spec + Send + Sync + 'async_trait,
UpdateK8ObjStatus<S>: Serialize,
UpdateK8ObjStatus<S>: Debug,
K8Obj<S>: DeserializeOwned,
<S as Spec>::Status: Send,
<S as Spec>::Status: Sync,
DoNothingClient: 'async_trait,
fn patch_spec<'life0, 'life1, 'life2, 'async_trait, S, M>(
&'life0 self,
_metadata: &'life1 M,
_patch: &'life2 Value
) -> Pin<Box<dyn Future<Output = Result<K8Obj<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
M: K8Meta + Display + Send + Sync + 'async_trait,
S: Spec + Send + 'async_trait,
K8Obj<S>: DeserializeOwned,
DoNothingClient: 'async_trait,
[src]
&'life0 self,
_metadata: &'life1 M,
_patch: &'life2 Value
) -> Pin<Box<dyn Future<Output = Result<K8Obj<S>, <DoNothingClient as MetadataClient>::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
M: K8Meta + Display + Send + Sync + 'async_trait,
S: Spec + Send + 'async_trait,
K8Obj<S>: DeserializeOwned,
DoNothingClient: 'async_trait,
fn watch_stream_since<S, N>(
&self,
_namespace: N,
_resource_version: Option<String>
) -> Pin<Box<dyn Stream<Item = Result<Vec<Result<K8Watch<S>, <DoNothingClient as MetadataClient>::MetadataClientError>>, <DoNothingClient as MetadataClient>::MetadataClientError>> + Send>> where
N: Into<NameSpace>,
S: Spec + Send + 'static,
K8Watch<S>: DeserializeOwned,
<S as Spec>::Header: Send,
<S as Spec>::Header: 'static,
<S as Spec>::Status: Send,
<S as Spec>::Status: 'static,
[src]
&self,
_namespace: N,
_resource_version: Option<String>
) -> Pin<Box<dyn Stream<Item = Result<Vec<Result<K8Watch<S>, <DoNothingClient as MetadataClient>::MetadataClientError>>, <DoNothingClient as MetadataClient>::MetadataClientError>> + Send>> where
N: Into<NameSpace>,
S: Spec + Send + 'static,
K8Watch<S>: DeserializeOwned,
<S as Spec>::Header: Send,
<S as Spec>::Header: 'static,
<S as Spec>::Status: Send,
<S as Spec>::Status: 'static,
#[must_use]fn retrieve_items<'life0, 'async_trait, S, N>(
&'life0 self,
namespace: N
) -> Pin<Box<dyn Future<Output = Result<K8List<S>, Self::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
N: Into<NameSpace> + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
namespace: N
) -> Pin<Box<dyn Future<Output = Result<K8List<S>, Self::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
N: Into<NameSpace> + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
Self: 'async_trait,
#[must_use]fn apply<'life0, 'async_trait, S>(
&'life0 self,
value: K8SpecObj<S, InputObjectMeta>
) -> Pin<Box<dyn Future<Output = Result<ApplyResult<S>, Self::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
S: Spec + 'async_trait,
Self: 'async_trait,
Self::MetadataClientError: From<Error>,
Self::MetadataClientError: From<DiffError>,
Self::MetadataClientError: Send,
[src]
&'life0 self,
value: K8SpecObj<S, InputObjectMeta>
) -> Pin<Box<dyn Future<Output = Result<ApplyResult<S>, Self::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
S: Spec + 'async_trait,
Self: 'async_trait,
Self::MetadataClientError: From<Error>,
Self::MetadataClientError: From<DiffError>,
Self::MetadataClientError: Send,
fn watch_stream_now<S>(
&self,
ns: String
) -> Pin<Box<dyn Stream<Item = Result<Vec<Result<K8Watch<S>, Self::MetadataClientError>>, Self::MetadataClientError>> + Send>> where
S: Spec + 'static,
[src]
&self,
ns: String
) -> Pin<Box<dyn Stream<Item = Result<Vec<Result<K8Watch<S>, Self::MetadataClientError>>, Self::MetadataClientError>> + Send>> where
S: Spec + 'static,
#[must_use]fn exists<'life0, 'life1, 'async_trait, S, M>(
&'life0 self,
metadata: &'life1 M
) -> Pin<Box<dyn Future<Output = Result<bool, Self::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
M: K8Meta + Display + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
metadata: &'life1 M
) -> Pin<Box<dyn Future<Output = Result<bool, Self::MetadataClientError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
M: K8Meta + Display + Send + Sync + 'async_trait,
S: Spec + 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl RefUnwindSafe for DoNothingClient
impl Send for DoNothingClient
impl Sync for DoNothingClient
impl Unpin for DoNothingClient
impl UnwindSafe for DoNothingClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,