code: func (f *RemoteRuntime) ExecSync(ctx context.Context, req *kubeapi.ExecSyncRequest) (*kubeapi.ExecSyncResponse, error) {
  	var exitCode int32
  	stdout, stderr, err := f.RuntimeService.ExecSync(req.ContainerId, req.Cmd, time.Duration(req.Timeout)*time.Second)
  	if err != nil {
  		exitError, ok := err.(utilexec.ExitError)
  		if !ok {
  			return nil, err
  		}
  		exitCode = int32(exitError.ExitStatus())
  
  		return nil, err
  	}
  
  	return &kubeapi.ExecSyncResponse{
  		Stdout:   stdout,
  		Stderr:   stderr,
  		ExitCode: exitCode,
  	}, nil
  }
docs: // ExecSync runs a command in a container synchronously.