-
Notifications
You must be signed in to change notification settings - Fork 882
Expand file tree
/
Copy pathIPipelineOutputService.cs
More file actions
40 lines (34 loc) · 1.56 KB
/
IPipelineOutputService.cs
File metadata and controls
40 lines (34 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics.CodeAnalysis;
using Aspire.Hosting.ApplicationModel;
namespace Aspire.Hosting.Pipelines;
/// <summary>
/// Service for managing pipeline output directories.
/// </summary>
[Experimental("ASPIREPIPELINES001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
public interface IPipelineOutputService
{
/// <summary>
/// Gets the output directory for deployment artifacts.
/// </summary>
/// <returns>The path to the output directory for deployment artifacts.</returns>
string GetOutputDirectory();
/// <summary>
/// Gets the output directory for a specific resource's deployment artifacts.
/// </summary>
/// <param name="resource">The resource to get the output directory for.</param>
/// <returns>The path to the output directory for the resource's deployment artifacts.</returns>
string GetOutputDirectory(IResource resource);
/// <summary>
/// Gets a temporary directory for build artifacts.
/// </summary>
/// <returns>The path to a temporary directory for build artifacts.</returns>
string GetTempDirectory();
/// <summary>
/// Gets a temporary directory for a specific resource's build artifacts.
/// </summary>
/// <param name="resource">The resource to get the temporary directory for.</param>
/// <returns>The path to a temporary directory for the resource's build artifacts.</returns>
string GetTempDirectory(IResource resource);
}