code: func (m *kubeGenericRuntimeManager) GetExec(id kubecontainer.ContainerID, cmd []string, stdin, stdout, stderr, tty bool) (*url.URL, error) {
  	req := &runtimeapi.ExecRequest{
  		ContainerId: id.ID,
  		Cmd:         cmd,
  		Tty:         tty,
  		Stdin:       stdin,
  		Stdout:      stdout,
  		Stderr:      stderr,
  	}
  	resp, err := m.runtimeService.Exec(req)
  	if err != nil {
  		return nil, err
  	}
  
  	return url.Parse(resp.Url)
  }
docs: // GetExec gets the endpoint the runtime will serve the exec request from.