-
Notifications
You must be signed in to change notification settings - Fork 0
/
volume_node_resources.cr
25 lines (21 loc) · 1.05 KB
/
volume_node_resources.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
# THIS FILE WAS AUTO GENERATED FROM THE K8S SWAGGER SPEC
require "yaml"
require "json"
module K8S
# VolumeNodeResources is a set of resource limits for scheduling of volumes.
@[::K8S::Properties(
count: {type: Int32, nilable: true, key: "count", getter: false, setter: false},
)]
class Api::Storage::V1beta1::VolumeNodeResources
include ::JSON::Serializable
include ::JSON::Serializable::Unmapped
include ::YAML::Serializable
include ::YAML::Serializable::Unmapped
# Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
@[::JSON::Field(key: "count", emit_null: false)]
@[::YAML::Field(key: "count", emit_null: false)]
property count : Int32 | Nil
def initialize(*, @count : Int32 | Nil = nil)
end
end
end