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