Apache Mesos
Namespaces | Functions
spec.hpp File Reference
#include <string>
#include <stout/error.hpp>
#include <stout/option.hpp>
#include <stout/try.hpp>
#include <mesos/appc/spec.pb.h>

Go to the source code of this file.

Namespaces

 appc
 
 appc::spec
 

Functions

Try< ImageManifest > appc::spec::parse (const std::string &value)
 
std::string appc::spec::getImageRootfsPath (const std::string &imagePath)
 
std::string appc::spec::getImageManifestPath (const std::string &imagePath)
 
Try< ImageManifest > appc::spec::getManifest (const std::string &imagePath)
 
Option< Errorappc::spec::validateManifest (const ImageManifest &manifest)
 
Option< Errorappc::spec::validateImageID (const std::string &imageId)
 
Option< Errorappc::spec::validateLayout (const std::string &imagePath)
 
Option< Errorappc::spec::validate (const std::string &imageDir)