mirror of https://github.com/dotnet/tye.git
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.
27 lines
643 B
27 lines
643 B
using System;
|
|
using YamlDotNet.RepresentationModel;
|
|
|
|
namespace Tye
|
|
{
|
|
internal sealed class KubernetesDeploymentOutput : ServiceOutput, IYamlManifestOutput
|
|
{
|
|
public KubernetesDeploymentOutput(string name, YamlDocument yaml)
|
|
{
|
|
if (name is null)
|
|
{
|
|
throw new ArgumentNullException(nameof(name));
|
|
}
|
|
|
|
if (yaml is null)
|
|
{
|
|
throw new ArgumentNullException(nameof(yaml));
|
|
}
|
|
|
|
Name = name;
|
|
Yaml = yaml;
|
|
}
|
|
|
|
public string Name { get; }
|
|
public YamlDocument Yaml { get; }
|
|
}
|
|
}
|
|
|