package host_path
import "k8s.io/kubernetes/pkg/volume/host_path"
Package host_path contains the internal representation of hostPath volumes.
Index ¶
- func ProbeRecyclableVolumePlugins(recyclerFunc func(spec *volume.Spec, host volume.VolumeHost, volumeConfig volume.VolumeConfig) (volume.Recycler, error), volumeConfig volume.VolumeConfig) []volume.VolumePlugin
- func ProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin
Functions ¶
func ProbeRecyclableVolumePlugins ¶
func ProbeRecyclableVolumePlugins(recyclerFunc func(spec *volume.Spec, host volume.VolumeHost, volumeConfig volume.VolumeConfig) (volume.Recycler, error), volumeConfig volume.VolumeConfig) []volume.VolumePlugin
func ProbeVolumePlugins ¶
func ProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin
This is the primary entrypoint for volume plugins. The volumeConfig arg provides the ability to configure volume behavior. It is implemented as a pointer to allow nils. The hostPathPlugin is used to store the volumeConfig 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.
Source Files ¶
doc.go host_path.go
- Version
- v1.1.8
- Published
- Feb 23, 2016
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 56 seconds ago –
Tools for package owners.