-
Notifications
You must be signed in to change notification settings - Fork 0
/
namespace_status.cr
29 lines (24 loc) · 1.22 KB
/
namespace_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
# NamespaceStatus is information about the current status of a Namespace.
@[::K8S::Properties(
conditions: {type: Array(Api::Core::V1::NamespaceCondition), nilable: true, key: "conditions", getter: false, setter: false},
phase: {type: String, nilable: true, key: "phase", getter: false, setter: false},
)]
class Api::Core::V1::NamespaceStatus
include ::JSON::Serializable
include ::YAML::Serializable
# Represents the latest available observations of a namespace's current state.
@[::JSON::Field(key: "conditions", emit_null: false)]
@[::YAML::Field(key: "conditions", emit_null: false)]
property conditions : Array(Api::Core::V1::NamespaceCondition) | Nil
# Phase is the current lifecycle phase of the namespace. More info: [https://kubernetes.io/docs/tasks/administer-cluster/namespaces/](https://kubernetes.io/docs/tasks/administer-cluster/namespaces/)
@[::JSON::Field(key: "phase", emit_null: false)]
@[::YAML::Field(key: "phase", emit_null: false)]
property phase : String | Nil
def initialize(*, @conditions : Array | Nil = nil, @phase : String | Nil = nil)
end
end
end