2 instantiations of Volume
Aspire.Hosting.Docker (2)
DockerComposeEnvironmentContext.cs (1)
99
serviceResource.Volumes.Add(new Resources.ServiceNodes.
Volume
DockerComposePublishingContext.cs (1)
215
var newVolume = new
Volume
11 references to Volume
Aspire.Hosting.Docker (11)
DockerComposePublishingContext.cs (2)
208
foreach (
var
volume in serviceResource.Volumes.Where(volume => volume.Type != "bind"))
215
var
newVolume = new Volume
DockerComposeServiceResource.cs (2)
62
internal List<
Volume
> Volumes { get; } = [];
263
foreach (
var
volume in Volumes)
Resources\ComposeFile.cs (3)
71
/// name of the volume, and the value is an instance of the <see cref="
Volume
"/> class.
75
public Dictionary<string,
Volume
> Volumes { get; set; } = [];
136
public ComposeFile AddVolume(
Volume
volume)
Resources\ComposeNodes\Service.cs (3)
122
public List<
Volume
> Volumes { get; set; } = [];
450
public Service AddVolume(
Volume
volume)
462
public Service AddVolumes(IEnumerable<
Volume
> volumes)
Resources\ServiceNodes\Volume.cs (1)
13
/// The <see cref="
Volume
"/> class is used to define properties and options for volumes in a Docker environment.