com.github.dockerjava.client.command
Class DefaultCommandFactory
java.lang.Object
com.github.dockerjava.client.command.DefaultCommandFactory
- All Implemented Interfaces:
- CommandFactory
public class DefaultCommandFactory
- extends Object
- implements CommandFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCommandFactory
public DefaultCommandFactory()
attachContainerCmd
public AttachContainerCmd attachContainerCmd(String containerId)
- Specified by:
attachContainerCmd
in interface CommandFactory
authCmd
public AuthCmd authCmd(AuthConfig authConfig)
- Specified by:
authCmd
in interface CommandFactory
buildImgCmd
public BuildImgCmd buildImgCmd(File dockerFolder)
- Specified by:
buildImgCmd
in interface CommandFactory
buildImgCmd
public BuildImgCmd buildImgCmd(InputStream tarInputStream)
- Specified by:
buildImgCmd
in interface CommandFactory
commitCmd
public CommitCmd commitCmd(String containerId)
- Specified by:
commitCmd
in interface CommandFactory
containerDiffCmd
public ContainerDiffCmd containerDiffCmd(String containerId)
- Specified by:
containerDiffCmd
in interface CommandFactory
copyFileFromContainerCmd
public CopyFileFromContainerCmd copyFileFromContainerCmd(String containerId,
String resource)
- Specified by:
copyFileFromContainerCmd
in interface CommandFactory
createContainerCmd
public CreateContainerCmd createContainerCmd(String image)
- Specified by:
createContainerCmd
in interface CommandFactory
importImageCmd
public ImportImageCmd importImageCmd(String repository,
InputStream imageStream)
- Specified by:
importImageCmd
in interface CommandFactory
infoCmd
public InfoCmd infoCmd()
- Specified by:
infoCmd
in interface CommandFactory
inspectContainerCmd
public InspectContainerCmd inspectContainerCmd(String containerId)
- Specified by:
inspectContainerCmd
in interface CommandFactory
inspectImageCmd
public InspectImageCmd inspectImageCmd(String imageId)
- Specified by:
inspectImageCmd
in interface CommandFactory
killContainerCmd
public KillContainerCmd killContainerCmd(String containerId)
- Specified by:
killContainerCmd
in interface CommandFactory
listContainersCmd
public ListContainersCmd listContainersCmd()
- Specified by:
listContainersCmd
in interface CommandFactory
listImagesCmd
public ListImagesCmd listImagesCmd()
- Specified by:
listImagesCmd
in interface CommandFactory
logContainerCmd
public LogContainerCmd logContainerCmd(String containerId)
- Specified by:
logContainerCmd
in interface CommandFactory
pauseContainerCmd
public PauseContainerCmd pauseContainerCmd(String containerId)
- Specified by:
pauseContainerCmd
in interface CommandFactory
pullImageCmd
public PullImageCmd pullImageCmd(String repository)
- Specified by:
pullImageCmd
in interface CommandFactory
pushImageCmd
public PushImageCmd pushImageCmd(String imageName)
- Specified by:
pushImageCmd
in interface CommandFactory
removeContainerCmd
public RemoveContainerCmd removeContainerCmd(String containerId)
- Specified by:
removeContainerCmd
in interface CommandFactory
removeImageCmd
public RemoveImageCmd removeImageCmd(String imageId)
- Specified by:
removeImageCmd
in interface CommandFactory
restartContainerCmd
public RestartContainerCmd restartContainerCmd(String containerId)
- Specified by:
restartContainerCmd
in interface CommandFactory
searchImagesCmd
public SearchImagesCmd searchImagesCmd(String searchTerm)
- Specified by:
searchImagesCmd
in interface CommandFactory
startContainerCmd
public StartContainerCmd startContainerCmd(String containerId)
- Specified by:
startContainerCmd
in interface CommandFactory
stopContainerCmd
public StopContainerCmd stopContainerCmd(String containerId)
- Specified by:
stopContainerCmd
in interface CommandFactory
tagImageCmd
public TagImageCmd tagImageCmd(String imageId,
String repository,
String tag)
- Specified by:
tagImageCmd
in interface CommandFactory
topContainerCmd
public TopContainerCmd topContainerCmd(String containerId)
- Specified by:
topContainerCmd
in interface CommandFactory
unpauseContainerCmd
public UnpauseContainerCmd unpauseContainerCmd(String containerId)
- Specified by:
unpauseContainerCmd
in interface CommandFactory
versionCmd
public VersionCmd versionCmd()
- Specified by:
versionCmd
in interface CommandFactory
waitContainerCmd
public WaitContainerCmd waitContainerCmd(String containerId)
- Specified by:
waitContainerCmd
in interface CommandFactory
pingCmd
public PingCmd pingCmd()
- Specified by:
pingCmd
in interface CommandFactory
Copyright © 2014. All rights reserved.