17 #ifndef __VOLUME_CSI_ISOLATOR_STATE_HPP__ 18 #define __VOLUME_CSI_ISOLATOR_STATE_HPP__ 22 #include <boost/functional/hash.hpp> 25 #include "slave/containerizer/mesos/isolators/volume/csi/state.pb.h" 33 return (left.plugin_name() == right.plugin_name()) &&
34 (left.id() == right.id());
51 result_type
operator()(
const argument_type& volume)
const 54 boost::hash_combine(seed, std::hash<std::string>()(volume.plugin_name()));
55 boost::hash_combine(seed, std::hash<std::string>()(volume.id()));
62 #endif // __VOLUME_CSI_ISOLATOR_STATE_HPP__ bool operator==(const DockerVolume &left, const DockerVolume &right)
Definition: state.hpp:29
result_type operator()(const argument_type &volume) const
Definition: state.hpp:51
Definition: type_utils.hpp:619
size_t result_type
Definition: state.hpp:47
Volume::Source::CSIVolume CSIVolume
Definition: v0_utils.hpp:33
mesos::internal::slave::CSIVolume argument_type
Definition: state.hpp:49
Definition: attributes.hpp:24