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