Documentation ¶
Overview ¶
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, ...) (volume.Builder, error)
- func (plugin *ISCSIPlugin) NewCleaner(volName string, podUID types.UID, mounter mount.Interface) (volume.Cleaner, error)
- type ISCSIUtil
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 ¶
type ISCSIUtil ¶
type ISCSIUtil struct{}
func (*ISCSIUtil) AttachDisk ¶
func (*ISCSIUtil) DetachDisk ¶
func (*ISCSIUtil) MakeGlobalPDName ¶
Click to show internal directories.
Click to hide internal directories.