def V1ReplicaSet(
    name: Optional[str] = None,
    namespace: Optional[str] = None,
    template_spec_labels: Optional[Labels] = None) -> client.V1ReplicaSet:
  """Make Kubernetes API ReplicaSet response, V1ReplicaSet.

  https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1ReplicaSet.md
  """
  return client.V1ReplicaSet(
      metadata=V1ObjectMeta(name=name, namespace=namespace),
      spec=client.V1ReplicaSetSpec(
          selector=client.V1LabelSelector(),
          template=V1PodTemplateSpec(template_spec_labels or {})))
Make Kubernetes API ReplicaSet response, V1ReplicaSet.

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