You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
|
|
namespace Microsoft.Tye
|
|
{
|
|
public sealed class ApplicationBuilder
|
|
{
|
|
public ApplicationBuilder(FileInfo source, string name, ContainerEngine containerEngine, int? dashboardPort)
|
|
{
|
|
Source = source;
|
|
Name = name;
|
|
ContainerEngine = containerEngine;
|
|
DashboardPort = dashboardPort;
|
|
}
|
|
|
|
public FileInfo Source { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public int? DashboardPort { get; set; }
|
|
|
|
public string? Namespace { get; set; }
|
|
|
|
public ContainerRegistry? Registry { get; set; }
|
|
|
|
public ContainerEngine ContainerEngine { get; set; }
|
|
|
|
public List<ExtensionConfiguration> Extensions { get; } = new List<ExtensionConfiguration>();
|
|
|
|
public List<ServiceBuilder> Services { get; } = new List<ServiceBuilder>();
|
|
|
|
public List<IngressBuilder> Ingress { get; } = new List<IngressBuilder>();
|
|
|
|
public string? Network { get; set; }
|
|
}
|
|
}
|
|
|