Documentation ¶
Overview ¶
Package cloud is a command line interface to sync files with cloud storages
cloud init cloud sync
~/.cloudcore stores credentials
{ "providers": [ { "provider": "CloudFiles", "name": "mynamehere", "key": "myapikey", "auth_url": "LON" } ] }
.cloud must be in the root folder you want to sync. Here you can define which containers to synchronize and define storage (CloudFiles, S3). More than one container is useful if you test with one container (even other storage) and deploy in another container.
{ "containers": [ { "provider": "CloudFiles", "name": "mycontainer1" }, { "provider": "CloudFiles", "name": "mycontainer2" } ] }
.cloudignore is just like .gitignore file where you can add regexps which files or folders to ignore.
// Put here what to ignore. Syntax like .gitignore .cloud .cloudignore
Directories ¶
Path | Synopsis |
---|---|
Package storage provides abstract layer for cloud storages that should provide basically CRUD and Authentication methods.
|
Package storage provides abstract layer for cloud storages that should provide basically CRUD and Authentication methods. |
cloudfiles
Package cloudfiles provides implementation of Storage for Rackspace CloudFiles
|
Package cloudfiles provides implementation of Storage for Rackspace CloudFiles |
local
Package local implements local storage
|
Package local implements local storage |
Click to show internal directories.
Click to hide internal directories.