github.com/quay/claircore@v1.5.28/indexer/distributionscanner.go (about)

     1  package indexer
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/quay/claircore"
     7  )
     8  
     9  // DistributionScanner reports the Distributions found in a given layer.
    10  type DistributionScanner interface {
    11  	VersionedScanner
    12  	Scan(context.Context, *claircore.Layer) ([]*claircore.Distribution, error)
    13  }