161 writes to Action
Aspire.Hosting (27)
ApplicationModel\DotnetProgramPublishing.cs (2)
51Action = context => BuildImageAsync(stepResource, buildEnvironmentCallbacks, context), 64Action = context => PipelineStepHelpers.PushImageToRegistryAsync(stepResource, context),
ContainerResourceBuilderExtensions.cs (2)
65Action = async ctx => 85Action = ctx => PipelineStepHelpers.PushImageToRegistryAsync(builder.Resource, ctx),
PipelineOutputDiffingExtensions.cs (3)
56Action = _ => Task.CompletedTask 139Action = _ => Task.CompletedTask 191Action = async context =>
Pipelines\DistributedApplicationPipeline.cs (17)
43Action = _ => Task.CompletedTask, 50Action = async context => 66Action = async context => 143Action = _ => Task.CompletedTask, 150Action = context => Task.CompletedTask 160Action = async context => 175Action = _ => Task.CompletedTask 184Action = async context => 256Action = _ => Task.CompletedTask 263Action = _ => Task.CompletedTask, 270Action = static context => 283Action = async context => 299Action = _ => Task.CompletedTask 306Action = static context => 319Action = async context => 332Action = _ => Task.CompletedTask, 424Action = action
Pipelines\PipelineStep.cs (1)
124Action = Action,
Pipelines\PipelineStepFactoryExtensions.cs (1)
119Action = callback,
Publishing\ManifestPublishingExtensions.cs (1)
29Action = async context =>
Aspire.Hosting.Azure (7)
AzureBicepResource.cs (1)
48Action = async ctx => await ProvisionAzureBicepResourceAsync(ctx, this).ConfigureAwait(false),
AzureEnvironmentResource.cs (6)
81Action = static async context => 97Action = ctx => PublishAsync(ctx), 108Action = ctx => ValidateAzureLoginAsync(ctx), 118Action = async ctx => 137Action = _ => Task.CompletedTask, 149Action = ctx => DestroyAzureResourcesAsync(ctx),
Aspire.Hosting.Azure.AppContainers (5)
AzureContainerAppEnvironmentResource.cs (2)
69Action = ctx => PrepareDeploymentTargetsAsync(ctx), 89Action = ctx => PrintDashboardUrlAsync(ctx),
AzureContainerAppResource.cs (2)
47Action = async ctx => 78Action = _ => Task.CompletedTask,
src\Shared\CrossScopeAcrPullIdentityPreparer.cs (1)
56Action = stepContext =>
Aspire.Hosting.Azure.AppService (6)
AzureAppServiceEnvironmentResource.cs (3)
102Action = ctx => PrepareDeploymentTargetsAsync(ctx), 115Action = ctx => ValidateAppServiceConfigurationAsync(ctx, model), 131Action = ctx => PrintDashboardUrlAsync(ctx),
AzureAppServiceWebSiteResource.cs (2)
47Action = async ctx => 76Action = _ => Task.CompletedTask,
src\Shared\CrossScopeAcrPullIdentityPreparer.cs (1)
56Action = stepContext =>
Aspire.Hosting.Azure.ContainerRegistry (1)
AzureContainerRegistryResource.cs (1)
36Action = context => AzureContainerRegistryHelpers.LoginToRegistryAsync(this, context),
Aspire.Hosting.Azure.EntraId (2)
EntraIdApplicationResource.cs (2)
71Action = context => 104Action = _ =>
Aspire.Hosting.Azure.Kubernetes (4)
AzureKubernetesEnvironmentResource.cs (3)
59Action = ctx => PrepareAksEnvironmentAsync(ctx), 75Action = ctx => GetAksCredentialsAsync(ctx), 86Action = ctx => GetAksCredentialsForDestroyAsync(ctx),
AzureKubernetesLoadBalancerResource.cs (1)
87Action = ctx => Parent.ApplyAlbCrdAsync(this, ctx),
Aspire.Hosting.Azure.Sandboxes (6)
AzureSandboxContainerDeployment.cs (3)
68Action = context => DeployAsync(context, resource), 78Action = context => DestroyAsync(context, resource), 92Action = context => DestroyStaleDeploymentsAsync(context, activeStateSectionNames),
AzureSandboxGroupResource.cs (2)
48Action = PrepareDeploymentTargetsAsync, 56Action = AddDashboardToPipelineSummaryAsync,
src\Shared\CrossScopeAcrPullIdentityPreparer.cs (1)
56Action = stepContext =>
Aspire.Hosting.Azure.Tests (6)
AzureApiManagementTests.cs (1)
1112Action = static _ => Task.CompletedTask,
AzureSandboxesTests.cs (5)
2476Action = _ => Task.CompletedTask 2484Action = _ => Task.CompletedTask 2516Action = _ => Task.CompletedTask 2522Action = _ => Task.CompletedTask 2944Action = _ => Task.CompletedTask
Aspire.Hosting.Docker (7)
DockerComposeEnvironmentResource.cs (6)
74Action = ctx => PrepareDeploymentTargetsAsync(ctx), 84Action = ctx => PublishAsync(ctx) 124Action = ctx => PrepareAsync(ctx), 134Action = ctx => DockerComposeUpAsync(ctx), 145Action = async ctx => 202Action = ctx => DockerComposeDownAsync(ctx),
DockerComposeServiceResource.cs (1)
51Action = async ctx => await PrintEndpointsAsync(ctx, _composeEnvironmentResource).ConfigureAwait(false),
Aspire.Hosting.EntityFrameworkCore (2)
EFResourceBuilderExtensions.cs (2)
334Action = stepContext => ExecutePublishPipelineOperationAsync( 378Action = stepContext => ExecutePublishPipelineOperationAsync(
Aspire.Hosting.Foundry (7)
HostedAgent\AzureHostedAgentResource.cs (1)
53Action = async (ctx) =>
Project\ProjectResource.cs (2)
50Action = context => 71Action = async (context) =>
PromptAgent\AzurePromptAgentResource.cs (2)
74Action = DeployBeforeStartAsync, 86Action = async (stepCtx) =>
Toolbox\FoundryToolboxResource.cs (2)
63Action = DeployBeforeStartAsync, 76Action = async stepContext =>
Aspire.Hosting.Foundry.Tests (2)
ToolboxTests.cs (2)
822Action = _ => Task.CompletedTask, 902Action = _ => Task.CompletedTask,
Aspire.Hosting.Go (1)
src\Shared\PublishValidationExtensions.cs (1)
24Action = context =>
Aspire.Hosting.JavaScript (1)
src\Shared\PublishValidationExtensions.cs (1)
24Action = context =>
Aspire.Hosting.Kubernetes (16)
CertManagerExtensions.cs (2)
360Action = ctx => ApplyClusterIssuerAsync(ctx, certManager, captured) 389Action = ctx => DeleteClusterIssuerAsync(ctx, certManager, captured),
Deployment\HelmDeploymentEngine.cs (6)
138Action = async ctx => 151Action = ctx => PrepareAsync(ctx, environment) 164Action = ctx => HelmDeployAsync(ctx, environment) 176Action = ctx => PrintDeploymentInstructionsAsync(ctx, environment) 188Action = async ctx => 236Action = ctx => HelmUninstallAsync(ctx, environment)
KubernetesEnvironmentResource.cs (5)
246Action = ctx => PrepareDeploymentTargetsAsync(ctx), 258Action = ctx => PublishAsync(ctx) 283Action = ctx => BootstrapTlsSecretsAsync(ctx, environment, tlsSecrets) 299Action = ctx => DiscoverFqdnAndBootstrapTlsAsync(ctx, environment, gatewaysNeedingDiscovery) 327Action = ctx => CleanupGatewayFieldOwnershipAsync(ctx, environment, gatewaysWithTls)
KubernetesHelmChartExtensions.cs (2)
98Action = ctx => InstallHelmChartAsync(ctx, environment, resource, releaseName, @namespace) 111Action = ctx => UninstallHelmChartAsync(ctx, environment, resource, releaseName, @namespace),
KubernetesResource.cs (1)
38Action = async ctx => await HelmDeploymentEngine.PrintResourceSummaryAsync(ctx, kubernetesEnvironmentResource, resource, this).ConfigureAwait(false),
Aspire.Hosting.Python (1)
src\Shared\PublishValidationExtensions.cs (1)
24Action = context =>
Aspire.Hosting.Radius (8)
Publishing\RadCredentialRegisterStep.cs (1)
54Action = ExecuteAsync,
Publishing\RadiusBicepPublishingContext.cs (1)
41Action = ExecuteAsync
Publishing\RadiusDeploymentPipelineStep.cs (1)
497Action = ExecuteAsync
Publishing\SealedSecretApplyStep.cs (1)
45Action = ExecuteAsync,
RadiusEnvironmentResource.cs (3)
50Action = stepContext => RadiusInfrastructure.PrepareDeploymentTargetsAsync(this, stepContext), 66Action = Secrets.RadiusSecretStoreValidation.ValidateAsync, 85Action = stepContext => RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync(stepContext.Logger, stepContext.CancellationToken),
Secrets\RadiusSecretStoreExtensions.cs (1)
82Action = Aspire.Hosting.Radius.Secrets.RadiusSecretStoreValidation.ValidateHasEnvironmentAsync,
Aspire.Hosting.Rust.Tests (1)
AddRustAppPublishTests.cs (1)
342Action = static _ => Task.CompletedTask,
Aspire.Hosting.Tests (49)
Pipelines\DistributedApplicationPipelineTests.cs (43)
315Action = async (ctx) => 349Action = async (ctx) => 358Action = async (ctx) => 427Action = async (context) => await Task.CompletedTask 434Action = async (context) => await Task.CompletedTask 680Action = async (ctx) => await Task.CompletedTask 687Action = async (ctx) => await Task.CompletedTask 770Action = async (context) => await Task.CompletedTask 777Action = async (context) => await Task.CompletedTask 784Action = async (context) => await Task.CompletedTask 1066Action = async (ctx) => 1095Action = async (ctx) => 1122Action = async (ctx) => 1149Action = async (ctx) => 1158Action = async (ctx) => 1189Action = async (ctx) => 1198Action = async (ctx) => 1465Action = async (ctx) => await Task.CompletedTask, 1562Action = async (ctx) => await Task.CompletedTask, 1569Action = async (ctx) => await Task.CompletedTask, 1576Action = async (ctx) => await Task.CompletedTask, 1609Action = async (ctx) => await Task.CompletedTask 1614Action = async (ctx) => await Task.CompletedTask 1625Action = async (ctx) => await Task.CompletedTask 1658Action = async (ctx) => await Task.CompletedTask, 1664Action = async (ctx) => await Task.CompletedTask, 1758Action = async (ctx) => await Task.CompletedTask 1795Action = async (ctx) => 1806Action = async (ctx) => 1817Action = async (ctx) => 1828Action = async (ctx) => 2322Action = _ => 2486Action = _ => Task.CompletedTask, 2492Action = _ => Task.CompletedTask, 2512Action = _ => Task.CompletedTask, 2534Action = _ => Task.CompletedTask, 2570new() { Name = "deploy", Action = _ => Task.CompletedTask, DependsOnSteps = { "build" } }, 2571new() { Name = "build", Action = _ => Task.CompletedTask, DependsOnSteps = { "init" } }, 2572new() { Name = "init", Action = _ => Task.CompletedTask } 2590new() { Name = "c-step", Action = _ => Task.CompletedTask }, 2591new() { Name = "a-step", Action = _ => Task.CompletedTask }, 2592new() { Name = "b-step", Action = _ => Task.CompletedTask } 2654Action = _ => Task.CompletedTask,
Pipelines\PipelineOutputDiffingTests.cs (5)
262Action = action, 337Action = _ => 795Action = _ => Task.CompletedTask, 801Action = _ => Task.CompletedTask, 1021Action = _ =>
Publishing\PipelineExecutorTests.cs (1)
65Action = _ =>
Aspire.Hosting.TestUtilities (1)
Helpers\JsonDocumentManifestPublisher.cs (1)
72Action = async context =>
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
25Action = PublishAsync
17 references to Action
Aspire.Hosting (2)
Pipelines\DistributedApplicationPipeline.cs (1)
1119await step.Action(stepContext).ConfigureAwait(false);
Pipelines\PipelineStep.cs (1)
124Action = Action,
Aspire.Hosting.Azure.Kubernetes.Tests (5)
AzureKubernetesInfrastructureTests.cs (5)
1475await getCredentialsStep.Action(new PipelineStepContext 1564await getCredentialsStep.Action(new PipelineStepContext 1794await getCredentialsStep.Action(new PipelineStepContext 1875() => getCredentialsStep.Action(stepContext)); 1881await getCredentialsStep.Action(stepContext);
Aspire.Hosting.Azure.Tests (5)
AzureContainerAppExpressEndpointTests.cs (1)
417await summaryStep.Action(new PipelineStepContext { PipelineContext = context, ReportingStep = reportingStep });
AzureEnvironmentResourceExtensionsTests.cs (1)
878await prepareResourcesStep.Action(stepContext);
AzureSandboxesTests.cs (3)
100await firstSummaryStep.Action(new PipelineStepContext 106await secondSummaryStep.Action(new PipelineStepContext 148await summaryStep.Action(new PipelineStepContext
Aspire.Hosting.EntityFrameworkCore.Tests (2)
EFMigrationPipelineTests.cs (2)
69var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => step.Action(stepContext)); 74await step.Action(stepContext);
Aspire.Hosting.Kubernetes.Tests (1)
PipelineStepTestHelpers.cs (1)
46await step.Action!(new PipelineStepContext
Aspire.Hosting.Radius.Tests (1)
Deployment\DeployPipelineIntegrationTests.cs (1)
83Assert.NotNull(pipelineStep.Action);
Aspire.Hosting.Tests (1)
Pipelines\PipelineOutputDiffingTests.cs (1)
287Assert.Same(action, check.Action);