Pharos
0.7.23
Modern Web Framework & Web App Hosting Service.
Toggle main menu visibility
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
9
#include "
native_runtime_types.h
"
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
*/
23
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);
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
*/
31
char
*
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
*/
41
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);
42
43
44
/** @} */
45
#endif
build_native_app_drift_report_local_json
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.
Definition
native_ops_bridge.c:833
build_native_app_doctor_report_local_json
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.
Definition
native_ops_bridge.c:790
build_native_app_deploy_check_report_local_json
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.
Definition
native_ops_bridge.c:860
native_runtime_types.h
Defines shared native runtime data structures used across the Pharos C runtime.
AppRuntime
Loaded runtime metadata for one Pharos app artifact.
Definition
native_runtime_types.h:37
ServeConfig
Parsed native serve configuration used to bootstrap the runtime listener.
Definition
native_runtime_types.h:16
src
native_runtime
c
native_ops_bridge.h
Generated by
1.17.0