All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dockerjava.api.command.PullImageCmd Maven / Gradle / Ivy

There is a newer version: 3.4.1
Show newest version
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