-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathv1_storage_os_volume_source.go
29 lines (22 loc) · 1.55 KB
/
v1_storage_os_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
/*
* 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"`
}