Version 9.0: Based on Swagger 1.25 (#995)
* 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
This commit is contained in:
20
src/KubernetesClient.Models/ContainerMetrics.cs
Normal file
20
src/KubernetesClient.Models/ContainerMetrics.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user