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

package downwardapi

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

Index

Package Files

downwardapi.go

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 41 packages. Updated 2019-11-17. Refresh now. Tools for package owners.