38 lines
2.0 KiB
C++
38 lines
2.0 KiB
C++
#ifndef LIBREPOMGR_ROUTES_H
|
|
#define LIBREPOMGR_ROUTES_H
|
|
|
|
#include "../global.h"
|
|
#include "./typedefs.h"
|
|
|
|
#include "../buildactions/buildactionfwd.h"
|
|
|
|
namespace LibRepoMgr {
|
|
namespace WebAPI {
|
|
|
|
namespace Routes {
|
|
LIBREPOMGR_EXPORT void getRoot(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void getVersion(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void getStatus(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void getDatabases(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void getUnresolved(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void getPackages(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void getBuildActions(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void getBuildActionDetails(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void getBuildActionLogFile(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void getBuildActionArtefact(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void postLoadPackages(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void postBuildAction(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void postBuildActionsFromTask(const Params ¶ms, ResponseHandler &&handler, const std::string &taskName,
|
|
const std::string &directory, const std::vector<BuildActionIdType> &startAfterIds, bool startImmediately);
|
|
LIBREPOMGR_EXPORT void deleteBuildActions(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void postCloneBuildActions(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void postStartBuildActions(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void postStopBuildActions(const Params ¶ms, ResponseHandler &&handler);
|
|
LIBREPOMGR_EXPORT void postQuit(const Params ¶ms, ResponseHandler &&handler);
|
|
} // namespace Routes
|
|
|
|
} // namespace WebAPI
|
|
} // namespace LibRepoMgr
|
|
|
|
#endif // LIBREPOMGR_ROUTES_H
|