1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 23:04:41 +00:00

Make it easier to switch between Docker engines

This commit is contained in:
Josh Curl
2016-08-15 15:06:26 -07:00
parent 64711f9e66
commit 80c72d0761
23 changed files with 339 additions and 70 deletions

View File

@@ -28,6 +28,10 @@ func GetConsoles(urls []string) ([]string, error) {
return getServices(urls, "consoles")
}
func GetEngines(urls []string) ([]string, error) {
return getServices(urls, "engines")
}
func getServices(urls []string, key string) ([]string, error) {
result := []string{}