17 #ifndef __PROVISIONER_BACKEND_HPP__ 18 #define __PROVISIONER_BACKEND_HPP__ 57 const std::vector<std::string>& layers,
58 const std::string& rootfs,
59 const std::string& backendDir) = 0;
65 const std::string& rootfs,
66 const std::string& backendDir) = 0;
73 #endif // __PROVISIONER_BACKEND_HPP__ virtual process::Future< bool > destroy(const std::string &rootfs, const std::string &backendDir)=0
Definition: backend.hpp:38
Definition: hashmap.hpp:38
virtual process::Future< Option< std::vector< Path > > > provision(const std::vector< std::string > &layers, const std::string &rootfs, const std::string &backendDir)=0
Definition: attributes.hpp:24
virtual ~Backend()
Definition: backend.hpp:41
static hashmap< std::string, process::Owned< Backend > > create(const Flags &flags)
Definition: future.hpp:58