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

package downwardapi

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

Index

Functions

func CollectData

func CollectData(items []v1.DownwardAPIVolumeFile, pod *v1.Pod, host volume.VolumeHost, defaultMode *int32) (map[string]volumeutil.FileProjection, error)

CollectData collects requested downwardAPI in data map. Map's key is the requested name of file to dump Map's value is the (sorted) content of the field to be dumped in the file.

Note: this function is exported so that it can be called from the projection volume driver

func ProbeVolumePlugins

func ProbeVolumePlugins() []volume.VolumePlugin

ProbeVolumePlugins is the entry point for plugin detection in a package.

Source Files

downwardapi.go

Version
v1.33.1 (latest)
Published
May 15, 2025
Platform
linux/amd64
Imports
11 packages
Last checked
2 days ago

Tools for package owners.