IngressStorage¶
- class controller.storage.kubernetes.ingress.IngressStorage(api_client, logger)¶
Bases:
KubernetesObjectDeleter
[V1Ingress
]Storage layer for
Ingress
objects.- Parameters:
api_client (
ApiClient
) – Kubernetes API client.logger (
BoundLogger
) – Logger to use.
Methods Summary
wait_for_ip_address
(name, namespace, timeout)Wait for an ingress to get an IP address assigned.
Methods Documentation
- async wait_for_ip_address(name, namespace, timeout)¶
Wait for an ingress to get an IP address assigned.
The
Ingress
object is allowed to not exist when the watch starts, since it may be created from aGafaelfawrIngress
custom object.- Parameters:
- Raises:
KubernetesError – Raised for exceptions from the Kubernetes API server.
TimeoutError – Raised if the object is not deleted within the delete timeout.
- Return type: