Browse Source
Update properties being set via constructor to be get only (#931)
Co-authored-by: kwabena <kwabena@mpharma.com>
davidfowl/add-vscode-extension
Kaypee
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with
14 additions and
14 deletions
-
src/Microsoft.Tye.Core/ApplicationBuilder.cs
-
src/Microsoft.Tye.Core/ContainerServiceBuilder.cs
-
src/Microsoft.Tye.Core/DockerFileServiceBuilder.cs
-
src/Microsoft.Tye.Core/ExecutableServiceBuilder.cs
-
src/Microsoft.Tye.Core/IngressBuilder.cs
-
src/Microsoft.Tye.Core/KubernetesManifestInfo.cs
-
src/Microsoft.Tye.Core/SidecarBuilder.cs
-
src/Microsoft.Tye.Core/VolumeBuilder.cs
|
|
|
@ -17,9 +17,9 @@ namespace Microsoft.Tye |
|
|
|
DashboardPort = dashboardPort; |
|
|
|
} |
|
|
|
|
|
|
|
public FileInfo Source { get; set; } |
|
|
|
public FileInfo Source { get; } |
|
|
|
|
|
|
|
public string Name { get; set; } |
|
|
|
public string Name { get; } |
|
|
|
|
|
|
|
public int? DashboardPort { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ namespace Microsoft.Tye |
|
|
|
Image = image; |
|
|
|
} |
|
|
|
|
|
|
|
public string Image { get; set; } |
|
|
|
public string Image { get; } |
|
|
|
|
|
|
|
public bool IsAspNet { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ namespace Microsoft.Tye |
|
|
|
{ |
|
|
|
Image = image; |
|
|
|
} |
|
|
|
public string Image { get; set; } |
|
|
|
public string Image { get; } |
|
|
|
|
|
|
|
public string? DockerFile { get; set; } |
|
|
|
public Dictionary<string, string> BuildArgs { get; set; } = new Dictionary<string, string>(); |
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ namespace Microsoft.Tye |
|
|
|
Executable = executable; |
|
|
|
} |
|
|
|
|
|
|
|
public string Executable { get; set; } |
|
|
|
public string Executable { get; } |
|
|
|
|
|
|
|
public string? WorkingDirectory { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ namespace Microsoft.Tye |
|
|
|
Name = name; |
|
|
|
} |
|
|
|
|
|
|
|
public string Name { get; set; } |
|
|
|
public string Name { get; } |
|
|
|
|
|
|
|
public int Replicas { get; set; } = 1; |
|
|
|
|
|
|
|
|
|
|
|
@ -13,8 +13,8 @@ namespace Microsoft.Tye |
|
|
|
Service = new ServiceManifestInfo(); |
|
|
|
} |
|
|
|
|
|
|
|
public DeploymentManifestInfo? Deployment { get; set; } |
|
|
|
public DeploymentManifestInfo? Deployment { get; } |
|
|
|
|
|
|
|
public ServiceManifestInfo Service { get; set; } |
|
|
|
public ServiceManifestInfo Service { get; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -15,11 +15,11 @@ namespace Microsoft.Tye |
|
|
|
ImageTag = imageTag; |
|
|
|
} |
|
|
|
|
|
|
|
public string Name { get; set; } |
|
|
|
public string Name { get; } |
|
|
|
|
|
|
|
public string ImageName { get; set; } |
|
|
|
public string ImageName { get; } |
|
|
|
|
|
|
|
public string ImageTag { get; set; } |
|
|
|
public string ImageTag { get; } |
|
|
|
|
|
|
|
public List<string> Args { get; } = new List<string>(); |
|
|
|
|
|
|
|
|
|
|
|
@ -13,10 +13,10 @@ namespace Microsoft.Tye |
|
|
|
Target = target; |
|
|
|
} |
|
|
|
|
|
|
|
public string? Source { get; set; } |
|
|
|
public string? Source { get; } |
|
|
|
|
|
|
|
public string? Name { get; set; } |
|
|
|
public string? Name { get; } |
|
|
|
|
|
|
|
public string Target { get; set; } |
|
|
|
public string Target { get; } |
|
|
|
} |
|
|
|
} |
|
|
|
|