Apache Mesos
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
mesos::slave::ContainerIO::IO Class Reference

Describes how the containerizer redirects I/O for stdin/stdout/stderr of a container. More...

#include <containerizer.hpp>

Public Types

enum  Type { Type::FD, Type::PATH }
 

Public Member Functions

 operator process::Subprocess::IO () const
 

Static Public Member Functions

static IO PATH (const std::string &path)
 
static IO FD (int_fd fd, bool closeOnDestruction=true)
 

Detailed Description

Describes how the containerizer redirects I/O for stdin/stdout/stderr of a container.

See process::Subprocess::IO.

NOTE: This wrapper prevents the containerizer from redirecting I/O via a Subprocess::PIPE. This is restricted because the IO of a container must not be affected by the status of the agent process:

Member Enumeration Documentation

Enumerator
FD 
PATH 

Member Function Documentation

static IO mesos::slave::ContainerIO::IO::FD ( int_fd  fd,
bool  closeOnDestruction = true 
)
inlinestatic
mesos::slave::ContainerIO::IO::operator process::Subprocess::IO ( ) const
inline
static IO mesos::slave::ContainerIO::IO::PATH ( const std::string &  path)
inlinestatic

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