public class Copy extends Exec
| Constructor and Description |
|---|
Copy()
Simple Copy constructor, uses default configuration
|
Copy(io.kubernetes.client.ApiClient apiClient)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyDirectoryFromPod(String namespace,
String pod,
String srcPath,
Path destination) |
void |
copyDirectoryFromPod(String namespace,
String pod,
String container,
String srcPath,
Path destination) |
void |
copyDirectoryFromPod(io.kubernetes.client.models.V1Pod pod,
String srcPath,
Path destination) |
void |
copyDirectoryFromPod(io.kubernetes.client.models.V1Pod pod,
String container,
String srcPath,
Path destination) |
InputStream |
copyFileFromPod(String namespace,
String pod,
String srcPath) |
static void |
copyFileFromPod(String namespace,
String pod,
String srcPath,
Path dest) |
InputStream |
copyFileFromPod(String namespace,
String pod,
String container,
String srcPath) |
void |
copyFileFromPod(String namespace,
String name,
String container,
String srcPath,
Path destination) |
InputStream |
copyFileFromPod(io.kubernetes.client.models.V1Pod pod,
String srcPath) |
InputStream |
copyFileFromPod(io.kubernetes.client.models.V1Pod pod,
String container,
String srcPath) |
exec, exec, exec, exec, exec, exec, getApiClient, setApiClientpublic Copy()
public Copy(io.kubernetes.client.ApiClient apiClient)
apiClient - The api client to use.public InputStream copyFileFromPod(String namespace, String pod, String srcPath) throws io.kubernetes.client.ApiException, IOException
io.kubernetes.client.ApiExceptionIOExceptionpublic InputStream copyFileFromPod(io.kubernetes.client.models.V1Pod pod, String srcPath) throws io.kubernetes.client.ApiException, IOException
io.kubernetes.client.ApiExceptionIOExceptionpublic InputStream copyFileFromPod(io.kubernetes.client.models.V1Pod pod, String container, String srcPath) throws io.kubernetes.client.ApiException, IOException
io.kubernetes.client.ApiExceptionIOExceptionpublic InputStream copyFileFromPod(String namespace, String pod, String container, String srcPath) throws io.kubernetes.client.ApiException, IOException
io.kubernetes.client.ApiExceptionIOExceptionpublic void copyFileFromPod(String namespace, String name, String container, String srcPath, Path destination) throws io.kubernetes.client.ApiException, IOException
io.kubernetes.client.ApiExceptionIOExceptionpublic void copyDirectoryFromPod(io.kubernetes.client.models.V1Pod pod,
String srcPath,
Path destination)
throws io.kubernetes.client.ApiException,
IOException
io.kubernetes.client.ApiExceptionIOExceptionpublic void copyDirectoryFromPod(io.kubernetes.client.models.V1Pod pod,
String container,
String srcPath,
Path destination)
throws io.kubernetes.client.ApiException,
IOException
io.kubernetes.client.ApiExceptionIOExceptionpublic void copyDirectoryFromPod(String namespace, String pod, String srcPath, Path destination) throws io.kubernetes.client.ApiException, IOException
io.kubernetes.client.ApiExceptionIOExceptionpublic void copyDirectoryFromPod(String namespace, String pod, String container, String srcPath, Path destination) throws io.kubernetes.client.ApiException, IOException
io.kubernetes.client.ApiExceptionIOExceptionpublic static void copyFileFromPod(String namespace, String pod, String srcPath, Path dest) throws io.kubernetes.client.ApiException, IOException
io.kubernetes.client.ApiExceptionIOExceptionCopyright © 2018. All rights reserved.