Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectData ¶
func CollectData(items []corev1.DownwardAPIVolumeFile, pod *corev1.Pod, 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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.