forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTagImageCmd.java
More file actions
35 lines (22 loc) · 737 Bytes
/
Copy pathTagImageCmd.java
File metadata and controls
35 lines (22 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.github.dockerjava.api.command;
/**
* Tag an image into a repository
*
* @param image The local image to tag (either a name or an id)
* @param repository The repository to tag in
* @param force (not documented)
*
*/
public interface TagImageCmd extends DockerCmd<Void> {
public String getImageId();
public String getRepository();
public String getTag();
public boolean hasForceEnabled();
public TagImageCmd withImageId(String imageId);
public TagImageCmd withRepository(String repository);
public TagImageCmd withTag(String tag);
public TagImageCmd withForce();
public TagImageCmd withForce(boolean force);
public static interface Exec extends DockerCmdExec<TagImageCmd, Void> {
}
}