iscsi

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2015 License: Apache-2.0 Imports: 13 Imported by: 91

Documentation

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.AccessModeType

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, podRef *api.ObjectReference, _ volume.VolumeOptions) (volume.Builder, error)

func (*ISCSIPlugin) NewCleaner

func (plugin *ISCSIPlugin) NewCleaner(volName string, podUID types.UID) (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