kubernetesk8s.io/kubernetes/pkg/volume/hostpath Index | Files

package hostpath

import "k8s.io/kubernetes/pkg/volume/hostpath"

Package hostpath contains the internal representation of hostPath volumes.

Index

Functions

func FakeProbeVolumePlugins

func FakeProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin

func ProbeVolumePlugins

func ProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin

ProbeVolumePlugins 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 Recycles. 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.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
16 packages
Last checked
3 hours ago

Tools for package owners.