/** * Instantiate with the image reference to tag the built image with. This is the name that shows * up on the Docker daemon. * * @param imageReference the image reference * @return a new {@link DockerDaemonImage} * @throws InvalidImageReferenceException if {@code imageReference} is not a valid image reference */ public static DockerDaemonImage Named(string imageReference) { return(Named(ImageReference.Parse(imageReference))); }
/** * Instantiate with the image reference to use. * * @param imageReference the image reference * @return a new {@link RegistryImage} * @throws InvalidImageReferenceException if {@code imageReference} is not a valid image reference */ public static RegistryImage Named(string imageReference) { return(Named(ImageReference.Parse(imageReference))); }
/** * Configures the output tarball archive with an image reference to set as its tag. * * @param imageReference the image reference * @return a {@link Builder} to finish constructing a new {@link TarImage} * @throws InvalidImageReferenceException if {@code imageReference} is not a valid image reference */ public static Builder Named(string imageReference) { return(Named(ImageReference.Parse(imageReference))); }