List all projects in the registry. This will call the REST API if the caller is not on the same filesystem as the registry.
listProjects(registry, url, forceRemote = FALSE)
Character vector of project names.
info <- startGobbler()
removeProject("test", info$staging, url=info$url) # clean out any existing entries
removeProject("more-test", info$staging, url=info$url)
removeProject("even-more-test", info$staging, url=info$url)
# Now mocking up the creation of some projects.
createProject("test", info$staging, url=info$url)
createProject("more-test", info$staging, url=info$url)
createProject("even-more-test", info$staging, url=info$url)
# Listing out the projects.
listProjects(info$registry, info$url)
#> [1] "even-more-test" "more-test" "test"
# Forcing remote access.
listProjects(info$registry, info$url, forceRemote=TRUE)
#> [1] "even-more-test" "more-test" "test"