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