Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/higebu/go-niftycloud
Unofficial NIFTY Cloud SDK for Golang
https://github.com/higebu/go-niftycloud
Last synced: 3 months ago
JSON representation
Unofficial NIFTY Cloud SDK for Golang
- Host: GitHub
- URL: https://github.com/higebu/go-niftycloud
- Owner: higebu
- License: other
- Created: 2015-01-22T09:02:23.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-21T22:46:27.000Z (over 8 years ago)
- Last Synced: 2024-10-04T18:52:39.816Z (3 months ago)
- Language: Go
- Size: 85 KB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-niftycloud
[![Build Status](https://travis-ci.org/higebu/go-niftycloud.svg)](https://travis-ci.org/higebu/go-niftycloud)
[![GoDoc](https://godoc.org/github.com/higebu/niftycloud?status.svg)](https://godoc.org/github.com/higebu/niftycloud)*CAUTION: EXPERIMENTAL CODE*
The _go-niftycloud_ package enables Go programs to interact with NIFTY Cloud.
This is built on [github.com/goamz/goamz](https://github.com/goamz/goamz).
## Installing
```
go get github.com/higebu/go-niftycloud/niftycloud
go get github.com/higebu/go-niftycloud/compute
```## Environment variables
Currently _go-niftycloud_ supports following variables.
* `NIFTY_CLOUD_ACCESS_KEY`
* `NIFTY_CLOUD_SECRET_KEY`
* `NIFTY_CLOUD_MAX_RETRY`
* `NIFTY_CLOUD_CONNECTION_TIMEOUT`
* `NIFTY_CLOUD_SOCKET_TIMEOUT`## Example
There are examples in [higebu/go-niftycloud-examples](https://github.com/higebu/go-niftycloud-examples).
## Running tests
To run tests, first install gocheck with:
`$ go get gopkg.in/check.v1`
Then run go test as usual:
`$ go test github.com/higebu/go-niftycloud/...`
_Note:_ running all tests with the command `go test ./...` will currently fail as tests do not tear down their HTTP listeners.
If you want to run integration tests (costs money), set up the EC2 environment variables as usual, and run:
`$ gotest -i`
## License
Licensed under the GNU Lesser General Public License, version 3.0.