host_path

package
v0.0.0-...-783bbf4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package host_path contains the internal representation of hostPath volumes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProbeRecyclableVolumePlugins

func ProbeRecyclableVolumePlugins(recyclerFunc func(spec *volume.Spec, host volume.VolumeHost, recyclerConfig *volume.RecyclableVolumeConfig) (volume.Recycler, error), recyclerConfig *volume.RecyclableVolumeConfig) []volume.VolumePlugin

func ProbeVolumePlugins

func ProbeVolumePlugins(recyclerConfig *volume.RecyclableVolumeConfig) []volume.VolumePlugin

This is the primary entrypoint for volume plugins. The recyclerConfig arg provides the ability to configure recycler behavior. It is implemented as a pointer to allow nils. The hostPathPlugin is used to store the recyclerConfig and give it, when needed, to the func that creates HostPath Recyclers. Tests that exercise recycling should not use this func but instead use ProbeRecyclablePlugins() to override default behavior.

Types

This section is empty.

Jump to

Keyboard shortcuts

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