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