ServiceEndpointSpecPort

data class ServiceEndpointSpecPort(val name: String? = null, val protocol: String? = null, val publishMode: String? = null, val publishedPort: Int? = null, val targetPort: Int)

Constructors

Link copied to clipboard
constructor(name: String? = null, protocol: String? = null, publishMode: String? = null, publishedPort: Int? = null, targetPort: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String? = null

A random name for the port

Link copied to clipboard
val protocol: String? = null

Rrepresents the protocol of a port: tcp, udp or sctp. Defaults to tcp.

Link copied to clipboard
val publishedPort: Int? = null

The port on the swarm hosts

Link copied to clipboard
val publishMode: String? = null

Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to ingress.

Link copied to clipboard

The port inside the container