Package io.github.cdklabs.projen
Interface GitpodPort
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GitpodPort.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.757Z") @Stability(Experimental) public interface GitpodPort extends software.amazon.jsii.JsiiSerializable
(experimental) Options for an exposed port on Gitpod.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGitpodPort.BuilderA builder forGitpodPortstatic classGitpodPort.Jsii$ProxyAn implementation forGitpodPort
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static GitpodPort.Builderbuilder()default GitpodOnOpengetOnOpen()(experimental) What to do when a service on a port is detected.default StringgetPort()(experimental) A port that should be exposed (forwarded) from the container.default GitpodPortVisibilitygetVisibility()(experimental) Whether the port visibility should be private or public.
-
-
-
Method Detail
-
getOnOpen
@Stability(Experimental) @Nullable default GitpodOnOpen getOnOpen()
(experimental) What to do when a service on a port is detected.Default: GitpodOnOpen.NOTIFY
-
getPort
@Stability(Experimental) @Nullable default String getPort()
(experimental) A port that should be exposed (forwarded) from the container.Example:
"8080"
-
getVisibility
@Stability(Experimental) @Nullable default GitpodPortVisibility getVisibility()
(experimental) Whether the port visibility should be private or public.Default: GitpodPortVisibility.PUBLIC
-
builder
@Stability(Experimental) static GitpodPort.Builder builder()
- Returns:
- a
GitpodPort.BuilderofGitpodPort
-
-