You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

schedulesituationhandler.go 525 B

1234567891011121314151617
  1. package monitoring
  2. import (
  3. "gitlink.org.cn/JointCloud/pcm-coordinator/pkg/repository/result"
  4. "net/http"
  5. "gitlink.org.cn/JointCloud/pcm-coordinator/api/internal/logic/monitoring"
  6. "gitlink.org.cn/JointCloud/pcm-coordinator/api/internal/svc"
  7. )
  8. func ScheduleSituationHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
  9. return func(w http.ResponseWriter, r *http.Request) {
  10. l := monitoring.NewScheduleSituationLogic(r.Context(), svcCtx)
  11. resp, err := l.ScheduleSituation()
  12. result.HttpResult(r, w, resp, err)
  13. }
  14. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.