<commit_before>package main

import (
	"strconv"

	"github.com/pachyderm/pachyderm/src/pkg/deploy"
	"github.com/pachyderm/pachyderm/src/pkg/deploy/server"
	"github.com/spf13/cobra"
	"go.pedge.io/env"
	"go.pedge.io/pkg/cobra"
	"go.pedge.io/protolog/logrus"
	"golang.org/x/net/context"
	client "k8s.io/kubernetes/pkg/client/unversioned"
)

var (
	defaultEnv = map[string]string{
		"KUBERNETES_ADDRESS": "http://localhost:8080",
	}
)

type appEnv struct {
	KubernetesAddress string `env:"KUBERNETES_ADDRESS"`
}

func main() {
	env.Main(do, &appEnv{}, defaultEnv)
}

func do(appEnvObj interface{}) error {
	appEnv := appEnvObj.(*appEnv)
	logrus.Register()
	config := &client.Config{
		Host: appEnv.KubernetesAddress,<commit_msg>Makes it possible to use gke.<commit_after>package main

import (
	"strconv"

	"github.com/pachyderm/pachyderm/src/pkg/deploy"
	"github.com/pachyderm/pachyderm/src/pkg/deploy/server"
	"github.com/spf13/cobra"
	"go.pedge.io/env"
	"go.pedge.io/pkg/cobra"
	"go.pedge.io/protolog/logrus"
	"golang.org/x/net/context"
	client "k8s.io/kubernetes/pkg/client/unversioned"
)

var (
	defaultEnv = map[string]string{
		"KUBERNETES_ADDRESS":  "http://localhost:8080",
		"KUBERNETES_USERNAME": "admin",
		"KUBERNETES_PASSWORD": "",
	}
)

type appEnv struct {
	KubernetesAddress  string `env:"KUBERNETES_ADDRESS"`
	KubernetesUsername string `env:"KUBERNETES_USERNAME"`
	KubernetesPassword string `env:"KUBERNETES_PASSWORD"`
}

func main() {
	env.Main(do, &appEnv{}, defaultEnv)
}

func do(appEnvObj interface{}) error {
	appEnv := appEnvObj.(*appEnv)
	logrus.Register()
	config := &client.Config{
		Host:     appEnv.KubernetesAddress,
		Insecure: true,
		Username: appEnv.KubernetesUsername,
		Password: appEnv.KubernetesPassword,
{'fraction_non_alphanumeric': 0.15238642898217367, 'fraction_numerical': 0.008050603795284647, 'mean_word_length': 5.105263157894737, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1840582', 'n_tokens_mistral': 743, 'n_tokens_neox': 704, 'n_words': 99}