Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| // Inspired by https://gist.github.com/tzachz/419478fc8b009e953f5e5dc39f3f3a2a | |
| // Task creates a .dot file with all inter-module dependencies | |
| // Supports any depth of nested modules | |
| task moduleDependencyReport { | |
| doLast { | |
| def file = new File("project-dependencies.dot") | |
| file.delete() | |
| file << "strict digraph {\n" | |
| file << "splines=ortho\n" |
| r := mux.NewRouter() | |
| // Single handler | |
| r.HandleFunc("/form", use(http.HandlerFunc(formHandler), csrf, logging) | |
| // All handlers | |
| http.Handle("/", recovery(r)) | |
| // Sub-routers | |
| apiMiddleware := []func(http.Handler) http.Handler{logging, apiAuth, json} |