17 lines
608 B
C#
17 lines
608 B
C#
|
|
namespace OTSSignsOrchestrator.Core.Models.DTOs;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Represents a node in the Docker Swarm cluster,
|
||
|
|
/// parsed from <c>docker node ls</c> output.
|
||
|
|
/// </summary>
|
||
|
|
public class NodeInfo
|
||
|
|
{
|
||
|
|
public string Id { get; set; } = string.Empty;
|
||
|
|
public string Hostname { get; set; } = string.Empty;
|
||
|
|
public string Status { get; set; } = string.Empty;
|
||
|
|
public string Availability { get; set; } = string.Empty;
|
||
|
|
public string ManagerStatus { get; set; } = string.Empty;
|
||
|
|
public string EngineVersion { get; set; } = string.Empty;
|
||
|
|
public string IpAddress { get; set; } = string.Empty;
|
||
|
|
}
|