GafaelfawrIngressScopesBase#

pydantic model gafaelfawr.models.kubernetes.GafaelfawrIngressScopesBase#

Base class for specifying the required scopes.

Required scopes can be specified in one of two ways: a list of scopes that must all be present, or a list of scopes where any one of those scopes must be present. This base class represents the common interface with the rest of Gafaelfawr.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "GafaelfawrIngressScopesBase",
   "description": "Base class for specifying the required scopes.\n\nRequired scopes can be specified in one of two ways: a list of scopes that\nmust all be present, or a list of scopes where any one of those scopes\nmust be present.  This base class represents the common interface with the\nrest of Gafaelfawr.",
   "type": "object",
   "properties": {},
   "additionalProperties": false
}

abstract is_anonymous()#

Whether this ingress is anonymous. :rtype: bool

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.

Parameters:

kwargs (Any) –

Return type:

dict[str, Any]

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.

Parameters:

kwargs (Any) –

Return type:

str

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

abstract property satisfy: Satisfy#

The authorization satisfy strategy.

abstract property scopes: list[str]#

List of scopes.