public class PushImageCmdImpl extends AbstrAsyncDockerCmd<PushImageCmd,PushResponseItem> implements PushImageCmd
PushImageCmd.Execexecution| Constructor and Description |
|---|
PushImageCmdImpl(PushImageCmd.Exec exec,
String name) |
| Modifier and Type | Method and Description |
|---|---|
AuthConfig |
getAuthConfig() |
String |
getName() |
String |
getTag() |
PushImageCmd |
withAuthConfig(AuthConfig authConfig) |
PushImageCmd |
withName(String name) |
PushImageCmd |
withTag(String tag) |
close, execclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecpublic PushImageCmdImpl(PushImageCmd.Exec exec, String name)
public String getName()
getName in interface PushImageCmdpublic String getTag()
getTag in interface PushImageCmdpublic PushImageCmd withName(String name)
withName in interface PushImageCmdname - The name, e.g. "alexec/busybox" or just "busybox" if you want to default. Not null.public PushImageCmd withTag(String tag)
withTag in interface PushImageCmdtag - The image's tag. Can be null or empty.public AuthConfig getAuthConfig()
getAuthConfig in interface PushImageCmdpublic PushImageCmd withAuthConfig(AuthConfig authConfig)
withAuthConfig in interface PushImageCmdCopyright © 2017. All Rights Reserved.