1 write to Labels
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
111Labels = 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(), 360Labels = context.Labels.ToDictionary(), 404Labels = context.Labels.ToDictionary(),
KubernetesResource.cs (1)
91foreach(var label in Labels)
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
125Metadata = { Name = "myapp-rollout", Labels = serviceResource.Labels.ToDictionary() }, 126Spec = { Template = serviceResource.Workload!.PodTemplate, Selector = { MatchLabels = serviceResource.Labels.ToDictionary() } }