[][src]Struct openshift_openapi::api::build::v1::ReadNamespacedBuildLogOptional

pub struct ReadNamespacedBuildLogOptional<'a> {
    pub container: Option<&'a str>,
    pub follow: Option<bool>,
    pub limit_bytes: Option<i64>,
    pub nowait: Option<bool>,
    pub pretty: Option<&'a str>,
    pub previous: Option<bool>,
    pub since_seconds: Option<i64>,
    pub tail_lines: Option<i64>,
    pub timestamps: Option<bool>,
    pub version: Option<i64>,
}

Optional parameters of BuildLog::read_namespaced_build_log

Fields

container: Option<&'a str>

cointainer for which to stream logs. Defaults to only container if there is one container in the pod.

follow: Option<bool>

follow if true indicates that the build log should be streamed until the build terminates.

limit_bytes: Option<i64>

limitBytes, If set, is the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.

nowait: Option<bool>

noWait if true causes the call to return immediately even if the build is not available yet. Otherwise the server will wait until the build has started.

pretty: Option<&'a str>

If 'true', then the output is pretty printed.

previous: Option<bool>

previous returns previous build logs. Defaults to false.

since_seconds: Option<i64>

sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.

tail_lines: Option<i64>

tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime

timestamps: Option<bool>

timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.

version: Option<i64>

version of the build for which to view logs.

Trait Implementations

impl<'a> Clone for ReadNamespacedBuildLogOptional<'a>[src]

impl<'a> Copy for ReadNamespacedBuildLogOptional<'a>[src]

impl<'a> Debug for ReadNamespacedBuildLogOptional<'a>[src]

impl<'a> Default for ReadNamespacedBuildLogOptional<'a>[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, U> Into<U> for T where
    U: From<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.