9 references to Publish
Aspire.Hosting.Native.Core.Tests (8)
NativeTimeProviderTests.cs (1)
211cache.Publish(ResourceState.Running, healthy: true, []);
ResourceWorkloadTests.cs (1)
96cacheOwner.Publish(ResourceState.Running, healthy: true, []);
RuntimeObservationTests.cs (4)
29firstOwner.Publish(ResourceState.Running, healthy: true, ["http://localhost:8000"]); 30secondOwner.Publish(ResourceState.Starting, healthy: false, []); 34firstOwner.Publish(ResourceState.Stopped, healthy: false, []); 52owner.Publish(ResourceState.Running, healthy: true, []);
SymbolicValueTests.cs (2)
115sourceOwner.Publish(ResourceState.Running, true, []); 223Assert.Throws<ArgumentException>(() => owner.Publish(ResourceState.Running, false, ["https://example.test/?token=metadata-secret"]));
Aspire.Hosting.Native.Server (1)
Api\RuntimeApi.cs (1)
232owner.Publish(RuntimeStates.ParseObservation(observation.State), observation.Healthy, observation.Urls.ToImmutableArray());