/
v1Taint.ts
64 lines (58 loc) · 1.68 KB
/
v1Taint.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
/**
* 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';
/**
* The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.
*/
export class V1Taint {
/**
* Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
*/
'effect': string;
/**
* Required. The taint key to be applied to a node.
*/
'key': string;
/**
* TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.
*/
'timeAdded'?: Date;
/**
* The taint value corresponding to the taint key.
*/
'value'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "effect",
"baseName": "effect",
"type": "string"
},
{
"name": "key",
"baseName": "key",
"type": "string"
},
{
"name": "timeAdded",
"baseName": "timeAdded",
"type": "Date"
},
{
"name": "value",
"baseName": "value",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1Taint.attributeTypeMap;
}
}