146 writes to Action
Aspire.Hosting (24)
ApplicationModel\ProjectResource.cs (2)
56Action = BuildProjectImage, 69Action = ctx => PipelineStepHelpers.PushImageToRegistryAsync(this, ctx),
ContainerResourceBuilderExtensions.cs (2)
68Action = async ctx => 88Action = ctx => PipelineStepHelpers.PushImageToRegistryAsync(builder.Resource, ctx),
Pipelines\DistributedApplicationPipeline.cs (17)
45Action = _ => Task.CompletedTask, 52Action = async context => 68Action = async context => 145Action = _ => Task.CompletedTask, 152Action = context => Task.CompletedTask 162Action = async context => 221Action = _ => Task.CompletedTask 230Action = async context => 302Action = _ => Task.CompletedTask 309Action = _ => Task.CompletedTask, 316Action = static context => 329Action = async context => 345Action = _ => Task.CompletedTask 352Action = static context => 365Action = async context => 378Action = _ => Task.CompletedTask, 470Action = action
Pipelines\PipelineStep.cs (1)
124Action = Action,
Pipelines\PipelineStepFactoryExtensions.cs (1)
121Action = callback,
Publishing\ManifestPublishingExtensions.cs (1)
31Action = async context =>
Aspire.Hosting.Azure (7)
AzureBicepResource.cs (1)
52Action = async ctx => await ProvisionAzureBicepResourceAsync(ctx, this).ConfigureAwait(false),
AzureEnvironmentResource.cs (6)
84Action = static async context => 97Action = ctx => PublishAsync(ctx), 107Action = ctx => ValidateAzureLoginAsync(ctx), 117Action = async ctx => 136Action = _ => Task.CompletedTask, 148Action = ctx => DestroyAzureResourcesAsync(ctx),
Aspire.Hosting.Azure.AppContainers (5)
AzureContainerAppEnvironmentResource.cs (2)
53Action = ctx => PrepareDeploymentTargetsAsync(ctx), 73Action = ctx => PrintDashboardUrlAsync(ctx),
AzureContainerAppResource.cs (2)
46Action = async ctx => 77Action = _ => Task.CompletedTask,
src\Shared\CrossScopeAcrPullIdentityPreparer.cs (1)
60Action = stepContext =>
Aspire.Hosting.Azure.AppService (6)
AzureAppServiceEnvironmentResource.cs (3)
61Action = ctx => PrepareDeploymentTargetsAsync(ctx), 74Action = ctx => ValidateAppServiceConfigurationAsync(ctx, model), 90Action = ctx => PrintDashboardUrlAsync(ctx),
AzureAppServiceWebSiteResource.cs (2)
46Action = async ctx => 75Action = _ => Task.CompletedTask,
src\Shared\CrossScopeAcrPullIdentityPreparer.cs (1)
60Action = stepContext =>
Aspire.Hosting.Azure.ContainerRegistry (1)
AzureContainerRegistryResource.cs (1)
33Action = context => AzureContainerRegistryHelpers.LoginToRegistryAsync(this, context),
Aspire.Hosting.Azure.Kubernetes (3)
AzureKubernetesEnvironmentResource.cs (2)
49Action = ctx => PrepareAksEnvironmentAsync(ctx), 65Action = ctx => GetAksCredentialsAsync(ctx),
AzureKubernetesLoadBalancerResource.cs (1)
88Action = ctx => Parent.ApplyAlbCrdAsync(this, ctx),
Aspire.Hosting.Azure.Sandboxes (5)
AzureSandboxContainerDeployment.cs (3)
50Action = context => DeployAsync(context, resource), 60Action = context => DestroyAsync(context, resource), 74Action = context => DestroyStaleDeploymentsAsync(context, activeStateSectionNames),
AzureSandboxGroupResource.cs (1)
45Action = PrepareDeploymentTargetsAsync,
src\Shared\CrossScopeAcrPullIdentityPreparer.cs (1)
60Action = stepContext =>
Aspire.Hosting.Azure.Tests (5)
AzureSandboxesTests.cs (5)
2246Action = _ => Task.CompletedTask 2254Action = _ => Task.CompletedTask 2286Action = _ => Task.CompletedTask 2292Action = _ => Task.CompletedTask 2404Action = _ => Task.CompletedTask
Aspire.Hosting.Docker (7)
DockerComposeEnvironmentResource.cs (6)
71Action = ctx => PrepareDeploymentTargetsAsync(ctx), 81Action = ctx => PublishAsync(ctx) 121Action = ctx => PrepareAsync(ctx), 131Action = ctx => DockerComposeUpAsync(ctx), 142Action = async ctx => 199Action = ctx => DockerComposeDownAsync(ctx),
DockerComposeServiceResource.cs (1)
47Action = async ctx => await PrintEndpointsAsync(ctx, _composeEnvironmentResource).ConfigureAwait(false),
Aspire.Hosting.Dotnet (1)
DotnetProjectResource.cs (1)
90Action = _ => throw new DistributedApplicationException(
Aspire.Hosting.Dotnet.Tests (7)
DotnetProjectResourceTests.cs (7)
184Action = _ => 215Action = _ => 225Action = _ => Task.CompletedTask, 256Action = _ => 284Action = _ => 313Action = _ => Task.CompletedTask, 319Action = _ => Task.CompletedTask,
Aspire.Hosting.EntityFrameworkCore (2)
EFResourceBuilderExtensions.cs (2)
249Action = stepContext => ExecutePublishPipelineOperationAsync( 293Action = stepContext => ExecutePublishPipelineOperationAsync(
Aspire.Hosting.Foundry (5)
HostedAgent\AzureHostedAgentResource.cs (1)
55Action = async (ctx) =>
Project\ProjectResource.cs (2)
50Action = context => 71Action = async (context) =>
PromptAgent\AzurePromptAgentResource.cs (2)
74Action = DeployBeforeStartAsync, 86Action = async (stepCtx) =>
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
1377Action = _ => 1725Action = _ =>
Aspire.Hosting.Kubernetes (16)
CertManagerExtensions.cs (2)
371Action = ctx => ApplyClusterIssuerAsync(ctx, certManager, captured) 400Action = 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) 187Action = async ctx => 232Action = ctx => HelmUninstallAsync(ctx, environment)
KubernetesEnvironmentResource.cs (5)
239Action = ctx => PrepareDeploymentTargetsAsync(ctx), 251Action = ctx => PublishAsync(ctx) 276Action = ctx => BootstrapTlsSecretsAsync(ctx, environment, tlsSecrets) 292Action = ctx => DiscoverFqdnAndBootstrapTlsAsync(ctx, environment, gatewaysNeedingDiscovery) 320Action = ctx => CleanupGatewayFieldOwnershipAsync(ctx, environment, gatewaysWithTls)
KubernetesHelmChartExtensions.cs (2)
101Action = ctx => InstallHelmChartAsync(ctx, environment, resource, releaseName, @namespace) 114Action = 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 (7)
Publishing\RadCredentialRegisterStep.cs (1)
57Action = ExecuteAsync,
Publishing\RadiusBicepPublishingContext.cs (1)
44Action = ExecuteAsync
Publishing\RadiusDeploymentPipelineStep.cs (1)
92Action = ExecuteAsync
Publishing\SealedSecretApplyStep.cs (1)
49Action = ExecuteAsync,
RadiusEnvironmentResource.cs (2)
50Action = stepContext => RadiusInfrastructure.PrepareDeploymentTargetsAsync(this, stepContext), 66Action = Secrets.RadiusSecretStoreValidation.ValidateAsync,
Secrets\RadiusSecretStoreExtensions.cs (1)
84Action = Aspire.Hosting.Radius.Secrets.RadiusSecretStoreValidation.ValidateHasEnvironmentAsync,
Aspire.Hosting.Rust.Tests (1)
AddRustAppPublishTests.cs (1)
344Action = static _ => Task.CompletedTask,
Aspire.Hosting.Tests (40)
Pipelines\DistributedApplicationPipelineTests.cs (40)
258Action = async (ctx) => 292Action = async (ctx) => 301Action = async (ctx) => 370Action = async (context) => await Task.CompletedTask 377Action = async (context) => await Task.CompletedTask 623Action = async (ctx) => await Task.CompletedTask 630Action = async (ctx) => await Task.CompletedTask 713Action = async (context) => await Task.CompletedTask 720Action = async (context) => await Task.CompletedTask 727Action = async (context) => await Task.CompletedTask 1009Action = async (ctx) => 1038Action = async (ctx) => 1065Action = async (ctx) => 1092Action = async (ctx) => 1101Action = async (ctx) => 1132Action = async (ctx) => 1141Action = async (ctx) => 1408Action = async (ctx) => await Task.CompletedTask, 1505Action = async (ctx) => await Task.CompletedTask, 1512Action = async (ctx) => await Task.CompletedTask, 1519Action = async (ctx) => await Task.CompletedTask, 1552Action = async (ctx) => await Task.CompletedTask 1557Action = async (ctx) => await Task.CompletedTask 1568Action = async (ctx) => await Task.CompletedTask 1601Action = async (ctx) => await Task.CompletedTask, 1607Action = async (ctx) => await Task.CompletedTask, 1701Action = async (ctx) => await Task.CompletedTask 1738Action = async (ctx) => 1749Action = async (ctx) => 1760Action = async (ctx) => 1771Action = async (ctx) => 2259Action = _ => Task.CompletedTask, 2281Action = _ => Task.CompletedTask, 2317new() { Name = "deploy", Action = _ => Task.CompletedTask, DependsOnSteps = { "build" } }, 2318new() { Name = "build", Action = _ => Task.CompletedTask, DependsOnSteps = { "init" } }, 2319new() { Name = "init", Action = _ => Task.CompletedTask } 2337new() { Name = "c-step", Action = _ => Task.CompletedTask }, 2338new() { Name = "a-step", Action = _ => Task.CompletedTask }, 2339new() { Name = "b-step", Action = _ => Task.CompletedTask } 2392Action = _ => Task.CompletedTask,
Aspire.Hosting.TestUtilities (1)
Helpers\JsonDocumentManifestPublisher.cs (1)
74Action = async context =>
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
27Action = PublishAsync
9 references to Action
Aspire.Hosting (2)
Pipelines\DistributedApplicationPipeline.cs (1)
1134await step.Action(stepContext).ConfigureAwait(false);
Pipelines\PipelineStep.cs (1)
124Action = Action,
Aspire.Hosting.Azure.Kubernetes.Tests (4)
AzureKubernetesInfrastructureTests.cs (4)
443await getCredentialsStep.Action(new PipelineStepContext 532await getCredentialsStep.Action(new PipelineStepContext 744await getCredentialsStep.Action(new PipelineStepContext 813await getCredentialsStep.Action(new PipelineStepContext
Aspire.Hosting.Azure.Tests (1)
AzureEnvironmentResourceExtensionsTests.cs (1)
557await prepareResourcesStep.Action(stepContext);
Aspire.Hosting.Kubernetes.Tests (1)
PipelineStepTestHelpers.cs (1)
48await step.Action!(new PipelineStepContext
Aspire.Hosting.Radius.Tests (1)
Deployment\DeployPipelineIntegrationTests.cs (1)
85Assert.NotNull(pipelineStep.Action);