-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathv1_flex_volume_source.go
29 lines (22 loc) · 1.28 KB
/
v1_flex_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
// FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
type V1FlexVolumeSource struct {
// Driver is the name of the driver to use for this volume.
Driver string `json:"driver"`
// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.
FsType string `json:"fsType,omitempty"`
// Optional: Extra command options if any.
Options map[string]string `json:"options,omitempty"`
// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
ReadOnly bool `json:"readOnly,omitempty"`
// Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
SecretRef *V1LocalObjectReference `json:"secretRef,omitempty"`
}