github.com/quay/claircore@v1.5.28/docs/reference/versioned_scanner.md (about)

     1  # Versioned Scanner
     2  A versioned scanner is typically embedded into other scanner types.
     3  It drives claircore's ability to register and understand when updaters have been changed.
     4  Functions that want to work with a generic scanner type should use a `VersionedScanner`.
     5  
     6  Implementers of this interface *must* provide a unique name.
     7  Making changes to a scanner's implementation *must* return a new value from `Version`.
     8  Implementers *must* return the correct kind: one of "package", "distribution", or "repository"
     9  
    10  {{# godoc indexer.VersionedScanner}}