:py:mod:`k8s_client.views.nodes` ================================ .. py:module:: k8s_client.views.nodes Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: k8s_client.views.nodes.get_nodes .. py:function:: get_nodes(context_name=None) Get nodes list Parameters ---------- ``"context_name"``: `string` (optional) The name of the context of which showing the nodes. if ``value`` is `None` the default context name will be used. Returns ------- - ``[code: 200]`` JSON containing the full list of nodes of the default context if ``context_name`` is `None` ` - ``[code: 200]`` JSON containing the full list of nodes of the specified context if ``context_name`` is a `` - ``[code: 500]`` Error message if ``context_name`` is **NOT** a ``