volume

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2016 License: Apache-2.0, Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package volume implements a controller to manage volume attach and detach operations.

Index

Constants

View Source
const (
	// ControllerManagedAnnotation is the key of the annotation on Node objects
	// that indicates attach/detach operations for the node should be managed
	// by the attach/detach controller
	ControllerManagedAnnotation string = "volumes.kubernetes.io/controller-managed-attach"

	// SafeToDetachAnnotation is the annotation added to the Node object by
	// kubelet in the format "volumes.kubernetes.io/safetodetach/{volumename}"
	// to indicate the volume has been unmounted and is safe to detach.
	SafeToDetachAnnotation string = "volumes.kubernetes.io/safetodetach-"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachDetachController

type AttachDetachController interface {
	Run(stopCh <-chan struct{})
}

AttachDetachController defines the operations supported by this controller.

func NewAttachDetachController

func NewAttachDetachController(
	kubeClient internalclientset.Interface,
	podInformer framework.SharedInformer,
	nodeInformer framework.SharedInformer,
	pvcInformer framework.SharedInformer,
	pvInformer framework.SharedInformer,
	cloud cloudprovider.Interface,
	plugins []volume.VolumePlugin) (AttachDetachController, error)

NewAttachDetachController returns a new instance of AttachDetachController.

Directories

Path Synopsis
Package attacherdetacher implements interfaces that enable triggering attach and detach operations on volumes.
Package attacherdetacher implements interfaces that enable triggering attach and detach operations on volumes.
Package cache implements data structures used by the attach/detach controller to keep track of volumes, the nodes they are attached to, and the pods that reference them.
Package cache implements data structures used by the attach/detach controller to keep track of volumes, the nodes they are attached to, and the pods that reference them.
Package reconciler implements interfaces that attempt to reconcile the desired state of the with the actual state of the world by triggering actions.
Package reconciler implements interfaces that attempt to reconcile the desired state of the with the actual state of the world by triggering actions.

Jump to

Keyboard shortcuts

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