Apache Mesos
Functions | Variables
oci::spec::image::v1 Namespace Reference

Functions

template<typename T >
Try< T > parse (const std::string &s)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 

Variables

constexpr char MEDIA_TYPE_INDEX []
 
constexpr char MEDIA_TYPE_MANIFEST []
 
constexpr char MEDIA_TYPE_CONFIG []
 
constexpr char MEDIA_TYPE_LAYER []
 
constexpr char MEDIA_TYPE_LAYER_GZIP []
 
constexpr char MEDIA_TYPE_NONDIST_LAYER []
 
constexpr char MEDIA_TYPE_NONDIST_LAYER_GZIP []
 
constexpr char ROOTFS_TYPE [] = "layers"
 

Function Documentation

template<typename T >
Try<T> oci::spec::image::v1::parse ( const std::string &  s)
inline

Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string.

Variable Documentation

constexpr char oci::spec::image::v1::MEDIA_TYPE_CONFIG[]
Initial value:
=
"application/vnd.oci.image.config.v1+json"
constexpr char oci::spec::image::v1::MEDIA_TYPE_INDEX[]
Initial value:
=
"application/vnd.oci.image.index.v1+json"
constexpr char oci::spec::image::v1::MEDIA_TYPE_LAYER[]
Initial value:
=
"application/vnd.oci.image.layer.v1.tar"
constexpr char oci::spec::image::v1::MEDIA_TYPE_LAYER_GZIP[]
Initial value:
=
"application/vnd.oci.image.layer.v1.tar+gzip"
constexpr char oci::spec::image::v1::MEDIA_TYPE_MANIFEST[]
Initial value:
=
"application/vnd.oci.image.manifest.v1+json"
constexpr char oci::spec::image::v1::MEDIA_TYPE_NONDIST_LAYER[]
Initial value:
=
"application/vnd.oci.image.layer.nondistributable.v1.tar"
constexpr char oci::spec::image::v1::MEDIA_TYPE_NONDIST_LAYER_GZIP[]
Initial value:
=
"application/vnd.oci.image.layer.nondistributable.v1.tar+gzip"
constexpr char oci::spec::image::v1::ROOTFS_TYPE[] = "layers"