code: func (s *handler) AttachedTags(ref vim.ManagedObjectReference) ([]vim.VslmTagEntry, vim.BaseMethodFault) {
  	oid := internal.AssociatedObject(ref)
  	var tags []vim.VslmTagEntry
  	for id, objs := range s.Association {
  		if objs[oid] {
  			tag := s.Tag[id]
  			cat := s.Category[tag.CategoryID]
  			tags = append(tags, vim.VslmTagEntry{
  				TagName:            tag.Name,
  				ParentCategoryName: cat.Name,
  			})
  		}
  	}
  	return tags, nil
  }
docs: // AttachedTags is meant for internal use via simulator.Registry.tagManager