39 lines
2.0 KiB
Go
39 lines
2.0 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 Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
|
||
|
|
type V1RbdVolumeSource struct {
|
||
|
|
|
||
|
|
// Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
|
||
|
|
FsType string `json:"fsType,omitempty"`
|
||
|
|
|
||
|
|
// The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
||
|
|
Image string `json:"image"`
|
||
|
|
|
||
|
|
// Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
||
|
|
Keyring string `json:"keyring,omitempty"`
|
||
|
|
|
||
|
|
// A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
||
|
|
Monitors []string `json:"monitors"`
|
||
|
|
|
||
|
|
// The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
||
|
|
Pool string `json:"pool,omitempty"`
|
||
|
|
|
||
|
|
// ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
||
|
|
ReadOnly bool `json:"readOnly,omitempty"`
|
||
|
|
|
||
|
|
// SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
||
|
|
SecretRef *V1LocalObjectReference `json:"secretRef,omitempty"`
|
||
|
|
|
||
|
|
// The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
|
||
|
|
User string `json:"user,omitempty"`
|
||
|
|
}
|