
org.testifyproject.github.dockerjava.api.command.CreateImageCmd Maven / Gradle / Ivy
package org.testifyproject.testifyproject.github.dockerjava.api.org.testifyproject.testifyprojectmand;
import java.org.testifyproject.testifyproject.InputStream;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
public interface CreateImageCmd extends SyncDockerCmd {
@CheckForNull
String getRepository();
@CheckForNull
String getTag();
@CheckForNull
InputStream getImageStream();
/**
* @param repository
* the repository to import to
*/
CreateImageCmd withRepository(@Nonnull String repository);
/**
* @param imageStream
* the InputStream of the tar file
*/
CreateImageCmd withImageStream(InputStream imageStream);
/**
* @param tag
* any tag for this image
* @org.testifyproject.testifyprojectprecated use repo:tag format for repository
*/
CreateImageCmd withTag(String tag);
interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy