1 write to Target
Aspire.Hosting (1)
ApplicationModel\ContainerMountAnnotation.cs (1)
43Target = target;
31 references to Target
Aspire.Hosting (3)
Dcp\ApplicationExecutor.cs (1)
1471Target = 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)
108var volumeAnnotation = eventHubs.Resource.Annotations.OfType<ContainerMountAnnotation>().Single(a => !a.Target.Contains("Config.json")); 110Assert.Equal("/data", volumeAnnotation.Target); 125var volumeAnnotation = eventHubs.Resource.Annotations.OfType<ContainerMountAnnotation>().Single(a => !a.Target.Contains("Config.json")); 127Assert.Equal("/data", volumeAnnotation.Target); 142var volumeAnnotation = eventHubs.Resource.Annotations.OfType<ContainerMountAnnotation>().Single(a => !a.Target.Contains("Config.json")); 144Assert.Equal("/data", volumeAnnotation.Target); 159var volumeAnnotation = eventHubs.Resource.Annotations.OfType<ContainerMountAnnotation>().Single(a => !a.Target.Contains("Config.json")); 161Assert.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)
60Assert.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);