Skip to main content

DeploymentProgressEvent

Enum DeploymentProgressEvent 

Source
pub enum DeploymentProgressEvent {
Show 21 variants Started { deployment: String, services: Vec<String>, }, ServiceRegistered { service: String, }, ServiceRegistrationFailed { service: String, error: String, }, OverlayCreated { service: String, interface: String, }, OverlayFailed { service: String, error: String, }, ProxyConfigured { service: String, }, ProxyFailed { service: String, error: String, }, ServiceScaling { service: String, target: u32, }, ServiceScaled { service: String, replicas: u32, }, ServiceScaleFailed { service: String, error: String, }, Stabilizing, ServiceRegistrationStarted { service: String, }, OverlaySetupStarted { service: String, }, ProxySetupStarted { service: String, }, StabilizationProgress { service: String, replicas_running: u32, target: u32, }, ImagePullStarted { image: String, }, ImagePullComplete { image: String, digest: String, }, ServiceUpToDate { service: String, digest: String, }, ServiceRecreating { service: String, old_digest: String, new_digest: String, }, Ready, Failed { message: String, },
}
Expand description

Deployment progress event sent over SSE during orchestration.

Variants§

§

Started

Deployment orchestration has started

Fields

§deployment: String

Deployment name

§services: Vec<String>

List of services being deployed

§

ServiceRegistered

A service was successfully registered with the service manager

Fields

§service: String

Service name

§

ServiceRegistrationFailed

A service failed to register

Fields

§service: String

Service name

§error: String

Error message

§

OverlayCreated

Overlay network created for a service

Fields

§service: String

Service name

§interface: String

Network interface name

§

OverlayFailed

Overlay creation failed (non-fatal)

Fields

§service: String

Service name

§error: String

Error message

§

ProxyConfigured

Proxy routes configured for a service

Fields

§service: String

Service name

§

ProxyFailed

Proxy configuration failed (non-fatal)

Fields

§service: String

Service name

§error: String

Error message

§

ServiceScaling

Service scaling has started

Fields

§service: String

Service name

§target: u32

Target replica count

§

ServiceScaled

Service successfully scaled

Fields

§service: String

Service name

§replicas: u32

Number of replicas running

§

ServiceScaleFailed

Service scaling failed

Fields

§service: String

Service name

§error: String

Error message

§

Stabilizing

Waiting for stabilization

§

ServiceRegistrationStarted

Service registration is about to begin

Fields

§service: String

Service name

§

OverlaySetupStarted

Overlay network setup is about to begin

Fields

§service: String

Service name

§

ProxySetupStarted

Proxy setup is about to begin

Fields

§service: String

Service name

§

StabilizationProgress

Periodic stabilization progress update

Fields

§service: String

Service name

§replicas_running: u32

Number of replicas currently running

§target: u32

Target replica count

§

ImagePullStarted

Image pull is about to begin

Fields

§image: String

Image reference

§

ImagePullComplete

Image pull completed

Fields

§image: String

Image reference

§digest: String

Resolved image digest

§

ServiceUpToDate

Re-deploy detected no digest drift; service is up-to-date and skipped

Fields

§service: String

Service name

§digest: String

Image digest

§

ServiceRecreating

Re-deploy detected drift; service is being recreated

Fields

§service: String

Service name

§old_digest: String

Previous image digest

§new_digest: String

New image digest

§

Ready

Deployment is ready and running

§

Failed

Deployment failed

Fields

§message: String

Error message describing the failure

Trait Implementations§

Source§

impl Clone for DeploymentProgressEvent

Source§

fn clone(&self) -> DeploymentProgressEvent

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DeploymentProgressEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<DeploymentProgressEvent> for DeploymentEventWrapper

Source§

fn from(event: DeploymentProgressEvent) -> Self

Converts to this type from the input type.
Source§

impl Serialize for DeploymentProgressEvent

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<C> SignWithKey<String> for C
where C: ToBase64,

Source§

impl<T> ToBase64 for T
where T: Serialize,

Source§

fn to_base64(&self) -> Result<Cow<'_, str>, Error>

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more