Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with min
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

// 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; }
}
}