-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
1,723 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Server.Installer.Models | ||
{ | ||
public class CliParams | ||
{ | ||
public bool? CreateNew { get; set; } | ||
public string GitHubPat { get; set; } | ||
public string GitHubUsername { get; set; } | ||
public string InstallDirectory { get; set; } | ||
public string Reference { get; set; } | ||
public Uri ServerUrl { get; set; } | ||
public WebServerType? WebServer { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Server.Installer.Models | ||
{ | ||
public class ArtifactsResponsePayload | ||
{ | ||
public int total_count { get; set; } | ||
public Artifact[] artifacts { get; set; } | ||
} | ||
|
||
public class Artifact | ||
{ | ||
public int id { get; set; } | ||
public string node_id { get; set; } | ||
public string name { get; set; } | ||
public int size_in_bytes { get; set; } | ||
public string url { get; set; } | ||
public string archive_download_url { get; set; } | ||
public bool expired { get; set; } | ||
public DateTime created_at { get; set; } | ||
public DateTime expires_at { get; set; } | ||
public DateTime updated_at { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.Linq; | ||
using System.Runtime.Serialization; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Server.Installer.Models | ||
{ | ||
public enum WebServerType | ||
{ | ||
UbuntuCaddy, | ||
UbuntuNginx, | ||
CentOsCaddy, | ||
CentOsNginx, | ||
IisWindows | ||
} | ||
} |
Oops, something went wrong.