GafaelfawrServicePortName#

class gafaelfawr.models.kubernetes.GafaelfawrServicePortName(**data)#

Bases: BaseModel

Port for a service.

Parameters:

data (Any)

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

to_kubernetes()

Convert to the Kubernetes API object.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, 'extra': 'forbid', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

to_kubernetes()#

Convert to the Kubernetes API object.

Return type:

V1ServiceBackendPort