Files
go/kubernetes/client/v1_storage_os_persistent_volume_source.go
Haowei Cai 6181687d2e Generated API change for kubernetes 1.10
Settings:
    export KUBERNETES_BRANCH="release-1.10"
    export CLIENT_VERSION="0.1.0a1"
    export PACKAGE_NAME="client"
2018-03-21 14:15:19 -07:00

30 lines
1.6 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 V1StorageOsPersistentVolumeSource 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 *V1ObjectReference `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"`
}