4 instantiations of VolumeSnapshot
Aspire.Hosting (1)
Dcp\ResourceSnapshotBuilder.cs (1)
385
return container.Spec.VolumeMounts?.Select(v => new
VolumeSnapshot
(v.Source, v.Target ?? "", v.Type, v.IsReadOnly)).ToImmutableArray() ?? [];
Aspire.Hosting.Tests (3)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (2)
200
new
VolumeSnapshot
("/host/path", "/container/path", "bind", false),
201
new
VolumeSnapshot
("myvolume", "/data", "volume", true)
ResourceNotificationTests.cs (1)
1511
Volumes = [
new
("/source", "/target", VolumeMountType.Bind, IsReadOnly: true)],
4 references to VolumeSnapshot
Aspire.Hosting (4)
ApplicationModel\CustomResourceSnapshot.cs (1)
115
public ImmutableArray<
VolumeSnapshot
> Volumes { get; init; } = [];
Dashboard\proto\Partials.cs (1)
105
foreach (
var
volume in snapshot.Volumes)
Dashboard\ResourceSnapshot.cs (1)
26
public required ImmutableArray<
VolumeSnapshot
> Volumes { get; init; }
Dcp\ResourceSnapshotBuilder.cs (1)
381
private static ImmutableArray<
VolumeSnapshot
> GetVolumes(CustomResource resource)