clibdocker  0.1.0-alpha.0
A Docker API for C
Data Fields
docker_result_t Struct Reference

#include <docker_result.h>

Data Fields

d_err_t error_code
 
time_t start_time
 
time_t end_time
 
char * url
 URL for the docker API call.
 
char * method
 
char * request_json_str
 Request JSON data.
 
char * response_json_str
 Response JSON data (might be NULL)
 
long http_error_code
 Response HTTP error code.
 
char * message
 

Detailed Description

Internal struct docker_result_t typedef to docker_result

Field Documentation

◆ end_time

time_t docker_result_t::end_time

End time of the operation this is useful for rough calculation of time taken

Referenced by docker_result_get_end_time().

◆ error_code

d_err_t docker_result_t::error_code

Error code of the operation, see enum d_err_t for values

Referenced by docker_result_get_error_code(), docker_simple_error_handler_log(), docker_simple_error_handler_print(), and is_ok().

◆ message

char* docker_result_t::message

◆ method

char* docker_result_t::method

HTTP method for the docker API call.

Referenced by docker_result_get_method().

◆ start_time

time_t docker_result_t::start_time

Start time of the operation this is useful for rough calculation of time taken

Referenced by docker_result_get_start_time().


The documentation for this struct was generated from the following file: