downwardapi

package
v1.29.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 67

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectData added in v1.6.0

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL