Go library for Clever-Cloud api
This library has been developed for a Terraform provider. Some attributes of the official Clever-Cloud API may not be exported, because not used in Terraform.
Supports following runtimes:
docker
: for Docker-based applicationsgo
: for Go applicationsgradle
: for applications launched with gradlejar
: for applications deployed as standalone jar fileswar
: for applications deployed as war filesplay1
: for Play1 applicationsplay2
: for Play2 applicationssbt
: for applications launched with SBTmaven
: for applications launched with mavennode
: for node.js applicationsphp
: for PHP applicationspython
: for python27 applicationsruby
: for ruby applicationsstatic
: for static (HTML only) websiteshaskell
: for Haskell applicationsrust
: for Rust applications
Supports following regions:
par
(for Paris)mtl
(for Montreal)
Supports following instance size:
pico
: 256Mo RAM / 1 CPUnano
: 512Mo RAM / 1 CPUXS
: 1024Mo RAM / 1 CPUS
: 2048Mo RAM / 2 CPUM
: 4096Mo RAM / 4 CPUL
: 8192Mo RAM / 6 CPUXL
: 16384Mo RAM / 8 CPU
Supports following addons:
postgresql-addon
mysql-addon
redis-addon
mongodb-addon
cellar-addon
trace
socks-addon
fs-bucket
go get github.com/samber/go-clevercloud-api
cd examples/
go build -o cc-api-examples *.go
./cc-api-examples
Please contribute! I'll review your PRs ASAP.