public interface ContainerResource extends TtyExecOutputErrorable, TimestampBytesLimitTerminateTimeTailPrettyLoggable
| Modifier and Type | Method and Description |
|---|---|
CopyOrReadable |
dir(String path) |
CopyOrReadable |
file(String path) |
TtyExecOutputErrorable |
readingInput(InputStream in)
Deprecated.
use redirectingInput and the resulting
ExecWatch.getOutput() with
InputStream#transferTo(java.io.OutputStream) on JDK 9+
or
InputStreamPumper.transferTo(InputStream, io.fabric8.kubernetes.client.utils.InputStreamPumper.Writable) |
TtyExecOutputErrorable |
redirectingInput()
Will provide an
OutputStream via ExecWatch.getInput() with the
default buffer size. |
TtyExecOutputErrorable |
redirectingInput(Integer bufferSize)
Will provide an
OutputStream via ExecWatch.getInput() with the
given buffer size. |
ContainerResource |
withReadyWaitTimeout(Integer timeout)
How long to wait for the pod to be ready or terminal before performing an operation, such as
getting the logs, exec, attach, copy, etc.
|
redirectingOutput, writingOutputredirectingError, terminateOnError, writingErrorredirectingErrorChannel, writingErrorChannelwithTTYusingListenerusingTimestampslimitBytes, terminatedsinceSeconds, sinceTimetailingLineswithPrettyOutputgetLog, getLog, getLogInputStream, getLogReader, watchLog, watchLog, withLogWaitTimeout@Deprecated TtyExecOutputErrorable readingInput(InputStream in)
ExecWatch.getOutput() with
InputStream#transferTo(java.io.OutputStream) on JDK 9+
or
InputStreamPumper.transferTo(InputStream, io.fabric8.kubernetes.client.utils.InputStreamPumper.Writable)in - the InputStreamTtyExecOutputErrorable redirectingInput()
OutputStream via ExecWatch.getInput() with the
default buffer size.TtyExecOutputErrorable redirectingInput(Integer bufferSize)
OutputStream via ExecWatch.getInput() with the
given buffer size.bufferSize - if null will use the defaultCopyOrReadable file(String path)
CopyOrReadable dir(String path)
ContainerResource withReadyWaitTimeout(Integer timeout)
withReadyWaitTimeout in interface ExecablewithReadyWaitTimeout in interface Loggabletimeout - in millisecondsLoggable for fetching logsCopyright © 2015–2023 Red Hat. All rights reserved.