host_path

package
v1.2.0-alpha.3....-fa5c014 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package host_path contains the internal representation of hostPath volumes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProbeRecyclableVolumePlugins

func ProbeRecyclableVolumePlugins(recyclerFunc func(spec *volume.Spec, host volume.VolumeHost, volumeConfig volume.VolumeConfig) (volume.Recycler, error), volumeConfig volume.VolumeConfig) []volume.VolumePlugin

func ProbeVolumePlugins

func ProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin

This is the primary entrypoint for volume plugins. The volumeConfig arg provides the ability to configure volume behavior. It is implemented as a pointer to allow nils. The hostPathPlugin is used to store the volumeConfig and give it, when needed, to the func that creates HostPath Recyclers. Tests that exercise recycling should not use this func but instead use ProbeRecyclablePlugins() to override default behavior.

Types

This section is empty.

Jump to

Keyboard shortcuts

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