17 #ifndef __MESOS_OCI_SPEC_HPP__ 18 #define __MESOS_OCI_SPEC_HPP__ 20 #include <mesos/oci/spec.pb.h> 30 "application/vnd.oci.image.index.v1+json";
33 "application/vnd.oci.image.manifest.v1+json";
36 "application/vnd.oci.image.config.v1+json";
39 "application/vnd.oci.image.layer.v1.tar";
42 "application/vnd.oci.image.layer.v1.tar+gzip";
45 "application/vnd.oci.image.layer.nondistributable.v1.tar";
48 "application/vnd.oci.image.layer.nondistributable.v1.tar+gzip";
65 #endif // __MESOS_OCI_SPEC_HPP__ constexpr char MEDIA_TYPE_MANIFEST[]
Definition: spec.hpp:32
constexpr char MEDIA_TYPE_INDEX[]
Definition: spec.hpp:29
constexpr char ROOTFS_TYPE[]
Definition: spec.hpp:51
constexpr char MEDIA_TYPE_LAYER_GZIP[]
Definition: spec.hpp:41
constexpr char MEDIA_TYPE_CONFIG[]
Definition: spec.hpp:35
URI image(const std::string &repository, const std::string &reference, const std::string ®istry, const Option< std::string > &scheme=None(), const Option< int > &port=None())
Definition: docker.hpp:30
constexpr char MEDIA_TYPE_NONDIST_LAYER[]
Definition: spec.hpp:44
constexpr char MEDIA_TYPE_NONDIST_LAYER_GZIP[]
Definition: spec.hpp:47
Try< T > parse(const std::string &s)
Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given str...
Definition: parse.hpp:36
constexpr char MEDIA_TYPE_LAYER[]
Definition: spec.hpp:38