Package io.github.cdklabs.projen.gitlab
Interface Image
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Image.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.121Z") @Stability(Experimental) public interface Image extends software.amazon.jsii.JsiiSerializable
(experimental) Specifies the docker image to use for the job or globally for all jobs.Job configuration takes precedence over global setting. Requires a certain kind of Gitlab runner executor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classImage.BuilderA builder forImagestatic classImage.Jsii$ProxyAn implementation forImage
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static Image.Builderbuilder()default List<Object>getEntrypoint()(experimental) Command or script that should be executed as the container's entrypoint.StringgetName()(experimental) Full name of the image that should be used.
-
-
-
Method Detail
-
getName
@Stability(Experimental) @NotNull String getName()
(experimental) Full name of the image that should be used.It should contain the Registry part if needed.
-
getEntrypoint
@Stability(Experimental) @Nullable default List<Object> getEntrypoint()
(experimental) Command or script that should be executed as the container's entrypoint.It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array.
-
builder
@Stability(Experimental) static Image.Builder builder()
- Returns:
- a
Image.BuilderofImage
-
-