GafaelfawrServicePortName

pydantic model gafaelfawr.models.kubernetes.GafaelfawrServicePortName

Port for a service.

Parameters:

data (Any)

Show JSON schema
{
   "title": "GafaelfawrServicePortName",
   "description": "Port for a service.",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "name"
   ]
}

Fields:
field name: str [Required]

Port name.

to_kubernetes()

Convert to the Kubernetes API object.

Return type:

V1ServiceBackendPort