iscsi

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: 13 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 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