kubernetesk8s.io/kubernetes/pkg/volume/iscsi Index | Files

package iscsi

import "k8s.io/kubernetes/pkg/volume/iscsi"

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

Index

Functions

func ProbeVolumePlugins

func ProbeVolumePlugins() []volume.VolumePlugin

This is the primary entrypoint for volume plugins.

Types

type GlobFunc

type GlobFunc func(string) ([]string, error)

type ISCSIUtil

type ISCSIUtil struct{}

func (*ISCSIUtil) AttachDisk

func (util *ISCSIUtil) AttachDisk(b iscsiDiskMounter) error

func (*ISCSIUtil) DetachDisk

func (util *ISCSIUtil) DetachDisk(c iscsiDiskUnmounter, mntPath string) error

func (*ISCSIUtil) MakeGlobalPDName

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

type StatFunc

type StatFunc func(string) (os.FileInfo, error)

stat a path, if not exists, retry maxRetries times when iscsi transports other than default are used, use glob instead as pci id of device is unknown

Source Files

disk_manager.go doc.go iscsi.go iscsi_util.go

Version
v1.4.0-beta.5
Published
Sep 15, 2016
Platform
linux/amd64
Imports
17 packages
Last checked
4 minutes ago

Tools for package owners.