The
volume
functions have been deprecated.
Please use the vessl.storage
package for managing VESSL storage volumes.read_volume_file
volume_id
(int) : Volume ID.path
(str) : Path within the volume.
list_volume_files
volume_id
(int) : Volume ID.need_download_url
(bool) : True if you need a download URL, False otherwise. Defaults to False.path
(str) : Path within the volume. Defaults to root.recursive
(bool) : True if list files recursively, False otherwise. Defaults to False.
create_volume_file
volume_id
(int) : Volume ID.is_dir
(bool) : True if a file is directory, False otherwise.path
(str) : Path within the volume.
delete_volume_file
volume_id
(int) : Volume ID.path
(str) : Path within the volume.
upload_volume_file
volume_id
(int) : Volume ID.path
(str) : Local file path to upload
copy_volume_file
source_volume_id
(Optional[int]) : Source volume file id. If not specified, source is assumed to be local.source_path
(str) : If source_volume_id is empty, local source path. Otherwise, remote source path.dest_volume_id
(Optional[int]) : Destination volume file id. If not specified, destination is assumed to be local.dest_path
(str) : If dest_volume_id is empty, local destination path. Otherwise, remote destination path.quiet
(bool) : True if the muted output, False otherwise. Defaults to False.