Revert "Revert "add kubeconfig types""

This reverts commit 02dbad7094.
This commit is contained in:
deads2k
2015-01-07 15:59:22 -05:00
parent 3ddde070f3
commit 480635bb72
34 changed files with 2606 additions and 719 deletions

View File

@@ -21,6 +21,8 @@ import (
"strconv"
"github.com/spf13/cobra"
"github.com/GoogleCloudPlatform/kubernetes/pkg/client"
)
func (f *Factory) NewCmdLog(out io.Writer) *cobra.Command {
@@ -44,7 +46,9 @@ Examples:
}
namespace := GetKubeNamespace(cmd)
client, err := f.ClientBuilder.Client()
config, err := f.ClientConfig.ClientConfig()
checkErr(err)
client, err := client.New(config)
checkErr(err)
podID := args[0]