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{}) GetDesiredStateOfWorld() cache.DesiredStateOfWorld }
AttachDetachController defines the operations supported by this controller.
func NewAttachDetachController ¶
func NewAttachDetachController( kubeClient clientset.Interface, podInformer coreinformers.PodInformer, nodeInformer coreinformers.NodeInformer, pvcInformer coreinformers.PersistentVolumeClaimInformer, pvInformer coreinformers.PersistentVolumeInformer, cloud cloudprovider.Interface, plugins []volume.VolumePlugin, disableReconciliationSync bool, reconcilerSyncDuration time.Duration) (AttachDetachController, error)
NewAttachDetachController returns a new instance of AttachDetachController.
Source Files ¶
attach_detach_controller.go
Directories ¶
Path | Synopsis |
---|---|
pkg/controller/volume/attachdetach/cache | 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. |
pkg/controller/volume/attachdetach/populator | Package 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/reconciler | Package 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/statusupdater | Package statusupdater implements interfaces that enable updating the status of API objects. |
pkg/controller/volume/attachdetach/testing | |
pkg/controller/volume/attachdetach/util |
- Version
- v1.7.7
- Published
- Sep 28, 2017
- Platform
- js/wasm
- Imports
- 28 packages
- Last checked
- 3 minutes ago –
Tools for package owners.