Add GetNodeLabels to VolumeHost interface

This commit is contained in:
Michelle Au
2017-04-19 23:00:59 -07:00
parent f6b3d083b7
commit 6ade5461ad
5 changed files with 23 additions and 0 deletions

View File

@@ -232,6 +232,9 @@ type VolumeHost interface {
// Returns a function that returns a secret.
GetSecretFunc() func(namespace, name string) (*v1.Secret, error)
// Returns the labels on the node
GetNodeLabels() (map[string]string, error)
}
// VolumePluginMgr tracks registered plugins.