22 references to WithHostname
Aspire.Hosting.Kubernetes (2)
KubernetesIngressExtensions.cs (2)
103/// <see cref="WithHostname(IResourceBuilder{KubernetesIngressResource}, string)"/>, or all hosts 235/// The TLS configuration applies to all hostnames configured via <see cref="WithHostname(IResourceBuilder{KubernetesIngressResource}, string)"/>.
Aspire.Hosting.Kubernetes.Tests (20)
KubernetesIngressTests.cs (12)
192.WithHostname("api.example.com") 193.WithHostname("www.example.com"); 217.WithHostname("api.example.com"); 248.WithHostname("api.example.com").WithTls("my-tls-secret"); 277.WithHostname("api.example.com"); 384.WithHostname("api.example.com") 413.WithHostname("api.example.com") 452.WithHostname("api.example.com") 490.WithHostname("api.example.com") 523.WithHostname("api.example.com") 642.WithHostname("app.example.com").WithTls("my-tls-secret"); 677.WithHostname("app.example.com").WithTls("my-tls-secret");
KubernetesPublisherTests.cs (8)
58environment.AddIngress("public").WithHostname("public.example").WithHostname("alias.example").WithPath("/", web.GetEndpoint("http")); 167environment.AddIngress("public").WithHostname("*.example.com") 242.WithHostname("public.example").WithHostname("alias.example").WithPath("/app", endpoint); 287var route = environment.AddIngress("public").WithHostname("inherited.example") 313environment.AddIngress("public").WithHostname("public.example").WithPath("/", web.GetEndpoint("http")); 350ingress.WithHostname(hostname);