@@ -17,11 +17,11 @@ limitations under the License.
packageconfig
import(
"fmt"
"io/ioutil"
"os"
"github.com/spf13/cobra"
"k8s.io/minikube/pkg/minikube/console"
"k8s.io/minikube/pkg/minikube/service"
)
...
...
@@ -31,7 +31,7 @@ var addonsConfigureCmd = &cobra.Command{
Long:"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list ",
@@ -17,10 +17,10 @@ limitations under the License.
packageconfig
import(
"fmt"
"os"
"github.com/spf13/cobra"
"k8s.io/minikube/pkg/minikube/console"
)
varaddonsDisableCmd=&cobra.Command{
...
...
@@ -29,17 +29,17 @@ var addonsDisableCmd = &cobra.Command{
Long:"Disables the addon w/ADDON_NAME within minikube (example: minikube addons disable dashboard). For a list of available addons use: minikube addons list ",
@@ -17,10 +17,10 @@ limitations under the License.
packageconfig
import(
"fmt"
"os"
"github.com/spf13/cobra"
"k8s.io/minikube/pkg/minikube/console"
)
varaddonsEnableCmd=&cobra.Command{
...
...
@@ -29,16 +29,16 @@ var addonsEnableCmd = &cobra.Command{
Long:"Enables the addon w/ADDON_NAME within minikube (example: minikube addons enable dashboard). For a list of available addons use: minikube addons list ",
@@ -17,11 +17,11 @@ limitations under the License.
packageconfig
import(
"fmt"
"os"
"github.com/spf13/cobra"
pkgConfig"k8s.io/minikube/pkg/minikube/config"
"k8s.io/minikube/pkg/minikube/console"
)
varProfileCmd=&cobra.Command{
...
...
@@ -30,7 +30,7 @@ var ProfileCmd = &cobra.Command{
Long:"profile sets the current minikube profile. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`",
fmt.Printf("Setting up hostmount on %s...\n",viper.GetString(mountString))
console.OutStyle("mount","Setting up mount on %s ...",viper.GetString(mountString))
path:=os.Args[0]
mountDebugVal:=0
...
...
@@ -485,18 +474,17 @@ This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_
}
ifkubeCfgSetup.KeepContext{
fmt.Printf("The local Kubernetes cluster has started. The kubectl context has not been altered, kubectl will require \"--context=%s\" to use the local Kubernetes cluster.\n",
console.OutStyle("kubectl","The kubectl context has not been altered, kubectl will require \"--context=%s\" to use the local cluster.",
kubeCfgSetup.ClusterName)
}else{
fmt.Println("Kubectl is now configured to use the cluster.")
console.OutStyle("kubectl","kubectl is now configured to use %q",cfg.GetMachineName())
}
fmt.Println("Loading cached images from config file.")
err=LoadCachedImagesInConfigFile()
iferr!=nil{
fmt.Println("Unable to load cached images from config file.")
console.Failure("Unable to load cached images from config file.")
fmt.Printf("Skipping %s driver, existing host has %s driver.\n",config.VMDriver,h.Driver.DriverName())
console.Warning("Ignoring configuration which specifies %s driver, as the existing host is using the %s driver.",config.VMDriver,h.Driver.DriverName())