code: func (s *Server) getPods(request *restful.Request, response *restful.Response) {
  	pods := s.host.GetPods()
  	data, err := encodePods(pods)
  	if err != nil {
  		response.WriteError(http.StatusInternalServerError, err)
  		return
  	}
  	writeJSONResponse(response, data)
  }
docs: // getPods returns a list of pods bound to the Kubelet and their spec.