v3io-go is an interface to V3IO API for Golang
- Captain proto compiler
- MacOS:
brew install capnp
- Debian / Ubuntu:
apt-get install capnproto
- Other: Follow the guidelines https://capnproto.org/install.html
- MacOS:
- go-capnproto2
git clone [email protected]:iguazio/go-capnproto2.git
- Define the following environment variables:
- V3IO_DATAPLANE_URL=http://:8081
- V3IO_DATAPLANE_USERNAME=
- V3IO_DATAPLANE_ACCESS_KEY=
- V3IO_CONTROLPLANE_URL=http://:8001
- V3IO_CONTROLPLANE_USERNAME=
- V3IO_CONTROLPLANE_PASSWORD=
- Run
make test
- Alternatively you can pass environment variables inline as you can see in the following example:
V3IO_DATAPLANE_URL=http://<app-node>:8081 \ V3IO_DATAPLANE_USERNAME=<username> \ V3IO_DATAPLANE_ACCESS_KEY=<access-key> \ V3IO_CONTROLPLANE_URL=http://<data-node>:8001 \ V3IO_CONTROLPLANE_USERNAME=<admin-username> \ V3IO_CONTROLPLANE_PASSWORD=<admin-password> \ make test