MCPcopy Create free account
hub / github.com/brimdata/super / ListPools

Method ListPools

db/root.go:236–238  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

234}
235
236func (r *Root) ListPools(ctx context.Context) ([]pools.Config, error) {
237 return r.pools.All(ctx)
238}
239
240func (r *Root) PoolID(ctx context.Context, poolName string) (ksuid.KSUID, error) {
241 if poolName == "" {

Callers 3

BatchifyPoolsMethod · 0.95
BatchifyBranchesMethod · 0.95
matchPoolsMethod · 0.80

Calls 1

AllMethod · 0.45

Tested by

no test coverage detected