Package io.github.cdklabs.projen
Class Gitpod.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.Gitpod.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Gitpodbuild()static Gitpod.Buildercreate(Project project)Gitpod.BuilderdockerImage(DevEnvironmentDockerImage dockerImage)(experimental) A Docker image or Dockerfile for the container.Gitpod.Builderports(List<String> ports)(experimental) An array of ports that should be exposed from the container.Gitpod.Builderprebuilds(GitpodPrebuilds prebuilds)(experimental) Optional Gitpod's Github App integration for prebuilds If this is not set and Gitpod's Github App is installed, then Gitpod will apply these defaults: https://www.gitpod.io/docs/prebuilds/#configure-the-github-app.Gitpod.Buildertasks(List<? extends Task> tasks)(experimental) An array of tasks that should be run when the container starts.Gitpod.BuildervscodeExtensions(List<String> vscodeExtensions)(experimental) An array of extension IDs that specify the extensions that should be installed inside the container when it is created.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static Gitpod.Builder create(Project project)
- Parameters:
project- This parameter is required.- Returns:
- a new instance of
Gitpod.Builder.
-
dockerImage
@Stability(Experimental) public Gitpod.Builder dockerImage(DevEnvironmentDockerImage dockerImage)
(experimental) A Docker image or Dockerfile for the container.- Parameters:
dockerImage- A Docker image or Dockerfile for the container. This parameter is required.- Returns:
this
-
ports
@Stability(Experimental) public Gitpod.Builder ports(List<String> ports)
(experimental) An array of ports that should be exposed from the container.- Parameters:
ports- An array of ports that should be exposed from the container. This parameter is required.- Returns:
this
-
tasks
@Stability(Experimental) public Gitpod.Builder tasks(List<? extends Task> tasks)
(experimental) An array of tasks that should be run when the container starts.- Parameters:
tasks- An array of tasks that should be run when the container starts. This parameter is required.- Returns:
this
-
vscodeExtensions
@Stability(Experimental) public Gitpod.Builder vscodeExtensions(List<String> vscodeExtensions)
(experimental) An array of extension IDs that specify the extensions that should be installed inside the container when it is created.- Parameters:
vscodeExtensions- An array of extension IDs that specify the extensions that should be installed inside the container when it is created. This parameter is required.- Returns:
this
-
prebuilds
@Stability(Experimental) public Gitpod.Builder prebuilds(GitpodPrebuilds prebuilds)
(experimental) Optional Gitpod's Github App integration for prebuilds If this is not set and Gitpod's Github App is installed, then Gitpod will apply these defaults: https://www.gitpod.io/docs/prebuilds/#configure-the-github-app.Default: undefined
- Parameters:
prebuilds- Optional Gitpod's Github App integration for prebuilds If this is not set and Gitpod's Github App is installed, then Gitpod will apply these defaults: https://www.gitpod.io/docs/prebuilds/#configure-the-github-app. This parameter is required.- Returns:
this
-
-