This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0]akutz@pax:rexray$ git b | |
feature/admin-mod-unix | |
[0]akutz@pax:rexray$ golint github.com/emccode/rexray/... | |
[0]akutz@pax:rexray$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0]akutz@pax:rexray$ env REXRAY_MOCKDRIVERS=true rexray --libstorageHost="127.0.0.1:1870" -l debug volume | |
DEBU[0000] updated log level logLevel=debug | |
DEBU[0000] core get drivers osDrivers=[mockOSDriver] storageDrivers=[libstorage] volumeDrivers=[mockVolumeDriver] | |
INFO[0000] storage driver initialized provider=libstorage | |
DEBU[0000] initialized rexray driver name=libstorage | |
DEBU[0000] initialized rexray driver name=mockOSDriver | |
DEBU[0000] initialized rexray driver name=mockVolumeDriver | |
DEBU[0000] got libstorage url url=127.0.0.1:1870 | |
DEBU[0000] got libstorage url url=127.0.0.1:1870 | |
DEBU[0000] LibStorage.Client.GetDriverNames driverNames=[mockStorageDriver] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.0.0.1 - - [17/Nov/2015:16:49:19 -0600] "POST /libStorage HTTP/1.1" 200 130 | |
------------------------------ HTTP REQUEST ------------------------------ | |
POST /libStorage HTTP/1.1 | |
Host: 127.0.0.1:65275 | |
Accept-Encoding: gzip | |
Content-Type: application/json | |
User-Agent: Go-http-client/1.1 | |
{"method":"libStorage.InitDrivers","params":[{"config":{"libstorage.drivers":["mockDriver"],"libstorage.host":"tcp://127.0.0.1:65275","libstorage.profiles.client":false,"libstorage.profiles.enabled":true,"libstorage.profiles.groups":["local=127.0.0.1"],"libstorage.service.http.logging.enabled":"true","libstorage.service.http.logging.err":"","libstorage.service.http.logging.logrequest":"true","libstorage.service.http.logging.logresponse":"true","libstorage.service.http.logging.out":"/tmp/libstorage.service.stdout.log","libstorage.service.readtimeout":60,"libstorage.service.writetimeout":60}}],"id":5577006791947779410} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0]akutz@pax:gorackhd$ make | |
glide --home /Users/akutz up | |
[INFO] Fetching updates for github.com/go-swagger/go-swagger. | |
[INFO] Setting version for github.com/go-swagger/go-swagger to 036d71a8fdc008cef34e4a6cd62cb4ed8333b594. | |
[INFO] Found GB manifest file. | |
[INFO] Found gb manifest file for "github.com/go-swagger/go-swagger" | |
[INFO] Setting version for github.com/davecgh/go-spew to 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d. | |
[INFO] Setting version for github.com/nu7hatch/gouuid to 179d4d0c4d8d407a32af483c2354df1d2c91e6c3. | |
[INFO] Setting version for github.com/pmezard/go-difflib to 792786c7400a136282c1664665ae0a8db921c6c2. | |
[INFO] Setting version for gopkg.in/gemnasium/logrus-airbrake-hook.v2 to 31e6fd4bd5a98d8ee7673d24bc54ec73c31810dd. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
# document metadata | |
info: | |
version: "0.0.1" | |
title: libStorage | |
description: | | |
`libStorage` provides a vendor agnostic storage | |
orchestration model, API, and reference client | |
and server implementations. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "The instance ID." | |
}, | |
"data": { | |
"type": "object", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"definitions": { | |
"volume": { | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "The volume ID." | |
}, | |
"name": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "https://github.com/emccode/libstorage", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"definitions": { | |
"volume": { | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "The volume ID." | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "https://github.com/emccode/libstorage", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/serviceInfo", | |
"definitions": { | |
"volume": { | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "The volume ID." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0]akutz@pax:libstorage$ env LIBSTORAGE_DEBUG=true go test -v . | |
=== RUN TestServe | |
DEBU[0000] initializing configuration | |
DEBU[0000] adding flag defaultValue= envVar=LIBSTORAGE_HOST flagName=libstorageHost keyName=libstorage.host keyType=0 usage= | |
DEBU[0000] adding flag defaultValue= envVar=LIBSTORAGE_SERVICE flagName=libstorageService keyName=libstorage.service keyType=0 usage= | |
DEBU[0000] adding flag defaultValue= envVar=LIBSTORAGE_DRIVER flagName=libstorageDriver keyName=libstorage.driver keyType=0 usage= | |
DEBU[0000] adding flag defaultValue=false envVar=LIBSTORAGE_PROFILES_ENABLED flagName=libstorageProfilesEnabled keyName=libstorage.profiles.enabled keyType=2 usage= | |
DEBU[0000] adding flag defaultValue=false envVar=LIBSTORAGE_PROFILES_CLIENT flagName=libstorageProfilesClient keyName=libstorage.profiles.client keyType=2 usa |