17 #ifndef __POSIX_FILESYSTEM_ISOLATOR_HPP__ 18 #define __POSIX_FILESYSTEM_ISOLATOR_HPP__ 42 const std::vector<mesos::slave::ContainerState>& states,
46 const ContainerID& containerId,
47 const mesos::slave::ContainerConfig& containerConfig)
override;
50 const ContainerID& containerId,
52 const google::protobuf::Map<
53 std::string, Value::Scalar>& resourceLimits = {})
override;
56 const ContainerID& containerId)
override;
68 explicit Info(
const std::string& _directory)
86 #endif // __POSIX_FILESYSTEM_ISOLATOR_HPP__
const Flags flags
Definition: posix.hpp:63
~PosixFilesystemIsolatorProcess() override
Definition: resources.hpp:83
Definition: volume_gid_manager.hpp:42
std::vector< gid_t > gids
Definition: posix.hpp:76
process::Future< Nothing > cleanup(const ContainerID &containerId) override
Definition: hashmap.hpp:38
process::Future< Nothing > update(const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={}) override
const std::string directory
Definition: posix.hpp:71
Resources resources
Definition: posix.hpp:74
Info(const std::string &_directory)
Definition: posix.hpp:68
process::Future< Nothing > recover(const std::vector< mesos::slave::ContainerState > &states, const hashset< ContainerID > &orphans) override
Definition: isolator.hpp:82
hashmap< ContainerID, process::Owned< Info > > infos
Definition: posix.hpp:79
Definition: attributes.hpp:24
process::Future< Option< mesos::slave::ContainerLaunchInfo > > prepare(const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig) override
VolumeGidManager * volumeGidManager
Definition: posix.hpp:64
static Try< mesos::slave::Isolator * > create(const Flags &flags, VolumeGidManager *volumeGidManager)
PosixFilesystemIsolatorProcess(const Flags &flags, VolumeGidManager *volumeGidManager)