MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / getImage

Method getImage

java/src/org/openqa/selenium/docker/Docker.java:58–66  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

56 }
57
58 public Image getImage(String name) {
59 Require.nonNull("Image name to get", name);
60
61 LOG.info("Obtaining image: " + name);
62
63 return getDocker()
64 .map(protocol -> protocol.getImage(name))
65 .orElseThrow(() -> new DockerException("Unable to get image " + name));
66 }
67
68 public Container create(ContainerConfig config) {
69 Require.nonNull("Container config", config);

Callers 1

Calls 5

nonNullMethod · 0.95
getDockerMethod · 0.95
getImageMethod · 0.65
infoMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected