コード例 #1
0
 public void pushImage(
     String dockerServer,
     String imageName,
     String registryAccount,
     boolean forceTagging,
     boolean keepTaggedImage) {
   selectImage(dockerServer, imageName);
   new ContextMenu("Push...").select();
   new WaitUntil(new ShellWithTextIsAvailable("Push Image"), TimePeriod.NORMAL);
   Combo combo = new DefaultCombo();
   combo.setSelection(registryAccount);
   new CheckBox("Force tagging image with selected registry").toggle(forceTagging);
   new CheckBox("Keep tagged image upon completion").toggle(keepTaggedImage);
   new FinishButton().click();
 }
コード例 #2
0
 public void addTagToImage(String serverName, String imageName, String newTag) {
   selectImage(serverName, imageName);
   new ContextMenu("Add Tag").select();
   new LabeledText("New Tag:").setText(newTag);
   new FinishButton().click();
 }
コード例 #3
0
 public void openImageHierarchy(String dockerServer, String imageName) {
   selectImage(dockerServer, imageName);
   new ContextMenu("Open Image Hierarchy").select();
 }