Settings:
export KUBERNETES_BRANCH="release-1.10"
export CLIENT_VERSION="0.1.0a1"
export PACKAGE_NAME="client"
45 lines
1.7 KiB
Go
45 lines
1.7 KiB
Go
/*
|
|
* 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"`
|
|
}
|