code: func (ps *Store) GetV2Plugin(refOrID string) (*v2.Plugin, error) {
  	ps.RLock()
  	defer ps.RUnlock()
  
  	id, err := ps.resolvePluginID(refOrID)
  	if err != nil {
  		return nil, err
  	}
  
  	p, idOk := ps.plugins[id]
  	if !idOk {
  		return nil, errors.WithStack(errNotFound(id))
  	}
  
  	return p, nil
  }
docs: // GetV2Plugin retrieves a plugin by name, id or partial ID.