Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
Loading...
Searching...
No Matches
native_ops_bridge.h
Go to the documentation of this file.
1/**
2 * @file
3 * @brief Declares native bridge helpers for Pharos ops commands.
4 */
5
6#ifndef PHAROS_NATIVE_OPS_BRIDGE_H
7#define PHAROS_NATIVE_OPS_BRIDGE_H
8
10
11/** @name Native ops bridge helpers
12 * @{
13 */
14/**
15 * @brief Builds a JSON doctor report for one app using native ops bridges.
16 * @param repo_root Repository root used to locate supporting assets.
17 * @param config Active serve configuration.
18 * @param artifact_dir Active artifact directory for the app.
19 * @param app Finalized app runtime being inspected.
20 * @param host_target Host target label to report.
21 * @return Newly allocated JSON report text, or NULL on failure.
22 */
23char *build_native_app_doctor_report_local_json(const char *repo_root, const ServeConfig *config, const char *artifact_dir, const AppRuntime *app, const char *host_target);
24/**
25 * @brief Builds a JSON drift report for one app using native ops bridges.
26 * @param repo_root Repository root used to locate supporting assets.
27 * @param config Active serve configuration.
28 * @param app Finalized app runtime being inspected.
29 * @return Newly allocated JSON report text, or NULL on failure.
30 */
31char *build_native_app_drift_report_local_json(const char *repo_root, const ServeConfig *config, const AppRuntime *app);
32/**
33 * @brief Builds a JSON deploy-check report for one app using native ops bridges.
34 * @param repo_root Repository root used to locate supporting assets.
35 * @param config Active serve configuration.
36 * @param artifact_dir Active artifact directory for the app.
37 * @param app Finalized app runtime being inspected.
38 * @param host_target Host target label to report.
39 * @return Newly allocated JSON report text, or NULL on failure.
40 */
41char *build_native_app_deploy_check_report_local_json(const char *repo_root, const ServeConfig *config, const char *artifact_dir, const AppRuntime *app, const char *host_target);
42
43
44/** @} */
45#endif
char * build_native_app_drift_report_local_json(const char *repo_root, const ServeConfig *config, const AppRuntime *app)
Builds a JSON drift report for one app using native ops bridges.
char * build_native_app_doctor_report_local_json(const char *repo_root, const ServeConfig *config, const char *artifact_dir, const AppRuntime *app, const char *host_target)
Builds a JSON doctor report for one app using native ops bridges.
char * build_native_app_deploy_check_report_local_json(const char *repo_root, const ServeConfig *config, const char *artifact_dir, const AppRuntime *app, const char *host_target)
Builds a JSON deploy-check report for one app using native ops bridges.
Defines shared native runtime data structures used across the Pharos C runtime.
Loaded runtime metadata for one Pharos app artifact.
Parsed native serve configuration used to bootstrap the runtime listener.