-
Notifications
You must be signed in to change notification settings - Fork 0
/
csi_node_spec.cr
25 lines (21 loc) · 985 Bytes
/
csi_node_spec.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
# CSINodeSpec holds information about the specification of all CSI drivers installed on a node
@[::K8S::Properties(
drivers: {type: Array(Api::Storage::V1beta1::CSINodeDriver), nilable: true, key: "drivers", getter: false, setter: false},
)]
class Api::Storage::V1beta1::CSINodeSpec
include ::JSON::Serializable
include ::JSON::Serializable::Unmapped
include ::YAML::Serializable
include ::YAML::Serializable::Unmapped
# drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.
@[::JSON::Field(key: "drivers", emit_null: false)]
@[::YAML::Field(key: "drivers", emit_null: false)]
property drivers : Array(Api::Storage::V1beta1::CSINodeDriver) | Nil
def initialize(*, @drivers : Array(Api::Storage::V1beta1::CSINodeDriver) | Nil = nil)
end
end
end