PortBinding

@Serializable
data class PortBinding(val hostIp: String? = null, val hostPort: String? = null)

PortBinding represents a binding between a host IP address and a host port.

Parameters

hostIp

Host IP address that the container's port is mapped to.

hostPort

Host port number that the container's port is mapped to.

Constructors

Link copied to clipboard
constructor(hostIp: String? = null, hostPort: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "HostIp")
val hostIp: String?
Link copied to clipboard
@SerialName(value = "HostPort")
val hostPort: String?