25 references to Container
Aspire.Hosting.Tests (25)
EndpointReferenceTests.cs (25)
343[InlineData(EndpointProperty.Url, ResourceKind.Host, ResourceKind.Container, "blah://localhost:1234")]
344[InlineData(EndpointProperty.Url, ResourceKind.Container, ResourceKind.Host, "blah://host.docker.internal:1234")]
345[InlineData(EndpointProperty.Url, ResourceKind.Container, ResourceKind.Container, "blah://destination.dev.internal:4567")]
347[InlineData(EndpointProperty.Host, ResourceKind.Host, ResourceKind.Container, "localhost")]
348[InlineData(EndpointProperty.Host, ResourceKind.Container, ResourceKind.Host, "host.docker.internal")]
349[InlineData(EndpointProperty.Host, ResourceKind.Container, ResourceKind.Container, "destination.dev.internal")]
351[InlineData(EndpointProperty.IPV4Host, ResourceKind.Host, ResourceKind.Container, "127.0.0.1")]
352[InlineData(EndpointProperty.IPV4Host, ResourceKind.Container, ResourceKind.Host, "host.docker.internal")]
353[InlineData(EndpointProperty.IPV4Host, ResourceKind.Container, ResourceKind.Container, "destination.dev.internal")]
355[InlineData(EndpointProperty.Port, ResourceKind.Host, ResourceKind.Container, "1234")]
356[InlineData(EndpointProperty.Port, ResourceKind.Container, ResourceKind.Host, "1234")]
357[InlineData(EndpointProperty.Port, ResourceKind.Container, ResourceKind.Container, "4567")]
359[InlineData(EndpointProperty.Scheme, ResourceKind.Host, ResourceKind.Container, "blah")]
360[InlineData(EndpointProperty.Scheme, ResourceKind.Container, ResourceKind.Host, "blah")]
361[InlineData(EndpointProperty.Scheme, ResourceKind.Container, ResourceKind.Container, "blah")]
363[InlineData(EndpointProperty.HostAndPort, ResourceKind.Host, ResourceKind.Container, "localhost:1234")]
364[InlineData(EndpointProperty.HostAndPort, ResourceKind.Container, ResourceKind.Host, "host.docker.internal:1234")]
365[InlineData(EndpointProperty.HostAndPort, ResourceKind.Container, ResourceKind.Container, "destination.dev.internal:4567")]
404if (kind == ResourceKind.Container)