Package io.fabric8.kubernetes.client.dsl
Interface CopyOrReadable
-
public interface CopyOrReadable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancopy(Path destination)InputStreamread()booleanupload(InputStream inputStream)Upload file extracted from provided InputStream to Podbooleanupload(Path path)Upload file located at specifiedPathto PodCopyOrReadablewithReadyWaitTimeout(Integer timeout)How long to wait for a ready or terminal pod before performing the copy or read operation.
-
-
-
Method Detail
-
upload
boolean upload(Path path)
Upload file located at specifiedPathto Pod- Parameters:
path- path of the file which needs to be uploaded- Returns:
- boolean value regarding upload was successful or not.
-
upload
boolean upload(InputStream inputStream)
Upload file extracted from provided InputStream to Pod- Parameters:
inputStream-InputStreamwhich will be uploaded- Returns:
- boolean value regarding upload was successful or not.
-
read
InputStream read()
-
copy
boolean copy(Path destination)
-
withReadyWaitTimeout
CopyOrReadable withReadyWaitTimeout(Integer timeout)
How long to wait for a ready or terminal pod before performing the copy or read operation.- Parameters:
timeout- in milliseconds
-
-