1 write to Labels
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
115
Labels
= new()
14 references to Labels
Aspire.Hosting.Kubernetes (12)
Extensions\ResourceExtensions.cs (11)
18
Labels = context.
Labels
.ToDictionary(),
22
Selector = new(context.
Labels
.ToDictionary()),
47
Labels = context.
Labels
.ToDictionary(),
51
Selector = new(context.
Labels
.ToDictionary()),
72
Labels = context.
Labels
.ToDictionary(),
104
Labels = context.
Labels
.ToDictionary(),
134
Labels = context.
Labels
.ToDictionary(),
138
Selector = context.
Labels
.ToDictionary(),
164
Labels = context.
Labels
.ToDictionary(),
395
Labels = context.
Labels
.ToDictionary(),
439
Labels = context.
Labels
.ToDictionary(),
KubernetesResource.cs (1)
95
foreach (var label in
Labels
)
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
126
Metadata = { Name = "myapp-rollout", Labels = serviceResource.
Labels
.ToDictionary() },
127
Spec = { Template = serviceResource.Workload!.PodTemplate, Selector = { MatchLabels = serviceResource.
Labels
.ToDictionary() } }