NamedPort(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The named port. For example: <"http", 80>.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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 .
|