kub_list_bucket: List contents of a gcloud bucket

Description Usage Arguments Value References

View source: R/bucket.R

Description

Using gsutil ls, this function is able to retrieve all objects stored in a gclould bucket.

Usage

1
kub_list_bucket(path, folder = "", recursive = FALSE)

Arguments

path

Path to task directory (if missing, defaults to the most recently created task)

folder

Bucket directory from where to list files

recursive

Whether to list files inside folders (FALSE by default)

Value

A character vector with file names

References

https://cloud.google.com/storage/docs/gsutil/commands/ls


curso-r/kuber documentation built on Sept. 30, 2019, 9:12 a.m.