airflow.providers.cncf.kubernetes.utils.delete_from

Module Contents

Functions

delete_from_dict(k8s_client, data, body, namespace[, ...])

delete_from_yaml(*, k8s_client[, yaml_objects, ...])

Attributes

DEFAULT_DELETION_BODY

airflow.providers.cncf.kubernetes.utils.delete_from.DEFAULT_DELETION_BODY[source]
airflow.providers.cncf.kubernetes.utils.delete_from.delete_from_dict(k8s_client, data, body, namespace, verbose=False, **kwargs)[source]
airflow.providers.cncf.kubernetes.utils.delete_from.delete_from_yaml(*, k8s_client, yaml_objects=None, verbose=False, namespace='default', body=None, **kwargs)[source]
exception airflow.providers.cncf.kubernetes.utils.delete_from.FailToDeleteError(api_exceptions)[source]

Bases: Exception

For handling error if an error occurred when handling a yaml file during deletion of the resource.

__str__()[source]

Return str(self).

Was this entry helpful?