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

#include <registry_puller.hpp>

Inheritance diagram for mesos::internal::slave::docker::RegistryPuller:
mesos::internal::slave::docker::Puller

Public Member Functions

 ~RegistryPuller () override
 
process::Future< Image > pull (const ::docker::spec::ImageReference &reference, const std::string &directory, const std::string &backend, const Option< Secret > &config=None()) override
 Pulls an image into a download directory. More...
 
- Public Member Functions inherited from mesos::internal::slave::docker::Puller
virtual ~Puller ()
 

Static Public Member Functions

static Try< process::Owned< Puller > > create (const Flags &flags, const process::Shared< uri::Fetcher > &fetcher, SecretResolver *secretResolver)
 
- Static Public Member Functions inherited from mesos::internal::slave::docker::Puller
static Try< process::Owned< Puller > > create (const Flags &flags, const process::Shared< uri::Fetcher > &fetcher, SecretResolver *secretResolver=nullptr)
 

Constructor & Destructor Documentation

mesos::internal::slave::docker::RegistryPuller::~RegistryPuller ( )
override

Member Function Documentation

static Try<process::Owned<Puller> > mesos::internal::slave::docker::RegistryPuller::create ( const Flags flags,
const process::Shared< uri::Fetcher > &  fetcher,
SecretResolver secretResolver 
)
static
process::Future<Image> mesos::internal::slave::docker::RegistryPuller::pull ( const ::docker::spec::ImageReference &  reference,
const std::string &  directory,
const std::string &  backend,
const Option< Secret > &  config = None() 
)
overridevirtual

Pulls an image into a download directory.

This image could consist multiple layers of blobs.

Parameters
referencelocal name of the image.
directorypath to which the layers will be downloaded.

Implements mesos::internal::slave::docker::Puller.


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