package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Packages
Package cache implements data structures used by the kubelet volume manager to
keep track of attached volumes and the pods that mounted them.
Package populator implements interfaces that monitor and keep the states of the
caches in sync with the "ground truth".
# Functions
NewFakeVolumeManager creates a new VolumeManager test instance.
NewVolumeManager returns a new concrete instance implementing the VolumeManager interface.
# Structs
FakeVolumeManager is a test implementation that just tracks calls.
# Interfaces
PodManager is the subset of methods the manager needs to observe the actual state of the kubelet.
podStateProvider can determine if a pod is going to be terminated.
VolumeManager runs a set of asynchronous loops that figure out which volumes need to be attached/mounted/unmounted/detached based on the pods scheduled on this node and makes it so.