Make default impls private

This commit is contained in:
Dan Mace
2015-04-15 16:50:08 -04:00
parent 312ccad3c1
commit bd7b719944
7 changed files with 38 additions and 30 deletions

View File

@@ -197,7 +197,7 @@ func NewFactory(optionalClientConfig clientcmd.ClientConfig) *Factory {
if err != nil {
return nil, err
}
return kubectl.ResizerFor(mapping.Kind, &kubectl.RealResizerClient{client})
return kubectl.ResizerFor(mapping.Kind, kubectl.NewResizerClient(client))
},
Reaper: func(mapping *meta.RESTMapping) (kubectl.Reaper, error) {
client, err := clients.ClientForVersion(mapping.APIVersion)