-
Notifications
You must be signed in to change notification settings - Fork 0
/
resource_quota_status.cr
29 lines (24 loc) · 1.19 KB
/
resource_quota_status.cr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# THIS FILE WAS AUTO GENERATED FROM THE K8S SWAGGER SPEC
require "yaml"
require "json"
module K8S
# ResourceQuotaStatus defines the enforced hard limits and observed use.
@[::K8S::Properties(
hard: {type: Hash(String, String), nilable: true, key: "hard", getter: false, setter: false},
used: {type: Hash(String, String), nilable: true, key: "used", getter: false, setter: false},
)]
class Api::Core::V1::ResourceQuotaStatus
include ::JSON::Serializable
include ::YAML::Serializable
# Hard is the set of enforced hard limits for each named resource. More info: [https://kubernetes.io/docs/concepts/policy/resource-quotas/](https://kubernetes.io/docs/concepts/policy/resource-quotas/)
@[::JSON::Field(key: "hard", emit_null: false)]
@[::YAML::Field(key: "hard", emit_null: false)]
property hard : Hash(String, String) | Nil
# Used is the current observed total usage of the resource in the namespace.
@[::JSON::Field(key: "used", emit_null: false)]
@[::YAML::Field(key: "used", emit_null: false)]
property used : Hash(String, String) | Nil
def initialize(*, @hard : Hash(String, String) | Nil = nil, @used : Hash(String, String) | Nil = nil)
end
end
end