top

example of calling one of these

request := &backup.Reload{"something", "yes"} response, err := backup.ReloadClient("http://cpm-task:13001", request) Package task is the implementation of the CPM Task REST API. There are serveral types of 'admin' functions or 'tasks' that a DBA could perform on a running CPM database container. Currently a pg_basebackup and a pg_backrest restore are implemented as 'tasks'.

Imports 9 package(s) ΒΆ

  1. github.com/crunchydata/crunchy-postgresql-manager/types
  2. github.com/robfig/cron
  3. github.com/crunchydata/crunchy-postgresql-manager/logit
  4. github.com/ant0ine/go-json-rest/rest
  5. github.com/crunchydata/crunchy-postgresql-manager/cpmserverapi
  6. github.com/lib/pq
  7. github.com/crunchydata/crunchy-postgresql-manager/swarmapi
  8. github.com/crunchydata/crunchy-postgresql-manager/admindb
  9. github.com/crunchydata/crunchy-postgresql-manager/util