mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Update Attacher/Detacher interfaces.
- Expand arguments for Attach/Detach interfaces - Run waitForDetach asynchronously
This commit is contained in:
@@ -131,8 +131,8 @@ type ProvisionableVolumePlugin interface {
|
||||
// to a node before mounting.
|
||||
type AttachableVolumePlugin interface {
|
||||
VolumePlugin
|
||||
NewAttacher(spec *Spec) (Attacher, error)
|
||||
NewDetacher(name string, podUID types.UID) (Detacher, error)
|
||||
NewAttacher() (Attacher, error)
|
||||
NewDetacher() (Detacher, error)
|
||||
}
|
||||
|
||||
// VolumeHost is an interface that plugins can use to access the kubelet.
|
||||
|
||||
Reference in New Issue
Block a user