1 write to Target
Aspire.Hosting (1)
ApplicationModel\ContainerMountAnnotation.cs (1)
43Target = target;
31 references to Target
Aspire.Hosting (3)
Dcp\ApplicationExecutor.cs (1)
1490Target = mount.Target,
Publishing\ManifestPublishingContext.cs (2)
604Writer.WriteStringValue(bindMount.Target.Replace('\\', '/')); 633Writer.WriteStringValue(volume.Target);
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppsInfrastructure.cs (1)
581MountPath = volume.Target,
Aspire.Hosting.Azure.Tests (12)
AzureEventHubsExtensionsTests.cs (8)
109var volumeAnnotation = eventHubs.Resource.Annotations.OfType<ContainerMountAnnotation>().Single(a => !a.Target.Contains("Config.json")); 111Assert.Equal("/data", volumeAnnotation.Target); 126var volumeAnnotation = eventHubs.Resource.Annotations.OfType<ContainerMountAnnotation>().Single(a => !a.Target.Contains("Config.json")); 128Assert.Equal("/data", volumeAnnotation.Target); 143var volumeAnnotation = eventHubs.Resource.Annotations.OfType<ContainerMountAnnotation>().Single(a => !a.Target.Contains("Config.json")); 145Assert.Equal("/data", volumeAnnotation.Target); 160var volumeAnnotation = eventHubs.Resource.Annotations.OfType<ContainerMountAnnotation>().Single(a => !a.Target.Contains("Config.json")); 162Assert.Equal("/data", volumeAnnotation.Target);
AzureResourceExtensionsTests.cs (4)
35Assert.Equal("/data", volumeAnnotation.Target); 61Assert.Equal("/data", volumeAnnotation.Target); 87Assert.Equal("/data", volumeAnnotation.Target); 113Assert.Equal("/data", volumeAnnotation.Target);
Aspire.Hosting.Garnet.Tests (2)
AddGarnetTests.cs (2)
133Assert.Equal("/data", volumeAnnotation.Target); 158Assert.Equal("/data", volumeAnnotation.Target);
Aspire.Hosting.Kafka.Tests (2)
AddKafkaTests.cs (2)
126Assert.Equal("/var/lib/kafka/data", volumeAnnotation.Target); 144Assert.Equal("/var/lib/kafka/data", volumeAnnotation.Target);
Aspire.Hosting.Keycloak.Tests (3)
KeycloakResourceBuilderTests.cs (3)
56Assert.Equal("/opt/keycloak/data", volumeAnnotation.Target); 71Assert.Equal("/opt/keycloak/data", volumeAnnotation.Target); 102Assert.Equal("/opt/keycloak/data/import", containerAnnotation.Target);
Aspire.Hosting.MySql.Tests (1)
AddMySqlTests.cs (1)
264Assert.Equal("/etc/phpmyadmin/config.user.inc.php", volume.Target);
Aspire.Hosting.Nats.Tests (1)
AddNatsTests.cs (1)
143Assert.Equal("/var/lib/nats", mountAnnotation.Target);
Aspire.Hosting.PostgreSQL.Tests (1)
AddPostgresTests.cs (1)
384Assert.Equal("/pgadmin4/servers.json", volume.Target);
Aspire.Hosting.Redis.Tests (2)
AddRedisTests.cs (2)
272Assert.Equal("/data", volumeAnnotation.Target); 297Assert.Equal("/data", volumeAnnotation.Target);
Aspire.Hosting.Valkey.Tests (2)
AddValkeyTests.cs (2)
133Assert.Equal("/data", volumeAnnotation.Target); 158Assert.Equal("/data", volumeAnnotation.Target);
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationExtensions.cs (1)
74var newMount = new ContainerMountAnnotation(newName, volume.Target, ContainerMountType.Volume, volume.IsReadOnly);