1 write to Model
NativeIntegrations.DockerCompose (1)
ComposeModels.cs (1)
77Model = model;
10 references to Model
NativeIntegrations.DockerCompose (10)
ComposeModels.cs (10)
84get => Model["image"]?.GetValue<string>(); 97get => Model["build"] is JsonObject build ? new(build["context"]!.GetValue<string>(), build["dockerfile"]!.GetValue<string>()) : null; 103get => Model["healthcheck"] is JsonObject health ? ComposeJson.ReadHealthcheck(health) : null; 109get => Model["container_name"]?.GetValue<string>(); 115get => Model["restart"]?.GetValue<string>(); 128get => Model["pull_policy"]?.GetValue<string>(); 139public void SetLabel(string name, string value) => Model["labels"]!.AsObject()[name] = ComposeJson.Literal(value); 145(Model["volumes"] ??= new JsonArray()).AsArray().Add(new JsonObject 155Model.Remove(key); 159Model[key] = value;