MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / wait

Method wait

pkg/podlogs/cluster_writer.go:166–168  ·  view source on GitHub ↗

wait blocks until there are no active processes

()

Source from the content-addressed store, hash-verified

164
165// wait blocks until there are no active processes
166func (as *activeSet) wait() {
167 as.wg.Wait()
168}
169
170// SingleStream streams the cluster's pod logs and shunts them to a single io.Writer
171func (csr *ClusterWriter) SingleStream(ctx context.Context, writer io.Writer) error {

Callers 1

SingleStreamMethod · 0.80

Calls 1

WaitMethod · 0.45

Tested by

no test coverage detected