152 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)
81Action = static async context => 94Action = ctx => PublishAsync(ctx), 105Action = ctx => ValidateAzureLoginAsync(ctx), 115Action = async ctx => 134Action = _ => Task.CompletedTask, 146Action = ctx => DestroyAzureResourcesAsync(ctx),
Aspire.Hosting.Azure.AppContainers (5)
AzureContainerAppEnvironmentResource.cs (2)
60Action = ctx => PrepareDeploymentTargetsAsync(ctx), 80Action = 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)
33Action = context => AzureContainerRegistryHelpers.LoginToRegistryAsync(this, context),
Aspire.Hosting.Azure.EntraId (2)
EntraIdApplicationResource.cs (2)
68Action = context => 101Action = _ =>
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)
2428Action = _ => Task.CompletedTask 2436Action = _ => Task.CompletedTask 2468Action = _ => Task.CompletedTask 2474Action = _ => Task.CompletedTask 2896Action = _ => 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)
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)
GoHostingExtensions.cs (1)
346Action = context =>
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
1920Action = _ => 2268Action = _ =>
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)
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.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
501Action = _ =>
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)
286Action = async (ctx) => 320Action = async (ctx) => 329Action = async (ctx) => 398Action = async (context) => await Task.CompletedTask 405Action = async (context) => await Task.CompletedTask 651Action = async (ctx) => await Task.CompletedTask 658Action = async (ctx) => await Task.CompletedTask 741Action = async (context) => await Task.CompletedTask 748Action = async (context) => await Task.CompletedTask 755Action = async (context) => await Task.CompletedTask 1037Action = async (ctx) => 1066Action = async (ctx) => 1093Action = async (ctx) => 1120Action = async (ctx) => 1129Action = async (ctx) => 1160Action = async (ctx) => 1169Action = async (ctx) => 1436Action = async (ctx) => await Task.CompletedTask, 1533Action = async (ctx) => await Task.CompletedTask, 1540Action = async (ctx) => await Task.CompletedTask, 1547Action = async (ctx) => await Task.CompletedTask, 1580Action = async (ctx) => await Task.CompletedTask 1585Action = async (ctx) => await Task.CompletedTask 1596Action = async (ctx) => await Task.CompletedTask 1629Action = async (ctx) => await Task.CompletedTask, 1635Action = async (ctx) => await Task.CompletedTask, 1729Action = async (ctx) => await Task.CompletedTask 1766Action = async (ctx) => 1777Action = async (ctx) => 1788Action = async (ctx) => 1799Action = async (ctx) => 2380Action = _ => Task.CompletedTask, 2386Action = _ => Task.CompletedTask, 2406Action = _ => Task.CompletedTask, 2428Action = _ => Task.CompletedTask, 2464new() { Name = "deploy", Action = _ => Task.CompletedTask, DependsOnSteps = { "build" } }, 2465new() { Name = "build", Action = _ => Task.CompletedTask, DependsOnSteps = { "init" } }, 2466new() { Name = "init", Action = _ => Task.CompletedTask } 2484new() { Name = "c-step", Action = _ => Task.CompletedTask }, 2485new() { Name = "a-step", Action = _ => Task.CompletedTask }, 2486new() { Name = "b-step", Action = _ => Task.CompletedTask } 2548Action = _ => 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)
1092await step.Action(stepContext).ConfigureAwait(false);
Pipelines\PipelineStep.cs (1)
124Action = Action,
Aspire.Hosting.Azure.Kubernetes.Tests (4)
AzureKubernetesInfrastructureTests.cs (4)
1421await getCredentialsStep.Action(new PipelineStepContext 1511await getCredentialsStep.Action(new PipelineStepContext 1724await getCredentialsStep.Action(new PipelineStepContext 1794await getCredentialsStep.Action(new PipelineStepContext
Aspire.Hosting.Azure.Tests (5)
AzureContainerAppExpressEndpointTests.cs (1)
389await summaryStep.Action(new PipelineStepContext { PipelineContext = context, ReportingStep = reportingStep });
AzureEnvironmentResourceExtensionsTests.cs (1)
853await prepareResourcesStep.Action(stepContext);
AzureSandboxesTests.cs (3)
68await firstSummaryStep.Action(new PipelineStepContext 74await secondSummaryStep.Action(new PipelineStepContext 116await 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);