Class NamedPort (1.8.0)

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

The named port. For example: <"http", 80>.

Attributes

NameDescription
name str
The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. This field is a member of oneof_ _name.
port int
The port number, which can be a value between 1 and 65535. This field is a member of oneof_ _port.