/
v1NodeStatus.ts
125 lines (119 loc) · 4.45 KB
/
v1NodeStatus.ts
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: release-1.28
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
import { V1AttachedVolume } from './v1AttachedVolume';
import { V1ContainerImage } from './v1ContainerImage';
import { V1NodeAddress } from './v1NodeAddress';
import { V1NodeCondition } from './v1NodeCondition';
import { V1NodeConfigStatus } from './v1NodeConfigStatus';
import { V1NodeDaemonEndpoints } from './v1NodeDaemonEndpoints';
import { V1NodeSystemInfo } from './v1NodeSystemInfo';
/**
* NodeStatus is information about the current status of a node.
*/
export class V1NodeStatus {
/**
* List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node\'s address in its own status or consumers of the downward API (status.hostIP).
*/
'addresses'?: Array<V1NodeAddress>;
/**
* Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.
*/
'allocatable'?: { [key: string]: string; };
/**
* Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
*/
'capacity'?: { [key: string]: string; };
/**
* Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
*/
'conditions'?: Array<V1NodeCondition>;
'config'?: V1NodeConfigStatus;
'daemonEndpoints'?: V1NodeDaemonEndpoints;
/**
* List of container images on this node
*/
'images'?: Array<V1ContainerImage>;
'nodeInfo'?: V1NodeSystemInfo;
/**
* NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.
*/
'phase'?: string;
/**
* List of volumes that are attached to the node.
*/
'volumesAttached'?: Array<V1AttachedVolume>;
/**
* List of attachable volumes in use (mounted) by the node.
*/
'volumesInUse'?: Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "addresses",
"baseName": "addresses",
"type": "Array<V1NodeAddress>"
},
{
"name": "allocatable",
"baseName": "allocatable",
"type": "{ [key: string]: string; }"
},
{
"name": "capacity",
"baseName": "capacity",
"type": "{ [key: string]: string; }"
},
{
"name": "conditions",
"baseName": "conditions",
"type": "Array<V1NodeCondition>"
},
{
"name": "config",
"baseName": "config",
"type": "V1NodeConfigStatus"
},
{
"name": "daemonEndpoints",
"baseName": "daemonEndpoints",
"type": "V1NodeDaemonEndpoints"
},
{
"name": "images",
"baseName": "images",
"type": "Array<V1ContainerImage>"
},
{
"name": "nodeInfo",
"baseName": "nodeInfo",
"type": "V1NodeSystemInfo"
},
{
"name": "phase",
"baseName": "phase",
"type": "string"
},
{
"name": "volumesAttached",
"baseName": "volumesAttached",
"type": "Array<V1AttachedVolume>"
},
{
"name": "volumesInUse",
"baseName": "volumesInUse",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1NodeStatus.attributeTypeMap;
}
}