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>
impl<'a> Clone for ReadNamespacedBuildLogOptional<'a>
Source§fn clone(&self) -> ReadNamespacedBuildLogOptional<'a>
fn clone(&self) -> ReadNamespacedBuildLogOptional<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more