| 1234567891011121314151617 |
- package cn.seecoder.api.docker;
- import com.spotify.docker.client.ProgressHandler;
- import com.spotify.docker.client.messages.Image;
- import java.util.List;
- public interface DockerApi {
- void buildAndPush(String directory, String imageName, String imageTag, ProgressHandler handler) throws Exception;
- void buildAndPush(String directory, String imageName, String imageTag) throws Exception;
- List<Image> listImage();
- void delete(String imageId) throws Exception;
- }
|