func ProbeVolumePlugins() []volume.VolumePlugin { … }
const downwardAPIPluginName …
type downwardAPIPlugin …
var _ …
func getPath(uid types.UID, volName string, host volume.VolumeHost) string { … }
func wrappedVolumeSpec() volume.Spec { … }
func (plugin *downwardAPIPlugin) Init(host volume.VolumeHost) error { … }
func (plugin *downwardAPIPlugin) GetPluginName() string { … }
func (plugin *downwardAPIPlugin) GetVolumeName(spec *volume.Spec) (string, error) { … }
func (plugin *downwardAPIPlugin) CanSupport(spec *volume.Spec) bool { … }
func (plugin *downwardAPIPlugin) RequiresRemount(spec *volume.Spec) bool { … }
func (plugin *downwardAPIPlugin) SupportsMountOption() bool { … }
func (plugin *downwardAPIPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { … }
func (plugin *downwardAPIPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod) (volume.Mounter, error) { … }
func (plugin *downwardAPIPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) { … }
func (plugin *downwardAPIPlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) { … }
type downwardAPIVolume …
type downwardAPIVolumeMounter …
var _ …
func (d *downwardAPIVolume) GetAttributes() volume.Attributes { … }
func (b *downwardAPIVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error { … }
func (b *downwardAPIVolumeMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error { … }
func CollectData(items []v1.DownwardAPIVolumeFile, pod *v1.Pod, host volume.VolumeHost, defaultMode *int32) (map[string]volumeutil.FileProjection, error) { … }
func (d *downwardAPIVolume) GetPath() string { … }
type downwardAPIVolumeUnmounter …
var _ …
func (c *downwardAPIVolumeUnmounter) TearDown() error { … }
func (c *downwardAPIVolumeUnmounter) TearDownAt(dir string) error { … }
func getVolumeSource(spec *volume.Spec) (*v1.DownwardAPIVolumeSource, bool) { … }