/
v1ScaleIOPersistentVolumeSource.ts
116 lines (110 loc) · 3.33 KB
/
v1ScaleIOPersistentVolumeSource.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
/**
* 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 { V1SecretReference } from './v1SecretReference';
/**
* ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume
*/
export class V1ScaleIOPersistentVolumeSource {
/**
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"
*/
'fsType'?: string;
/**
* gateway is the host address of the ScaleIO API Gateway.
*/
'gateway': string;
/**
* protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
*/
'protectionDomain'?: string;
/**
* readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
*/
'readOnly'?: boolean;
'secretRef': V1SecretReference;
/**
* sslEnabled is the flag to enable/disable SSL communication with Gateway, default false
*/
'sslEnabled'?: boolean;
/**
* storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
*/
'storageMode'?: string;
/**
* storagePool is the ScaleIO Storage Pool associated with the protection domain.
*/
'storagePool'?: string;
/**
* system is the name of the storage system as configured in ScaleIO.
*/
'system': string;
/**
* volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
*/
'volumeName'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "gateway",
"baseName": "gateway",
"type": "string"
},
{
"name": "protectionDomain",
"baseName": "protectionDomain",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "secretRef",
"baseName": "secretRef",
"type": "V1SecretReference"
},
{
"name": "sslEnabled",
"baseName": "sslEnabled",
"type": "boolean"
},
{
"name": "storageMode",
"baseName": "storageMode",
"type": "string"
},
{
"name": "storagePool",
"baseName": "storagePool",
"type": "string"
},
{
"name": "system",
"baseName": "system",
"type": "string"
},
{
"name": "volumeName",
"baseName": "volumeName",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1ScaleIOPersistentVolumeSource.attributeTypeMap;
}
}