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