4ec1d51a12
Job CRUD + Collector Integration * startedcreate * openapispec * createjobintegration * jobgetcontroller * jobcreateclient * updatejob * job * collector
17 lines
423 B
Go
17 lines
423 B
Go
package queryservice
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/oapi-codegen/runtime/types"
|
|
)
|
|
|
|
func (s *Controllers) TriggerExport(ctx echo.Context) error {
|
|
return ctx.JSON(http.StatusOK, map[string]string{"status": "export triggered"})
|
|
}
|
|
|
|
func (s *Controllers) ExportState(ctx echo.Context, id types.UUID) error {
|
|
return ctx.JSON(http.StatusOK, map[string]string{"status": "export triggered"})
|
|
}
|