Apache Mesos
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
mesos::internal::slave::cni::PortMapper Class Reference

#include <port_mapper.hpp>

Public Member Functions

Try< Option< std::string >, spec::PluginErrorexecute ()
 
virtual ~PortMapper ()
 

Static Public Member Functions

static Try< process::Owned< PortMapper >, spec::PluginErrorcreate (const std::string &cniConfig)
 

Static Public Attributes

static constexpr int ERROR_READ_FAILURE = 100
 
static constexpr int ERROR_BAD_ARGS = 101
 
static constexpr int ERROR_DELEGATE_FAILURE = 102
 
static constexpr int ERROR_PORTMAP_FAILURE = 103
 
static constexpr int ERROR_UNSUPPORTED_COMMAND = 104
 

Protected Member Functions

virtual Result< spec::NetworkInfo > delegate (const std::string &command)
 

Constructor & Destructor Documentation

virtual mesos::internal::slave::cni::PortMapper::~PortMapper ( )
inlinevirtual

Member Function Documentation

static Try<process::Owned<PortMapper>, spec::PluginError> mesos::internal::slave::cni::PortMapper::create ( const std::string &  cniConfig)
static
virtual Result<spec::NetworkInfo> mesos::internal::slave::cni::PortMapper::delegate ( const std::string &  command)
protectedvirtual
Try<Option<std::string>, spec::PluginError> mesos::internal::slave::cni::PortMapper::execute ( )

Member Data Documentation

constexpr int mesos::internal::slave::cni::PortMapper::ERROR_BAD_ARGS = 101
static
constexpr int mesos::internal::slave::cni::PortMapper::ERROR_DELEGATE_FAILURE = 102
static
constexpr int mesos::internal::slave::cni::PortMapper::ERROR_PORTMAP_FAILURE = 103
static
constexpr int mesos::internal::slave::cni::PortMapper::ERROR_READ_FAILURE = 100
static
constexpr int mesos::internal::slave::cni::PortMapper::ERROR_UNSUPPORTED_COMMAND = 104
static

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