Files
go/kubernetes/client/v1_rbd_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

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"`
}