KubernetesMetadata#

class gafaelfawr.models.kubernetes.KubernetesMetadata(*, name, namespace, annotations=None, labels=None, uid, generation)#

Bases: CamelCaseModel

The metadata section of a Kubernetes resource.

Parameters:

Attributes Summary

model_config

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

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'alias_generator': AliasGenerator(alias=None, validation_alias=<function to_camel>, serialization_alias=<function to_camel>), 'serialize_by_alias': True, 'validate_by_name': True}#

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