public interface PushImageCmd extends AsyncDockerCmd<PushImageCmd,PushResponseItem>
Modifier and Type | Interface and Description |
---|---|
static interface |
PushImageCmd.Exec |
Modifier and Type | Method and Description |
---|---|
<T extends ResultCallback<PushResponseItem>> |
exec(T resultCallback) |
AuthConfig |
getAuthConfig() |
String |
getName() |
String |
getTag() |
PushImageCmd |
withAuthConfig(AuthConfig authConfig) |
PushImageCmd |
withName(String name) |
PushImageCmd |
withTag(String tag) |
@CheckForNull AuthConfig getAuthConfig()
@CheckForNull String getName()
@CheckForNull String getTag()
PushImageCmd withName(@Nonnull String name)
name
- The name, e.g. "alexec/busybox" or just "busybox" if you want to default. Not null.PushImageCmd withTag(String tag)
tag
- The image's tag. Not null.PushImageCmd withAuthConfig(AuthConfig authConfig)
<T extends ResultCallback<PushResponseItem>> T exec(T resultCallback)
exec
in interface AsyncDockerCmd<PushImageCmd,PushResponseItem>
NotFoundException
- No such imageCopyright © 2016. All Rights Reserved.