...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package test
17
18 import (
19 "go.uber.org/fx"
20
21 "github.com/chaos-mesh/chaos-mesh/cmd/chaos-controller-manager/provider"
22 "github.com/chaos-mesh/chaos-mesh/controllers/utils/recorder"
23 "github.com/chaos-mesh/chaos-mesh/controllers/utils/test/manager"
24 "github.com/chaos-mesh/chaos-mesh/controllers/utils/test/metrics"
25 )
26
27 var Module = fx.Provide(
28 provider.NewOption,
29 provider.NewClient,
30 provider.NewAuthCli,
31 provider.NewScheme,
32 provider.NewNoCacheReader,
33 provider.NewControlPlaneCacheReader,
34 manager.NewTestManager,
35 recorder.NewRecorderBuilder,
36 metrics.NewTestChaosControllerManagerMetricsCollector,
37 )
38