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 ¶ added in v0.19.1
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.