def V1Service(selector_labels: Labels) -> client.V1Service:
  """Make Kubernetes API service response, see V1Service.

  https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1Service.md
  """
  return client.V1Service(spec=client.V1ServiceSpec(selector=selector_labels))
Make Kubernetes API service response, see V1Service.

https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1Service.md
tests/providers/kubernetes/k8s_mocks.py