move more CanBeExposed from factory_client_access

This commit is contained in:
juanvallejo
2018-05-21 14:31:33 -04:00
parent eacf6f05b1
commit 5f5e3a59c0
9 changed files with 98 additions and 46 deletions

View File

@@ -107,8 +107,6 @@ type ClientAccessFactory interface {
DefaultNamespace() (string, bool, error)
// Generators returns the generators for the provided command
Generators(cmdName string) map[string]kubectl.Generator
// Check whether the kind of resources could be exposed
CanBeExposed(kind schema.GroupKind) error
}
// ObjectMappingFactory holds the second level of factory methods. These functions depend upon ClientAccessFactory methods.