Struct fluvio_stream_dispatcher::dispatcher::K8WSUpdateService [−][src]
pub struct K8WSUpdateService<C, S> { /* fields omitted */ }
Implementations
impl<C, S> K8WSUpdateService<C, S> where
C: MetadataClient,
S: K8ExtendedSpec + Into<<S as K8ExtendedSpec>::K8Spec>,
<S as Spec>::Owner: K8ExtendedSpec,
S::Status: PartialEq + Display + Into<<<S as K8ExtendedSpec>::K8Spec as K8Spec>::Status>,
S::IndexKey: Display,
<S as K8ExtendedSpec>::K8Spec: DeserializeOwned + Serialize + Send + Sync,
impl<C, S> K8WSUpdateService<C, S> where
C: MetadataClient,
S: K8ExtendedSpec + Into<<S as K8ExtendedSpec>::K8Spec>,
<S as Spec>::Owner: K8ExtendedSpec,
S::Status: PartialEq + Display + Into<<<S as K8ExtendedSpec>::K8Spec as K8Spec>::Status>,
S::IndexKey: Display,
<S as K8ExtendedSpec>::K8Spec: DeserializeOwned + Serialize + Send + Sync,
pub async fn apply(
&self,
value: MetadataStoreObject<S, K8MetaItem>
) -> Result<(), C::MetadataClientError>
pub async fn apply(
&self,
value: MetadataStoreObject<S, K8MetaItem>
) -> Result<(), C::MetadataClientError>
add/update
pub async fn update_status(
&self,
metadata: K8MetaItem,
status: S::Status
) -> Result<K8Obj<S::K8Spec>, C::MetadataClientError>
pub async fn update_status(
&self,
metadata: K8MetaItem,
status: S::Status
) -> Result<K8Obj<S::K8Spec>, C::MetadataClientError>
only update the status
pub async fn update_spec(
&self,
metadata: K8MetaItem,
spec: S
) -> Result<(), C::MetadataClientError>
pub async fn update_spec(
&self,
metadata: K8MetaItem,
spec: S
) -> Result<(), C::MetadataClientError>
update spec only
Auto Trait Implementations
impl<C, S> RefUnwindSafe for K8WSUpdateService<C, S> where
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<C, S> Send for K8WSUpdateService<C, S> where
C: Send + Sync,
S: Send,
impl<C, S> Sync for K8WSUpdateService<C, S> where
C: Send + Sync,
S: Sync,
impl<C, S> Unpin for K8WSUpdateService<C, S> where
S: Unpin,
impl<C, S> UnwindSafe for K8WSUpdateService<C, S> where
C: RefUnwindSafe,
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more