/
v1PersistentVolumeStatus.ts
64 lines (58 loc) · 2.04 KB
/
v1PersistentVolumeStatus.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';
/**
* PersistentVolumeStatus is the current status of a persistent volume.
*/
export class V1PersistentVolumeStatus {
/**
* lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.
*/
'lastPhaseTransitionTime'?: Date;
/**
* message is a human-readable message indicating details about why the volume is in this state.
*/
'message'?: string;
/**
* phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
*/
'phase'?: string;
/**
* reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
*/
'reason'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "lastPhaseTransitionTime",
"baseName": "lastPhaseTransitionTime",
"type": "Date"
},
{
"name": "message",
"baseName": "message",
"type": "string"
},
{
"name": "phase",
"baseName": "phase",
"type": "string"
},
{
"name": "reason",
"baseName": "reason",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1PersistentVolumeStatus.attributeTypeMap;
}
}