Go to the source code of this file.
|
apr_status_t | md_status_get_md_json (struct md_json_t **pjson, const md_t *md, struct md_reg_t *reg, struct md_ocsp_reg_t *ocsp, apr_pool_t *p) |
|
apr_status_t | md_status_get_json (struct md_json_t **pjson, apr_array_header_t *mds, struct md_reg_t *reg, struct md_ocsp_reg_t *ocsp, apr_pool_t *p) |
|
void | md_status_take_stock (struct md_json_t **pjson, apr_array_header_t *mds, struct md_reg_t *reg, apr_pool_t *p) |
|
md_job_t * | md_job_make (apr_pool_t *p, md_store_t *store, md_store_group_t group, const char *name, apr_time_t min_delay) |
|
void | md_job_set_group (md_job_t *job, md_store_group_t group) |
|
apr_status_t | md_job_load (md_job_t *job) |
|
apr_status_t | md_job_save (md_job_t *job, struct md_result_t *result, apr_pool_t *p) |
|
void | md_job_log_append (md_job_t *job, const char *type, const char *status, const char *detail) |
|
md_json_t * | md_job_log_get_latest (md_job_t *job, const char *type) |
|
apr_time_t | md_job_log_get_time_of_latest (md_job_t *job, const char *type) |
|
void | md_job_start_run (md_job_t *job, struct md_result_t *result, md_store_t *store) |
|
void | md_job_end_run (md_job_t *job, struct md_result_t *result) |
|
void | md_job_retry_at (md_job_t *job, apr_time_t later) |
|
apr_time_t | md_job_delay_on_errors (md_job_t *job, int err_count, const char *last_problem) |
|
apr_status_t | md_job_notify (md_job_t *job, const char *reason, struct md_result_t *result) |
|
◆ md_job_t
◆ md_job_delay_on_errors()
Given the number of errors and the last problem encountered, recommend a delay for the next attempt of job
◆ md_job_end_run()
◆ md_job_load()
Update the job from storage in <group>/job->mdomain.
◆ md_job_log_append()
void md_job_log_append |
( |
md_job_t * |
job, |
|
|
const char * |
type, |
|
|
const char * |
status, |
|
|
const char * |
detail |
|
) |
| |
Append to the job's log. Timestamp is automatically added.
- Parameters
-
type | type of log entry |
status | status of entry (maybe NULL) |
detail | description of what happened |
◆ md_job_log_get_latest()
Retrieve the latest log entry of a certain type.
◆ md_job_log_get_time_of_latest()
Get the time the latest log entry of the given type happened, or 0 if none is found.
◆ md_job_make()
Create a new job instance for the given MD name. Job load/save will work using the name.
◆ md_job_notify()
◆ md_job_retry_at()
◆ md_job_save()
Update storage from job in <group>/job->mdomain.
◆ md_job_set_group()
◆ md_job_start_run()
◆ md_status_get_json()
Get a JSON summary of all MDs and their status.
◆ md_status_get_md_json()
Get a JSON summary of the MD and its status (certificates, jobs, etc.).
◆ md_status_take_stock()
Take stock of all MDs given for a short overview. The JSON returned will carry integers for MD_KEY_COMPLETE, MD_KEY_RENEWING, MD_KEY_ERRORED, MD_KEY_READY and MD_KEY_TOTAL.