14 references to WithVolume
Aspire.Hosting.Azure.Tests (2)
AzureContainerAppsTests.cs (2)
975
.
WithVolume
("vol1", "/path1")
976
.
WithVolume
("vol2", "/path2")
Aspire.Hosting.Containers.Tests (3)
ContainerResourceTests.cs (3)
186
.
WithVolume
("myvolume", "/mount/here")
187
.
WithVolume
("myreadonlyvolume", "/mount/there", isReadOnly: true)
188
.
WithVolume
(null! /* anonymous volume */, "/mount/everywhere");
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
120
return builder.
WithVolume
(name ?? VolumeNameGenerator.Generate(builder, "data"), "/usr/share/elasticsearch/data");
Aspire.Hosting.Milvus (1)
MilvusBuilderExtensions.cs (1)
159
return builder.
WithVolume
(name ?? VolumeNameGenerator.Generate(builder, "data"), "/var/lib/milvus", isReadOnly);
Aspire.Hosting.MySql (1)
MySqlBuilderExtensions.cs (1)
206
return builder.
WithVolume
(name ?? VolumeNameGenerator.Generate(builder, "data"), "/var/lib/mysql", isReadOnly);
Aspire.Hosting.Oracle (1)
OracleDatabaseBuilderExtensions.cs (1)
85
=> builder.
WithVolume
(name ?? VolumeNameGenerator.Generate(builder, "data"), "/opt/oracle/oradata", false);
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
360
return builder.
WithVolume
(name ?? VolumeNameGenerator.Generate(builder, "data"),
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
102
return builder.
WithVolume
(name ?? VolumeNameGenerator.Generate(builder, "data"), "/qdrant/storage",
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
88
return builder.
WithVolume
(name ?? VolumeNameGenerator.Generate(builder, "data"), "/var/lib/rabbitmq", isReadOnly)
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
94
return builder.
WithVolume
(name ?? VolumeNameGenerator.Generate(builder, "data"), "/var/opt/mssql", isReadOnly);
Aspire.Hosting.Tests (1)
DistributedApplicationTests.cs (1)
568
.
WithVolume
("test-volume-name", "/path-here");