kubernetesk8s.io/kubernetes/pkg/controller/volume/attachdetach Index | Files | Directories

package attachdetach

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

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 kcache.SharedInformer,
	nodeInformer kcache.SharedInformer,
	pvcInformer kcache.SharedInformer,
	pvInformer kcache.SharedInformer,
	cloud cloudprovider.Interface,
	plugins []volume.VolumePlugin,
	recorder record.EventRecorder,
	disableReconciliationSync bool,
	reconcilerSyncDuration time.Duration) (AttachDetachController, error)

NewAttachDetachController returns a new instance of AttachDetachController.

Source Files

attach_detach_controller.go

Directories

PathSynopsis
pkg/controller/volume/attachdetach/cachePackage 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.
pkg/controller/volume/attachdetach/populatorPackage populator implements interfaces that monitor and keep the states of the desired_state_of_word in sync with the "ground truth" from informer.
pkg/controller/volume/attachdetach/reconcilerPackage reconciler implements interfaces that attempt to reconcile the desired state of the with the actual state of the world by triggering actions.
pkg/controller/volume/attachdetach/statusupdaterPackage statusupdater implements interfaces that enable updating the status of API objects.
pkg/controller/volume/attachdetach/testing
Version
v1.4.9
Published
Feb 15, 2017
Platform
js/wasm
Imports
20 packages
Last checked
1 minute ago

Tools for package owners.