goimports
parent
71080b0860
commit
06c4bf030f
|
@ -21,12 +21,13 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/pkg/errors"
|
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"runtime/debug"
|
"runtime/debug"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
"k8s.io/minikube/pkg/minikube/constants"
|
"k8s.io/minikube/pkg/minikube/constants"
|
||||||
"k8s.io/minikube/pkg/minikube/download"
|
"k8s.io/minikube/pkg/minikube/download"
|
||||||
|
@ -43,8 +44,8 @@ var (
|
||||||
containerRuntimes = []string{"docker", "containerd", "cri-o"}
|
containerRuntimes = []string{"docker", "containerd", "cri-o"}
|
||||||
k8sVersions []string
|
k8sVersions []string
|
||||||
k8sVersion = flag.String("kubernetes-version", "", "desired Kubernetes version, for example `v1.17.2`")
|
k8sVersion = flag.String("kubernetes-version", "", "desired Kubernetes version, for example `v1.17.2`")
|
||||||
noUpload = flag.Bool("no-upload", false, "Do not upload tarballs to GCS")
|
noUpload = flag.Bool("no-upload", false, "Do not upload tarballs to GCS")
|
||||||
force = flag.Bool("force", false, "Generate the preload tarball even if it's already exists")
|
force = flag.Bool("force", false, "Generate the preload tarball even if it's already exists")
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue