[][src]Struct fluvio_sc::dispatcher::dispatcher::K8WSUpdateService

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 as Spec>::Status: PartialEq<<S as Spec>::Status>,
    <S as Spec>::Status: Display,
    <S as Spec>::Status: Into<<<S as K8ExtendedSpec>::K8Spec as Spec>::Status>,
    <S as Spec>::IndexKey: Display,
    <S as K8ExtendedSpec>::K8Spec: DeserializeOwned,
    <S as K8ExtendedSpec>::K8Spec: Serialize,
    <S as K8ExtendedSpec>::K8Spec: Send,
    <S as K8ExtendedSpec>::K8Spec: Sync
[src]

pub fn new(client: Arc<C>) -> K8WSUpdateService<C, S>[src]

pub async fn apply(
    &'_ self,
    value: MetadataStoreObject<S, K8MetaItem>
) -> Result<(), <C as MetadataClient>::MetadataClientError>
[src]

add/update

pub async fn update_status(
    &'_ self,
    metadata: K8MetaItem,
    status: <S as Spec>::Status
) -> Result<K8Obj<<S as K8ExtendedSpec>::K8Spec>, <C as MetadataClient>::MetadataClientError>
[src]

only update the status

pub async fn update_spec(
    &'_ self,
    metadata: K8MetaItem,
    spec: S
) -> Result<(), <C as MetadataClient>::MetadataClientError>
[src]

update spec only

pub async fn delete(
    &'_ self,
    meta: K8MetaItem
) -> Result<(), <C as MetadataClient>::MetadataClientError>
[src]

pub async fn final_delete(
    &'_ self,
    meta: K8MetaItem
) -> Result<(), <C as MetadataClient>::MetadataClientError>
[src]

Auto Trait Implementations

impl<C, S> RefUnwindSafe for K8WSUpdateService<C, S> where
    C: RefUnwindSafe,
    S: RefUnwindSafe
[src]

impl<C, S> Send for K8WSUpdateService<C, S> where
    C: Send + Sync,
    S: Send
[src]

impl<C, S> Sync for K8WSUpdateService<C, S> where
    C: Send + Sync,
    S: Sync
[src]

impl<C, S> Unpin for K8WSUpdateService<C, S> where
    S: Unpin
[src]

impl<C, S> UnwindSafe for K8WSUpdateService<C, S> where
    C: RefUnwindSafe,
    S: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]