38 references to VolumeNameGenerator
Aspire.Hosting.Azure.CosmosDB (1)
AzureCosmosDBExtensions.cs (1)
187.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/tmp/cosmos/appdata", isReadOnly: false);
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
271=> builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/data", isReadOnly: false);
Aspire.Hosting.Azure.Storage (1)
AzureStorageExtensions.cs (1)
170=> builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/data", isReadOnly);
Aspire.Hosting.Azure.Tests (1)
AzureCosmosDBEmulatorFunctionalTests.cs (1)
148var volumeName = VolumeNameGenerator.Generate(cosmos1, nameof(WithDataVolumeShouldPersistStateBetweenUsages));
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
120return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/usr/share/elasticsearch/data");
Aspire.Hosting.Elasticsearch.Tests (1)
ElasticsearchFunctionalTests.cs (1)
90volumeName = VolumeNameGenerator.Generate(elasticsearch1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.Garnet (1)
GarnetBuilderExtensions.cs (1)
108builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), GarnetContainerDataDirectory,
Aspire.Hosting.Garnet.Tests (1)
GarnetFunctionalTests.cs (1)
122volumeName = VolumeNameGenerator.Generate(garnet1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.Kafka (1)
KafkaBuilderExtensions.cs (1)
181.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), Target, isReadOnly);
Aspire.Hosting.Kafka.Tests (1)
KafkaFunctionalTests.cs (1)
133volumeName = VolumeNameGenerator.Generate(kafka1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.Keycloak (1)
KeycloakResourceBuilderExtensions.cs (1)
102return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/opt/keycloak/data",
Aspire.Hosting.Milvus (1)
MilvusBuilderExtensions.cs (1)
159return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/var/lib/milvus", isReadOnly);
Aspire.Hosting.Milvus.Tests (1)
MilvusFunctionalTests.cs (1)
88volumeName = VolumeNameGenerator.Generate(milvus1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.MongoDB (1)
MongoDBBuilderExtensions.cs (1)
182return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/data/db", isReadOnly);
Aspire.Hosting.MongoDB.Tests (1)
MongoDbFunctionalTests.cs (1)
130volumeName = VolumeNameGenerator.Generate(mongodb1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.MySql (1)
MySqlBuilderExtensions.cs (1)
206return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/var/lib/mysql", isReadOnly);
Aspire.Hosting.MySql.Tests (1)
MySqlFunctionalTests.cs (1)
142volumeName = VolumeNameGenerator.Generate(mysql1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.Nats (1)
NatsBuilderExtensions.cs (1)
113return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/var/lib/nats",
Aspire.Hosting.Nats.Tests (1)
NatsFunctionalTests.cs (1)
78volumeName = VolumeNameGenerator.Generate(nats1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.Oracle (1)
OracleDatabaseBuilderExtensions.cs (1)
85=> builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/opt/oracle/oradata", false);
Aspire.Hosting.Oracle.Tests (1)
OracleFunctionalTests.cs (1)
106volumeName = VolumeNameGenerator.Generate(oracle1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
360return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"),
Aspire.Hosting.PostgreSQL.Tests (1)
PostgresFunctionalTests.cs (1)
217volumeName = VolumeNameGenerator.Generate(postgres1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
102return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/qdrant/storage",
Aspire.Hosting.Qdrant.Tests (1)
QdrantFunctionalTests.cs (1)
109volumeName = VolumeNameGenerator.Generate(qdrant1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
88return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/var/lib/rabbitmq", isReadOnly)
Aspire.Hosting.RabbitMQ.Tests (1)
RabbitMQFunctionalTests.cs (1)
116volumeName = VolumeNameGenerator.Generate(rabbitMQ1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.Redis (2)
RedisBuilderExtensions.cs (2)
373builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/data", isReadOnly); 453return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/data");
Aspire.Hosting.Redis.Tests (2)
RedisFunctionalTests.cs (2)
302var volumeName = VolumeNameGenerator.Generate(redis1, nameof(WithDataVolumeShouldPersistStateBetweenUsages)); 560volumeName = VolumeNameGenerator.Generate(redisInsightBuilder1, nameof(RedisInsightWithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.Seq (1)
SeqBuilderExtensions.cs (1)
51=> builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), SeqContainerDataDirectory, isReadOnly);
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
94return builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), "/var/opt/mssql", isReadOnly);
Aspire.Hosting.SqlServer.Tests (1)
SqlServerFunctionalTests.cs (1)
145volumeName = VolumeNameGenerator.Generate(sqlserver1, nameof(WithDataShouldPersistStateBetweenUsages));
Aspire.Hosting.Tests (2)
Utils\TestDistributedApplicationBuilder.cs (1)
47$"{VolumeNameGenerator.Sanitize(Environment.ApplicationName).ToLowerInvariant()}-{Configuration["AppHost:Sha256"]!.ToLowerInvariant()[..10]}";
Utils\VolumeNameGeneratorTests.cs (1)
4using static Aspire.Hosting.Utils.VolumeNameGenerator;
Aspire.Hosting.Valkey (1)
ValkeyBuilderExtensions.cs (1)
105builder.WithVolume(name ?? VolumeNameGenerator.Generate(builder, "data"), ValkeyContainerDataDirectory,
Aspire.Hosting.Valkey.Tests (1)
ValkeyFunctionalTests.cs (1)
75volumeName = VolumeNameGenerator.Generate(valkey1, nameof(WithDataShouldPersistStateBetweenUsages));