1 write to Labels
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
162
Labels
= new()
13 references to Labels
Aspire.Hosting.Kubernetes (11)
Extensions\ResourceExtensions.cs (10)
21
Labels = context.
Labels
.ToDictionary(),
25
Selector = new(context.
Labels
.ToDictionary()),
50
Labels = context.
Labels
.ToDictionary(),
54
Selector = new(context.
Labels
.ToDictionary()),
75
Labels = context.
Labels
.ToDictionary(),
109
Labels = context.
Labels
.ToDictionary(),
141
Labels = context.
Labels
.ToDictionary(),
145
Selector = context.
Labels
.ToDictionary(),
192
Labels = context.
Labels
.ToDictionary(),
478
Labels = context.
Labels
.ToDictionary(),
KubernetesResource.cs (1)
142
foreach (var label in
Labels
)
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
135
Metadata = { Name = "myapp-rollout", Labels = serviceResource.
Labels
.ToDictionary() },
136
Spec = { Template = serviceResource.Workload!.PodTemplate, Selector = { MatchLabels = serviceResource.
Labels
.ToDictionary() } }