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

Function runShowHelpInPod

tests/e2e/pgbouncer_test.go:278–284  ·  view source on GitHub ↗
(pod *corev1.Pod)

Source from the content-addressed store, hash-verified

276}
277
278func runShowHelpInPod(pod *corev1.Pod) error {
279 _, _, err := exec.Command(
280 env.Ctx, env.Interface, env.RestClientConfig, *pod,
281 "pgbouncer", nil, "psql", "-c", "SHOW HELP",
282 )
283 return err
284}
285
286// createPoolerServerCertificateSecret fetches an existing PG server CA secret and creates a new certificate
287// secret for the pooler using that CA.

Callers 1

pgbouncer_test.goFile · 0.85

Calls 1

CommandFunction · 0.92

Tested by

no test coverage detected