Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
mesos::internal::slave::DockerContainerizer Class Reference

#include <docker.hpp>

Inheritance diagram for mesos::internal::slave::DockerContainerizer:
mesos::internal::slave::Containerizer mesos::internal::tests::MockDockerContainerizer

Public Member Functions

 DockerContainerizer (const Flags &flags, Fetcher *fetcher, const process::Owned< mesos::slave::ContainerLogger > &logger, process::Shared< Docker > docker, const Option< NvidiaComponents > &nvidia=None())
 
 DockerContainerizer (const process::Owned< DockerContainerizerProcess > &_process)
 
 ~DockerContainerizer () override
 
process::Future< Nothingrecover (const Option< state::SlaveState > &state) override
 
process::Future< Containerizer::LaunchResultlaunch (const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig, const std::map< std::string, std::string > &environment, const Option< std::string > &pidCheckpointPath) override
 
process::Future< Nothingupdate (const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={}) override
 
process::Future< ResourceStatistics > usage (const ContainerID &containerId) override
 
process::Future< ContainerStatus > status (const ContainerID &containerId) override
 
process::Future< Option< mesos::slave::ContainerTermination > > wait (const ContainerID &containerId) override
 
process::Future< Option< mesos::slave::ContainerTermination > > destroy (const ContainerID &containerId) override
 
process::Future< hashset< ContainerID > > containers () override
 
process::Future< NothingpruneImages (const std::vector< Image > &excludedImages) override
 
- Public Member Functions inherited from mesos::internal::slave::Containerizer
virtual ~Containerizer ()
 
virtual process::Future< process::http::Connectionattach (const ContainerID &containerId)
 
virtual process::Future< bool > kill (const ContainerID &containerId, int signal)
 
virtual process::Future< Nothingremove (const ContainerID &containerId)
 

Static Public Member Functions

static Try< DockerContainerizer * > create (const Flags &flags, Fetcher *fetcher, const Option< NvidiaComponents > &nvidia=None())
 
- Static Public Member Functions inherited from mesos::internal::slave::Containerizer
static Try< Containerizer * > create (const Flags &flags, bool local, Fetcher *fetcher, GarbageCollector *gc, SecretResolver *secretResolver=nullptr, VolumeGidManager *volumeGidManager=nullptr, PendingFutureTracker *futureTracker=nullptr, CSIServer *csiServer=nullptr)
 
static Try< Resourcesresources (const Flags &flags)
 

Additional Inherited Members

- Public Types inherited from mesos::internal::slave::Containerizer
enum  LaunchResult { LaunchResult::SUCCESS, LaunchResult::ALREADY_LAUNCHED, LaunchResult::NOT_SUPPORTED }
 

Constructor & Destructor Documentation

mesos::internal::slave::DockerContainerizer::DockerContainerizer ( const Flags flags,
Fetcher fetcher,
const process::Owned< mesos::slave::ContainerLogger > &  logger,
process::Shared< Docker docker,
const Option< NvidiaComponents > &  nvidia = None() 
)
mesos::internal::slave::DockerContainerizer::DockerContainerizer ( const process::Owned< DockerContainerizerProcess > &  _process)
mesos::internal::slave::DockerContainerizer::~DockerContainerizer ( )
override

Member Function Documentation

process::Future<hashset<ContainerID> > mesos::internal::slave::DockerContainerizer::containers ( )
overridevirtual
static Try<DockerContainerizer*> mesos::internal::slave::DockerContainerizer::create ( const Flags flags,
Fetcher fetcher,
const Option< NvidiaComponents > &  nvidia = None() 
)
static
process::Future<Option<mesos::slave::ContainerTermination> > mesos::internal::slave::DockerContainerizer::destroy ( const ContainerID &  containerId)
overridevirtual
process::Future<Containerizer::LaunchResult> mesos::internal::slave::DockerContainerizer::launch ( const ContainerID &  containerId,
const mesos::slave::ContainerConfig &  containerConfig,
const std::map< std::string, std::string > &  environment,
const Option< std::string > &  pidCheckpointPath 
)
overridevirtual
process::Future<Nothing> mesos::internal::slave::DockerContainerizer::pruneImages ( const std::vector< Image > &  excludedImages)
overridevirtual
process::Future<Nothing> mesos::internal::slave::DockerContainerizer::recover ( const Option< state::SlaveState > &  state)
overridevirtual
process::Future<ContainerStatus> mesos::internal::slave::DockerContainerizer::status ( const ContainerID &  containerId)
overridevirtual
process::Future<Nothing> mesos::internal::slave::DockerContainerizer::update ( const ContainerID &  containerId,
const Resources resourceRequests,
const google::protobuf::Map< std::string, Value::Scalar > &  resourceLimits = {} 
)
overridevirtual
process::Future<ResourceStatistics> mesos::internal::slave::DockerContainerizer::usage ( const ContainerID &  containerId)
overridevirtual
process::Future<Option<mesos::slave::ContainerTermination> > mesos::internal::slave::DockerContainerizer::wait ( const ContainerID &  containerId)
overridevirtual

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