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

package fc

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

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

Index

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

Source Files

attacher.go disk_manager.go doc.go fc.go fc_util.go

Version
v1.12.7
Published
Mar 22, 2019
Platform
js/wasm
Imports
19 packages
Last checked
5 seconds ago

Tools for package owners.