NetworkPolicyStorage

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

Bases: KubernetesObjectCreator[V1NetworkPolicy]

Storage layer for NetworkPolicy objects.

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

  • logger (BoundLogger) – Logger to use.