Versions in this module Expand all Collapse all v0 v0.4.0 Jun 23, 2016 Changes in this version + func FindEmptyDirectoryUsageOnTmpfs() (*resource.Quantity, error) + func NewFakeRecycler(spec *Spec, host VolumeHost, config VolumeConfig) (Recycler, error) + func NewFakeVolumeHost(rootDir string, kubeClient clientset.Interface, plugins []VolumePlugin) *fakeVolumeHost + func ProbeVolumePlugins(config VolumeConfig) []VolumePlugin + type FakeDeleter struct + func (fd *FakeDeleter) Delete() error + func (fd *FakeDeleter) GetMetaData() map[string]interface{} + func (fd *FakeDeleter) GetPath() string + func (fd *FakeDeleter) IsNoMountSupported() bool + type FakeProvisioner struct + Host VolumeHost + Options VolumeOptions + func (fc *FakeProvisioner) NewPersistentVolumeTemplate() (*api.PersistentVolume, error) + func (fc *FakeProvisioner) Provision(pv *api.PersistentVolume) error + type FakeVolume struct + Plugin *FakeVolumePlugin + PodUID types.UID + VolName string + func (_ *FakeVolume) GetAttributes() Attributes + func (fv *FakeVolume) Attach() error + func (fv *FakeVolume) Detach() error + func (fv *FakeVolume) GetMetaData() map[string]interface{} + func (fv *FakeVolume) GetPath() string + func (fv *FakeVolume) SetUp(fsGroup *int64) error + func (fv *FakeVolume) SetUpAt(dir string, fsGroup *int64) error + func (fv *FakeVolume) TearDown() error + func (fv *FakeVolume) TearDownAt(dir string) error + type FakeVolumePlugin struct + Config VolumeConfig + Host VolumeHost + LastProvisionerOptions VolumeOptions + NewAttacherCallCount int + NewDetacherCallCount int + PluginName string + func (plugin *FakeVolumePlugin) CanSupport(spec *Spec) bool + func (plugin *FakeVolumePlugin) GetAccessModes() []api.PersistentVolumeAccessMode + func (plugin *FakeVolumePlugin) Init(host VolumeHost) error + func (plugin *FakeVolumePlugin) Name() string + func (plugin *FakeVolumePlugin) NewAttacher(spec *Spec) (Attacher, error) + func (plugin *FakeVolumePlugin) NewBuilder(spec *Spec, pod *api.Pod, opts VolumeOptions) (Builder, error) + func (plugin *FakeVolumePlugin) NewCleaner(volName string, podUID types.UID) (Cleaner, error) + func (plugin *FakeVolumePlugin) NewDeleter(spec *Spec) (Deleter, error) + func (plugin *FakeVolumePlugin) NewDetacher(name string, podUID types.UID) (Detacher, error) + func (plugin *FakeVolumePlugin) NewProvisioner(options VolumeOptions) (Provisioner, error) + func (plugin *FakeVolumePlugin) NewRecycler(spec *Spec) (Recycler, error) + type MockVolume struct + func (_m *MockVolume) GetMetrics() (*Metrics, error) + func (_m *MockVolume) GetPath() string