rbd

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2015 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package rbd contains the internal representation of Rados Block Store (Ceph) volumes.

Index

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) CanSupport

func (plugin *RBDPlugin) CanSupport(spec *volume.Spec) bool

func (*RBDPlugin) GetAccessModes

func (plugin *RBDPlugin) GetAccessModes() []api.PersistentVolumeAccessMode

func (*RBDPlugin) Init

func (plugin *RBDPlugin) Init(host volume.VolumeHost)

func (*RBDPlugin) Name

func (plugin *RBDPlugin) Name() string

func (*RBDPlugin) NewBuilder

func (plugin *RBDPlugin) NewBuilder(spec *volume.Spec, pod *api.Pod, _ volume.VolumeOptions, mounter mount.Interface) (volume.Builder, error)

func (*RBDPlugin) NewCleaner

func (plugin *RBDPlugin) NewCleaner(volName string, podUID types.UID, mounter mount.Interface) (volume.Cleaner, error)

type RBDUtil

type RBDUtil struct{}

func (*RBDUtil) AttachDisk

func (util *RBDUtil) AttachDisk(rbd rbd) error

func (*RBDUtil) DetachDisk

func (util *RBDUtil) DetachDisk(rbd rbd, mntPath string) error

func (*RBDUtil) MakeGlobalPDName

func (util *RBDUtil) MakeGlobalPDName(rbd rbd) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL