func procGetSandboxes(c libnetwork.NetworkController, vars map[string]string, body []byte) (interface{}, *responseStatus) { var list []*sandboxResource cnd := getQueryCondition(vars) c.WalkSandboxes(sandboxWalker(cnd, &list)) return list, &successResponse }