GafaelfawrIngressDelegate#

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

Bases: BaseModel

Configuration for delegated tokens requested 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_auth_query()

Generate the query parameters corresponding to this delegation.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, '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_auth_query()#

Generate the query parameters corresponding to this delegation.

Returns:

List of query parameters corresponding to this ingress delegation configuration to pass to the Gafaelfawr /ingress/auth route.

Return type:

list of tuple