* swagger 1.25 * update version converter * bump version * move missing models to models proj * hide util for further cleanup * hide more public api * update version matrix
21 lines
592 B
C#
21 lines
592 B
C#
namespace k8s.Models
|
|
{
|
|
/// <summary>
|
|
/// Describes the resource usage metrics of a container pull from metrics server API.
|
|
/// </summary>
|
|
public class ContainerMetrics
|
|
{
|
|
/// <summary>
|
|
/// Defines container name corresponding to the one from pod.spec.containers.
|
|
/// </summary>
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// The resource usage.
|
|
/// </summary>
|
|
[JsonPropertyName("usage")]
|
|
public IDictionary<string, ResourceQuantity> Usage { get; set; }
|
|
}
|
|
}
|