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
44 lines (31 loc) · 883 Bytes
/
Copy pathTagImageCmd.java
File metadata and controls
44 lines (31 loc) · 883 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
36
37
38
39
40
41
42
43
44
package com.github.dockerjava.api.command;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
* 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 SyncDockerCmd<Void> {
@CheckForNull
String getImageId();
@CheckForNull
String getRepository();
@CheckForNull
String getTag();
@CheckForNull
Boolean hasForceEnabled();
TagImageCmd withImageId(@Nonnull String imageId);
TagImageCmd withRepository(String repository);
TagImageCmd withTag(String tag);
TagImageCmd withForce();
TagImageCmd withForce(Boolean force);
interface Exec extends DockerCmdSyncExec<TagImageCmd, Void> {
}
}