Skip to content

Kathara.manager.kubernetes.stats.KubernetesMachineStats

Tommaso Caiazzi edited this page Jul 21, 2023 · 6 revisions

module Kathara.manager.kubernetes.stats.KubernetesMachineStats


class KubernetesMachineStats

The class responsible to handle Kubernetes Machine statistics.

method KubernetesMachineStats.__init__

__init__(machine_api_object: kubernetes.client.models.v1_pod.V1Pod)

method KubernetesMachineStats.to_dict

to_dict() → Dict[str, Any]

Transform statistics into a dict representation.

Returns:

  • Dict[str, Any]: Dict containing statistics.

method KubernetesMachineStats.update

update() → None

Update dynamic statistics with the current ones.

Returns: None


This file was automatically generated via lazydocs.

Clone this wiki locally