| 148 | } |
| 149 | |
| 150 | absl::Status ParseContainerConfig(Config& config, absl::string_view yaml, |
| 151 | const YAML::Node& root) { |
| 152 | const YAML::Node container = root["container"]; |
| 153 | if (container.IsDefined()) { |
| 154 | if (!container.IsScalar()) { |
| 155 | return YamlError(yaml, container, "Node 'container' is not a string"); |
| 156 | } |
| 157 | config.SetContainerConfig({.name = GetString(yaml, container)}); |
| 158 | } |
| 159 | return absl::OkStatus(); |
| 160 | } |
| 161 | |
| 162 | absl::Status ParseExtensionConfigs(Config& config, absl::string_view yaml, |
| 163 | const YAML::Node& root) { |
no test coverage detected