blob: 1e1a02407128475d9889dce762d6031b3d55c92e [file] [log] [blame]
// Copyright 2016 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <string>
#include <base/files/file_path.h>
#include <base/values.h>
#include "run_oci/oci_config.h"
namespace run_oci {
using OciConfigPtr = std::unique_ptr<OciConfig>;
// Parses container configuration from the config.json data as specified in
// |config_json_data| - The text from config.json.
// |config_out| - Filled with the OCI configuration.
bool ParseContainerConfig(const std::string& config_json_data,
OciConfigPtr const& config_out);
} // namespace run_oci