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
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
ServiceRegistrationStarted
Service registration is about to begin
OverlaySetupStarted
Overlay network setup is about to begin
ProxySetupStarted
Proxy setup is about to begin
StabilizationProgress
Periodic stabilization progress update
Fields
ImagePullStarted
Image pull is about to begin
ImagePullComplete
Image pull completed
ServiceUpToDate
Re-deploy detected no digest drift; service is up-to-date and skipped
ServiceRecreating
Re-deploy detected drift; service is being recreated
Fields
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more