2 instantiations of Volume
Aspire.Hosting.Docker (2)
DockerComposeEnvironmentContext.cs (1)
75
serviceResource.Volumes.Add(new Resources.ServiceNodes.
Volume
DockerComposePublishingContext.cs (1)
159
var newVolume = new
Volume
9 references to Volume
Aspire.Hosting.Docker (9)
DockerComposePublishingContext.cs (1)
159
var
newVolume = new Volume
DockerComposeServiceResource.cs (1)
57
internal List<
Volume
> Volumes { get; } = [];
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.