GafaelfawrServicePortNumber

pydantic model gafaelfawr.models.kubernetes.GafaelfawrServicePortNumber

Port for a service.

Parameters:

data (Any)

Show JSON schema
{
   "title": "GafaelfawrServicePortNumber",
   "description": "Port for a service.",
   "type": "object",
   "properties": {
      "number": {
         "title": "Number",
         "type": "integer"
      }
   },
   "additionalProperties": false,
   "required": [
      "number"
   ]
}

Fields:
field number: int [Required]

Port number.

to_kubernetes()

Convert to the Kubernetes API object.

Return type:

V1ServiceBackendPort