Apache Mesos
|
#include <store.hpp>
Public Member Functions | |
TestStore (const hashmap< std::string, process::Shared< Rootfs >> &_rootfses) | |
MOCK_METHOD0 (recover, process::Future< Nothing >()) | |
MOCK_METHOD1 (get, process::Future< slave::ImageInfo >(const Image &image, const std::string &backend)) | |
process::Future< Nothing > | unmocked_recover () |
process::Future< slave::ImageInfo > | unmocked_get (const Image &image, const std::string &backend) |
![]() | |
virtual | ~Store () |
virtual process::Future< Nothing > | recover ()=0 |
virtual process::Future < ImageInfo > | get (const Image &image, const std::string &backend)=0 |
virtual process::Future< Nothing > | prune (const std::vector< Image > &excludedImages, const hashset< std::string > &activeLayerPaths) |
Additional Inherited Members | |
![]() | |
static Try< hashmap < Image::Type, process::Owned < Store > > > | create (const Flags &flags, SecretResolver *secretResolver=nullptr) |
|
inline |
mesos::internal::tests::TestStore::MOCK_METHOD0 | ( | recover | , |
process::Future< Nothing > | () | ||
) |
mesos::internal::tests::TestStore::MOCK_METHOD1 | ( | get | , |
process::Future< slave::ImageInfo > | const Image &image, const std::string &backend | ||
) |
|
inline |
|
inline |