public interface CreateImageCmd extends SyncDockerCmd<CreateImageResponse>
Modifier and Type | Interface and Description |
---|---|
static interface |
CreateImageCmd.Exec |
Modifier and Type | Method and Description |
---|---|
InputStream |
getImageStream() |
String |
getPlatform() |
String |
getRepository() |
String |
getTag() |
CreateImageCmd |
withImageStream(InputStream imageStream) |
CreateImageCmd |
withPlatform(String platform) |
CreateImageCmd |
withRepository(String repository) |
CreateImageCmd |
withTag(String tag)
Deprecated.
use repo:tag format for repository
|
exec
@CheckForNull String getRepository()
@CheckForNull String getTag()
@CheckForNull String getPlatform()
@CheckForNull InputStream getImageStream()
CreateImageCmd withRepository(@Nonnull String repository)
repository
- the repository to import toCreateImageCmd withImageStream(InputStream imageStream)
imageStream
- the InputStream of the tar fileCreateImageCmd withTag(String tag)
tag
- any tag for this imageCreateImageCmd withPlatform(String platform)
platform
- the platform for this imageCopyright © 2021. All rights reserved.