13 references to WithDataVolume
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
419
/// or <see cref="
WithDataVolume
(IResourceBuilder{RedisResource}, string?, bool)"/> to persist Redis data across sessions with custom persistence configuration, e.g.:
Aspire.Hosting.Redis.Tests (8)
AddRedisTests.cs (5)
262
redis.
WithDataVolume
(isReadOnly: isReadOnly.Value);
266
redis.
WithDataVolume
();
307
.
WithDataVolume
();
326
.
WithDataVolume
(isReadOnly: true);
369
.
WithDataVolume
()
RedisFunctionalTests.cs (2)
303
redis1.
WithDataVolume
(volumeName);
342
var redis2 = builder2.AddRedis("redis").
WithDataVolume
(volumeName);
RedisPublicApiTests.cs (1)
89
var action = () => builder.
WithDataVolume
();
Aspire.Hosting.Tests (1)
Schema\SchemaTests.cs (1)
94
builder.AddRedis("redis").
WithDataVolume
();
AzureContainerApps.AppHost (1)
Program.cs (1)
17
.
WithDataVolume
();
Redis.AppHost (1)
Program.cs (1)
4
.
WithDataVolume
()
TestShop.AppHost (1)
Program.cs (1)
9
.
WithDataVolume
();