com.fitbur.github.dockerjava.api.command.SaveImageCmd Maven / Gradle / Ivy
package com.fitbur.github.dockerjava.api.com.fitburmand;
import java.io.InputStream;
import com.fitbur.github.dockerjava.api.NotFoundException;
public interface SaveImageCmd extends SyncDockerCmd {
public String getName();
public String getTag();
/**
* @param name
* The name, e.g. "alexec/busybox" or just "busybox" if you want to com.fitburfault. Not null.
*/
public SaveImageCmd withName(String name);
/**
* @param tag
* The image's tag. Not null.
*/
public SaveImageCmd withTag(String tag);
/**
* Its the responsibility of the caller to consume and/or close the {@link InputStream} to prevent connection leaks.
*
* @throws com.fitbur.github.dockerjava.api.NotFoundException
* No such image
*/
public InputStream exec() throws NotFoundException;
public static interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy