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

     1  package indexer
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/quay/claircore"
     7  )
     8  
     9  // Resolver is used for any reasoning that needs to be done with all the layers in context.
    10  //
    11  // Resolvers are called at the end of the coalesce step when reports
    12  // from separate scanners are merged.
    13  type Resolver interface {
    14  	Resolve(context.Context, *claircore.IndexReport, []*claircore.Layer) *claircore.IndexReport
    15  }