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

package gce_pd

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

Index

Functions

func ProbeVolumePlugins

func ProbeVolumePlugins() []volume.VolumePlugin

This is the primary entrypoint for volume plugins.

Types

type GCEDiskUtil

type GCEDiskUtil struct{}

func (*GCEDiskUtil) AttachAndMountDisk

func (util *GCEDiskUtil) AttachAndMountDisk(pd *gcePersistentDisk, globalPDPath string) 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) error

Unmounts the device and detaches the disk from the kubelet's host machine.

Source Files

gce_pd.go gce_util.go

Version
v0.15.0
Published
Apr 13, 2015
Platform
linux/amd64
Imports
15 packages
Last checked
3 minutes ago

Tools for package owners.