MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / getReplicationsStatus

Method getReplicationsStatus

rest/admin_api.go:2254–2262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2252}
2253
2254func (h *handler) getReplicationsStatus() error {
2255 replicationsStatus, err := h.db.SGReplicateMgr.GetReplicationStatusAll(h.ctx(), h.getReplicationStatusOptions())
2256 if err != nil {
2257 return err
2258 }
2259 base.Audit(h.ctx(), base.AuditIDISGRAllStatus, nil)
2260 h.writeJSON(replicationsStatus)
2261 return nil
2262}
2263
2264func (h *handler) getReplicationStatus() error {
2265 replicationID := mux.Vars(h.rq)["replicationID"]

Callers

nothing calls this directly

Calls 5

ctxMethod · 0.95
writeJSONMethod · 0.95
AuditFunction · 0.92

Tested by

no test coverage detected