Apache Mesos
Namespaces | Functions | Variables
spec.hpp File Reference
#include <iostream>
#include <string>
#include <stout/error.hpp>
#include <stout/json.hpp>
#include <stout/option.hpp>
#include <stout/try.hpp>
#include <mesos/docker/spec.pb.h>
#include <mesos/docker/v1.hpp>
#include <mesos/docker/v2.hpp>
#include <mesos/docker/v2_2.hpp>

Go to the source code of this file.

Namespaces

 docker
 
 docker::spec
 
 docker::spec::v1
 
 docker::spec::v2
 
 docker::spec::v2_2
 

Functions

Try< ImageReference > docker::spec::parseImageReference (const std::string &s)
 
std::ostream & docker::spec::operator<< (std::ostream &stream, const ImageReference &reference)
 
Result< int > docker::spec::getRegistryPort (const std::string &registry)
 
Try< std::string > docker::spec::getRegistryScheme (const std::string &registry)
 
std::string docker::spec::getRegistryHost (const std::string &registry)
 
Try< hashmap< std::string, Config::Auth > > docker::spec::parseAuthConfig (const JSON::Object &_config)
 
Try< hashmap< std::string, Config::Auth > > docker::spec::parseAuthConfig (const std::string &s)
 
std::string docker::spec::parseAuthUrl (const std::string &_url)
 
Option< Errordocker::spec::v1::validate (const ImageManifest &manifest)
 
Try< ImageManifest > docker::spec::v1::parse (const JSON::Object &json)
 
Try< ImageManifest > docker::spec::v1::parse (const std::string &s)
 
Option< Errordocker::spec::v2::validate (const ImageManifest &manifest)
 
Try< ImageManifest > docker::spec::v2::parse (const JSON::Object &json)
 
Try< ImageManifest > docker::spec::v2::parse (const std::string &s)
 
Option< Errordocker::spec::v2_2::validate (const ImageManifest &manifest)
 
Try< ImageManifest > docker::spec::v2_2::parse (const JSON::Object &json)
 
Try< ImageManifest > docker::spec::v2_2::parse (const std::string &s)
 

Variables

constexpr char docker::spec::WHITEOUT_PREFIX [] = ".wh."
 
constexpr char docker::spec::WHITEOUT_OPAQUE_PREFIX [] = ".wh..wh..opq"