kubernetes: k8s.io/kubernetes/pkg/volume/downwardapi Index | Files

package downwardapi

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


Package Files


func CollectData Uses

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 Uses

func ProbeVolumePlugins() []volume.VolumePlugin

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

Package downwardapi imports 11 packages (graph) and is imported by 64 packages. Updated 2020-11-25. Refresh now. Tools for package owners.