docstr: list all the customer resources in k8s
docstr_tok: ["list","all","the","customer","resources","in","k8s"]
code: def list_all(self):
      """list all the customer resources in k8s"""
      pretty = "true"
      try:
          api_instance = client.CustomObjectsApi()
          api_response = api_instance.list_namespaced_custom_object(
              self.group,
              self.version,
              self.namespace,
              plural=self.plural,
              pretty=pretty,
          )
          log.debug(f"list custom resource response: {api_response}")
      except ApiException as e:
          log.error(
              "Exception when calling CustomObjectsApi->list_namespaced_custom_object: %s\n"
              % e
          )
          raise Exception(str(e))
      return api_response
  
file_path: milvus/tests/python_client/common/cus_resource_opts.py
imports: from __future__ import print_function
  import os
  from kubernetes import client, config
  from kubernetes.client.rest import ApiException
  from utils.util_log import test_log
  from common.common_type import in_cluster_env
label_desc: Use image node_id 5 for calling the CustomResourceOperations obj's underlying member method code with example usage: obj.list_all() and returns: api_response