MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / LogCount

Method LogCount

service/log/iml.go:215–221  ·  view source on GitHub ↗
(ctx context.Context, driver string, cluster string, conditions map[string]string, spendHour int64, group string)

Source from the content-addressed store, hash-verified

213}
214
215func (i *imlLogService) LogCount(ctx context.Context, driver string, cluster string, conditions map[string]string, spendHour int64, group string) (map[string]int64, error) {
216 d, has := log_driver.GetDriver(driver)
217 if !has {
218 return nil, errors.New("driver not found")
219 }
220 return d.LogCount(cluster, conditions, spendHour, group)
221}
222
223func (i *imlLogService) LogInfo(ctx context.Context, driver string, cluster string, id string) (*Info, error) {
224 d, has := log_driver.GetDriver(driver)

Callers

nothing calls this directly

Calls 2

GetDriverMethod · 0.80
LogCountMethod · 0.65

Tested by

no test coverage detected