Settings:
export KUBERNETES_BRANCH="release-1.10"
export CLIENT_VERSION="0.1.0a1"
export PACKAGE_NAME="client"
30 lines
1.5 KiB
Go
30 lines
1.5 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
|
|
|
|
// Represents a StorageOS persistent volume resource.
|
|
type V1StorageOsVolumeSource 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"`
|
|
|
|
// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
|
ReadOnly bool `json:"readOnly,omitempty"`
|
|
|
|
// SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
|
|
SecretRef *V1LocalObjectReference `json:"secretRef,omitempty"`
|
|
|
|
// VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
|
|
VolumeName string `json:"volumeName,omitempty"`
|
|
|
|
// VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
|
|
VolumeNamespace string `json:"volumeNamespace,omitempty"`
|
|
}
|