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.
Click to show internal directories.
Click to hide internal directories.