public class CreateImageCmdImpl extends AbstrDockerCmd<CreateImageCmd,CreateImageResponse> implements CreateImageCmd
CreateImageCmd.Execexecution| Constructor and Description |
|---|
CreateImageCmdImpl(CreateImageCmd.Exec exec,
String repository,
InputStream imageStream) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getImageStream() |
String |
getRepository() |
String |
getTag() |
CreateImageCmdImpl |
withImageStream(InputStream imageStream) |
CreateImageCmdImpl |
withRepository(String repository) |
CreateImageCmdImpl |
withTag(String tag) |
close, exec, registryAuth, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexecpublic CreateImageCmdImpl(CreateImageCmd.Exec exec, String repository, InputStream imageStream)
repository - the repository to import toimageStream - the InputStream of the tar filepublic String getRepository()
getRepository in interface CreateImageCmdpublic String getTag()
getTag in interface CreateImageCmdpublic InputStream getImageStream()
getImageStream in interface CreateImageCmdpublic CreateImageCmdImpl withRepository(String repository)
withRepository in interface CreateImageCmdrepository - the repository to import topublic CreateImageCmdImpl withImageStream(InputStream imageStream)
withImageStream in interface CreateImageCmdimageStream - the InputStream of the tar filepublic CreateImageCmdImpl withTag(String tag)
withTag in interface CreateImageCmdtag - any tag for this imageCopyright © 2017. All Rights Reserved.