code: func (s *Server) Exec(ctx context.Context, req *pb.ExecRequest) (resp *pb.ExecResponse, err error) {
  	const operation = "exec"
  	defer func() {
  		recordOperation(operation, time.Now())
  		recordError(operation, err)
  	}()
  
  	logrus.Debugf("ExecRequest %+v", req)
  
  	resp, err = s.getExec(req)
  	if err != nil {
  		return nil, fmt.Errorf("unable to prepare exec endpoint: %v", err)
  	}
  
  	return resp, nil
  }
docs: // Exec prepares a streaming endpoint to execute a command in the container.