Mixins

endpointPort

EndpointPort is a tuple that describes a single port.

Constuctors

Functions
  • withName

    withName(name)
    

    The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.


  • withPort

    withPort(port)
    

    The port number of the endpoint.


  • withProtocol

    withProtocol(protocol)
    

    The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.