mirror of
https://github.com/grafana/grafana.git
synced 2025-01-16 11:42:35 -06:00
eec9d3dbc4
* Plugins: Removed feature toggle pluginsDynamicAngularDetectionPatterns * re-generate feature toggles
23 lines
635 B
Go
23 lines
635 B
Go
package angularinspector
|
|
|
|
import (
|
|
"github.com/grafana/grafana/pkg/plugins/manager/loader/angular/angulardetector"
|
|
"github.com/grafana/grafana/pkg/plugins/manager/loader/angular/angularinspector"
|
|
"github.com/grafana/grafana/pkg/services/pluginsintegration/angulardetectorsprovider"
|
|
)
|
|
|
|
type Service struct {
|
|
angularinspector.Inspector
|
|
}
|
|
|
|
func ProvideService(dynamic *angulardetectorsprovider.Dynamic) (*Service, error) {
|
|
return &Service{
|
|
Inspector: angularinspector.NewPatternListInspector(
|
|
angulardetector.SequenceDetectorsProvider{
|
|
dynamic,
|
|
angularinspector.NewDefaultStaticDetectorsProvider(),
|
|
},
|
|
),
|
|
}, nil
|
|
}
|