NodeStorage#

class controller.storage.kubernetes.node.NodeStorage(api_client, logger)#

Bases: object

Storage layer for Kubernetes node objects.

Parameters:
  • api_client (ApiClient) – Kubernetes API client.

  • logger (BoundLogger) – Logger to use.

Methods Summary

get_image_data()

Get the list of cached images from each node.

Methods Documentation

async get_image_data()#

Get the list of cached images from each node.

Returns:

Map of nodes to lists of all cached images on that node.

Return type:

dict of list