package volume

import "k8s.io/kubernetes/pkg/controller/volume"

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

Index

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,
	resyncPeriod time.Duration) AttachDetachController

NewAttachDetachController returns a new instance of AttachDetachController.

Source Files

attach_detach_controller.go

Directories

PathSynopsis
pkg/controller/volume/cachePackage cache implements a data structure used by the attach/detach controller to keep track of volumes, the nodes they are attached to, and the pods that reference them.
Version
v1.3.0-alpha.4
Published
May 17, 2016
Platform
js/wasm
Imports
6 packages
Last checked
38 seconds ago

Tools for package owners.