code: func (r *BindingREST) assignPod(ctx context.Context, podID string, machine string, annotations map[string]string, dryRun bool) (err error) {
  	if _, err = r.setPodHostAndAnnotations(ctx, podID, "", machine, annotations, dryRun); err != nil {
  		err = storeerr.InterpretGetError(err, api.Resource("pods"), podID)
  		err = storeerr.InterpretUpdateError(err, api.Resource("pods"), podID)
  		if _, ok := err.(*errors.StatusError); !ok {
  			err = errors.NewConflict(api.Resource("pods/binding"), podID, err)
  		}
  	}
  	return
  }
docs: // assignPod assigns the given pod to the given machine.