public interface PushImageCmd extends DockerCmd<PushImageCmd.Response>
Modifier and Type | Interface and Description |
---|---|
static interface |
PushImageCmd.Exec |
static class |
PushImageCmd.Response |
Modifier and Type | Method and Description |
---|---|
PushImageCmd.Response |
exec() |
AuthConfig |
getAuthConfig() |
String |
getName() |
String |
getTag() |
PushImageCmd |
withAuthConfig(AuthConfig authConfig) |
PushImageCmd |
withName(String name) |
PushImageCmd |
withTag(String tag) |
String getName()
String getTag()
PushImageCmd withName(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.AuthConfig getAuthConfig()
PushImageCmd withAuthConfig(AuthConfig authConfig)
PushImageCmd.Response exec() throws NotFoundException
exec
in interface DockerCmd<PushImageCmd.Response>
NotFoundException
- No such imageCopyright © 2015. All Rights Reserved.