Class Port (0.8.0)

Port(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a network port in a container. .. attribute:: container_port

The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.

:type: int

Inheritance

builtins.object > proto.message.Message > Port