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

Function NewExecuted

pkg/concurrency/executed.go:60–65  ·  view source on GitHub ↗

NewExecuted creates a new Executed

()

Source from the content-addressed store, hash-verified

58
59// NewExecuted creates a new Executed
60func NewExecuted() *Executed {
61 return &Executed{
62 cond: *sync.NewCond(&sync.Mutex{}),
63 done: false,
64 }
65}
66
67// Wait waits for execution
68func (i *Executed) Wait() {

Callers 5

NewLogPipeFunction · 0.92
NewJSONLineLogPipeFunction · 0.92
NewRawLineLogPipeFunction · 0.92
NewInstanceReconcilerFunction · 0.92
executed_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected