19 references to BindMount
Aspire.Hosting (4)
ApplicationModel\ContainerMountAnnotation.cs (1)
24if (type == ContainerMountType.BindMount)
ContainerResourceBuilderExtensions.cs (1)
99var annotation = new ContainerMountAnnotation(Path.GetFullPath(source, builder.ApplicationBuilder.AppHostDirectory), target, ContainerMountType.BindMount, isReadOnly);
Dcp\ApplicationExecutor.cs (1)
1472Type = mount.Type == ContainerMountType.BindMount ? VolumeMountType.Bind : VolumeMountType.Volume,
Publishing\ManifestPublishingContext.cs (1)
589var bindMounts = mounts.Where(mounts => mounts.Type == ContainerMountType.BindMount).ToList();
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppsInfrastructure.cs (3)
555ContainerMountType.BindMount => ($"{bindMountIndex}", $"bm{bindMountIndex}"), 560if (volume.Type == ContainerMountType.BindMount) 984ContainerMountType.BindMount => $"{{{resource.Name}.bindMounts.{index}.storage}}",
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
141ContainerMountType.BindMount,
Aspire.Hosting.Azure.Tests (4)
AzureEventHubsExtensionsTests.cs (2)
111Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type); 128Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type);
AzureResourceExtensionsTests.cs (2)
36Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type); 62Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type);
Aspire.Hosting.Containers.Tests (2)
ContainerMountAnnotationTests.cs (2)
17Assert.Throws<ArgumentNullException>("source", () => new ContainerMountAnnotation(source, "/usr/foo", ContainerMountType.BindMount, false)); 24Assert.Throws<ArgumentException>("source", () => new ContainerMountAnnotation("usr/foo", "/usr/foo", ContainerMountType.BindMount, false));
Aspire.Hosting.Garnet.Tests (1)
AddGarnetTests.cs (1)
159Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type);
Aspire.Hosting.Keycloak.Tests (2)
KeycloakResourceBuilderTests.cs (2)
72Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type); 103Assert.Equal(ContainerMountType.BindMount, containerAnnotation.Type);
Aspire.Hosting.Redis.Tests (1)
AddRedisTests.cs (1)
298Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type);
Aspire.Hosting.Valkey.Tests (1)
AddValkeyTests.cs (1)
159Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type);