(ctx context.Context, clusterId string)
| 1133 | return result, nil |
| 1134 | } |
| 1135 | func (i *imlMonitorStatisticModule) getExecutor(ctx context.Context, clusterId string) (driver.IExecutor, error) { |
| 1136 | info, err := i.monitorService.GetByCluster(ctx, clusterId) |
| 1137 | if err != nil { |
| 1138 | return nil, err |
| 1139 | } |
| 1140 | return driver.CreateExecutor(info.Driver, info.Config) |
| 1141 | } |
| 1142 | |
| 1143 | func (i *imlMonitorStatisticModule) RequestSummary(ctx context.Context, input *monitor_dto.CommonInput) (*monitor_dto.MonSummaryOutput, error) { |
| 1144 | clusterId := cluster.DefaultClusterID |
no test coverage detected