host_path

package
v1.2.4-rancher7 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2016 License: Apache-2.0 Imports: 7 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 added in v0.19.0

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