label

package
v1.2.0-alpha.5....-8a98da9 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 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

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