/** * 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) throws InvalidImageReferenceException { 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) throws InvalidImageReferenceException { return named(ImageReference.parse(imageReference)); }
/** * 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) throws InvalidImageReferenceException { 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) throws InvalidImageReferenceException { return named(ImageReference.parse(imageReference)); }
/** * 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) throws InvalidImageReferenceException { 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) throws InvalidImageReferenceException { return named(ImageReference.parse(imageReference)); }
/** * 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) throws InvalidImageReferenceException { 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) throws InvalidImageReferenceException { 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) throws InvalidImageReferenceException { return named(ImageReference.parse(imageReference)); }
final JibContainerBuilder builder = Jib.from(ImageReference.parse(fromImage)); builder .setCreationTime(creationTime == null || creationTime.trim().isEmpty() ? Instant.now()
Preconditions.checkArgument(rawConfiguration.getToImage().isPresent()); ImageReference targetImageReference = ImageReference.parse(rawConfiguration.getToImage().get()); RegistryImage targetImage = RegistryImage.named(targetImageReference);
Preconditions.checkArgument(rawConfiguration.getToImage().isPresent()); ImageReference targetImageReference = ImageReference.parse(rawConfiguration.getToImage().get()); RegistryImage targetImage = RegistryImage.named(targetImageReference);
ImageReference.parse(getBaseImage(rawConfiguration, projectProperties));
ImageReference.parse(getBaseImage(rawConfiguration, projectProperties));