Apache Mesos
Classes | Public Member Functions | List of all members
mesos::ObjectApprover Class Referenceabstract

This interface represents a function object returned by the authorizer which can be used locally (and synchronously) to check whether a specific object is authorized. More...

#include <authorizer.hpp>

Inheritance diagram for mesos::ObjectApprover:
mesos::AcceptingObjectApprover

Classes

struct  Object
 

Public Member Functions

virtual Try< bool > approved (const Option< Object > &object) const noexcept=0
 NOTE: As this function can be used synchronously by actors it is essential that it does not block! More...
 
virtual ~ObjectApprover ()=default
 

Detailed Description

This interface represents a function object returned by the authorizer which can be used locally (and synchronously) to check whether a specific object is authorized.

Constructor & Destructor Documentation

virtual mesos::ObjectApprover::~ObjectApprover ( )
virtualdefault

Member Function Documentation

virtual Try<bool> mesos::ObjectApprover::approved ( const Option< Object > &  object) const
pure virtualnoexcept

NOTE: As this function can be used synchronously by actors it is essential that it does not block!

Implemented in mesos::AcceptingObjectApprover.


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