Package io.fabric8.kubernetes.client.dsl
Interface LogWatch
-
- All Superinterfaces:
AutoCloseable,Closeable
public interface LogWatch extends Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close the Watch.InputStreamgetOutput()Returns theInputStreamfor the log watch.CompletionStage<Throwable>onClose()Returns aCompletionStagereleased when the log stream is closed.
-
-
-
Method Detail
-
getOutput
InputStream getOutput()
Returns theInputStreamfor the log watch. If anOutputStreamwas passed in, will be null- Returns:
- the
InputStreamwhich must be read completely or closed
-
onClose
CompletionStage<Throwable> onClose()
Returns aCompletionStagereleased when the log stream is closed. If the stream is closed due to an exception (cf onFailure), this exception will be passed as parameter, null otherwise- Returns:
- a
CompletionStagereleased when the log stream is closed
-
close
void close()
Close the Watch.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-