Struct ReadNamespacedBuildLogOptional

Source
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>,
}
Expand description

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§

Source§

impl<'a> Clone for ReadNamespacedBuildLogOptional<'a>

Source§

fn clone(&self) -> ReadNamespacedBuildLogOptional<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for ReadNamespacedBuildLogOptional<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for ReadNamespacedBuildLogOptional<'a>

Source§

fn default() -> ReadNamespacedBuildLogOptional<'a>

Returns the “default value” for a type. Read more
Source§

impl<'a> Copy for ReadNamespacedBuildLogOptional<'a>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ErasedDestructor for T
where T: 'static,