MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / CountByPartition

Method CountByPartition

service/cluster/cluster.go:391–393  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

389}
390
391func (s *imlClusterService) CountByPartition(ctx context.Context) (map[string]int, error) {
392 return s.store.Count(ctx)
393}
394func (s *imlClusterService) Search(ctx context.Context, keyword string, clusterId ...string) ([]*Cluster, error) {
395 wheres := make([]string, 0, 2)
396 value := make([]interface{}, 0, 3)

Callers

nothing calls this directly

Calls 1

CountMethod · 0.65

Tested by

no test coverage detected