astronomer.providers.cncf.kubernetes.hooks.kubernetes

Classes

KubernetesHookAsync

This class is deprecated and will be removed in 2.0.0.

Functions

get_field(extras, field_name[, strict])

Get field from extra, first checking short name, then for backward compatibility we check for prefixed name.

Module Contents

astronomer.providers.cncf.kubernetes.hooks.kubernetes.get_field(extras, field_name, strict=False)[source]

Get field from extra, first checking short name, then for backward compatibility we check for prefixed name.

class astronomer.providers.cncf.kubernetes.hooks.kubernetes.KubernetesHookAsync(*args, **kwargs)[source]

Bases: airflow.providers.cncf.kubernetes.hooks.kubernetes.KubernetesHook

This class is deprecated and will be removed in 2.0.0. Use :class: ~airflow.providers.cncf.kubernetes.hooks.kubernetes.AsyncKubernetesHook instead

async get_api_client_async()[source]

Create an API Client object to interact with Kubernetes