//checkStorage returns true if the provided storage is valid func checkStorage(storage string) bool { for _, allowed := range kubecfg.SupportedWireStorage() { if allowed == storage { return true } } return false }
func prettyWireStorage() string { types := kubecfg.SupportedWireStorage() sort.Strings(types) return strings.Join(types, "|") }