forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPullImageCmd.java
More file actions
46 lines (32 loc) · 1020 Bytes
/
Copy pathPullImageCmd.java
File metadata and controls
46 lines (32 loc) · 1020 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
45
46
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.model.AuthConfig;
import com.github.dockerjava.api.model.PullResponseItem;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
*
* Pull image from repository.
*
*/
public interface PullImageCmd extends AsyncDockerCmd<PullImageCmd, PullResponseItem> {
@CheckForNull
String getRepository();
@CheckForNull
String getTag();
@CheckForNull
String getPlatform();
@CheckForNull
String getRegistry();
@CheckForNull
AuthConfig getAuthConfig();
PullImageCmd withRepository(@Nonnull String repository);
PullImageCmd withTag(String tag);
/**
* @since {@link com.github.dockerjava.core.RemoteApiVersion#VERSION_1_32}
*/
PullImageCmd withPlatform(String tag);
PullImageCmd withRegistry(String registry);
PullImageCmd withAuthConfig(AuthConfig authConfig);
interface Exec extends DockerCmdAsyncExec<PullImageCmd, PullResponseItem> {
}
}