Class NamedPort (1.20.1)

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

Attributes

Name Description
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.