1 write to Type
Aspire.Hosting (1)
ApplicationModel\ContainerMountAnnotation.cs (1)
44Type = type;
24 references to Type
Aspire.Hosting (3)
Dcp\ApplicationExecutor.cs (1)
1491Type = mount.Type == ContainerMountType.BindMount ? VolumeMountType.Bind : VolumeMountType.Volume,
Publishing\ManifestPublishingContext.cs (2)
589var bindMounts = mounts.Where(mounts => mounts.Type == ContainerMountType.BindMount).ToList(); 615var volumes = mounts.Where(mounts => mounts.Type == ContainerMountType.Volume).ToList();
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppsInfrastructure.cs (3)
553var (index, volumeName) = volume.Type switch 560if (volume.Type == ContainerMountType.BindMount) 569var volumeStorageParameter = AllocateVolumeStorageAccount(volume.Type, index);
Aspire.Hosting.Azure.Tests (8)
AzureEventHubsExtensionsTests.cs (4)
112Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type); 129Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type); 146Assert.Equal(ContainerMountType.Volume, volumeAnnotation.Type); 163Assert.Equal(ContainerMountType.Volume, volumeAnnotation.Type);
AzureResourceExtensionsTests.cs (4)
36Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type); 62Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type); 88Assert.Equal(ContainerMountType.Volume, volumeAnnotation.Type); 114Assert.Equal(ContainerMountType.Volume, volumeAnnotation.Type);
Aspire.Hosting.Garnet.Tests (2)
AddGarnetTests.cs (2)
134Assert.Equal(ContainerMountType.Volume, volumeAnnotation.Type); 159Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type);
Aspire.Hosting.Keycloak.Tests (3)
KeycloakResourceBuilderTests.cs (3)
57Assert.Equal(ContainerMountType.Volume, volumeAnnotation.Type); 72Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type); 103Assert.Equal(ContainerMountType.BindMount, containerAnnotation.Type);
Aspire.Hosting.Redis.Tests (2)
AddRedisTests.cs (2)
273Assert.Equal(ContainerMountType.Volume, volumeAnnotation.Type); 298Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type);
Aspire.Hosting.Valkey.Tests (2)
AddValkeyTests.cs (2)
134Assert.Equal(ContainerMountType.Volume, volumeAnnotation.Type); 159Assert.Equal(ContainerMountType.BindMount, volumeAnnotation.Type);
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationExtensions.cs (1)
54.Where(m => m.Type == ContainerMountType.Volume && !string.IsNullOrEmpty(m.Source))