github.com/quay/claircore@v1.5.28/libindex/controllerfactory.go (about)

     1  package libindex
     2  
     3  import (
     4  	"github.com/quay/claircore/indexer"
     5  	"github.com/quay/claircore/indexer/controller"
     6  )
     7  
     8  // ControllerFactory is a factory method to return a Controller during libindex runtime.
     9  type ControllerFactory func(opts *indexer.Options) *controller.Controller