NetworkPolicyStorage#

class controller.storage.kubernetes.creator.NetworkPolicyStorage(api_client, logger)#

Bases: KubernetesObjectCreator

Storage layer for NetworkPolicy objects.

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

  • logger (BoundLogger) – Logger to use.