  def FindService(self, name: str,
                  namespace: str) -> Optional[services.K8sService]:
    """Finds a service in this cluster by its name and namespace.

    Args:
      name: The service name.
      namespace: The service namespace.

    Returns:
      A service in this cluster if its name and namespace corresponds, None
          otherwise.
    """
    for service in self.ListServices():
      if service.name == name and service.namespace == namespace:
        return service
    return None
Finds a service in this cluster by its name and namespace.

Args:
name: The service name.
namespace: The service namespace.

Returns:
A service in this cluster if its name and namespace corresponds, None
otherwise.
libcloudforensics/providers/kubernetes/cluster.py