k8s_client.views.k8s_config.contexts

Module Contents

Functions

get_k8s_config_contexts()

Get contexts list from k8s config

get_k8s_config_context(context_name)

Use the provided context

post_k8s_config_context()

Save k8s config context

put_k8s_config_context(context_name)

Update k8s config context

delete_k8s_config_context(context_id)

Deletes the provided context

k8s_client.views.k8s_config.contexts.get_k8s_config_contexts()

Get contexts list from k8s config

k8s_client.views.k8s_config.contexts.get_k8s_config_context(context_name)

Use the provided context

k8s_client.views.k8s_config.contexts.post_k8s_config_context()

Save k8s config context

k8s_client.views.k8s_config.contexts.put_k8s_config_context(context_name)

Update k8s config context

k8s_client.views.k8s_config.contexts.delete_k8s_config_context(context_id)

Deletes the provided context