com.fitbur.github.dockerjava.api.command.CopyFileFromContainerCmd Maven / Gradle / Ivy
package com.fitbur.github.dockerjava.api.com.fitburmand;
import java.io.InputStream;
import com.fitbur.github.dockerjava.api.NotFoundException;
public interface CopyFileFromContainerCmd extends SyncDockerCmd {
public String getContainerId();
public String getResource();
public CopyFileFromContainerCmd withContainerId(String containerId);
public CopyFileFromContainerCmd withResource(String resource);
public String getHostPath();
public CopyFileFromContainerCmd withHostPath(String hostPath);
/**
* Its the responsibility of the caller to consume and/or close the {@link InputStream} to prevent connection leaks.
*
* @throws NotFoundException
* No such container
*/
@Override
public InputStream exec() throws NotFoundException;
public static interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy