public class Copy extends Exec
Exec.ExecProcess, Exec.ExecutionBuilder| Constructor and Description |
|---|
Copy()
Simple Copy constructor, uses default configuration
|
Copy(io.kubernetes.client.openapi.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.openapi.models.V1Pod pod,
String srcPath,
Path destination) |
void |
copyDirectoryFromPod(io.kubernetes.client.openapi.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.openapi.models.V1Pod pod,
String srcPath) |
InputStream |
copyFileFromPod(io.kubernetes.client.openapi.models.V1Pod pod,
String container,
String srcPath) |
void |
copyFileToPod(String namespace,
String pod,
String container,
Path srcPath,
Path destPath) |
exec, exec, exec, exec, exec, exec, getApiClient, newExecutionBuilder, setApiClientpublic Copy()
public Copy(io.kubernetes.client.openapi.ApiClient apiClient)
apiClient - The api client to use.public InputStream copyFileFromPod(String namespace, String pod, String srcPath) throws io.kubernetes.client.openapi.ApiException, IOException
io.kubernetes.client.openapi.ApiExceptionIOExceptionpublic InputStream copyFileFromPod(io.kubernetes.client.openapi.models.V1Pod pod, String srcPath) throws io.kubernetes.client.openapi.ApiException, IOException
io.kubernetes.client.openapi.ApiExceptionIOExceptionpublic InputStream copyFileFromPod(io.kubernetes.client.openapi.models.V1Pod pod, String container, String srcPath) throws io.kubernetes.client.openapi.ApiException, IOException
io.kubernetes.client.openapi.ApiExceptionIOExceptionpublic InputStream copyFileFromPod(String namespace, String pod, String container, String srcPath) throws io.kubernetes.client.openapi.ApiException, IOException
io.kubernetes.client.openapi.ApiExceptionIOExceptionpublic void copyFileFromPod(String namespace, String name, String container, String srcPath, Path destination) throws io.kubernetes.client.openapi.ApiException, IOException
io.kubernetes.client.openapi.ApiExceptionIOExceptionpublic void copyDirectoryFromPod(io.kubernetes.client.openapi.models.V1Pod pod,
String srcPath,
Path destination)
throws io.kubernetes.client.openapi.ApiException,
IOException,
CopyNotSupportedException
io.kubernetes.client.openapi.ApiExceptionIOExceptionCopyNotSupportedExceptionpublic void copyDirectoryFromPod(io.kubernetes.client.openapi.models.V1Pod pod,
String container,
String srcPath,
Path destination)
throws io.kubernetes.client.openapi.ApiException,
IOException,
CopyNotSupportedException
io.kubernetes.client.openapi.ApiExceptionIOExceptionCopyNotSupportedExceptionpublic void copyDirectoryFromPod(String namespace, String pod, String srcPath, Path destination) throws io.kubernetes.client.openapi.ApiException, IOException, CopyNotSupportedException
io.kubernetes.client.openapi.ApiExceptionIOExceptionCopyNotSupportedExceptionpublic void copyDirectoryFromPod(String namespace, String pod, String container, String srcPath, Path destination) throws io.kubernetes.client.openapi.ApiException, IOException, CopyNotSupportedException
io.kubernetes.client.openapi.ApiExceptionIOExceptionCopyNotSupportedExceptionpublic static void copyFileFromPod(String namespace, String pod, String srcPath, Path dest) throws io.kubernetes.client.openapi.ApiException, IOException
io.kubernetes.client.openapi.ApiExceptionIOExceptionpublic void copyFileToPod(String namespace, String pod, String container, Path srcPath, Path destPath) throws io.kubernetes.client.openapi.ApiException, IOException
io.kubernetes.client.openapi.ApiExceptionIOExceptionCopyright © 2020. All rights reserved.