update scale client to support non-namespaced resources

Kubernetes-commit: fcd44b44cadef56e9782dcc875f5572cbc43b018
This commit is contained in:
Elijah Oyekunle
2019-08-23 10:50:45 +01:00
committed by Kubernetes Publisher
parent 597bab4578
commit 5c0e283ed8
2 changed files with 5 additions and 4 deletions

View File

@@ -23,8 +23,9 @@ import (
)
// ScalesGetter can produce a ScaleInterface
// for a particular namespace.
type ScalesGetter interface {
// Scales produces a ScaleInterface for a particular namespace.
// Set namespace to the empty string for non-namespaced resources.
Scales(namespace string) ScaleInterface
}