[][src]Enum pachyderm::pps::PipelineState

#[repr(i32)]pub enum PipelineState {
    PipelineStarting,
    PipelineRunning,
    PipelineRestarting,
    PipelineFailure,
    PipelinePaused,
    PipelineStandby,
    PipelineCrashing,
}

Variants

PipelineStarting

There is an EtcdPipelineInfo + spec commit, but no RC This happens when a pipeline has been created but not yet picked up by a PPS server.

PipelineRunning

A pipeline has a spec commit and a service + RC This is the normal state of a pipeline.

PipelineRestarting

Equivalent to STARTING (there is an EtcdPipelineInfo + commit, but no RC) After some error caused runPipeline to exit, but before the pipeline is re-run. This is when the exponential backoff is in effect.

PipelineFailure

The pipeline has encountered unrecoverable errors and is no longer being retried. It won't leave this state until the pipeline is updated.

PipelinePaused

The pipeline has been explicitly paused by the user (the pipeline spec's Stopped field should be true if the pipeline is in this state)

PipelineStandby

The pipeline is fully functional, but there are no commits to process.

PipelineCrashing

The pipeline's workers are crashing, or failing to come up, this may resolve itself, the pipeline may make progress while in this state if the problem is only being experienced by some workers.

Implementations

impl PipelineState[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of PipelineState.

pub fn from_i32(value: i32) -> Option<PipelineState>[src]

Converts an i32 to a PipelineState, or None if value is not a valid variant.

Trait Implementations

impl Clone for PipelineState[src]

impl Copy for PipelineState[src]

impl Debug for PipelineState[src]

impl Default for PipelineState[src]

impl Eq for PipelineState[src]

impl From<PipelineState> for i32[src]

impl Hash for PipelineState[src]

impl Ord for PipelineState[src]

impl PartialEq<PipelineState> for PipelineState[src]

impl PartialOrd<PipelineState> for PipelineState[src]

impl StructuralEq for PipelineState[src]

impl StructuralPartialEq for PipelineState[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]