1 #ifndef DIRECTOR_REPOSITORY_H_
2 #define DIRECTOR_REPOSITORY_H_
4 #include "gtest/gtest_prod.h"
6 #include "uptanerepository.h"
17 void verifyTargets(
const std::string& targets_raw);
18 const Targets& getTargets()
const {
return targets; }
21 return targets.getTargets(ecu_id, hw_id);
23 const std::string& getCorrelationId()
const {
return targets.correlation_id(); }
28 bool matchTargetsWithImageTargets(
const Uptane::Targets& image_targets)
const;
32 void checkTargetsExpired();
33 void targetsSanityCheck();
34 bool usePreviousTargets()
const;
37 FRIEND_TEST(Director, EmptyTargets);
47 #endif // DIRECTOR_REPOSITORY_H