| Package | Description |
|---|---|
| com.google.cloud.tools.jib.api | |
| com.google.cloud.tools.jib.configuration | |
| com.google.cloud.tools.jib.image |
| Modifier and Type | Method and Description |
|---|---|
static Port |
Port.parseProtocol(int port,
String protocolString)
Gets a
Port with protocol parsed from the string form protocolString. |
static Port |
Port.tcp(int port)
Create a new
Port with TCP protocol. |
static Port |
Port.udp(int port)
Create a new
Port with UDP protocol. |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ImmutableSet<Port> |
Ports.parse(List<String> ports)
Converts/validates a list of strings representing port ranges to an expanded list of
Ports. |
| Modifier and Type | Method and Description |
|---|---|
JibContainerBuilder |
JibContainerBuilder.addExposedPort(Port port)
Adds a port to expose from the container.
|
JibContainerBuilder |
JibContainerBuilder.setExposedPorts(Port... ports)
Sets the ports to expose from the container.
|
| Modifier and Type | Method and Description |
|---|---|
JibContainerBuilder |
JibContainerBuilder.setExposedPorts(Set<Port> ports)
Sets the ports to expose from the container.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<Port> |
ContainerConfiguration.getExposedPorts() |
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerConfiguration.Builder.addExposedPort(Port port) |
| Modifier and Type | Method and Description |
|---|---|
ContainerConfiguration.Builder |
ContainerConfiguration.Builder.setExposedPorts(Set<Port> exposedPorts)
Sets the container's exposed ports.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<Port> |
Image.getExposedPorts() |
| Modifier and Type | Method and Description |
|---|---|
Image.Builder |
Image.Builder.addExposedPorts(Set<Port> exposedPorts)
Adds items to the "ExposedPorts" field in the container configuration.
|
Copyright © 2019. All rights reserved.