package gce_pd
import "k8s.io/kubernetes/pkg/kubelet/volume/gce_pd"
Index ¶
Functions ¶
func ProbeVolumePlugins ¶
This is the primary entrypoint for volume plugins.
Types ¶
type GCEDiskUtil ¶
type GCEDiskUtil struct{}
func (*GCEDiskUtil) AttachDisk ¶
func (util *GCEDiskUtil) AttachDisk(pd *gcePersistentDisk) error
Attaches a disk specified by a volume.GCEPersistentDisk to the current kubelet. Mounts the disk to it's global path.
func (*GCEDiskUtil) DetachDisk ¶
func (util *GCEDiskUtil) DetachDisk(pd *gcePersistentDisk, devicePath string) error
Unmounts the device and detaches the disk from the kubelet's host machine. Expects a GCE device path symlink. Ex: /dev/disk/by-id/google-mydisk-part1
Source Files ¶
gce_pd.go gce_util.go mount_util.go mount_util_unix.go
- Version
- v0.9.3
- Published
- Jan 30, 2015
- Platform
- js/wasm
- Imports
- 17 packages
- Last checked
- 1 minute ago –
Tools for package owners.