pub enum DeploymentProgressEvent {
Show 13 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,
Ready,
Failed {
message: String,
},
}Expand description
Deployment progress event sent over SSE during orchestration.
Variants§
Started
Deployment orchestration has started
ServiceRegistered
A service was successfully registered with the service manager
ServiceRegistrationFailed
A service failed to register
OverlayCreated
Overlay network created for a service
OverlayFailed
Overlay creation failed (non-fatal)
ProxyConfigured
Proxy routes configured for a service
ProxyFailed
Proxy configuration failed (non-fatal)
ServiceScaling
Service scaling has started
ServiceScaled
Service successfully scaled
ServiceScaleFailed
Service scaling failed
Stabilizing
Waiting for stabilization
Ready
Deployment is ready and running
Failed
Deployment failed
Trait Implementations§
Source§impl Clone for DeploymentProgressEvent
impl Clone for DeploymentProgressEvent
Source§fn clone(&self) -> DeploymentProgressEvent
fn clone(&self) -> DeploymentProgressEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeploymentProgressEvent
impl Debug for DeploymentProgressEvent
Source§impl From<DeploymentProgressEvent> for DeploymentEventWrapper
impl From<DeploymentProgressEvent> for DeploymentEventWrapper
Source§fn from(event: DeploymentProgressEvent) -> Self
fn from(event: DeploymentProgressEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeploymentProgressEvent
impl RefUnwindSafe for DeploymentProgressEvent
impl Send for DeploymentProgressEvent
impl Sync for DeploymentProgressEvent
impl Unpin for DeploymentProgressEvent
impl UnsafeUnpin for DeploymentProgressEvent
impl UnwindSafe for DeploymentProgressEvent
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