12 references to FoundryToolboxReconcileAction
Aspire.Hosting.Foundry (6)
Toolbox\FoundryToolboxReconciler.cs (5)
342
return new(created,
FoundryToolboxReconcileAction
.CreatedAndPromoted);
356
return new(existing.DefaultVersion,
FoundryToolboxReconcileAction
.Reused);
378
return new(reusableVersion.Version,
FoundryToolboxReconcileAction
.Promoted);
391
return new(updated,
FoundryToolboxReconcileAction
.CreatedAndPromoted);
567
FoundryToolboxReconcileAction
Action);
Toolbox\FoundryToolboxResource.cs (1)
250
return new(version,
FoundryToolboxReconcileAction
.ValidatedExisting);
Aspire.Hosting.Foundry.Tests (6)
FoundryToolboxReconcilerTests.cs (6)
25
Assert.Equal(
FoundryToolboxReconcileAction
.CreatedAndPromoted, result.Action);
43
Assert.Equal(
FoundryToolboxReconcileAction
.Reused, result.Action);
112
Assert.Equal(
FoundryToolboxReconcileAction
.CreatedAndPromoted, result.Action);
157
Assert.Equal(
FoundryToolboxReconcileAction
.Promoted, result.Action);
384
Assert.Equal(
FoundryToolboxReconcileAction
.CreatedAndPromoted, upgraded.Action);
385
Assert.Equal(
FoundryToolboxReconcileAction
.Reused, unchanged.Action);