2 writes to Tunnels
Aspire.Hosting (2)
Dcp\ContainerNetworkEndpointProvisioner.cs (2)
390proxy => proxy.Spec.Tunnels = _tunnelConfigurations.ToList(), 418tunnelProxy.Spec.Tunnels = tunnels;
9 references to Tunnels
Aspire.Hosting (2)
Dcp\Model\ContainerTunnel.cs (2)
199/// Can be used by clients changing tunnel configuration (<see cref="ContainerNetworkTunnelProxySpec.Tunnels"/>) 274UpdatedTunnels = spec.Tunnels ?? new List<TunnelConfiguration>();
Aspire.Hosting.Tests (7)
Dcp\DcpExecutorTests.cs (5)
12259Assert.Equal(2, tunnelProxy.Spec.Tunnels?.Count); 12331Assert.Equal(1, tunnelProxy.Spec.Tunnels?.Count); 12941Assert.NotNull(proxy.Spec.Tunnels); 12944proxy.Spec.Tunnels.Select(tunnel => tunnel.ClientServiceName).Order(StringComparer.Ordinal)); 12947var tunnel = Assert.Single(proxy.Spec.Tunnels, tunnel => tunnel.ClientServiceName == service.Metadata.Name);
Dcp\TestKubernetesService.cs (2)
136proxy.Status.TunnelStatuses = CreateReadyTunnelStatuses(proxy.Spec.Tunnels); 472proxy.Status.TunnelStatuses = CreateReadyTunnelStatuses(proxy.Spec.Tunnels);