25 #ifndef HOOKS_CONFIG_HPP
26 #define HOOKS_CONFIG_HPP
46 std::vector<std::string>
args;
51 std::vector<std::string>
env;
92 #endif // HOOKS_CONFIG_HPP
Configuration file for the code.
std::string path
specifies the path to hook
Definition: hooks-config.hpp:41
Definition: hooks-config.hpp:36
Hooks are a collection of actions to perform at various container lifecycle events.
Definition: hooks-config.hpp:64
#define CARGO_REGISTER(...)
Registers cargo fields within class.
Definition: fields.hpp:74
std::vector< HookConfig > poststart
list of hooks to be run immediately after the container process is started
Definition: hooks-config.hpp:74
std::vector< HookConfig > prestart
list of hooks to be run before the container process is executed
Definition: hooks-config.hpp:69
std::vector< std::string > env
contains a list of variables that will be set in the process's environment
Definition: hooks-config.hpp:51
std::vector< HookConfig > poststop
list of hooks to be run after the container process exits
Definition: hooks-config.hpp:79
std::vector< std::string > args
specifies hook arguments
Definition: hooks-config.hpp:46