Endpoint Port Config
@Serializable
Parameters
name
protocol
target Port
The port inside the container.
published Port
The port on the swarm hosts.
publish Mode
The mode in which port is published.
Constructors
Link copied to clipboard
constructor(name: String? = null, protocol: EndpointPortConfig.Protocol? = null, targetPort: Int? = null, publishedPort: Int? = null, publishMode: EndpointPortConfig.PublishMode? = PublishMode.INGRESS)
Types
Link copied to clipboard
Values: TCP,UDP,SCTP
Link copied to clipboard
The mode in which port is published.