code: func (rsc *ReplicaSetController) SetEventRecorder(recorder record.EventRecorder) {
  	// TODO: Hack. We can't cleanly shutdown the event recorder, so benchmarks
  	// need to pass in a fake.
  	rsc.podControl = controller.RealPodControl{KubeClient: rsc.kubeClient, Recorder: recorder}
  }
docs: // SetEventRecorder replaces the event recorder used by the ReplicaSetController
  // with the given recorder. Only used for testing.