rbd

package
v1.0.6-v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2015 License: Apache-2.0 Imports: 14 Imported by: 0

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