[−][src]Struct pachyderm::pps::PipelineInfo
Fields
id: String
pipeline: Option<Pipeline>
version: u64
transform: Option<Transform>
tf_job: Option<TfJob>
tf_job encodes a Kubeflow TFJob spec. Pachyderm uses this to create TFJobs when running in a kubernetes cluster on which kubeflow has been installed. Exactly one of 'tf_job' and 'transform' should be set
parallelism_spec: Option<ParallelismSpec>
hashtree_spec: Option<HashtreeSpec>
egress: Option<Egress>
created_at: Option<Timestamp>
state: i32
state indicates the current state of the pipeline. This is not stored in PFS along with the rest of this data structure--PPS.InspectPipeline fills it in
stopped: bool
same for stopped field
recent_error: String
workers_requested: i64
workers_available: i64
job_counts: HashMap<i32, i32>
job_counts and last_job_state indicates the number of jobs within this pipeline in a given state and the state of the most recently created job, respectively. This is not stored in PFS along with the rest of this data structure--PPS.InspectPipeline fills it in from the EtcdPipelineInfo.
last_job_state: i32
output_branch: String
resource_requests: Option<ResourceSpec>
resource_limits: Option<ResourceSpec>
sidecar_resource_limits: Option<ResourceSpec>
input: Option<Input>
description: String
cache_size: String
enable_stats: bool
salt: String
reason: String
reason includes any error messages associated with a failed pipeline
max_queue_size: i64
service: Option<Service>
spout: Option<Spout>
chunk_spec: Option<ChunkSpec>
datum_timeout: Option<Duration>
job_timeout: Option<Duration>
githook_url: String
spec_commit: Option<Commit>
standby: bool
datum_tries: i64
scheduling_spec: Option<SchedulingSpec>
pod_spec: String
pod_patch: String
s3_out: bool
metadata: Option<Metadata>
Implementations
impl PipelineInfo
[src]
pub fn state(&self) -> PipelineState
[src]
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
pub fn set_state(&mut self, value: PipelineState)
[src]
Sets state
to the provided enum value.
pub fn last_job_state(&self) -> JobState
[src]
Returns the enum value of last_job_state
, or the default if the field is set to an invalid enum value.
pub fn set_last_job_state(&mut self, value: JobState)
[src]
Sets last_job_state
to the provided enum value.
Trait Implementations
impl Clone for PipelineInfo
[src]
fn clone(&self) -> PipelineInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PipelineInfo
[src]
impl Default for PipelineInfo
[src]
fn default() -> PipelineInfo
[src]
impl Message for PipelineInfo
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<PipelineInfo> for PipelineInfo
[src]
fn eq(&self, other: &PipelineInfo) -> bool
[src]
fn ne(&self, other: &PipelineInfo) -> bool
[src]
impl StructuralPartialEq for PipelineInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for PipelineInfo
impl Send for PipelineInfo
impl Sync for PipelineInfo
impl Unpin for PipelineInfo
impl UnwindSafe for PipelineInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,