label

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

labels created persistent volumes with zone information as provided by the cloud provider

Index

Constants

View Source
const PluginName = "PersistentVolumeLabel"

Variables

This section is empty.

Functions

func NewPersistentVolumeLabel

func NewPersistentVolumeLabel() *persistentVolumeLabel

NewPersistentVolumeLabel returns an admission.Interface implementation which adds labels to PersistentVolume CREATE requests, based on the labels provided by the underlying cloud provider.

As a side effect, the cloud provider may block invalid or non-existent volumes.

func Register added in v1.7.0

func Register(plugins *admission.Plugins)

Register registers a plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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