remove uneeded discovery flexibility

This commit is contained in:
David Eads
2018-04-19 13:26:30 -04:00
parent 2bfe40a1d1
commit 4f90f9aa8b
4 changed files with 33 additions and 94 deletions

View File

@@ -118,8 +118,6 @@ type ClientAccessFactory interface {
// LabelsForObject returns the labels associated with the provided object
LabelsForObject(object runtime.Object) (map[string]string, error)
// Returns internal flagset
FlagSet() *pflag.FlagSet
// Command will stringify and return all environment arguments ie. a command run by a client
// using the factory.
Command(cmd *cobra.Command, showSecrets bool) string