174644b63c
add openapi infra * add openapi infra Includes generated stubs and all deps * generatetolocation * basesetupoffunctionsandclient * round1controllertests * passintegrationtests * cleanupfromfullsuite * storedjson * fixjsonyaml * fixtests Approved-by: Michael McGuinness
20 lines
553 B
Go
20 lines
553 B
Go
package queryservice
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
func (s *Controllers) GetJobCollectorById(ctx echo.Context, id string) error {
|
|
return ctx.JSON(http.StatusOK, map[string]string{"status": "export triggered"})
|
|
}
|
|
|
|
func (s *Controllers) CreateJobCollector(ctx echo.Context) error {
|
|
return ctx.JSON(http.StatusOK, map[string]string{"status": "export triggered"})
|
|
}
|
|
|
|
func (s *Controllers) UpdateJobCollector(ctx echo.Context, id string) error {
|
|
return ctx.JSON(http.StatusOK, map[string]string{"status": "export triggered"})
|
|
}
|