private static void HandleDockerFileArgs(YamlSequenceNode yamlSequenceNode, Dictionary <string, string> dockerArguments) { foreach (var child in yamlSequenceNode.Children) { YamlParser.ThrowIfNotYamlMapping(child); HandleServiceDockerArgsNameMapping((YamlMappingNode)child, dockerArguments); } }
private static void HandleServiceConfiguration(YamlSequenceNode yamlSequenceNode, List <ConfigConfigurationSource> configuration) { foreach (var child in yamlSequenceNode.Children) { YamlParser.ThrowIfNotYamlMapping(child); var config = new ConfigConfigurationSource(); HandleServiceConfigurationNameMapping((YamlMappingNode)child, config); configuration.Add(config); } }
private static void HandleBuildProperties(YamlSequenceNode yamlSequenceNode, List <BuildProperty> buildProperties) { foreach (var child in yamlSequenceNode.Children) { YamlParser.ThrowIfNotYamlMapping(child); var buildProperty = new BuildProperty(); HandleServiceBuildPropertyNameMapping((YamlMappingNode)child, buildProperty); buildProperties.Add(buildProperty); } }
private static void HandleServiceVolumes(YamlSequenceNode yamlSequenceNode, List <ConfigVolume> volumes) { foreach (var child in yamlSequenceNode.Children) { YamlParser.ThrowIfNotYamlMapping(child); var volume = new ConfigVolume(); HandleServiceVolumeNameMapping((YamlMappingNode)child, volume); volumes.Add(volume); } }
private static void HandleServiceBindings(YamlSequenceNode yamlSequenceNode, List <ConfigServiceBinding> bindings) { foreach (var child in yamlSequenceNode.Children) { YamlParser.ThrowIfNotYamlMapping(child); var binding = new ConfigServiceBinding(); HandleServiceBindingNameMapping((YamlMappingNode)child, binding); bindings.Add(binding); } }
public static void HandleServiceMapping(YamlSequenceNode yamlSequenceNode, List <ConfigService> services) { foreach (var child in yamlSequenceNode.Children) { YamlParser.ThrowIfNotYamlMapping(child); var service = new ConfigService(); HandleServiceNameMapping((YamlMappingNode)child, service); services.Add(service); } }
private static void HandleIngressRules(YamlSequenceNode yamlSequenceNode, List <ConfigIngressRule> rules) { foreach (var child in yamlSequenceNode.Children) { YamlParser.ThrowIfNotYamlMapping(child); var rule = new ConfigIngressRule(); HandleIngressRuleMapping((YamlMappingNode)child, rule); rules.Add(rule); } }
public static void HandleIngress(YamlSequenceNode yamlSequenceNode, List <ConfigIngress> ingress) { foreach (var child in yamlSequenceNode.Children) { YamlParser.ThrowIfNotYamlMapping(child); var configIngress = new ConfigIngress(); HandleIngressMapping((YamlMappingNode)child, configIngress); ingress.Add(configIngress); } }