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