forked from kubernetes-client/go
/
v1_scale_io_volume_source.go
44 lines (32 loc) · 1.73 KB
/
v1_scale_io_volume_source.go
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
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// ScaleIOVolumeSource represents a persistent ScaleIO volume
type V1ScaleIoVolumeSource struct {
// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.
FsType string `json:"fsType,omitempty"`
// The host address of the ScaleIO API Gateway.
Gateway string `json:"gateway"`
// The name of the ScaleIO Protection Domain for the configured storage.
ProtectionDomain string `json:"protectionDomain,omitempty"`
// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
ReadOnly bool `json:"readOnly,omitempty"`
// SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
SecretRef *V1LocalObjectReference `json:"secretRef"`
// Flag to enable/disable SSL communication with Gateway, default false
SslEnabled bool `json:"sslEnabled,omitempty"`
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
StorageMode string `json:"storageMode,omitempty"`
// The ScaleIO Storage Pool associated with the protection domain.
StoragePool string `json:"storagePool,omitempty"`
// The name of the storage system as configured in ScaleIO.
System string `json:"system"`
// The name of a volume already created in the ScaleIO system that is associated with this volume source.
VolumeName string `json:"volumeName,omitempty"`
}