Apache Mesos
Public Member Functions | List of all members
mesos::internal::tests::TestStore Class Reference

#include <store.hpp>

Inheritance diagram for mesos::internal::tests::TestStore:

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< Nothingunmocked_recover ()
process::Future< slave::ImageInfounmocked_get (const Image &image, const std::string &backend)
- Public Member Functions inherited from mesos::internal::slave::Store
virtual ~Store ()
virtual process::Future< Nothingrecover ()=0
virtual process::Future< ImageInfoget (const Image &image, const std::string &backend)=0
virtual process::Future< Nothingprune (const std::vector< Image > &excludedImages, const hashset< std::string > &activeLayerPaths)

Additional Inherited Members

- Static Public Member Functions inherited from mesos::internal::slave::Store
static Try< hashmap< Image::Type, process::Owned< Store > > > create (const Flags &flags, SecretResolver *secretResolver=nullptr)

Constructor & Destructor Documentation

mesos::internal::tests::TestStore::TestStore ( const hashmap< std::string, process::Shared< Rootfs >> &  _rootfses)

Member Function Documentation

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 
process::Future<slave::ImageInfo> mesos::internal::tests::TestStore::unmocked_get ( const Image &  image,
const std::string &  backend 
process::Future<Nothing> mesos::internal::tests::TestStore::unmocked_recover ( )

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