fc

package
v1.2.0-alpha.5....-8a98da9 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package fc contains the internal representation of Fibre Channel (fc) volumes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProbeVolumePlugins

func ProbeVolumePlugins() []volume.VolumePlugin

This is the primary entrypoint for volume plugins.

Types

type FCUtil

type FCUtil struct{}

func (*FCUtil) AttachDisk

func (util *FCUtil) AttachDisk(b fcDiskMounter) (string, error)

func (*FCUtil) DetachBlockFCDisk

func (util *FCUtil) DetachBlockFCDisk(c fcDiskUnmapper, mapPath, devicePath string) error

DetachBlockFCDisk detaches a volume from kubelet node, removes scsi device file such as /dev/sdX from the node, and then removes loopback for the scsi device.

func (*FCUtil) DetachDisk

func (util *FCUtil) DetachDisk(c fcDiskUnmounter, devicePath string) error

DetachDisk removes scsi device file such as /dev/sdX from the node.

func (*FCUtil) MakeGlobalPDName

func (util *FCUtil) MakeGlobalPDName(fc fcDisk) string

func (*FCUtil) MakeGlobalVDPDName

func (util *FCUtil) MakeGlobalVDPDName(fc fcDisk) string

Global volume device plugin dir

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL