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

com.fitbur.github.dockerjava.api.command.CreateImageCmd Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.fitbur.github.dockerjava.api.com.fitburmand;

import java.io.InputStream;

public interface CreateImageCmd extends SyncDockerCmd {

    public String getRepository();

    // TODO remove method
    public String getTag();

    public InputStream getImageStream();

    /**
     * @param repository
     *            the repository to import to
     */
    public CreateImageCmd withRepository(String repository);

    /**
     * @param imageStream
     *            the InputStream of the tar file
     */
    public CreateImageCmd withImageStream(InputStream imageStream);

    /**
     * @param tag
     *            any tag for this image
     * @com.fitburprecated use repo:tag format for repository
     */
    public CreateImageCmd withTag(String tag);

    public static interface Exec extends DockerCmdSyncExec {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy