Fix gofmt and golint on master, after merges
parent
356e203ed4
commit
73dd9914f6
|
@ -231,6 +231,7 @@ func WaitForHealthyAPIServer(r cruntime.Manager, bs bootstrapper.Bootstrapper, c
|
|||
return nil
|
||||
}
|
||||
|
||||
// APIServerVersionMatch checks if the server version matches the expected
|
||||
func APIServerVersionMatch(client *kubernetes.Clientset, expected string) error {
|
||||
vi, err := client.ServerVersion()
|
||||
if err != nil {
|
||||
|
|
|
@ -129,6 +129,7 @@ func SetupCerts(cmd command.Runner, k8s config.KubernetesConfig, n config.Node)
|
|||
return copyableFiles, nil
|
||||
}
|
||||
|
||||
// CACerts has cert and key for CA (and Proxy)
|
||||
type CACerts struct {
|
||||
caCert string
|
||||
caKey string
|
||||
|
|
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
// mustload loads minikube clusters, exiting with user-friendly messages
|
||||
// Package mustload loads minikube clusters, exiting with user-friendly messages
|
||||
package mustload
|
||||
|
||||
import (
|
||||
|
@ -37,6 +37,7 @@ import (
|
|||
"k8s.io/minikube/pkg/minikube/out"
|
||||
)
|
||||
|
||||
// ClusterController holds all the needed information for a minikube cluster
|
||||
type ClusterController struct {
|
||||
Config *config.ClusterConfig
|
||||
API libmachine.API
|
||||
|
|
|
@ -164,5 +164,3 @@ func (router *osRouter) Cleanup(route *Route) error {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue