com.github.dockerjava.api.command.PullImageCmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.model.AuthConfig;
import java.io.InputStream;
/**
*
* Pull image from repository.
*
*/
public interface PullImageCmd extends DockerCmd{
public String getRepository();
public String getTag();
public String getRegistry();
public AuthConfig getAuthConfig();
public PullImageCmd withRepository(String repository);
public PullImageCmd withTag(String tag);
public PullImageCmd withRegistry(String registry);
public PullImageCmd withAuthConfig(AuthConfig authConfig);
public static interface Exec extends DockerCmdExec {
}
/**
* Its the responsibility of the caller to consume and/or close the {@link InputStream} to prevent
* connection leaks.
*/
@Override
public InputStream exec();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy