You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2018/01/08 18:33:35 UTC
[03/19] mesos-site git commit: Updated the website built from mesos
SHA: 8be2b0f.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/381ca6cb/content/api/latest/c++/uri__volume__profile_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/uri__volume__profile_8hpp_source.html b/content/api/latest/c++/uri__volume__profile_8hpp_source.html
deleted file mode 100644
index 4621f7c..0000000
--- a/content/api/latest/c++/uri__volume__profile_8hpp_source.html
+++ /dev/null
@@ -1,365 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.5"/>
-<title>Apache Mesos: src/resource_provider/storage/uri_volume_profile.hpp Source File</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td style="padding-left: 0.5em;">
- <div id="projectname">Apache Mesos
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.5 -->
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="pages.html"><span>Related Pages</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li><a href="annotated.html"><span>Classes</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- <li><a href="examples.html"><span>Examples</span></a></li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>File Members</span></a></li>
- </ul>
- </div>
-<div id="nav-path" class="navpath">
- <ul>
-<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_74eab5df10e7274ca9726b983071235d.html">resource_provider</a></li><li class="navelem"><a class="el" href="dir_317d8e1c02af29f941da9fa678654170.html">storage</a></li> </ul>
-</div>
-</div><!-- top -->
-<div class="header">
- <div class="headertitle">
-<div class="title">uri_volume_profile.hpp</div> </div>
-</div><!--header-->
-<div class="contents">
-<a href="uri__volume__profile_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div>
-<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div>
-<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div>
-<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div>
-<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div>
-<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div>
-<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div>
-<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div>
-<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div>
-<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
-<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div>
-<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
-<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div>
-<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div>
-<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div>
-<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __RESOURCE_PROVIDER_URI_VOLUME_PROFILE_HPP__</span></div>
-<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __RESOURCE_PROVIDER_URI_VOLUME_PROFILE_HPP__</span></div>
-<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <map></span></div>
-<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <string></span></div>
-<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <tuple></span></div>
-<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
-<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="resource__provider_2storage_2volume__profile_8hpp.html">mesos/resource_provider/storage/volume_profile.hpp</a>></span></div>
-<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
-<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="future_8hpp.html">process/future.hpp</a>></span></div>
-<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="owned_8hpp.html">process/owned.hpp</a>></span></div>
-<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="code" href="libprocess_2include_2process_2process_8hpp.html">process/process.hpp</a>></span></div>
-<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
-<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2ssl_2flags_8hpp.html">process/ssl/flags.hpp</a>></span></div>
-<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div>
-<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <<a class="code" href="duration_8hpp.html">stout/duration.hpp</a>></span></div>
-<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <<a class="code" href="error_8hpp.html">stout/error.hpp</a>></span></div>
-<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2stout_2include_2stout_2flags_8hpp.html">stout/flags.hpp</a>></span></div>
-<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div>
-<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <<a class="code" href="path_8hpp.html">stout/path.hpp</a>></span></div>
-<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <<a class="code" href="strings_8hpp.html">stout/strings.hpp</a>></span></div>
-<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div>
-<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include <<a class="code" href="include_2csi_2spec_8hpp.html">csi/spec.hpp</a>></span></div>
-<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
-<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include "<a class="code" href="volume__profile__utils_8hpp.html">resource_provider/storage/volume_profile_utils.hpp</a>"</span></div>
-<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div>
-<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">namespace </span>mesos {</div>
-<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">namespace </span>internal {</div>
-<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="namespacemesos_1_1internal_1_1profile.html"> 45</a></span> <span class="keyword">namespace </span>profile {</div>
-<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
-<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">// Forward declaration.</span></div>
-<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html">UriVolumeProfileAdaptorProcess</a>;</div>
-<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div>
-<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1profile_1_1Flags.html"> 50</a></span> <span class="keyword">struct </span><a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html">Flags</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="classflags_1_1FlagsBase.html">flags::FlagsBase</a></div>
-<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> {</div>
-<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1profile_1_1Flags.html#a10166e16ba42331fed92cd81769da33d"> 52</a></span>  <a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html#a10166e16ba42331fed92cd81769da33d">Flags</a>()</div>
-<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  {</div>
-<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classflags_1_1FlagsBase.html#a09ebe840242a3b0fbd3263bb6c7ca226">add</a>(&<a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html#ae427888bb547a4bf70b07eb058419fb9">Flags::uri</a>,</div>
-<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="stringliteral">"uri"</span>,</div>
-<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="structNone.html">None</a>(),</div>
-<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="stringliteral">"URI to a JSON object containing the volume profile mapping.\n"</span></div>
-<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="stringliteral">"This module supports both HTTP(s) and file URIs\n."</span></div>
-<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="stringliteral">"\n"</span></div>
-<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="stringliteral">"The JSON object should consist of some top-level string keys\n"</span></div>
-<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="stringliteral">"corresponding to the volume profile name. Each value should\n"</span></div>
-<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="stringliteral">"contain a `VolumeCapability` under a 'volume_capabilities'\n"</span></div>
-<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="stringliteral">"and a free-form string-string mapping under 'create_parameters'.\n"</span></div>
-<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="stringliteral">"\n"</span></div>
-<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="stringliteral">"The JSON is modeled after a protobuf found in\n"</span></div>
-<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="stringliteral">"`src/csi/uri_volume_profile.proto`.\n"</span></div>
-<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="stringliteral">"\n"</span></div>
-<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="stringliteral">"For example:\n"</span></div>
-<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="stringliteral">"{\n"</span></div>
-<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="stringliteral">" \"profile_matrix\" : {\n"</span></div>
-<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="stringliteral">" \"my-profile\" : {\n"</span></div>
-<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="stringliteral">" \"volume_capabilities\" : {\n"</span></div>
-<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="stringliteral">" \"block\" : {},\n"</span></div>
-<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="stringliteral">" \"access_mode\" : { \"mode\" : \"SINGLE_NODE_WRITER\" }\n"</span></div>
-<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="stringliteral">" },\n"</span></div>
-<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="stringliteral">" \"create_parameters\" : {\n"</span></div>
-<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="stringliteral">" \"mesos-does-not\" : \"interpret-these\",\n"</span></div>
-<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="stringliteral">" \"type\" : \"raid5\",\n"</span></div>
-<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="stringliteral">" \"stripes\" : \"3\",\n"</span></div>
-<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="stringliteral">" \"stripesize\" : \"64\"\n"</span></div>
-<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="stringliteral">" }\n"</span></div>
-<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="stringliteral">" }\n"</span></div>
-<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="stringliteral">" }\n"</span></div>
-<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="stringliteral">"}"</span>,</div>
-<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  static_cast<const Path*>(<span class="keyword">nullptr</span>),</div>
-<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  [](<span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>& value) -> <a class="code" href="classOption.html">Option<Error></a> {</div>
-<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">// For now, just check if the URI has a supported scheme.</span></div>
-<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="comment">//</span></div>
-<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// TODO(josephw): Once we have a proper URI class and parser,</span></div>
-<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="comment">// consider validating this URI more thoroughly.</span></div>
-<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span> (<a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(value.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>(), <span class="stringliteral">"http://"</span>)</div>
-<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> #ifdef USE_SSL_SOCKET</div>
-<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  || (<a class="code" href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">process::network::openssl::flags</a>().enabled &&</div>
-<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(value.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>(), <span class="stringliteral">"https://"</span>))</div>
-<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#endif // USE_SSL_SOCKET</span></div>
-<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor"></span> ) {</div>
-<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="classTry.html">Try<process::http::URL></a> url =</div>
-<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="structprocess_1_1http_1_1URL.html#aeb5accae04a1e271d4fdafa22131c150">process::http::URL::parse</a>(value.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>());</div>
-<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
-<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">if</span> (url.<a class="code" href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) {</div>
-<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">"Failed to parse URI: "</span> + url.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div>
-<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  }</div>
-<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div>
-<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> <a class="code" href="structNone.html">None</a>();</div>
-<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  }</div>
-<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div>
-<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// NOTE: The `Path` class will strip off the 'file://' prefix.</span></div>
-<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">if</span> (<a class="code" href="namespacestrings.html#a269921757daf11096d3f5e02686f8444">strings::contains</a>(value.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>(), <span class="stringliteral">"://"</span>)) {</div>
-<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">"--uri must use a supported scheme (file or http(s))"</span>);</div>
-<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  }</div>
-<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div>
-<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="comment">// We only allow absolute paths for file paths.</span></div>
-<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">if</span> (!value.<a class="code" href="classPath.html#a240c7b71a23c8e97b5490dbae75cc948">absolute</a>()) {</div>
-<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">"--uri to a file must be an absolute path"</span>);</div>
-<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  }</div>
-<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div>
-<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">return</span> <a class="code" href="structNone.html">None</a>();</div>
-<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  });</div>
-<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div>
-<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classflags_1_1FlagsBase.html#a09ebe840242a3b0fbd3263bb6c7ca226">add</a>(&<a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html#a7bed0d3e77c8a7fadc6ca05cb84ea5bc">Flags::poll_interval</a>,</div>
-<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="stringliteral">"poll_interval"</span>,</div>
-<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="stringliteral">"How long to wait between polling the specified `--uri`.\n"</span></div>
-<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="stringliteral">"The time is checked each time the `translate` method is called.\n"</span></div>
-<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="stringliteral">"If the given time has elapsed, then the URI is re-fetched."</span></div>
-<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="stringliteral">"If not specified, the URI is only fetched once."</span>,</div>
-<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  [](<span class="keyword">const</span> <a class="code" href="classOption.html">Option<Duration></a>& value) -> <a class="code" href="classOption.html">Option<Error></a> {</div>
-<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span> (value.<a class="code" href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">isSome</a>() && value.<a class="code" href="classOption.html#a21358442c0fac1cc978a67a9a9089a79">get</a>() <= <a class="code" href="classSeconds.html">Seconds</a>(0)) {</div>
-<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">"--poll_interval must be non-negative"</span>);</div>
-<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</div>
-<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div>
-<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">return</span> <a class="code" href="structNone.html">None</a>();</div>
-<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  });</div>
-<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div>
-<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="classflags_1_1FlagsBase.html#a09ebe840242a3b0fbd3263bb6c7ca226">add</a>(&<a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html#ae38e01d8f13ea537d91186e5b53efeb6">Flags::max_random_wait</a>,</div>
-<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="stringliteral">"max_random_wait"</span>,</div>
-<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="stringliteral">"How long at most to wait between discovering a new set of profiles\n"</span></div>
-<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="stringliteral">"and notifying the callers of `watch`. The actual wait time is a\n"</span></div>
-<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="stringliteral">"uniform random value between 0 and this value. If the `--uri` points\n"</span></div>
-<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="stringliteral">"to a centralized location, it may be good to scale this number\n"</span></div>
-<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="stringliteral">"according to the number of resource providers in the cluster."</span>,</div>
-<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <a class="code" href="classSeconds.html">Seconds</a>(0),</div>
-<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  [](<span class="keyword">const</span> <a class="code" href="classDuration.html">Duration</a>& value) -> <a class="code" href="classOption.html">Option<Error></a> {</div>
-<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">if</span> (value < <a class="code" href="classSeconds.html">Seconds</a>(0)) {</div>
-<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">"--max_random_wait must be zero or greater"</span>);</div>
-<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div>
-<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div>
-<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span> <a class="code" href="structNone.html">None</a>();</div>
-<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  });</div>
-<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div>
-<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div>
-<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="comment">// NOTE: We use the `Path` type here so that the stout flags parser</span></div>
-<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="comment">// does not attempt to read a file if given a `file://` prefixed value.</span></div>
-<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="comment">//</span></div>
-<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="comment">// TODO(josephw): Replace with a URI type when stout gets one.</span></div>
-<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1profile_1_1Flags.html#ae427888bb547a4bf70b07eb058419fb9"> 155</a></span>  <a class="code" href="classPath.html">Path</a> <a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html#ae427888bb547a4bf70b07eb058419fb9">uri</a>;</div>
-<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div>
-<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1profile_1_1Flags.html#a7bed0d3e77c8a7fadc6ca05cb84ea5bc"> 157</a></span>  <a class="code" href="classOption.html">Option<Duration></a> <a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html#a7bed0d3e77c8a7fadc6ca05cb84ea5bc">poll_interval</a>;</div>
-<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1profile_1_1Flags.html#ae38e01d8f13ea537d91186e5b53efeb6"> 158</a></span>  <a class="code" href="classDuration.html">Duration</a> <a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html#ae38e01d8f13ea537d91186e5b53efeb6">max_random_wait</a>;</div>
-<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> };</div>
-<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div>
-<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div>
-<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment">// The `UriVolumeProfileAdaptor` is an example VolumeProfile module that</span></div>
-<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment">// takes a URI as a module parameter and fetches that URI periodically.</span></div>
-<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment">// The fetched data is parsed into the required CSI protobufs</span></div>
-<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="comment">// (which also acts as validation).</span></div>
-<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="comment">//</span></div>
-<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="comment">// If there is an error during fetching, any previously fetched results</span></div>
-<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment">// will be used until fetching is successful.</span></div>
-<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment">//</span></div>
-<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment">// This module does not filter return results based on `CSIPluginInfo::type`</span></div>
-<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="comment">// and assumes that all fetched profiles are meant for all resource providers.</span></div>
-<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="comment">//</span></div>
-<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment">// See `Flags` above for more information.</span></div>
-<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html"> 174</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html">UriVolumeProfileAdaptor</a> : <span class="keyword">public</span> <a class="code" href="classmesos_1_1VolumeProfileAdaptor.html">mesos::VolumeProfileAdaptor</a></div>
-<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> {</div>
-<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="keyword">public</span>:</div>
-<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a1e03b3514dd6f5c60c85f5795d0251b5">UriVolumeProfileAdaptor</a>(<span class="keyword">const</span> <a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html">Flags</a>& _flags);</div>
-<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div>
-<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a8539f29e94172c454389eb69be2f07e4">~UriVolumeProfileAdaptor</a>();</div>
-<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div>
-<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<mesos::VolumeProfileAdaptor::ProfileInfo></a> <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#ac71fcc9680e45b27fe66c2c0b84fec15">translate</a>(</div>
-<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">const</span> std::string& profile,</div>
-<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keyword">const</span> std::string& csiPluginInfoType) <span class="keyword">override</span>;</div>
-<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div>
-<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<hashset<std::string></a>> <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a2f9300f7c2d68a2242d4caa4dd808b57">watch</a>(</div>
-<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keyword">const</span> <a class="code" href="classhashset.html">hashset<std::string></a>& knownProfiles,</div>
-<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">const</span> std::string& csiPluginInfoType) <span class="keyword">override</span>;</div>
-<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div>
-<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="keyword">protected</span>:</div>
-<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a3e59d35d80b05e9c8c9c7268637ab159"> 190</a></span>  <a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html">Flags</a> <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a3e59d35d80b05e9c8c9c7268637ab159">flags</a>;</div>
-<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a4c52cc7d536c1df06571ba7e01a5fe09"> 191</a></span>  <a class="code" href="classprocess_1_1Owned.html">process::Owned<UriVolumeProfileAdaptorProcess></a> <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a4c52cc7d536c1df06571ba7e01a5fe09">process</a>;</div>
-<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> };</div>
-<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div>
-<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div>
-<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html"> 195</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html">UriVolumeProfileAdaptorProcess</a> :</div>
-<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keyword">public</span> <a class="code" href="classprocess_1_1Process.html">process::Process</a><UriVolumeProfileAdaptorProcess></div>
-<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> {</div>
-<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="keyword">public</span>:</div>
-<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html#a5a6b2467ca26e7d159a783cb6551793a">UriVolumeProfileAdaptorProcess</a>(<span class="keyword">const</span> <a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html">Flags</a>& _flags);</div>
-<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div>
-<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html#afd8cf3d3885eb3c11b150d15632fd8e5">initialize</a>() <span class="keyword">override</span>;</div>
-<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div>
-<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="classprocess_1_1Future.html">process::Future<mesos::VolumeProfileAdaptor::ProfileInfo></a> <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html#a14aa1618e2f12b1dc4c68b1bb3c4918a">translate</a>(</div>
-<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keyword">const</span> std::string& profile,</div>
-<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">const</span> std::string& csiPluginInfoType);</div>
-<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div>
-<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="classprocess_1_1Future.html">process::Future<hashset<std::string></a>> <a class="code" href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html#aec941bae3ee8e6fe50d41982fd8ab298">watch</a>(</div>
-<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">const</span> <a class="code" href="classhashset.html">hashset<std::string></a>& knownProfiles,</div>
-<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keyword">const</span> std::string& csiPluginInfoType);</div>
-<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div>
-<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="keyword">private</span>:</div>
-<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="comment">// Helpers for fetching the `--uri`.</span></div>
-<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="comment">// If `--poll_interval` is set, this method will dispatch to itself with</span></div>
-<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="comment">// a delay once the fetch is complete.</span></div>
-<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordtype">void</span> poll();</div>
-<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordtype">void</span> _poll(<span class="keyword">const</span> <a class="code" href="classTry.html">Try<std::string></a>& fetched);</div>
-<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div>
-<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="comment">// Helper that is called upon successfully polling and parsing the `--uri`.</span></div>
-<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="comment">// This method will check the following conditions before updating the state</span></div>
-<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="comment">// of the module:</span></div>
-<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="comment">// * All known profiles must be included in the updated set.</span></div>
-<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="comment">// * All properties of known profiles must match those in the updated set.</span></div>
-<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordtype">void</span> notify(<span class="keyword">const</span> resource_provider::VolumeProfileMapping& parsed);</div>
-<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div>
-<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="keyword">private</span>:</div>
-<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <a class="code" href="structmesos_1_1internal_1_1profile_1_1Flags.html">Flags</a> flags;</div>
-<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div>
-<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="comment">// The last fetched profile mapping.</span></div>
-<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="comment">// This module assumes that profiles can only be added and never removed.</span></div>
-<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="comment">// Once added, profiles cannot be changed either.</span></div>
-<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="comment">//</span></div>
-<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="comment">// TODO(josephw): Consider persisting this mapping across agent restarts.</span></div>
-<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  std::map<std::string, VolumeProfileAdaptor::ProfileInfo> data;</div>
-<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> </div>
-<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="comment">// Convenience set of the keys in `data` above.</span></div>
-<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="comment">// This module does not filter based on `CSIPluginInfo::type`, so this</span></div>
-<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="comment">// is valid for all input to `watch(...)`.</span></div>
-<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <a class="code" href="classhashset.html">hashset<std::string></a> profiles;</div>
-<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div>
-<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="comment">// Will be satisfied whenever `data` is changed.</span></div>
-<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <a class="code" href="classprocess_1_1Owned.html">process::Owned<process::Promise<hashset<std::string></a>>> watchPromise;</div>
-<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> };</div>
-<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div>
-<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> } <span class="comment">// namespace profile {</span></div>
-<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> } <span class="comment">// namespace internal {</span></div>
-<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> } <span class="comment">// namespace mesos {</span></div>
-<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div>
-<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="preprocessor">#endif // __RESOURCE_PROVIDER_URI_VOLUME_PROFILE_HPP__</span></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor_html_a2f9300f7c2d68a2242d4caa4dd808b57"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a2f9300f7c2d68a2242d4caa4dd808b57">mesos::internal::profile::UriVolumeProfileAdaptor::watch</a></div><div class="ttdeci">virtual process::Future< hashset< std::string > > watch(const hashset< std::string > &knownProfiles, const std::string &csiPluginInfoType) override</div><div class="ttdoc">Returns a future that will be satisifed iff the set of profiles known by the module differs from the ...</div></div>
-<div class="ttc" id="volume__profile__utils_8hpp_html"><div class="ttname"><a href="volume__profile__utils_8hpp.html">volume_profile_utils.hpp</a></div></div>
-<div class="ttc" id="classError_html"><div class="ttname"><a href="classError.html">Error</a></div><div class="ttdef"><b>Definition:</b> errorbase.hpp:35</div></div>
-<div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< Error ></a></div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess_html_a14aa1618e2f12b1dc4c68b1bb3c4918a"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html#a14aa1618e2f12b1dc4c68b1bb3c4918a">mesos::internal::profile::UriVolumeProfileAdaptorProcess::translate</a></div><div class="ttdeci">process::Future< mesos::VolumeProfileAdaptor::ProfileInfo > translate(const std::string &profile, const std::string &csiPluginInfoType)</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html_aeb5accae04a1e271d4fdafa22131c150"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html#aeb5accae04a1e271d4fdafa22131c150">process::http::URL::parse</a></div><div class="ttdeci">static Try< URL > parse(const std::string &urlString)</div></div>
-<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> try.hpp:34</div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess_html_aec941bae3ee8e6fe50d41982fd8ab298"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html#aec941bae3ee8e6fe50d41982fd8ab298">mesos::internal::profile::UriVolumeProfileAdaptorProcess::watch</a></div><div class="ttdeci">process::Future< hashset< std::string > > watch(const hashset< std::string > &knownProfiles, const std::string &csiPluginInfoType)</div></div>
-<div class="ttc" id="classhashset_html"><div class="ttname"><a href="classhashset.html">hashset< std::string ></a></div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor_html_a3e59d35d80b05e9c8c9c7268637ab159"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a3e59d35d80b05e9c8c9c7268637ab159">mesos::internal::profile::UriVolumeProfileAdaptor::flags</a></div><div class="ttdeci">Flags flags</div><div class="ttdef"><b>Definition:</b> uri_volume_profile.hpp:190</div></div>
-<div class="ttc" id="classmesos_1_1VolumeProfileAdaptor_html"><div class="ttname"><a href="classmesos_1_1VolumeProfileAdaptor.html">mesos::VolumeProfileAdaptor</a></div><div class="ttdoc">This module is used by Storage Resource Providers to translate the &quot;profile&quot; field of a Resource::Dis...</div><div class="ttdef"><b>Definition:</b> volume_profile.hpp:50</div></div>
-<div class="ttc" id="structmesos_1_1internal_1_1profile_1_1Flags_html"><div class="ttname"><a href="structmesos_1_1internal_1_1profile_1_1Flags.html">mesos::internal::profile::Flags</a></div><div class="ttdef"><b>Definition:</b> uri_volume_profile.hpp:50</div></div>
-<div class="ttc" id="classDuration_html"><div class="ttname"><a href="classDuration.html">Duration</a></div><div class="ttdef"><b>Definition:</b> duration.hpp:32</div></div>
-<div class="ttc" id="classOption_html_a4e3bf8416d95246f43c91f1b5c309323"><div class="ttname"><a href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">Option::isSome</a></div><div class="ttdeci">bool isSome() const </div><div class="ttdef"><b>Definition:</b> option.hpp:115</div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess_html_a5a6b2467ca26e7d159a783cb6551793a"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html#a5a6b2467ca26e7d159a783cb6551793a">mesos::internal::profile::UriVolumeProfileAdaptorProcess::UriVolumeProfileAdaptorProcess</a></div><div class="ttdeci">UriVolumeProfileAdaptorProcess(const Flags &_flags)</div></div>
-<div class="ttc" id="structmesos_1_1internal_1_1profile_1_1Flags_html_ae427888bb547a4bf70b07eb058419fb9"><div class="ttname"><a href="structmesos_1_1internal_1_1profile_1_1Flags.html#ae427888bb547a4bf70b07eb058419fb9">mesos::internal::profile::Flags::uri</a></div><div class="ttdeci">Path uri</div><div class="ttdef"><b>Definition:</b> uri_volume_profile.hpp:155</div></div>
-<div class="ttc" id="resource__provider_2storage_2volume__profile_8hpp_html"><div class="ttname"><a href="resource__provider_2storage_2volume__profile_8hpp.html">volume_profile.hpp</a></div></div>
-<div class="ttc" id="namespacestrings_html_a269921757daf11096d3f5e02686f8444"><div class="ttname"><a href="namespacestrings.html#a269921757daf11096d3f5e02686f8444">strings::contains</a></div><div class="ttdeci">bool contains(const std::string &s, const std::string &substr)</div><div class="ttdef"><b>Definition:</b> strings.hpp:406</div></div>
-<div class="ttc" id="duration_8hpp_html"><div class="ttname"><a href="duration_8hpp.html">duration.hpp</a></div></div>
-<div class="ttc" id="structmesos_1_1internal_1_1profile_1_1Flags_html_a7bed0d3e77c8a7fadc6ca05cb84ea5bc"><div class="ttname"><a href="structmesos_1_1internal_1_1profile_1_1Flags.html#a7bed0d3e77c8a7fadc6ca05cb84ea5bc">mesos::internal::profile::Flags::poll_interval</a></div><div class="ttdeci">Option< Duration > poll_interval</div><div class="ttdef"><b>Definition:</b> uri_volume_profile.hpp:157</div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor_html"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html">mesos::internal::profile::UriVolumeProfileAdaptor</a></div><div class="ttdef"><b>Definition:</b> uri_volume_profile.hpp:174</div></div>
-<div class="ttc" id="structmesos_1_1internal_1_1profile_1_1Flags_html_ae38e01d8f13ea537d91186e5b53efeb6"><div class="ttname"><a href="structmesos_1_1internal_1_1profile_1_1Flags.html#ae38e01d8f13ea537d91186e5b53efeb6">mesos::internal::profile::Flags::max_random_wait</a></div><div class="ttdeci">Duration max_random_wait</div><div class="ttdef"><b>Definition:</b> uri_volume_profile.hpp:158</div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor_html_a1e03b3514dd6f5c60c85f5795d0251b5"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a1e03b3514dd6f5c60c85f5795d0251b5">mesos::internal::profile::UriVolumeProfileAdaptor::UriVolumeProfileAdaptor</a></div><div class="ttdeci">UriVolumeProfileAdaptor(const Flags &_flags)</div></div>
-<div class="ttc" id="classPath_html"><div class="ttname"><a href="classPath.html">Path</a></div><div class="ttdoc">Represents a POSIX or Windows file system path and offers common path manipulations. </div><div class="ttdef"><b>Definition:</b> path.hpp:145</div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor_html_a4c52cc7d536c1df06571ba7e01a5fe09"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a4c52cc7d536c1df06571ba7e01a5fe09">mesos::internal::profile::UriVolumeProfileAdaptor::process</a></div><div class="ttdeci">process::Owned< UriVolumeProfileAdaptorProcess > process</div><div class="ttdef"><b>Definition:</b> uri_volume_profile.hpp:191</div></div>
-<div class="ttc" id="path_8hpp_html"><div class="ttname"><a href="path_8hpp.html">path.hpp</a></div></div>
-<div class="ttc" id="classSeconds_html"><div class="ttname"><a href="classSeconds.html">Seconds</a></div><div class="ttdef"><b>Definition:</b> duration.hpp:255</div></div>
-<div class="ttc" id="classflags_1_1FlagsBase_html"><div class="ttname"><a href="classflags_1_1FlagsBase.html">flags::FlagsBase</a></div><div class="ttdef"><b>Definition:</b> flags.hpp:44</div></div>
-<div class="ttc" id="3rdparty_2stout_2include_2stout_2flags_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2flags_8hpp.html">flags.hpp</a></div></div>
-<div class="ttc" id="classOption_html_a21358442c0fac1cc978a67a9a9089a79"><div class="ttname"><a href="classOption.html#a21358442c0fac1cc978a67a9a9089a79">Option::get</a></div><div class="ttdeci">const T & get() const &</div><div class="ttdef"><b>Definition:</b> option.hpp:118</div></div>
-<div class="ttc" id="classPath_html_a240c7b71a23c8e97b5490dbae75cc948"><div class="ttname"><a href="classPath.html#a240c7b71a23c8e97b5490dbae75cc948">Path::absolute</a></div><div class="ttdeci">bool absolute() const </div><div class="ttdef"><b>Definition:</b> path.hpp:306</div></div>
-<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
-<div class="ttc" id="classTry_html_aec4a11ddd3c036e889d90b7eb6258ba7"><div class="ttname"><a href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">Try::error</a></div><div class="ttdeci">static Try error(const E &e)</div><div class="ttdef"><b>Definition:</b> try.hpp:42</div></div>
-<div class="ttc" id="future_8hpp_html"><div class="ttname"><a href="future_8hpp.html">future.hpp</a></div></div>
-<div class="ttc" id="decoder_8hpp_html_abb0829cce9dd20a40ae0d86890ae85c6"><div class="ttname"><a href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a></div><div class="ttdeci">#define flags</div><div class="ttdef"><b>Definition:</b> decoder.hpp:18</div></div>
-<div class="ttc" id="error_8hpp_html"><div class="ttname"><a href="error_8hpp.html">error.hpp</a></div></div>
-<div class="ttc" id="structNone_html"><div class="ttname"><a href="structNone.html">None</a></div><div class="ttdef"><b>Definition:</b> none.hpp:27</div></div>
-<div class="ttc" id="classTry_html_a0b98f95163b8a38daafd1651b043a276"><div class="ttname"><a href="classTry.html#a0b98f95163b8a38daafd1651b043a276">Try::isError</a></div><div class="ttdeci">bool isError() const </div><div class="ttdef"><b>Definition:</b> try.hpp:71</div></div>
-<div class="ttc" id="classflags_1_1FlagsBase_html_a09ebe840242a3b0fbd3263bb6c7ca226"><div class="ttname"><a href="classflags_1_1FlagsBase.html#a09ebe840242a3b0fbd3263bb6c7ca226">flags::FlagsBase::add</a></div><div class="ttdeci">void add(T1 Flags::*t1, const Name &name, const Option< Name > &alias, const std::string &help, const T2 *t2, F validate)</div><div class="ttdef"><b>Definition:</b> flags.hpp:333</div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor_html_ac71fcc9680e45b27fe66c2c0b84fec15"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#ac71fcc9680e45b27fe66c2c0b84fec15">mesos::internal::profile::UriVolumeProfileAdaptor::translate</a></div><div class="ttdeci">virtual process::Future< mesos::VolumeProfileAdaptor::ProfileInfo > translate(const std::string &profile, const std::string &csiPluginInfoType) override</div><div class="ttdoc">Called before a Storage Resource Provider makes an affected CSI request. </div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess_html"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html">mesos::internal::profile::UriVolumeProfileAdaptorProcess</a></div><div class="ttdef"><b>Definition:</b> uri_volume_profile.hpp:195</div></div>
-<div class="ttc" id="owned_8hpp_html"><div class="ttname"><a href="owned_8hpp.html">owned.hpp</a></div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess_html_afd8cf3d3885eb3c11b150d15632fd8e5"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptorProcess.html#afd8cf3d3885eb3c11b150d15632fd8e5">mesos::internal::profile::UriVolumeProfileAdaptorProcess::initialize</a></div><div class="ttdeci">virtual void initialize() override</div><div class="ttdoc">Invoked when a process gets spawned. </div></div>
-<div class="ttc" id="classprocess_1_1Owned_html"><div class="ttname"><a href="classprocess_1_1Owned.html">process::Owned</a></div><div class="ttdef"><b>Definition:</b> owned.hpp:35</div></div>
-<div class="ttc" id="namespacestrings_html_aa5513faacb213c7e097c0d43af43d9c7"><div class="ttname"><a href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a></div><div class="ttdeci">bool startsWith(const std::string &s, const std::string &prefix)</div><div class="ttdef"><b>Definition:</b> strings.hpp:380</div></div>
-<div class="ttc" id="classprocess_1_1Process_html"><div class="ttname"><a href="classprocess_1_1Process.html">process::Process</a></div><div class="ttdef"><b>Definition:</b> process.hpp:493</div></div>
-<div class="ttc" id="classPath_html_a9d36a94d674e3f889eb8f46dc7a156b8"><div class="ttname"><a href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">Path::string</a></div><div class="ttdeci">const std::string & string() const </div><div class="ttdef"><b>Definition:</b> path.hpp:317</div></div>
-<div class="ttc" id="include_2csi_2spec_8hpp_html"><div class="ttname"><a href="include_2csi_2spec_8hpp.html">spec.hpp</a></div></div>
-<div class="ttc" id="3rdparty_2libprocess_2include_2process_2ssl_2flags_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2ssl_2flags_8hpp.html">flags.hpp</a></div></div>
-<div class="ttc" id="libprocess_2include_2process_2process_8hpp_html"><div class="ttname"><a href="libprocess_2include_2process_2process_8hpp.html">process.hpp</a></div></div>
-<div class="ttc" id="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor_html_a8539f29e94172c454389eb69be2f07e4"><div class="ttname"><a href="classmesos_1_1internal_1_1profile_1_1UriVolumeProfileAdaptor.html#a8539f29e94172c454389eb69be2f07e4">mesos::internal::profile::UriVolumeProfileAdaptor::~UriVolumeProfileAdaptor</a></div><div class="ttdeci">virtual ~UriVolumeProfileAdaptor()</div></div>
-<div class="ttc" id="strings_8hpp_html"><div class="ttname"><a href="strings_8hpp.html">strings.hpp</a></div></div>
-<div class="ttc" id="structmesos_1_1internal_1_1profile_1_1Flags_html_a10166e16ba42331fed92cd81769da33d"><div class="ttname"><a href="structmesos_1_1internal_1_1profile_1_1Flags.html#a10166e16ba42331fed92cd81769da33d">mesos::internal::profile::Flags::Flags</a></div><div class="ttdeci">Flags()</div><div class="ttdef"><b>Definition:</b> uri_volume_profile.hpp:52</div></div>
-<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:57</div></div>
-</div><!-- fragment --></div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.5
-</small></address>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/381ca6cb/content/api/latest/c++/volume__profile__utils_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/volume__profile__utils_8hpp.html b/content/api/latest/c++/volume__profile__utils_8hpp.html
deleted file mode 100644
index 35a4000..0000000
--- a/content/api/latest/c++/volume__profile__utils_8hpp.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.5"/>
-<title>Apache Mesos: src/resource_provider/storage/volume_profile_utils.hpp File Reference</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td style="padding-left: 0.5em;">
- <div id="projectname">Apache Mesos
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.5 -->
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="pages.html"><span>Related Pages</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li><a href="annotated.html"><span>Classes</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- <li><a href="examples.html"><span>Examples</span></a></li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>File Members</span></a></li>
- </ul>
- </div>
-<div id="nav-path" class="navpath">
- <ul>
-<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_74eab5df10e7274ca9726b983071235d.html">resource_provider</a></li><li class="navelem"><a class="el" href="dir_317d8e1c02af29f941da9fa678654170.html">storage</a></li> </ul>
-</div>
-</div><!-- top -->
-<div class="header">
- <div class="summary">
-<a href="#namespaces">Namespaces</a> |
-<a href="#func-members">Functions</a> </div>
- <div class="headertitle">
-<div class="title">volume_profile_utils.hpp File Reference</div> </div>
-</div><!--header-->
-<div class="contents">
-<div class="textblock"><code>#include <<a class="el" href="option_8hpp_source.html">stout/option.hpp</a>></code><br/>
-<code>#include <<a class="el" href="try_8hpp_source.html">stout/try.hpp</a>></code><br/>
-<code>#include "resource_provider/storage/volume_profile.pb.h"</code><br/>
-</div>
-<p><a href="volume__profile__utils_8hpp_source.html">Go to the source code of this file.</a></p>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
-Namespaces</h2></td></tr>
-<tr class="memitem:namespacemesos"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html">mesos</a></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:namespacemesos_1_1internal"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal.html">mesos::internal</a></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:namespacemesos_1_1internal_1_1profile"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal_1_1profile.html">mesos::internal::profile</a></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
-Functions</h2></td></tr>
-<tr class="memitem:acf2b54a8aa2a73b7d7dab8b65db2fdb5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a><br class="typebreak"/>
-< resource_provider::VolumeProfileMapping > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal_1_1profile.html#acf2b54a8aa2a73b7d7dab8b65db2fdb5">mesos::internal::profile::parseVolumeProfileMapping</a> (const std::string &data)</td></tr>
-<tr class="separator:acf2b54a8aa2a73b7d7dab8b65db2fdb5"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:a3a8dedf5c5510879888d66f5b94a0231"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOption.html">Option</a>< <a class="el" href="classError.html">Error</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal_1_1profile.html#a3a8dedf5c5510879888d66f5b94a0231">mesos::internal::profile::validate</a> (const resource_provider::VolumeProfileMapping &mapping)</td></tr>
-<tr class="separator:a3a8dedf5c5510879888d66f5b94a0231"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:a7a562b1c120945b807706efdf313cdfe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOption.html">Option</a>< <a class="el" href="classError.html">Error</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal_1_1profile.html#a7a562b1c120945b807706efdf313cdfe">mesos::internal::profile::validate</a> (const csi::VolumeCapability &capability)</td></tr>
-<tr class="separator:a7a562b1c120945b807706efdf313cdfe"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.5
-</small></address>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/381ca6cb/content/api/latest/c++/volume__profile__utils_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/volume__profile__utils_8hpp_source.html b/content/api/latest/c++/volume__profile__utils_8hpp_source.html
deleted file mode 100644
index f9fa7dc..0000000
--- a/content/api/latest/c++/volume__profile__utils_8hpp_source.html
+++ /dev/null
@@ -1,117 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.5"/>
-<title>Apache Mesos: src/resource_provider/storage/volume_profile_utils.hpp Source File</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td style="padding-left: 0.5em;">
- <div id="projectname">Apache Mesos
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.5 -->
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="pages.html"><span>Related Pages</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li><a href="annotated.html"><span>Classes</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- <li><a href="examples.html"><span>Examples</span></a></li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>File Members</span></a></li>
- </ul>
- </div>
-<div id="nav-path" class="navpath">
- <ul>
-<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_74eab5df10e7274ca9726b983071235d.html">resource_provider</a></li><li class="navelem"><a class="el" href="dir_317d8e1c02af29f941da9fa678654170.html">storage</a></li> </ul>
-</div>
-</div><!-- top -->
-<div class="header">
- <div class="headertitle">
-<div class="title">volume_profile_utils.hpp</div> </div>
-</div><!--header-->
-<div class="contents">
-<a href="volume__profile__utils_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div>
-<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div>
-<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div>
-<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div>
-<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div>
-<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div>
-<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div>
-<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div>
-<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div>
-<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
-<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div>
-<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
-<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div>
-<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div>
-<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div>
-<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __RESOURCE_PROVIDER_URI_VOLUME_PROFILE_UTILS_HPP__</span></div>
-<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __RESOURCE_PROVIDER_URI_VOLUME_PROFILE_UTILS_HPP__</span></div>
-<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div>
-<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div>
-<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
-<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// ONLY USEFUL AFTER RUNNING PROTOC.</span></div>
-<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "resource_provider/storage/volume_profile.pb.h"</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
-<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">namespace </span>mesos {</div>
-<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span>internal {</div>
-<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span>profile {</div>
-<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
-<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// Helper for parsing a string as the expected data format.</span></div>
-<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <a class="code" href="classTry.html">Try<resource_provider::VolumeProfileMapping></a> <a class="code" href="namespacemesos_1_1internal_1_1profile.html#acf2b54a8aa2a73b7d7dab8b65db2fdb5">parseVolumeProfileMapping</a>(</div>
-<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">const</span> std::string& data);</div>
-<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div>
-<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div>
-<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// Checks the fields inside a `VolumeProfileMapping` according to the</span></div>
-<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// comments above the protobuf.</span></div>
-<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <a class="code" href="classOption.html">Option<Error></a> <a class="code" href="namespacemesos_1_1internal_1_1profile.html#a3a8dedf5c5510879888d66f5b94a0231">validate</a>(<span class="keyword">const</span> resource_provider::VolumeProfileMapping& mapping);</div>
-<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div>
-<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div>
-<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">// Checks the fields inside a `VolumeCapability` according to the</span></div>
-<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// comments above the protobuf.</span></div>
-<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <a class="code" href="classOption.html">Option<Error></a> <a class="code" href="namespacemesos_1_1internal_1_1profile.html#a3a8dedf5c5510879888d66f5b94a0231">validate</a>(<span class="keyword">const</span> csi::VolumeCapability& capability);</div>
-<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
-<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> } <span class="comment">// namespace profile {</span></div>
-<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> } <span class="comment">// namespace internal {</span></div>
-<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> } <span class="comment">// namespace mesos {</span></div>
-<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div>
-<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#endif // __RESOURCE_PROVIDER_URI_VOLUME_PROFILE_HPP__</span></div>
-<div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< Error ></a></div></div>
-<div class="ttc" id="namespacemesos_1_1internal_1_1profile_html_a3a8dedf5c5510879888d66f5b94a0231"><div class="ttname"><a href="namespacemesos_1_1internal_1_1profile.html#a3a8dedf5c5510879888d66f5b94a0231">mesos::internal::profile::validate</a></div><div class="ttdeci">Option< Error > validate(const resource_provider::VolumeProfileMapping &mapping)</div></div>
-<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> try.hpp:34</div></div>
-<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
-<div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div>
-<div class="ttc" id="namespacemesos_1_1internal_1_1profile_html_acf2b54a8aa2a73b7d7dab8b65db2fdb5"><div class="ttname"><a href="namespacemesos_1_1internal_1_1profile.html#acf2b54a8aa2a73b7d7dab8b65db2fdb5">mesos::internal::profile::parseVolumeProfileMapping</a></div><div class="ttdeci">Try< resource_provider::VolumeProfileMapping > parseVolumeProfileMapping(const std::string &data)</div></div>
-</div><!-- fragment --></div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.5
-</small></address>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/381ca6cb/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.Builder.html
----------------------------------------------------------------------
diff --git a/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.Builder.html b/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.Builder.html
index 048c6c8..3c2451f 100644
--- a/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.Builder.html
+++ b/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.Builder.html
@@ -1150,7 +1150,7 @@ implements <a href="../../../org/apache/mesos/Protos.Resource.DiskInfo.SourceOrB
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
@@ -1174,7 +1174,7 @@ implements <a href="../../../org/apache/mesos/Protos.Resource.DiskInfo.SourceOrB
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
@@ -1198,7 +1198,7 @@ implements <a href="../../../org/apache/mesos/Protos.Resource.DiskInfo.SourceOrB
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
@@ -1222,7 +1222,7 @@ implements <a href="../../../org/apache/mesos/Protos.Resource.DiskInfo.SourceOrB
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
@@ -1242,7 +1242,7 @@ implements <a href="../../../org/apache/mesos/Protos.Resource.DiskInfo.SourceOrB
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
@@ -1262,7 +1262,7 @@ implements <a href="../../../org/apache/mesos/Protos.Resource.DiskInfo.SourceOrB
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/381ca6cb/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.html b/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.html
index aa51b9d..4d06a19 100644
--- a/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.html
+++ b/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.Source.html
@@ -857,7 +857,7 @@ public static final <any> PARSER</pre>
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
@@ -881,7 +881,7 @@ public static final <any> PARSER</pre>
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
@@ -905,7 +905,7 @@ public static final <any> PARSER</pre>
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/381ca6cb/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.SourceOrBuilder.html
----------------------------------------------------------------------
diff --git a/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.SourceOrBuilder.html b/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.SourceOrBuilder.html
index 69e62e9..b1c72c1 100644
--- a/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.SourceOrBuilder.html
+++ b/content/api/latest/java/org/apache/mesos/Protos.Resource.DiskInfo.SourceOrBuilder.html
@@ -441,7 +441,7 @@ var activeTableTab = "activeTableTab";
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
@@ -461,7 +461,7 @@ var activeTableTab = "activeTableTab";
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
@@ -481,7 +481,7 @@ var activeTableTab = "activeTableTab";
profile name to a set of vendor specific disk parameters. And
the framework will do disk selection based on profile names,
instead of vendor specific disk parameters.
- Also see the VolumeProfile module.
+ Also see the DiskProfile module.
</pre>
<code>optional string profile = 6;</code></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/381ca6cb/content/blog/feed.xml
----------------------------------------------------------------------
diff --git a/content/blog/feed.xml b/content/blog/feed.xml
index 64101a4..d6c1bcb 100644
--- a/content/blog/feed.xml
+++ b/content/blog/feed.xml
@@ -168,7 +168,7 @@ To learn more about CSI work in Mesos, you can dig into the design document <
</ul>
-<p>If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing <a href="&#109;&#97;&#x69;&#108;&#116;&#x6f;&#x3a;&#x64;&#101;&#118;&#64;&#97;&#x70;&#97;&#x63;&#104;&#x65;&#46;&#x6d;&#x65;&#x73;&#x6f;&#x73;&#46;&#111;&#114;&#103;">&#100;&#101;&#x76;&#x40;&#97;&#x70;&#x61;&#99;&#x68;&#101;&#46;&#109;&#101;&#115;&#111;&#115;&#46;&#x6f;&#x72;&#103;</a>.</p>
+<p>If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing <a href="&#x6d;&#97;&#x69;&#108;&#x74;&#111;&#x3a;&#x64;&#101;&#x76;&#64;&#97;&#112;&#97;&#x63;&#x68;&#101;&#46;&#x6d;&#x65;&#115;&#x6f;&#115;&#x2e;&#x6f;&#x72;&#103;">&#x64;&#x65;&#x76;&#64;&#97;&#112;&#x61;&#99;&#x68;&#x65;&#x2e;&#109;&#x65;&#115;&#x6f;&#x73;&#x2e;&#x6f;&#114;&#103;</a>.</p>
</content>
</entry>