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.
- model_dump(**kwargs)#
Export the model as a dictionary.
Overridden to change the default of
by_alias
from False to True, so that by default the exported dictionary uses camel-case.
- model_dump_json(**kwargs)#
Export the model as JSON.
Overridden to change the default of
by_alias
from False to True, so that by default the exported dictionary uses camel-case.
- to_kubernetes()#
Convert to the Kubernetes API object.
- Return type:
V1ServiceBackendPort