Apache Mesos
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mesos::ObjectApprovers Class Reference

#include <http.hpp>

Public Member Functions

Try< bool > approved (authorization::Action action, const ObjectApprover::Object &object) const
template<authorization::Action action, typename... Args>
bool approved (const Args &...args) const

Static Public Member Functions

static process::Future< process::Owned< ObjectApprovers > > create (const Option< Authorizer * > &authorizer, const Option< process::http::authentication::Principal > &principal, std::initializer_list< authorization::Action > actions)

Public Attributes

const Option< process::http::authentication::Principalprincipal

Member Function Documentation

Try<bool> mesos::ObjectApprovers::approved ( authorization::Action  action,
const ObjectApprover::Object object 
) const
template<authorization::Action action, typename... Args>
bool mesos::ObjectApprovers::approved ( const Args &...  args) const
static process::Future<process::Owned<ObjectApprovers> > mesos::ObjectApprovers::create ( const Option< Authorizer * > &  authorizer,
const Option< process::http::authentication::Principal > &  principal,
std::initializer_list< authorization::Action >  actions 

Member Data Documentation

const Option<process::http::authentication::Principal> mesos::ObjectApprovers::principal

The documentation for this class was generated from the following file: