Documentation ¶
Overview ¶
Package rbd contains the internal representation of Rados Block Store (Ceph) volumes.
Index ¶
- Constants
- func ProbeVolumePlugins() []volume.VolumePlugin
- type RBDPlugin
- func (plugin *RBDPlugin) CanSupport(spec *volume.Spec) bool
- func (plugin *RBDPlugin) GetAccessModes() []api.PersistentVolumeAccessMode
- func (plugin *RBDPlugin) Init(host volume.VolumeHost)
- func (plugin *RBDPlugin) Name() string
- func (plugin *RBDPlugin) NewBuilder(spec *volume.Spec, pod *api.Pod, _ volume.VolumeOptions, ...) (volume.Builder, error)
- func (plugin *RBDPlugin) NewCleaner(volName string, podUID types.UID, mounter mount.Interface) (volume.Cleaner, error)
- type RBDUtil
Constants ¶
View Source
const (
RBDPluginName = "kubernetes.io/rbd"
)
Variables ¶
This section is empty.
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins() []volume.VolumePlugin
This is the primary entrypoint for volume plugins.
Types ¶
type RBDPlugin ¶
type RBDPlugin struct {
// contains filtered or unexported fields
}
func (*RBDPlugin) GetAccessModes ¶
func (plugin *RBDPlugin) GetAccessModes() []api.PersistentVolumeAccessMode
func (*RBDPlugin) Init ¶
func (plugin *RBDPlugin) Init(host volume.VolumeHost)
func (*RBDPlugin) NewBuilder ¶
type RBDUtil ¶
type RBDUtil struct{}
func (*RBDUtil) AttachDisk ¶
func (*RBDUtil) DetachDisk ¶
func (*RBDUtil) MakeGlobalPDName ¶
Click to show internal directories.
Click to hide internal directories.