public interface IPodLogRetrieval extends ICapability
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getLogs(boolean follow,
IBinaryCapability.OpenShiftBinaryOption... options)
Return the logs from the pod, optionally following them.
|
InputStream |
getLogs(boolean follow,
String container,
IBinaryCapability.OpenShiftBinaryOption... options)
Return the logs from the pod, optionally following them
|
void |
stop()
Stop retrieving logs for all containers
|
void |
stop(String container)
Stop retrieving logs for a specific container
|
getName, isSupportedInputStream getLogs(boolean follow, IBinaryCapability.OpenShiftBinaryOption... options)
follow - true if following. Default: falseoptions - the options to pass to the underlying oc commandInputStream getLogs(boolean follow, String container, IBinaryCapability.OpenShiftBinaryOption... options)
follow - true; if following, Default: falsecontainer - the name of the container in the pod to get logs uses the first
container if emptyoptions - the options to pass to the underlying oc commandvoid stop()
void stop(String container)
container - the name of the containerCopyright © 2019 Red Hat, Inc. All Rights Reserved.