Package | Description |
---|---|
com.github.dockerjava.api.model |
Modifier and Type | Method and Description |
---|---|
static Ports.Binding |
Ports.Binding.bindIp(String hostIp)
|
static Ports.Binding |
Ports.Binding.bindIpAndPort(String hostIp,
int port)
Creates a
Ports.Binding for the given IP address and port number. |
static Ports.Binding |
Ports.Binding.bindIpAndPortRange(String hostIp,
int lowPort,
int highPort)
Creates a
Ports.Binding for the given IP address and port range. |
static Ports.Binding |
Ports.Binding.bindPort(int port)
Creates a
Ports.Binding for the given port leaving the IP address
undefined. |
static Ports.Binding |
Ports.Binding.bindPortRange(int lowPort,
int highPort)
Creates a
Ports.Binding for the given port range, leaving the IP address
undefined. |
static Ports.Binding |
Ports.Binding.bindPortSpec(String portSpec)
|
static Ports.Binding |
Ports.Binding.empty()
Creates an empty
Ports.Binding . |
Ports.Binding |
PortBinding.getBinding() |
static Ports.Binding |
Ports.Binding.parse(String serialized)
Parses a textual host and port specification (as used by the Docker CLI) to a
Ports.Binding . |
Modifier and Type | Method and Description |
---|---|
void |
Ports.bind(ExposedPort exposedPort,
Ports.Binding binding)
|
Constructor and Description |
---|
PortBinding(Ports.Binding binding,
ExposedPort exposedPort) |
Ports(ExposedPort exposedPort,
Ports.Binding host)
|
Copyright © 2021. All rights reserved.