iscsi

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2015 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package iscsi contains the internal representation of Internet Small Computer System Interface (iSCSI) volumes.

Index

Constants

View Source
const (
	ISCSIPluginName = "kubernetes.io/iscsi"
)

Variables

This section is empty.

Functions

func ProbeVolumePlugins

func ProbeVolumePlugins() []volume.VolumePlugin

This is the primary entrypoint for volume plugins.

Types

type ISCSIPlugin

type ISCSIPlugin struct {
	// contains filtered or unexported fields
}

func (*ISCSIPlugin) CanSupport

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

func (*ISCSIPlugin) GetAccessModes

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

func (*ISCSIPlugin) Init

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

func (*ISCSIPlugin) Name

func (plugin *ISCSIPlugin) Name() string

func (*ISCSIPlugin) NewBuilder

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

func (*ISCSIPlugin) NewCleaner

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

type ISCSIUtil

type ISCSIUtil struct{}

func (*ISCSIUtil) AttachDisk

func (util *ISCSIUtil) AttachDisk(iscsi iscsiDisk) error

func (*ISCSIUtil) DetachDisk

func (util *ISCSIUtil) DetachDisk(iscsi iscsiDisk, mntPath string) error

func (*ISCSIUtil) MakeGlobalPDName

func (util *ISCSIUtil) MakeGlobalPDName(iscsi iscsiDisk) string

Jump to

Keyboard shortcuts

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