1 write to IsReadOnly
Aspire.Hosting (1)
ApplicationModel\ContainerMountAnnotation.cs (1)
45IsReadOnly = isReadOnly;
21 references to IsReadOnly
Aspire.Hosting (3)
Dcp\ApplicationExecutor.cs (1)
1473IsReadOnly = mount.IsReadOnly
Publishing\ManifestPublishingContext.cs (2)
606Writer.WriteBoolean("readOnly", bindMount.IsReadOnly); 635Writer.WriteBoolean("readOnly", volume.IsReadOnly);
Aspire.Hosting.Azure.Tests (8)
AzureEventHubsExtensionsTests.cs (4)
112Assert.False(volumeAnnotation.IsReadOnly); 129Assert.False(volumeAnnotation.IsReadOnly); 146Assert.False(volumeAnnotation.IsReadOnly); 163Assert.False(volumeAnnotation.IsReadOnly);
AzureResourceExtensionsTests.cs (4)
37Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly); 63Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly); 89Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly); 115Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly);
Aspire.Hosting.Garnet.Tests (2)
AddGarnetTests.cs (2)
135Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly); 160Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly);
Aspire.Hosting.Keycloak.Tests (3)
KeycloakResourceBuilderTests.cs (3)
58Assert.False(volumeAnnotation.IsReadOnly); 73Assert.False(volumeAnnotation.IsReadOnly); 104Assert.Equal(isReadOnly ?? false, containerAnnotation.IsReadOnly);
Aspire.Hosting.Redis.Tests (2)
AddRedisTests.cs (2)
274Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly); 299Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly);
Aspire.Hosting.Valkey.Tests (2)
AddValkeyTests.cs (2)
135Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly); 160Assert.Equal(isReadOnly ?? false, volumeAnnotation.IsReadOnly);
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationExtensions.cs (1)
74var newMount = new ContainerMountAnnotation(newName, volume.Target, ContainerMountType.Volume, volume.IsReadOnly);