1 #ifndef DIRECTOR_REPO_H_
2 #define DIRECTOR_REPO_H_
8 DirectorRepo(boost::filesystem::path path,
const std::string &expires, std::string correlation_id)
9 :
Repo(Uptane::RepositoryType::Director(), std::move(path), expires, std::move(correlation_id)) {}
10 void addTarget(
const std::string &target_name,
const Json::Value &target,
const std::string &hardware_id,
11 const std::string &ecu_serial,
const std::string &url,
const std::string &expires =
"");
12 void revokeTargets(
const std::vector<std::string> &targets_to_remove);
17 static constexpr
const char *dir{
"repo/director"};
20 #endif // DIRECTOR_REPO_H_