pub struct DockerRetryConfig {
pub attempts: Option<u32>,
pub delay: Option<String>,
pub max_delay: Option<String>,
}Expand description
Per-pipe retry configuration for docker.retry / docker_manifest.retry.
Deprecated: prefer the top-level retry: block (super::RetryConfig)
which applies to docker pipes (and every other network-bound stage) via
Project.Retry. When a per-pipe block is present alongside the top-level
block, the per-pipe values win for back-compat, but
stage-docker::resolve_retry_params emits a one-shot deprecation warning.
New configs should leave this field unset.
Fields§
§attempts: Option<u32>Number of retry attempts for failed docker push operations
(default: 10, set in crates/stage-docker/src/lib.rs::resolve_retry_settings).
delay: Option<String>Duration string for the initial retry delay (default: "10s").
Examples: "1s", "500ms".
max_delay: Option<String>Maximum delay between retries (default: "5m"). Caps the exponential
backoff so attempt-9 with a 10s base does not stretch to ~42 min.
Example: "30s".
Trait Implementations§
Source§impl Clone for DockerRetryConfig
impl Clone for DockerRetryConfig
Source§fn clone(&self) -> DockerRetryConfig
fn clone(&self) -> DockerRetryConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DockerRetryConfig
impl Debug for DockerRetryConfig
Source§impl Default for DockerRetryConfig
impl Default for DockerRetryConfig
Source§fn default() -> DockerRetryConfig
fn default() -> DockerRetryConfig
Source§impl<'de> Deserialize<'de> for DockerRetryConfigwhere
DockerRetryConfig: Default,
impl<'de> Deserialize<'de> for DockerRetryConfigwhere
DockerRetryConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for DockerRetryConfig
impl JsonSchema for DockerRetryConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more