148 writes to Action
Aspire.Hosting (24)
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),
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)
80Action = static async context => 93Action = ctx => PublishAsync(ctx), 103Action = ctx => ValidateAzureLoginAsync(ctx), 113Action = async ctx => 132Action = _ => Task.CompletedTask, 144Action = ctx => DestroyAzureResourcesAsync(ctx),
Aspire.Hosting.Azure.AppContainers (5)
AzureContainerAppEnvironmentResource.cs (2)
51Action = ctx => PrepareDeploymentTargetsAsync(ctx), 71Action = ctx => PrintDashboardUrlAsync(ctx),
AzureContainerAppResource.cs (2)
44Action = async ctx => 75Action = _ => Task.CompletedTask,
src\Shared\CrossScopeAcrPullIdentityPreparer.cs (1)
56Action = stepContext =>
Aspire.Hosting.Azure.AppService (6)
AzureAppServiceEnvironmentResource.cs (3)
60Action = ctx => PrepareDeploymentTargetsAsync(ctx), 73Action = ctx => ValidateAppServiceConfigurationAsync(ctx, model), 89Action = ctx => PrintDashboardUrlAsync(ctx),
AzureAppServiceWebSiteResource.cs (2)
44Action = async ctx => 73Action = _ => Task.CompletedTask,
src\Shared\CrossScopeAcrPullIdentityPreparer.cs (1)
56Action = stepContext =>
Aspire.Hosting.Azure.ContainerRegistry (1)
AzureContainerRegistryResource.cs (1)
32Action = context => AzureContainerRegistryHelpers.LoginToRegistryAsync(this, context),
Aspire.Hosting.Azure.Kubernetes (4)
AzureKubernetesEnvironmentResource.cs (3)
52Action = ctx => PrepareAksEnvironmentAsync(ctx), 68Action = ctx => GetAksCredentialsAsync(ctx), 79Action = 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 (5)
AzureSandboxesTests.cs (5)
2427Action = _ => Task.CompletedTask 2435Action = _ => Task.CompletedTask 2467Action = _ => Task.CompletedTask 2473Action = _ => Task.CompletedTask 2895Action = _ => Task.CompletedTask
Aspire.Hosting.Docker (7)
DockerComposeEnvironmentResource.cs (6)
69Action = ctx => PrepareDeploymentTargetsAsync(ctx), 79Action = ctx => PublishAsync(ctx) 119Action = ctx => PrepareAsync(ctx), 129Action = ctx => DockerComposeUpAsync(ctx), 140Action = async ctx => 197Action = ctx => DockerComposeDownAsync(ctx),
DockerComposeServiceResource.cs (1)
47Action = async ctx => await PrintEndpointsAsync(ctx, _composeEnvironmentResource).ConfigureAwait(false),
Aspire.Hosting.EntityFrameworkCore (2)
EFResourceBuilderExtensions.cs (2)
339Action = stepContext => ExecutePublishPipelineOperationAsync( 383Action = 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.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
1920Action = _ => 2268Action = _ =>
Aspire.Hosting.Kubernetes (16)
CertManagerExtensions.cs (2)
369Action = ctx => ApplyClusterIssuerAsync(ctx, certManager, captured) 398Action = 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)
243Action = ctx => PrepareDeploymentTargetsAsync(ctx), 255Action = ctx => PublishAsync(ctx) 280Action = ctx => BootstrapTlsSecretsAsync(ctx, environment, tlsSecrets) 296Action = ctx => DiscoverFqdnAndBootstrapTlsAsync(ctx, environment, gatewaysNeedingDiscovery) 324Action = 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.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 (43)
Pipelines\DistributedApplicationPipelineTests.cs (42)
256Action = async (ctx) => 290Action = async (ctx) => 299Action = async (ctx) => 368Action = async (context) => await Task.CompletedTask 375Action = async (context) => await Task.CompletedTask 621Action = async (ctx) => await Task.CompletedTask 628Action = async (ctx) => await Task.CompletedTask 711Action = async (context) => await Task.CompletedTask 718Action = async (context) => await Task.CompletedTask 725Action = async (context) => await Task.CompletedTask 1007Action = async (ctx) => 1036Action = async (ctx) => 1063Action = async (ctx) => 1090Action = async (ctx) => 1099Action = async (ctx) => 1130Action = async (ctx) => 1139Action = async (ctx) => 1406Action = async (ctx) => await Task.CompletedTask, 1503Action = async (ctx) => await Task.CompletedTask, 1510Action = async (ctx) => await Task.CompletedTask, 1517Action = async (ctx) => await Task.CompletedTask, 1550Action = async (ctx) => await Task.CompletedTask 1555Action = async (ctx) => await Task.CompletedTask 1566Action = async (ctx) => await Task.CompletedTask 1599Action = async (ctx) => await Task.CompletedTask, 1605Action = async (ctx) => await Task.CompletedTask, 1699Action = async (ctx) => await Task.CompletedTask 1736Action = async (ctx) => 1747Action = async (ctx) => 1758Action = async (ctx) => 1769Action = async (ctx) => 2350Action = _ => Task.CompletedTask, 2356Action = _ => Task.CompletedTask, 2376Action = _ => Task.CompletedTask, 2398Action = _ => Task.CompletedTask, 2434new() { Name = "deploy", Action = _ => Task.CompletedTask, DependsOnSteps = { "build" } }, 2435new() { Name = "build", Action = _ => Task.CompletedTask, DependsOnSteps = { "init" } }, 2436new() { Name = "init", Action = _ => Task.CompletedTask } 2454new() { Name = "c-step", Action = _ => Task.CompletedTask }, 2455new() { Name = "a-step", Action = _ => Task.CompletedTask }, 2456new() { Name = "b-step", Action = _ => Task.CompletedTask } 2518Action = _ => Task.CompletedTask,
Publishing\PipelineExecutorTests.cs (1)
65Action = _ =>
Aspire.Hosting.TestUtilities (1)
Helpers\JsonDocumentManifestPublisher.cs (1)
72Action = async context =>
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
25Action = PublishAsync
15 references to Action
Aspire.Hosting (2)
Pipelines\DistributedApplicationPipeline.cs (1)
1090await step.Action(stepContext).ConfigureAwait(false);
Pipelines\PipelineStep.cs (1)
124Action = Action,
Aspire.Hosting.Azure.Kubernetes.Tests (4)
AzureKubernetesInfrastructureTests.cs (4)
1393await getCredentialsStep.Action(new PipelineStepContext 1483await getCredentialsStep.Action(new PipelineStepContext 1696await getCredentialsStep.Action(new PipelineStepContext 1766await getCredentialsStep.Action(new PipelineStepContext
Aspire.Hosting.Azure.Tests (5)
AzureContainerAppExpressEndpointTests.cs (1)
385await summaryStep.Action(new PipelineStepContext { PipelineContext = context, ReportingStep = reportingStep });
AzureEnvironmentResourceExtensionsTests.cs (1)
554await prepareResourcesStep.Action(stepContext);
AzureSandboxesTests.cs (3)
67await firstSummaryStep.Action(new PipelineStepContext 73await secondSummaryStep.Action(new PipelineStepContext 115await summaryStep.Action(new PipelineStepContext
Aspire.Hosting.EntityFrameworkCore.Tests (2)
EFMigrationPipelineTests.cs (2)
67var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => step.Action(stepContext)); 72await 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);