MCPcopy Create free account
hub / github.com/postgres-ai/database-lab-engine / Status

Method Status

engine/internal/provision/resources/pool.go:113–118  ·  view source on GitHub ↗

Status gets the pool status.

()

Source from the content-addressed store, hash-verified

111
112// Status gets the pool status.
113func (p *Pool) Status() PoolStatus {
114 p.mu.RLock()
115 defer p.mu.RUnlock()
116
117 return p.status
118}
119
120// SetStatus sets a status to the pool.
121func (p *Pool) SetStatus(status PoolStatus) {

Callers 6

GetStatusMethod · 0.45
buildPoolEntryFunction · 0.45
TestManager_MakeActiveFunction · 0.45
collectPoolMetricsMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestManager_MakeActiveFunction · 0.36