Class S2iUtils
- java.lang.Object
-
- io.quarkus.container.image.s2i.deployment.S2iUtils
-
public class S2iUtils extends Object
This class is copied from Dekorate, with the difference that thewaitForImageStreamTagsmethod take a client as the argument TODO: Update dekorate to take the client as an argument and then remove this class
-
-
Constructor Summary
Constructors Constructor Description S2iUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanwaitForImageStreamTags(io.fabric8.openshift.client.OpenShiftClient client, Collection<io.fabric8.kubernetes.api.model.HasMetadata> items, long amount, TimeUnit timeUnit)Wait for the references ImageStreamTags to become available.
-
-
-
Method Detail
-
waitForImageStreamTags
public static boolean waitForImageStreamTags(io.fabric8.openshift.client.OpenShiftClient client, Collection<io.fabric8.kubernetes.api.model.HasMetadata> items, long amount, TimeUnit timeUnit)Wait for the references ImageStreamTags to become available.- Parameters:
client- The openshift client used to check the status of the ImageStreamitems- A list of items, possibly referencing image stream tags.amount- The max amount of time to wait.timeUnit- The time unit of the time to wait.- Returns:
- True if the items became available false otherwise.
-
-