[][src]Struct pachyderm::pps::GetLogsRequest

pub struct GetLogsRequest {
    pub pipeline: Option<Pipeline>,
    pub job: Option<Job>,
    pub data_filters: Vec<String>,
    pub datum: Option<Datum>,
    pub master: bool,
    pub follow: bool,
    pub tail: i64,
    pub use_loki_backend: bool,
}

Fields

pipeline: Option<Pipeline>

The pipeline from which we want to get logs (required if the job in 'job' was created as part of a pipeline. To get logs from a non-orphan job without the pipeline that created it, you need to use ElasticSearch).

job: Option<Job>

The job from which we want to get logs.

data_filters: Vec<String>

Names of input files from which we want processing logs. This may contain multiple files, to query pipelines that contain multiple inputs. Each filter may be an absolute path of a file within a pps repo, or it may be a hash for that file (to search for files at specific versions)

datum: Option<Datum>master: bool

If true get logs from the master process

follow: bool

Continue to follow new logs as they become available.

tail: i64

If nonzero, the number of lines from the end of the logs to return. Note: tail applies per container, so you will get tail * total lines back.

use_loki_backend: bool

UseLokiBackend causes the logs request to go through the loki backend rather than through kubernetes. This behavior can also be achieved by setting the LOKI_LOGGING feature flag.

Trait Implementations

impl Clone for GetLogsRequest[src]

impl Debug for GetLogsRequest[src]

impl Default for GetLogsRequest[src]

impl Message for GetLogsRequest[src]

impl PartialEq<GetLogsRequest> for GetLogsRequest[src]

impl StructuralPartialEq for GetLogsRequest[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<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]