blob: 52f200dc5c5f1e8b1ee49038bc9455a7df6bb149 [file] [log] [blame]
<!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: mesos::internal::tests::MockSecretGenerator Class 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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><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="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacemesos.html">mesos</a></li><li class="navelem"><a class="el" href="namespacemesos_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="namespacemesos_1_1internal_1_1tests.html">tests</a></li><li class="navelem"><a class="el" href="classmesos_1_1internal_1_1tests_1_1MockSecretGenerator.html">MockSecretGenerator</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classmesos_1_1internal_1_1tests_1_1MockSecretGenerator-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">mesos::internal::tests::MockSecretGenerator Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="src_2tests_2mesos_8hpp_source.html">mesos.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mesos::internal::tests::MockSecretGenerator:</div>
<div class="dyncontent">
<div class="center">
<img src="classmesos_1_1internal_1_1tests_1_1MockSecretGenerator.png" usemap="#mesos::internal::tests::MockSecretGenerator_map" alt=""/>
<map id="mesos::internal::tests::MockSecretGenerator_map" name="mesos::internal::tests::MockSecretGenerator_map">
<area href="classmesos_1_1SecretGenerator.html" title="The SecretGenerator interface represents a mechanism to create a secret from a principal. " alt="mesos::SecretGenerator" shape="rect" coords="0,0,257,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a44b558073dbc1319769f4bc83748dbc7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1internal_1_1tests_1_1MockSecretGenerator.html#a44b558073dbc1319769f4bc83748dbc7">MockSecretGenerator</a> ()=default</td></tr>
<tr class="separator:a44b558073dbc1319769f4bc83748dbc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30c3c7aec09423be52ef1aae2a7ffd6c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1internal_1_1tests_1_1MockSecretGenerator.html#a30c3c7aec09423be52ef1aae2a7ffd6c">~MockSecretGenerator</a> ()=default</td></tr>
<tr class="separator:a30c3c7aec09423be52ef1aae2a7ffd6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3a0697821081cc621ce6cda9bbc7e18"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1internal_1_1tests_1_1MockSecretGenerator.html#af3a0697821081cc621ce6cda9bbc7e18">MOCK_METHOD1</a> (<a class="el" href="classmesos_1_1SecretGenerator.html#ab68cb02f25731c646bec2cdebef9f419">generate</a>, <a class="el" href="classprocess_1_1Future.html">process::Future</a>&lt; Secret &gt;(const <a class="el" href="structprocess_1_1http_1_1authentication_1_1Principal.html">process::http::authentication::Principal</a> &amp;principal))</td></tr>
<tr class="separator:af3a0697821081cc621ce6cda9bbc7e18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classmesos_1_1SecretGenerator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmesos_1_1SecretGenerator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classmesos_1_1SecretGenerator.html">mesos::SecretGenerator</a></td></tr>
<tr class="memitem:ac517647974bbe9cdd1f36b93cce92ec4 inherit pub_methods_classmesos_1_1SecretGenerator"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1SecretGenerator.html#ac517647974bbe9cdd1f36b93cce92ec4">~SecretGenerator</a> ()</td></tr>
<tr class="separator:ac517647974bbe9cdd1f36b93cce92ec4 inherit pub_methods_classmesos_1_1SecretGenerator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab68cb02f25731c646bec2cdebef9f419 inherit pub_methods_classmesos_1_1SecretGenerator"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classprocess_1_1Future.html">process::Future</a>&lt; Secret &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1SecretGenerator.html#ab68cb02f25731c646bec2cdebef9f419">generate</a> (const <a class="el" href="structprocess_1_1http_1_1authentication_1_1Principal.html">process::http::authentication::Principal</a> &amp;principal)=0</td></tr>
<tr class="separator:ab68cb02f25731c646bec2cdebef9f419 inherit pub_methods_classmesos_1_1SecretGenerator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a44b558073dbc1319769f4bc83748dbc7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">mesos::internal::tests::MockSecretGenerator::MockSecretGenerator </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a30c3c7aec09423be52ef1aae2a7ffd6c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual mesos::internal::tests::MockSecretGenerator::~MockSecretGenerator </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="af3a0697821081cc621ce6cda9bbc7e18"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">mesos::internal::tests::MockSecretGenerator::MOCK_METHOD1 </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmesos_1_1SecretGenerator.html#ab68cb02f25731c646bec2cdebef9f419">generate</a>&#160;</td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classprocess_1_1Future.html">process::Future</a>&lt; Secret &gt;&#160;</td>
<td class="paramname">const process::http::authentication::Principal &amp;principal&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/tests/<a class="el" href="src_2tests_2mesos_8hpp_source.html">mesos.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>