1 write to Labels
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
114Labels = new()
14 references to Labels
Aspire.Hosting.Kubernetes (12)
Extensions\ResourceExtensions.cs (11)
18Labels = context.Labels.ToDictionary(), 22Selector = new(context.Labels.ToDictionary()), 47Labels = context.Labels.ToDictionary(), 51Selector = new(context.Labels.ToDictionary()), 72Labels = context.Labels.ToDictionary(), 103Labels = context.Labels.ToDictionary(), 130Labels = context.Labels.ToDictionary(), 134Selector = context.Labels.ToDictionary(), 160Labels = context.Labels.ToDictionary(), 391Labels = context.Labels.ToDictionary(), 435Labels = context.Labels.ToDictionary(),
KubernetesResource.cs (1)
94foreach (var label in Labels)
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
126Metadata = { Name = "myapp-rollout", Labels = serviceResource.Labels.ToDictionary() }, 127Spec = { Template = serviceResource.Workload!.PodTemplate, Selector = { MatchLabels = serviceResource.Labels.ToDictionary() } }