Apache Mesos
Static Public Member Functions | Public Attributes | List of all members
Docker::RunOptions Class Reference

#include <docker.hpp>

Static Public Member Functions

static Try< RunOptionscreate (const mesos::ContainerInfo &containerInfo, const mesos::CommandInfo &commandInfo, const std::string &containerName, const std::string &sandboxDirectory, const std::string &mappedDirectory, const Option< mesos::Resources > &resourceRequests=None(), bool enableCfsQuota=false, const Option< std::map< std::string, std::string >> &env=None(), const Option< std::vector< Device >> &devices=None(), const Option< mesos::internal::ContainerDNSInfo > &defaultContainerDNS=None(), const Option< google::protobuf::Map< std::string, mesos::Value::Scalar >> &resourceLimits=None())
 

Public Attributes

bool privileged
 
Option< uint64_t > cpuShares
 
Option< uint64_t > cpuQuota
 
Option< BytesmemoryReservation
 
Option< Bytesmemory
 
Option< int > oomScoreAdj
 
std::map< std::string, std::string > env
 
std::vector< std::string > volumes
 
Option< std::string > volumeDriver
 
Option< std::string > network
 
Option< std::string > hostname
 
std::vector< std::string > dns
 
std::vector< std::string > dnsSearch
 
std::vector< std::string > dnsOpt
 
std::vector< PortMappingportMappings
 
std::vector< Devicedevices
 
Option< std::string > entrypoint
 
Option< std::string > name
 
std::vector< std::string > additionalOptions
 
std::string image
 
std::vector< std::string > arguments
 

Member Function Documentation

static Try<RunOptions> Docker::RunOptions::create ( const mesos::ContainerInfo &  containerInfo,
const mesos::CommandInfo &  commandInfo,
const std::string &  containerName,
const std::string &  sandboxDirectory,
const std::string &  mappedDirectory,
const Option< mesos::Resources > &  resourceRequests = None(),
bool  enableCfsQuota = false,
const Option< std::map< std::string, std::string >> &  env = None(),
const Option< std::vector< Device >> &  devices = None(),
const Option< mesos::internal::ContainerDNSInfo > &  defaultContainerDNS = None(),
const Option< google::protobuf::Map< std::string, mesos::Value::Scalar >> &  resourceLimits = None() 
)
static

Member Data Documentation

std::vector<std::string> Docker::RunOptions::additionalOptions
std::vector<std::string> Docker::RunOptions::arguments
Option<uint64_t> Docker::RunOptions::cpuQuota
Option<uint64_t> Docker::RunOptions::cpuShares
std::vector<Device> Docker::RunOptions::devices
std::vector<std::string> Docker::RunOptions::dns
std::vector<std::string> Docker::RunOptions::dnsOpt
std::vector<std::string> Docker::RunOptions::dnsSearch
Option<std::string> Docker::RunOptions::entrypoint
std::map<std::string, std::string> Docker::RunOptions::env
Option<std::string> Docker::RunOptions::hostname
std::string Docker::RunOptions::image
Option<Bytes> Docker::RunOptions::memory
Option<Bytes> Docker::RunOptions::memoryReservation
Option<std::string> Docker::RunOptions::name
Option<std::string> Docker::RunOptions::network
Option<int> Docker::RunOptions::oomScoreAdj
std::vector<PortMapping> Docker::RunOptions::portMappings
bool Docker::RunOptions::privileged
Option<std::string> Docker::RunOptions::volumeDriver
std::vector<std::string> Docker::RunOptions::volumes

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