Package io.github.cdklabs.projen.gitlab
Class Service.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.gitlab.Service.Jsii$Proxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.gitlab.Service
Service.Builder, Service.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(Service.Builder builder)Constructor that initializes the object based on literal property values passed by theService.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetAlias()(experimental) Additional alias that can be used to access the service from the job's container.List<String>getCommand()(experimental) Command or script that should be used as the container's command.List<String>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.List<PullPolicy>getPullPolicy()(experimental) The pull policy that the runner uses to fetch the Docker image.Map<String,String>getVariables()(experimental) Additional environment variables that are passed exclusively to the service..inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(Service.Builder builder)
Constructor that initializes the object based on literal property values passed by theService.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:Service(experimental) Full name of the image that should be used.It should contain the Registry part if needed.
-
getAlias
public final String getAlias()
Description copied from interface:Service(experimental) Additional alias that can be used to access the service from the job's container.Read Accessing the services for more information.
-
getCommand
public final List<String> getCommand()
Description copied from interface:Service(experimental) Command or script that should be used as the container's command.It will be translated to arguments passed to Docker after the image's name. The syntax is similar to Dockerfile's CMD directive, where each shell token is a separate string in the array.
- Specified by:
getCommandin interfaceService
-
getEntrypoint
public final List<String> getEntrypoint()
Description copied from interface:Service(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.
- Specified by:
getEntrypointin interfaceService
-
getPullPolicy
public final List<PullPolicy> getPullPolicy()
Description copied from interface:Service(experimental) The pull policy that the runner uses to fetch the Docker image.- Specified by:
getPullPolicyin interfaceService
-
getVariables
public final Map<String,String> getVariables()
Description copied from interface:Service(experimental) Additional environment variables that are passed exclusively to the service..- Specified by:
getVariablesin interfaceService
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-