kubernetesk8s.io/kubernetes/pkg/api/v1/persistentvolume Index | Files

package persistentvolume

import "k8s.io/kubernetes/pkg/api/v1/persistentvolume"

Index

Functions

func VisitPVSecretNames

func VisitPVSecretNames(pv *corev1.PersistentVolume, visitor Visitor) bool

VisitPVSecretNames invokes the visitor function with the name of every secret referenced by the PV spec. If visitor returns false, visiting is short-circuited. Returns true if visiting completed, false if visiting was short-circuited.

Types

type Visitor

type Visitor func(namespace, name string, kubeletVisible bool) (shouldContinue bool)

Visitor is called with each object's namespace and name, and returns true if visiting should continue

Source Files

util.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
3 hours ago

Tools for package owners.