-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSurgeAppInfo.cs
More file actions
58 lines (49 loc) · 1.79 KB
/
SurgeAppInfo.cs
File metadata and controls
58 lines (49 loc) · 1.79 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
namespace Surge
{
/// <summary>
/// Information about the currently installed application managed by Surge.
/// </summary>
public sealed class SurgeAppInfo
{
/// <summary>
/// Application identifier as defined in the surge.yml manifest.
/// </summary>
public string Id { get; init; } = "";
/// <summary>
/// Currently installed version string (semver).
/// </summary>
public string Version { get; init; } = "";
/// <summary>
/// Release channel this installation is tracking.
/// </summary>
public string Channel { get; init; } = "";
/// <summary>
/// Root installation directory for this application.
/// </summary>
public string InstallDirectory { get; init; } = "";
/// <summary>
/// Configured supervisor identifier for this installation.
/// </summary>
public string SupervisorId { get; init; } = "";
/// <summary>
/// Storage provider used for updates (filesystem, s3, azure, gcs, github_releases).
/// </summary>
public string StorageProvider { get; init; } = "";
/// <summary>
/// Storage bucket, container, or root path.
/// </summary>
public string StorageBucket { get; init; } = "";
/// <summary>
/// Optional storage region.
/// </summary>
public string StorageRegion { get; init; } = "";
/// <summary>
/// Optional storage endpoint.
/// </summary>
public string StorageEndpoint { get; init; } = "";
/// <summary>
/// Whether the supervisor process is currently running for this application.
/// </summary>
public bool IsSupervisorRunning { get; internal set; }
}
}