package iscsi
import "k8s.io/kubernetes/pkg/volume/iscsi"
Package iscsi contains the internal representation of Internet Small Computer System Interface (iSCSI) volumes.
Index ¶
- Constants
- func ProbeVolumePlugins() []volume.VolumePlugin
- type ISCSIPlugin
- func (plugin *ISCSIPlugin) CanSupport(spec *volume.Spec) bool
- func (plugin *ISCSIPlugin) GetAccessModes() []api.PersistentVolumeAccessMode
- func (plugin *ISCSIPlugin) Init(host volume.VolumeHost)
- func (plugin *ISCSIPlugin) Name() string
- func (plugin *ISCSIPlugin) NewBuilder(spec *volume.Spec, pod *api.Pod, _ volume.VolumeOptions, mounter mount.Interface) (volume.Builder, error)
- func (plugin *ISCSIPlugin) NewCleaner(volName string, podUID types.UID, mounter mount.Interface) (volume.Cleaner, error)
- type ISCSIUtil
Constants ¶
const (
ISCSIPluginName = "kubernetes.io/iscsi"
)
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 (*ISCSIUtil) DetachDisk ¶
func (*ISCSIUtil) MakeGlobalPDName ¶
Source Files ¶
disk_manager.go doc.go iscsi.go iscsi_util.go
- Version
- v0.19.0
- Published
- Jun 10, 2015
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 16 seconds ago –
Tools for package owners.