9 references to WithDeploymentImageTag
Aspire.Hosting.Tests (9)
ResourceExtensionsTests.cs (9)
328
.
WithDeploymentImageTag
(_ => "test-tag");
347
var ex = Assert.Throws<ArgumentNullException>(() => builder.
WithDeploymentImageTag
(_ => "test-tag"));
358
containerResource.
WithDeploymentImageTag
((Func<DeploymentImageTagCallbackAnnotationContext,string>)null!));
368
.
WithDeploymentImageTag
(_ => "tag1")
369
.
WithDeploymentImageTag
(_ => "tag2");
392
.
WithDeploymentImageTag
(callback);
397
.
WithDeploymentImageTag
(callback);
402
.
WithDeploymentImageTag
(callback);
413
.
WithDeploymentImageTag
(_ => $"tag-{++counter}");