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 ¶
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 |
- Version
- v1.4.12
- Published
- Apr 20, 2017
- Platform
- js/wasm
- Imports
- 20 packages
- Last checked
- 27 seconds ago –
Tools for package owners.