class_docstr: Factory class for creating kubernetes API client.
class_docstr_tok: ["Factory","class","for","creating","kubernetes","API","client","."]
code: def __init__(self):
      self._config_loaded = False
      self._inside_cluster = False
  
imports: import datetime
  import enum
  import os
  import re
  import time
  from typing import Callable, Dict, List, Optional
  from absl import logging
  from kubernetes import client
  from kubernetes import config
label_desc: Use image node_id 1 to create a new _KubernetesClientFactory object  with example: obj = _KubernetesClientFactory()