public interface CopyOrReadable
| Modifier and Type | Method and Description |
|---|---|
boolean |
copy(Path destination) |
InputStream |
read() |
boolean |
upload(InputStream inputStream)
Upload file extracted from provided InputStream to Pod
|
boolean |
upload(Path path)
Upload file located at specified
Path to Pod |
CopyOrReadable |
withReadyWaitTimeout(Integer timeout)
How long to wait for a ready or terminal pod before performing the copy or read operation.
|
boolean upload(Path path)
Path to Podpath - path of the file which needs to be uploadedboolean upload(InputStream inputStream)
inputStream - InputStream which will be uploadedInputStream read()
boolean copy(Path destination)
CopyOrReadable withReadyWaitTimeout(Integer timeout)
timeout - in millisecondsCopyright © 2015–2023 Red Hat. All rights reserved.