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.
 
 
 
 
 
 

30 lines
1.1 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;
using YamlDotNet.Serialization;
namespace Microsoft.Tye.ConfigModel
{
// General design note re: nullability - we use [Required] to validate for non-null
// so we use = default! to reflect that. Code that creates a ConfigApplication should
// validate it before dereferencing the properties.
public class ConfigApplication
{
// This gets set by all of the code paths that read the application
[YamlIgnore]
public FileInfo Source { get; set; } = default!;
public string? Name { get; set; }
public string? Registry { get; set; }
public List<Dictionary<string, object>> Extensions { get; set; } = new List<Dictionary<string, object>>();
public List<ConfigService> Services { get; set; } = new List<ConfigService>();
public List<ConfigIngress> Ingress { get; set; } = new List<ConfigIngress>();
}
}