akkudoktoreos.server.dash.admin.AdminCache

akkudoktoreos.server.dash.admin.AdminCache(eos_host: str, eos_port: str | int, data: dict | None, config: dict[str, Any] | None) tuple[str, Card | list[Card]]

Creates a cache management card.

Parameters:
  • eos_host (str) – The hostname of the EOS server.

  • eos_port (Union[str, int]) – The port of the EOS server.

  • data (Optional[dict]) – Incoming data containing action and category for processing.

Returns:

A tuple containing the cache category label and the Card UI component.

Return type:

tuple[str, Union[Card, list[Card]]]