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