-
Notifications
You must be signed in to change notification settings - Fork 0
/
container_state_waiting.cr
31 lines (26 loc) · 1.05 KB
/
container_state_waiting.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
30
31
# THIS FILE WAS AUTO GENERATED FROM THE K8S SWAGGER SPEC
require "yaml"
require "json"
module K8S
# ContainerStateWaiting is a waiting state of a container.
@[::K8S::Properties(
message: {type: String, nilable: true, key: "message", getter: false, setter: false},
reason: {type: String, nilable: true, key: "reason", getter: false, setter: false},
)]
class Api::Core::V1::ContainerStateWaiting
include ::JSON::Serializable
include ::JSON::Serializable::Unmapped
include ::YAML::Serializable
include ::YAML::Serializable::Unmapped
# Message regarding why the container is not yet running.
@[::JSON::Field(key: "message", emit_null: false)]
@[::YAML::Field(key: "message", emit_null: false)]
property message : String | Nil
# (brief) reason the container is not yet running.
@[::JSON::Field(key: "reason", emit_null: false)]
@[::YAML::Field(key: "reason", emit_null: false)]
property reason : String | Nil
def initialize(*, @message : String | Nil = nil, @reason : String | Nil = nil)
end
end
end