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

Function run

internal/cmd/manager/show/walarchivequeue/cmd.go:53–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func run() error {
54 fileNames, err := postgres.GetReadyWALFiles()
55 if err != nil {
56 return err
57 }
58 for _, fileName := range fileNames {
59 fmt.Println(fileName)
60 }
61 return nil
62}

Callers 1

NewCmdFunction · 0.70

Calls 1

GetReadyWALFilesFunction · 0.92

Tested by

no test coverage detected