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 |
getPlatform() |
String |
getRepository() |
String |
getTag() |
CreateImageCmdImpl |
withImageStream(InputStream imageStream) |
CreateImageCmd |
withPlatform(String platform) |
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 String getPlatform()
getPlatform 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 imagepublic CreateImageCmd withPlatform(String platform)
withPlatform in interface CreateImageCmdCopyright © 2025. All rights reserved.