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 org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.model.AuthConfig;
import com.github.dockerjava.api.model.PullResponseItem;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
*
* Pull image from repository.
*
*/
public interface PullImageCmd extends AsyncDockerCmd {
@CheckForNull
String getRepository();
@CheckForNull
String getTag();
@CheckForNull
String getPlatform();
@CheckForNull
String getRegistry();
@CheckForNull
AuthConfig getAuthConfig();
PullImageCmd withRepository(@Nonnull String repository);
PullImageCmd withTag(String tag);
/**
* @since {@link com.github.dockerjava.core.RemoteApiVersion#VERSION_1_32}
*/
PullImageCmd withPlatform(String tag);
PullImageCmd withRegistry(String registry);
PullImageCmd withAuthConfig(AuthConfig authConfig);
interface Exec extends DockerCmdAsyncExec {
}
}