1 write to Labels
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
115Labels = 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(), 104Labels = context.Labels.ToDictionary(), 134Labels = context.Labels.ToDictionary(), 138Selector = context.Labels.ToDictionary(), 164Labels = context.Labels.ToDictionary(), 395Labels = context.Labels.ToDictionary(), 439Labels = context.Labels.ToDictionary(),
KubernetesResource.cs (1)
95foreach (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() } }