Merge pull request #11308 from hashicorp/jbardin/vendor-fix
Fix vendored packages
This commit is contained in:
commit
60e4cfd285
|
@ -9,8 +9,9 @@ install:
|
||||||
# packages that live there.
|
# packages that live there.
|
||||||
# See: https://github.com/golang/go/issues/12933
|
# See: https://github.com/golang/go/issues/12933
|
||||||
- bash scripts/gogetcookie.sh
|
- bash scripts/gogetcookie.sh
|
||||||
|
- go get github.com/kardianos/govendor
|
||||||
script:
|
script:
|
||||||
- make test vet
|
- make vendor-status vet test
|
||||||
- GOOS=windows go build
|
- GOOS=windows go build
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -99,4 +99,7 @@ fmtcheck:
|
||||||
errcheck:
|
errcheck:
|
||||||
@sh -c "'$(CURDIR)/scripts/errcheck.sh'"
|
@sh -c "'$(CURDIR)/scripts/errcheck.sh'"
|
||||||
|
|
||||||
.PHONY: bin default generate test vet fmt fmtcheck tools
|
vendor-status:
|
||||||
|
@govendor status
|
||||||
|
|
||||||
|
.PHONY: bin core-dev core-test cover default dev errcheck fmt fmtcheck generate plugin-dev quickdev test-compile test testacc testrace tools vendor-status vet
|
||||||
|
|
|
@ -1,81 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-55-g8663626",
|
|
||||||
"Rev": "86636264d03bc142dcd136d02811c469ba542444"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-55-g8663626",
|
|
||||||
"Rev": "86636264d03bc142dcd136d02811c469ba542444"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.0-127-g8724845",
|
|
||||||
"Rev": "872484596472df47b95128f5996776fd73eda26c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "88326f6851319068e7b34981032128c0b1a6524d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "fcdddc395df1ddf4247c69bd436e84cfa0733f7e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "bb92dddfa9792e738a631f04ada52858a139bcf7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "513e04c400ee2e81e97f5e011c08fb42c6f69b84"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "b4f943b3f25da97dec8e26bee1c3269019de070d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "afc399c273e70173826fb6f518a48edff23fe897"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "61164e49940b423ba1f12ddbdf01632ac793e5e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "c101d94abf8cd5c6213c8300d0aed6368f2d6ede"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "7d2d8c8a4e078ce3c58736ab521a40b37a504c52"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "442e588f213303bec7936deba67901f8fc8f18b1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "45cbfd3bae250c7676c077fb275be1a2968e066a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "9cdd861463675960a0a0083a7e2023e7b0c994d7"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,286 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "code.google.com/p/go-uuid/uuid",
|
|
||||||
"Comment": "null-15",
|
|
||||||
"Rev": "35bc42037350f0078e3c974c6ea690f1926603ab"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Sirupsen/logrus",
|
|
||||||
"Comment": "v0.7.2-4-gcdd90c3",
|
|
||||||
"Rev": "cdd90c38c6e3718c731b555b9c3ed1becebec3ba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "f092b4f207b6e5cce0569056fba9e1a2735cb6cf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws",
|
|
||||||
"Rev": "a79c7d95c012010822e27aaa5551927f5e8a6ab6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/endpoints",
|
|
||||||
"Rev": "a79c7d95c012010822e27aaa5551927f5e8a6ab6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/ec2query",
|
|
||||||
"Rev": "a79c7d95c012010822e27aaa5551927f5e8a6ab6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/query/queryutil",
|
|
||||||
"Rev": "a79c7d95c012010822e27aaa5551927f5e8a6ab6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Rev": "a79c7d95c012010822e27aaa5551927f5e8a6ab6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Rev": "a79c7d95c012010822e27aaa5551927f5e8a6ab6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/service/ec2",
|
|
||||||
"Rev": "a79c7d95c012010822e27aaa5551927f5e8a6ab6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "594d483b9b6a8ddc7cd2f1e3e7d1de92fa2de665"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/docker/docker/pkg/archive",
|
|
||||||
"Comment": "v1.4.1-2478-gdd4389f",
|
|
||||||
"Rev": "dd4389fb19e442d386c3106545f04387c08e6a91"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/docker/docker/pkg/fileutils",
|
|
||||||
"Comment": "v1.4.1-2478-gdd4389f",
|
|
||||||
"Rev": "dd4389fb19e442d386c3106545f04387c08e6a91"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/docker/docker/pkg/ioutils",
|
|
||||||
"Comment": "v1.4.1-2478-gdd4389f",
|
|
||||||
"Rev": "dd4389fb19e442d386c3106545f04387c08e6a91"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/docker/docker/pkg/pools",
|
|
||||||
"Comment": "v1.4.1-2478-gdd4389f",
|
|
||||||
"Rev": "dd4389fb19e442d386c3106545f04387c08e6a91"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/docker/docker/pkg/promise",
|
|
||||||
"Comment": "v1.4.1-2478-gdd4389f",
|
|
||||||
"Rev": "dd4389fb19e442d386c3106545f04387c08e6a91"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/docker/docker/pkg/system",
|
|
||||||
"Comment": "v1.4.1-2478-gdd4389f",
|
|
||||||
"Rev": "dd4389fb19e442d386c3106545f04387c08e6a91"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar",
|
|
||||||
"Comment": "v1.4.1-2478-gdd4389f",
|
|
||||||
"Rev": "dd4389fb19e442d386c3106545f04387c08e6a91"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "fb0e9fb80f074795d7c11eba700eb33058b14bfb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-57-g90aad8f",
|
|
||||||
"Rev": "90aad8fc22a107db14dd80efdc131a197f7234e6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-57-g90aad8f",
|
|
||||||
"Rev": "90aad8fc22a107db14dd80efdc131a197f7234e6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go/aws",
|
|
||||||
"Comment": "tf0.4.0",
|
|
||||||
"Rev": "1d5c8f6b881ab3e2e0c3e737886732bbfd1ced27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go/gen/autoscaling",
|
|
||||||
"Comment": "tf0.4.0",
|
|
||||||
"Rev": "1d5c8f6b881ab3e2e0c3e737886732bbfd1ced27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go/gen/ec2",
|
|
||||||
"Comment": "tf0.4.0",
|
|
||||||
"Rev": "1d5c8f6b881ab3e2e0c3e737886732bbfd1ced27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go/gen/elb",
|
|
||||||
"Comment": "tf0.4.0",
|
|
||||||
"Rev": "1d5c8f6b881ab3e2e0c3e737886732bbfd1ced27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go/gen/endpoints",
|
|
||||||
"Comment": "tf0.4.0",
|
|
||||||
"Rev": "1d5c8f6b881ab3e2e0c3e737886732bbfd1ced27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go/gen/iam",
|
|
||||||
"Comment": "tf0.4.0",
|
|
||||||
"Rev": "1d5c8f6b881ab3e2e0c3e737886732bbfd1ced27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go/gen/rds",
|
|
||||||
"Comment": "tf0.4.0",
|
|
||||||
"Rev": "1d5c8f6b881ab3e2e0c3e737886732bbfd1ced27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go/gen/route53",
|
|
||||||
"Comment": "tf0.4.0",
|
|
||||||
"Rev": "1d5c8f6b881ab3e2e0c3e737886732bbfd1ced27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go/gen/s3",
|
|
||||||
"Comment": "tf0.4.0",
|
|
||||||
"Rev": "1d5c8f6b881ab3e2e0c3e737886732bbfd1ced27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.0-134-ge5797d9",
|
|
||||||
"Rev": "e5797d9a86b025d009809199146747384ad34db7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "88326f6851319068e7b34981032128c0b1a6524d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "fcdddc395df1ddf4247c69bd436e84cfa0733f7e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "bb92dddfa9792e738a631f04ada52858a139bcf7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "513e04c400ee2e81e97f5e011c08fb42c6f69b84"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "b2e55852ddaf823a85c67f798080eb7d08acd71d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-3-g2fcac99",
|
|
||||||
"Rev": "2fcac9923693d66dc0e03988a31b21da05cdea84"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "afc399c273e70173826fb6f518a48edff23fe897"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "61164e49940b423ba1f12ddbdf01632ac793e5e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "c101d94abf8cd5c6213c8300d0aed6368f2d6ede"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "7d2d8c8a4e078ce3c58736ab521a40b37a504c52"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "442e588f213303bec7936deba67901f8fc8f18b1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "45cbfd3bae250c7676c077fb275be1a2968e066a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "9cdd861463675960a0a0083a7e2023e7b0c994d7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "19e280b056f3742e535ea12ae92a37ea7767ea82"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/digitalocean",
|
|
||||||
"Rev": "e966f00c2d9de5743e87697ab77c7278f5998914"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "1e0c2b0eb33ca7b5632a130d6d34376a1ea46c84"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "5b02e7e9ffee9869f81393e80db138f6ff726260"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-558-gce0f487",
|
|
||||||
"Rev": "ce0f487f6747ab43c4e4404722df25349385bebd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-5-gf73f6ff",
|
|
||||||
"Rev": "f73f6ff1b843dbdac0a01da7b7f39883adfe2bdb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "c57d4a71915a248dbad846d60825145062b4c18e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "84ba27dd5b2d8135e9da1395277f2c9333a2ffda"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "ce5ea7da934b76b1066c527632359e2b8f65db97"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "2f6114897375589857c508d7392e55d5e7580db8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "2f6114897375589857c508d7392e55d5e7580db8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "c97f5f9979a8582f3ab72873a51979619801248b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "c97f5f9979a8582f3ab72873a51979619801248b"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,121 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws",
|
|
||||||
"Rev": "9214b8dd48ef351976b0af5de3eacfa8ba052177"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/endpoints",
|
|
||||||
"Rev": "9214b8dd48ef351976b0af5de3eacfa8ba052177"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/query",
|
|
||||||
"Rev": "9214b8dd48ef351976b0af5de3eacfa8ba052177"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/rest",
|
|
||||||
"Rev": "9214b8dd48ef351976b0af5de3eacfa8ba052177"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/restxml",
|
|
||||||
"Rev": "9214b8dd48ef351976b0af5de3eacfa8ba052177"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Rev": "9214b8dd48ef351976b0af5de3eacfa8ba052177"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Rev": "9214b8dd48ef351976b0af5de3eacfa8ba052177"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/service/s3",
|
|
||||||
"Rev": "9214b8dd48ef351976b0af5de3eacfa8ba052177"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-60-g6a87d5f",
|
|
||||||
"Rev": "6a87d5f443991e9916104392cd5fc77678843e1d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-60-g6a87d5f",
|
|
||||||
"Rev": "6a87d5f443991e9916104392cd5fc77678843e1d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.0-199-g205af6b",
|
|
||||||
"Rev": "205af6ba750b88863e6ee50c7c3d19edc180a6f6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "88326f6851319068e7b34981032128c0b1a6524d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "fcdddc395df1ddf4247c69bd436e84cfa0733f7e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "bb92dddfa9792e738a631f04ada52858a139bcf7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "513e04c400ee2e81e97f5e011c08fb42c6f69b84"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "b2e55852ddaf823a85c67f798080eb7d08acd71d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "6cc8bc522243675a2882b81662b0b0d2e04b99c9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "61164e49940b423ba1f12ddbdf01632ac793e5e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "1f6da4a72e57d4e7edd4a7295a585e0a3999a2d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "442e588f213303bec7936deba67901f8fc8f18b1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "45cbfd3bae250c7676c077fb275be1a2968e066a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "242be0c275dedfba00a616563e6db75ab8f279ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh/terminal",
|
|
||||||
"Rev": "c84e1f8e3a7e322d497cd16c0e8a13c7e127baf3"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,301 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws",
|
|
||||||
"Rev": "43d7c58d0a71c01d98b7881cb9f90047f04f4acd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/apierr",
|
|
||||||
"Rev": "43d7c58d0a71c01d98b7881cb9f90047f04f4acd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/endpoints",
|
|
||||||
"Rev": "43d7c58d0a71c01d98b7881cb9f90047f04f4acd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/query",
|
|
||||||
"Rev": "43d7c58d0a71c01d98b7881cb9f90047f04f4acd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/rest",
|
|
||||||
"Rev": "43d7c58d0a71c01d98b7881cb9f90047f04f4acd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/restxml",
|
|
||||||
"Rev": "43d7c58d0a71c01d98b7881cb9f90047f04f4acd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Rev": "43d7c58d0a71c01d98b7881cb9f90047f04f4acd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Rev": "43d7c58d0a71c01d98b7881cb9f90047f04f4acd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/service/s3",
|
|
||||||
"Rev": "43d7c58d0a71c01d98b7881cb9f90047f04f4acd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-60-g6a87d5f",
|
|
||||||
"Rev": "6a87d5f443991e9916104392cd5fc77678843e1d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-60-g6a87d5f",
|
|
||||||
"Rev": "6a87d5f443991e9916104392cd5fc77678843e1d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.2-33-g0aea1f0",
|
|
||||||
"Rev": "0aea1f06a1662dd392d3c8e8240cb4cc662e2e65"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "88326f6851319068e7b34981032128c0b1a6524d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "fcdddc395df1ddf4247c69bd436e84cfa0733f7e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "999359b6b7a041ce16e695d51e92145b83f01087"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "513e04c400ee2e81e97f5e011c08fb42c6f69b84"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "b2e55852ddaf823a85c67f798080eb7d08acd71d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "76e2780bc4f71797e1ce037ac0b43b7c99b31749"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "61164e49940b423ba1f12ddbdf01632ac793e5e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "1f6da4a72e57d4e7edd4a7295a585e0a3999a2d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "bb4fbaf540ca2f7057d3adb5765784d24d9fd801"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "45cbfd3bae250c7676c077fb275be1a2968e066a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh/terminal",
|
|
||||||
"Rev": "c10c31b5e94b6f7a0283272dc2bb27163dcea24b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Sirupsen/logrus",
|
|
||||||
"Rev": "52919f182f9c314f8a38c5afe96506f73d02b4b2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "f092b4f207b6e5cce0569056fba9e1a2735cb6cf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go",
|
|
||||||
"Rev": "594d483b9b6a8ddc7cd2f1e3e7d1de92fa2de665"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/docker/docker",
|
|
||||||
"Rev": "42cfc95549728014811cc9aa2c5b07bdf5553a54"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "f90594a4da6a7cbdaedd29ee5495ddd6b39fe5d3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go",
|
|
||||||
"Rev": "6a87d5f443991e9916104392cd5fc77678843e1d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/aws-sdk-go",
|
|
||||||
"Rev": "e6ea0192eee4640f32ec73c0cbb71f63e4f2b65a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul",
|
|
||||||
"Rev": "9417fd37686241d65918208874a7faa4d0cd92d2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "88326f6851319068e7b34981032128c0b1a6524d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "fcdddc395df1ddf4247c69bd436e84cfa0733f7e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "999359b6b7a041ce16e695d51e92145b83f01087"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "513e04c400ee2e81e97f5e011c08fb42c6f69b84"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "b2e55852ddaf823a85c67f798080eb7d08acd71d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Rev": "2fcac9923693d66dc0e03988a31b21da05cdea84"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm",
|
|
||||||
"Rev": "132339029dfa67fd39ff8edeed2af78f2cca4fbb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "6cc8bc522243675a2882b81662b0b0d2e04b99c9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "61164e49940b423ba1f12ddbdf01632ac793e5e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "1f6da4a72e57d4e7edd4a7295a585e0a3999a2d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/gox",
|
|
||||||
"Rev": "e8e6fd4fe12510cc46893dff18c5188a6a6dc549"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/iochan",
|
|
||||||
"Rev": "b584a329b193e206025682ae6c10cdbe03b0cd77"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "442e588f213303bec7936deba67901f8fc8f18b1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer",
|
|
||||||
"Rev": "350a5f8cad6a0e4c2b24c3049a84c4f294416e16"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "45cbfd3bae250c7676c077fb275be1a2968e066a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "242be0c275dedfba00a616563e6db75ab8f279ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp",
|
|
||||||
"Rev": "650a91d1da6dc3fefa8f052289ffce648924a304"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "19e280b056f3742e535ea12ae92a37ea7767ea82"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/digitalocean",
|
|
||||||
"Rev": "e966f00c2d9de5743e87697ab77c7278f5998914"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "1e0c2b0eb33ca7b5632a130d6d34376a1ea46c84"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "5b02e7e9ffee9869f81393e80db138f6ff726260"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Rev": "9ad4137a6b3e786b9c1e161b8d354b44482ab6d7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "7c7f2020c4c9491594b85767967f4619c2fa75f9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack",
|
|
||||||
"Rev": "f73f6ff1b843dbdac0a01da7b7f39883adfe2bdb"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,385 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "code.google.com/p/go-uuid/uuid",
|
|
||||||
"Comment": "null-15",
|
|
||||||
"Rev": "35bc42037350f0078e3c974c6ea690f1926603ab"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-216-g9197765",
|
|
||||||
"Rev": "91977650587a7bc48318c0430649d7fea886f111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-216-g9197765",
|
|
||||||
"Rev": "91977650587a7bc48318c0430649d7fea886f111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-216-g9197765",
|
|
||||||
"Rev": "91977650587a7bc48318c0430649d7fea886f111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-216-g9197765",
|
|
||||||
"Rev": "91977650587a7bc48318c0430649d7fea886f111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/go-pkcs12",
|
|
||||||
"Rev": "a635c0684cd517745ca5c9552a312627791d5ba0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "f092b4f207b6e5cce0569056fba9e1a2735cb6cf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/endpoints",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/ec2query",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/json/jsonutil",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/jsonrpc",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/query",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/rest",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restjson",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restxml",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws/credentials",
|
|
||||||
"Comment": "v0.6.4-13-gb102478",
|
|
||||||
"Rev": "b1024787e030774e84f3aa6995f2c3891283b4a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "594d483b9b6a8ddc7cd2f1e3e7d1de92fa2de665"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "bacc91d0d732390df132783988dc17c611881047"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-70-g1b40363",
|
|
||||||
"Rev": "1b403631cd2d44764a68a9549874213cf95b285e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-70-g1b40363",
|
|
||||||
"Rev": "1b403631cd2d44764a68a9549874213cf95b285e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.2-125-g9cb5526",
|
|
||||||
"Rev": "9cb55266e7df62f2c3fd393503331140a05bfeb6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "88326f6851319068e7b34981032128c0b1a6524d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "56912fb08d85084aa318edcf2bba735b97cf35c5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "999359b6b7a041ce16e695d51e92145b83f01087"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "54864211433d45cb780682431585b3e573b49e4a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "b2e55852ddaf823a85c67f798080eb7d08acd71d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-5-g61a5285",
|
|
||||||
"Rev": "61a52852277811e93e06d28e0d0c396284a7730b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "132339029dfa67fd39ff8edeed2af78f2cca4fbb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "132339029dfa67fd39ff8edeed2af78f2cca4fbb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "8102d0ed5ea2709ade1243798785888175f6e415"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "61164e49940b423ba1f12ddbdf01632ac793e5e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "1f6da4a72e57d4e7edd4a7295a585e0a3999a2d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "2caf8efc93669b6c43e0441cdc6aed17546c96f3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.0-89-g3239d15",
|
|
||||||
"Rev": "3239d157c16ad1612d652940b2da2981614c97e4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "45cbfd3bae250c7676c077fb275be1a2968e066a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "743b1afe5ee3f6d5ba71a0d50673fa0ba2123d6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "19e280b056f3742e535ea12ae92a37ea7767ea82"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/digitalocean",
|
|
||||||
"Rev": "e966f00c2d9de5743e87697ab77c7278f5998914"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "2a807d118c9e52e94819f414a6ec0293b45cad01"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "5b02e7e9ffee9869f81393e80db138f6ff726260"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-618-gf956c6c",
|
|
||||||
"Rev": "f956c6c6c0c55844eff4b153b5071ef6e3ab4ab4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "afe1e2ddf0f05b7c29d388a3f8e76cb15c2231ca"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-30-g4d162c3",
|
|
||||||
"Rev": "4d162c3e1955cd12235a8f0abaa95fe0bbf08c63"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "cc04154d65fb9296747569b107cfd05380b1ea3e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "d9558e5c97f85372afee28cf2b6059d7d3818919"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "b5adcc2dcdf009d0391547edc6ecbaff889f5bb9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v0.beta",
|
|
||||||
"Rev": "a09229c13c2f13bbdedf7b31b506cad4c83ef3bf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "a09229c13c2f13bbdedf7b31b506cad4c83ef3bf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "a09229c13c2f13bbdedf7b31b506cad4c83ef3bf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "a09229c13c2f13bbdedf7b31b506cad4c83ef3bf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "a09229c13c2f13bbdedf7b31b506cad4c83ef3bf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "15c0736a396d4a63e96b29802364d721ed0a33d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "15c0736a396d4a63e96b29802364d721ed0a33d5"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,385 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "code.google.com/p/go-uuid/uuid",
|
|
||||||
"Comment": "null-15",
|
|
||||||
"Rev": "35bc42037350f0078e3c974c6ea690f1926603ab"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-216-g9197765",
|
|
||||||
"Rev": "91977650587a7bc48318c0430649d7fea886f111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-216-g9197765",
|
|
||||||
"Rev": "91977650587a7bc48318c0430649d7fea886f111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-216-g9197765",
|
|
||||||
"Rev": "91977650587a7bc48318c0430649d7fea886f111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-216-g9197765",
|
|
||||||
"Rev": "91977650587a7bc48318c0430649d7fea886f111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/go-pkcs12",
|
|
||||||
"Rev": "a635c0684cd517745ca5c9552a312627791d5ba0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "f092b4f207b6e5cce0569056fba9e1a2735cb6cf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/endpoints",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/ec2query",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/json/jsonutil",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/jsonrpc",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/query",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/rest",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restjson",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restxml",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws/credentials",
|
|
||||||
"Comment": "v0.6.7-3-g2a6648c",
|
|
||||||
"Rev": "2a6648c479175ce005bca95780f948a196a46062"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "594d483b9b6a8ddc7cd2f1e3e7d1de92fa2de665"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "f6e9f5396e0e8f34472efe443d0cb7f9af162b88"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-71-g785958f",
|
|
||||||
"Rev": "785958ffcd6a8857890651f3f4d9a289ddc27633"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-71-g785958f",
|
|
||||||
"Rev": "785958ffcd6a8857890651f3f4d9a289ddc27633"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.2-159-gc34bcb4",
|
|
||||||
"Rev": "c34bcb45c670af076846826ea72c436fbd0e2c35"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "88326f6851319068e7b34981032128c0b1a6524d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "56912fb08d85084aa318edcf2bba735b97cf35c5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "999359b6b7a041ce16e695d51e92145b83f01087"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "54864211433d45cb780682431585b3e573b49e4a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "8e00b30457b1486b012f204b82ec92ae6b547de8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-5-g61a5285",
|
|
||||||
"Rev": "61a52852277811e93e06d28e0d0c396284a7730b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "23128e7b3dc1f8091aeff7aae82cb2112ce53c75"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "23128e7b3dc1f8091aeff7aae82cb2112ce53c75"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "8102d0ed5ea2709ade1243798785888175f6e415"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "61164e49940b423ba1f12ddbdf01632ac793e5e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "1f6da4a72e57d4e7edd4a7295a585e0a3999a2d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.2-4-g2010a0c",
|
|
||||||
"Rev": "2010a0c966175b3c0fa8d158a879c10acbba0d76"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "45cbfd3bae250c7676c077fb275be1a2968e066a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "743b1afe5ee3f6d5ba71a0d50673fa0ba2123d6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "19e280b056f3742e535ea12ae92a37ea7767ea82"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/digitalocean",
|
|
||||||
"Rev": "e966f00c2d9de5743e87697ab77c7278f5998914"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "2a807d118c9e52e94819f414a6ec0293b45cad01"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "5b02e7e9ffee9869f81393e80db138f6ff726260"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-623-ge83aa01",
|
|
||||||
"Rev": "e83aa011e019917c7bd951444d61c42431b4d21d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "afe1e2ddf0f05b7c29d388a3f8e76cb15c2231ca"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-36-g0031956",
|
|
||||||
"Rev": "00319560eeca5e6ffef3ba048c97c126a465854f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "7d5b0be716b9d6d4269afdaae10032bb296d3cdf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "f0cf018861e2b54077eced91659e255072b5f215"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "8914e5017ca260f2a3a1575b1e6868874050d95e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "18450f4e95c7e76ce3a5dc3a8cb7178ab6d56121"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "18450f4e95c7e76ce3a5dc3a8cb7178ab6d56121"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "18450f4e95c7e76ce3a5dc3a8cb7178ab6d56121"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "18450f4e95c7e76ce3a5dc3a8cb7178ab6d56121"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "18450f4e95c7e76ce3a5dc3a8cb7178ab6d56121"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "522a8ceb4bb83c2def27baccf31d646bce11a4b2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "522a8ceb4bb83c2def27baccf31d646bce11a4b2"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,653 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.5",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/cdn",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/compute",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/network",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/resources/resources",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/scheduler",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/storage",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-315-g1cb9dff",
|
|
||||||
"Rev": "1cb9dff8c37b2918ad1ebd7b294d01100a153d27"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/go-autorest/autorest",
|
|
||||||
"Comment": "v3.0.0-4-g1af7c26",
|
|
||||||
"Rev": "1af7c26b6889336922ac036a1f85c5fc1ed61ff2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/DreamItGetIT/statuscake",
|
|
||||||
"Rev": "8cbe86575f00210a6df2c19cb2f59b00cd181de3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-cidr/cidr",
|
|
||||||
"Rev": "a3ebdb999b831ecb6ab8a226e31b07b2b9061c47"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-rundeck-api/rundeck",
|
|
||||||
"Comment": "v0.0.1-1-g43fcd8f",
|
|
||||||
"Rev": "43fcd8fbcf18fd5929258c044b4e3dd0643f875e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "bbbad097214e2918d8543d5201d12bfd7bca254d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/go-radix",
|
|
||||||
"Rev": "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/endpoints",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/ec2query",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/query",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/rest",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/restjson",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/restxml",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/signer/v4",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/waiter",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudformation",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudtrail",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/codecommit",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/codedeploy",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/directoryservice",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecr",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/efs",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/firehose",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/glacier",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/opsworks",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/redshift",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v1.0.11-1-g87b1e60",
|
|
||||||
"Rev": "87b1e60a50b09e4812dee560b33a238f67305804"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/bgentry/speakeasy",
|
|
||||||
"Rev": "36e9cfdd690967f4f690c6edcc9ffacd006014a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/client",
|
|
||||||
"Comment": "v2.3.0-alpha.0-596-g0020c63",
|
|
||||||
"Rev": "0020c63dec1bf3e2927b6e076ffbe86c1021f5ed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/pathutil",
|
|
||||||
"Comment": "v2.3.0-alpha.0-596-g0020c63",
|
|
||||||
"Rev": "0020c63dec1bf3e2927b6e076ffbe86c1021f5ed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/types",
|
|
||||||
"Comment": "v2.3.0-alpha.0-596-g0020c63",
|
|
||||||
"Rev": "0020c63dec1bf3e2927b6e076ffbe86c1021f5ed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "81c5afa1abcf69cc18ccc24fa3716b5a455c9208"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dgrijalva/jwt-go",
|
|
||||||
"Comment": "v2.4.0-4-gafef698",
|
|
||||||
"Rev": "afef698c326bfd906b11659432544e5aae441d44"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/digitalocean/godo",
|
|
||||||
"Comment": "v0.9.0-20-gf75d769",
|
|
||||||
"Rev": "f75d769b07edce8a73682dcf325b4404f366ab3d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "025617847eb2cf9bd1d851bc3b22ed28e6245ce5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "504b650c495df17b7f246b94fe2a2239a85bc73e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/go-chef/chef",
|
|
||||||
"Comment": "0.0.1-42-gea19666",
|
|
||||||
"Rev": "ea196660dd8700ad18911681b223fe6bfc29cd69"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/go-ini/ini",
|
|
||||||
"Comment": "v1.8.6",
|
|
||||||
"Rev": "afbd495e5aaea13597b5e14fe514ddeaa4d76fc3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/golang/protobuf/proto",
|
|
||||||
"Rev": "6aaa8d47701fa6cf07e914ec01fde3d4a1fe79c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/google/go-querystring/query",
|
|
||||||
"Rev": "2a60fc2ba6c19de80291203597d752e9ba58e4c0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-90-g0008886",
|
|
||||||
"Rev": "0008886ebfa3b424bed03e2a5cbe4a2568ea0ff6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-90-g0008886",
|
|
||||||
"Rev": "0008886ebfa3b424bed03e2a5cbe4a2568ea0ff6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.6.3-24-ga2d014a",
|
|
||||||
"Rev": "a2d014a2469aa3856e5e10fd1270d9db7bcb8e13"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "e4b2dc34c0f698ee04750bf2035d8b9384233e1b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-cleanhttp",
|
|
||||||
"Rev": "ce617e79981a8fff618bb643d155133a8f38db96"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-getter",
|
|
||||||
"Rev": "848242c76c346ef0aeb34787753b068f5f6f92fe"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-retryablehttp",
|
|
||||||
"Rev": "24fda80b7c713c52649e57ce20100d453f7bdb24"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "7e3c02b30806fa5779d3bdfc152ce4c6f40e7b38"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "578dd9746824a54637686b51a41bad457a56bcef"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/logutils",
|
|
||||||
"Rev": "0dc08b1671f34c4250ce212759ebd880f743d883"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/serf/coordinate",
|
|
||||||
"Comment": "v0.7.0-12-ge4ec8cc",
|
|
||||||
"Rev": "e4ec8cc423bbe20d26584b96efbeb9102e16d05f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "df949784da9ed028ee76df44652e42d37a09d7e4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hmrc/vmware-govcd",
|
|
||||||
"Comment": "v0.0.2-37-g5cd82f0",
|
|
||||||
"Rev": "5cd82f01aa1c97afa9b23ef6f4f42a60f3106003"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.1-3-gb1859b1",
|
|
||||||
"Rev": "b1859b199a7171589445bdea9fa8c19362613f80"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/jmespath/go-jmespath",
|
|
||||||
"Comment": "0.2.2-2-gc01cf91",
|
|
||||||
"Rev": "c01cf91b011868172fdcd9f41838e80c9d716264"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/kardianos/osext",
|
|
||||||
"Rev": "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/lib/pq",
|
|
||||||
"Comment": "go1.0-cutoff-74-g8ad2b29",
|
|
||||||
"Rev": "8ad2b298cadd691a77015666a5372eae5dbfac8f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/lusis/go-artifactory/src/artifactory.v401",
|
|
||||||
"Rev": "7e4ce345df825841661d1b3ffbb1327083d4a22f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "54ea5d01478cfc2afccec1504bd0dfcd8c260cfa"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "54ea5d01478cfc2afccec1504bd0dfcd8c260cfa"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mattn/go-isatty",
|
|
||||||
"Rev": "56b76bdf51f7708750eac80fa38b952bb9f32639"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "cb6853d606ea4a12a15ac83cc43503df99fd28fb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "8631ce90f28644f54aeedcb3e389a85174e067d1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "d682a8f0cf139663a984ff12528da460ca963de9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.6-390-gc1ac120",
|
|
||||||
"Rev": "c1ac120828388b1fd01ce285959d13d34fdd54f0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "a1e50bc201f387747a45ffff020f1af2d8759e88"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "6e6954073784f7ee67b28f2d22749d6479151ed7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nesv/go-dynect/dynect",
|
|
||||||
"Comment": "v0.2.0-8-g841842b",
|
|
||||||
"Rev": "841842b16b39cf2b5007278956976d7d909bd98b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "3d184cea22ee1c41ec1697e0d830ff0c78f7ea97"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packethost/packngo",
|
|
||||||
"Rev": "f03d7dc788a8b57b62d301ccb98c950c325756f8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pborman/uuid",
|
|
||||||
"Rev": "dee7705ef7b324f27ceb85a121c61f2c2e8ce988"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "765ac1828a78ba49e6dc48309d56415c61806ac3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "78996265f576c7580ff75d0cb2c606a61883ceb8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "b88605989c4141d22a6d874f78800399e5bb7ac2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-774-g680aa02",
|
|
||||||
"Rev": "680aa02616313d8399abc91f17a444cf9292f0e1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "d41af8bb6a7704f00bc3b7cba9355ae6a5a80048"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/sthulb/mime/multipart",
|
|
||||||
"Rev": "698462dc9685d7743511c26da726c1b0c1cfb111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/tent/http-link-go",
|
|
||||||
"Rev": "ac974c61c2f990f4115b119354b5e0b47550e888"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ugorji/go/codec",
|
|
||||||
"Rev": "646ae4a518c1c3be0739df898118d9bccf993858"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vmware/govmomi",
|
|
||||||
"Comment": "v0.3.0-11-g20c009c",
|
|
||||||
"Rev": "20c009ce9c493f0c714a9fffa5bda5fb84df2b6c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-55-gfa516de",
|
|
||||||
"Rev": "fa516de9c8f07a186331b78823c2bb717461953f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/ssh-agent",
|
|
||||||
"Rev": "ba9c9e33906f58169366275e3450db66139a31a9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ziutek/mymysql/mysql",
|
|
||||||
"Comment": "v1.5.4-13-g75ce5fb",
|
|
||||||
"Rev": "75ce5fbba34b1912a3641adbd58cf317d7315821"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ziutek/mymysql/native",
|
|
||||||
"Comment": "v1.5.4-13-g75ce5fb",
|
|
||||||
"Rev": "75ce5fbba34b1912a3641adbd58cf317d7315821"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ziutek/mymysql/thrsafe",
|
|
||||||
"Comment": "v1.5.4-13-g75ce5fb",
|
|
||||||
"Rev": "75ce5fbba34b1912a3641adbd58cf317d7315821"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/curve25519",
|
|
||||||
"Rev": "1f22c0103821b9390939b6776727195525381532"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/pkcs12",
|
|
||||||
"Rev": "1f22c0103821b9390939b6776727195525381532"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "1f22c0103821b9390939b6776727195525381532"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "04b9de9b512f58addf28c9853d50ebef61c3953e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "8a57ed94ffd43444c0879fe75701732a38afc985"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/sys/unix",
|
|
||||||
"Rev": "eb2c74142fd19a79b3f237334c7384d5167b1b46"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "0caa37974a5f5ae67172acf68b4970f7864f994c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "0caa37974a5f5ae67172acf68b4970f7864f994c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "0caa37974a5f5ae67172acf68b4970f7864f994c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/gensupport",
|
|
||||||
"Rev": "0caa37974a5f5ae67172acf68b4970f7864f994c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "0caa37974a5f5ae67172acf68b4970f7864f994c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/pubsub/v1",
|
|
||||||
"Rev": "0caa37974a5f5ae67172acf68b4970f7864f994c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/sqladmin/v1beta4",
|
|
||||||
"Rev": "0caa37974a5f5ae67172acf68b4970f7864f994c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "0caa37974a5f5ae67172acf68b4970f7864f994c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/appengine",
|
|
||||||
"Rev": "6bde959377a90acb53366051d7d587bfd7171354"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "fb10e8da373d97f6ba5e648299a10b3b91f14cd5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "fb10e8da373d97f6ba5e648299a10b3b91f14cd5"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,385 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "code.google.com/p/go-uuid/uuid",
|
|
||||||
"Comment": "null-15",
|
|
||||||
"Rev": "35bc42037350f0078e3c974c6ea690f1926603ab"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-222-g99b5c36",
|
|
||||||
"Rev": "99b5c364c7be7088d138aef0afce0b5a70855b03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-222-g99b5c36",
|
|
||||||
"Rev": "99b5c364c7be7088d138aef0afce0b5a70855b03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-222-g99b5c36",
|
|
||||||
"Rev": "99b5c364c7be7088d138aef0afce0b5a70855b03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-222-g99b5c36",
|
|
||||||
"Rev": "99b5c364c7be7088d138aef0afce0b5a70855b03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/go-pkcs12",
|
|
||||||
"Rev": "a635c0684cd517745ca5c9552a312627791d5ba0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "f092b4f207b6e5cce0569056fba9e1a2735cb6cf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/endpoints",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/ec2query",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/json/jsonutil",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/jsonrpc",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/query",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/rest",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restjson",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restxml",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws/credentials",
|
|
||||||
"Comment": "v0.7.2-4-g5df83ba",
|
|
||||||
"Rev": "5df83ba895b6ba073c0513dddcec6d7473c95592"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "594d483b9b6a8ddc7cd2f1e3e7d1de92fa2de665"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "3ef29fee64703523b191df64d96a28204c86460c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-73-gd1d08e8",
|
|
||||||
"Rev": "d1d08e8e25f0659388ede7bb8157aaa4895f5347"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-73-gd1d08e8",
|
|
||||||
"Rev": "d1d08e8e25f0659388ede7bb8157aaa4895f5347"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.2-200-g066e772",
|
|
||||||
"Rev": "066e77253696dd2c2a320ed84408ba5713f82811"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "88326f6851319068e7b34981032128c0b1a6524d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "56912fb08d85084aa318edcf2bba735b97cf35c5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "999359b6b7a041ce16e695d51e92145b83f01087"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "54864211433d45cb780682431585b3e573b49e4a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "8e00b30457b1486b012f204b82ec92ae6b547de8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-5-g61a5285",
|
|
||||||
"Rev": "61a52852277811e93e06d28e0d0c396284a7730b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "23128e7b3dc1f8091aeff7aae82cb2112ce53c75"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "23128e7b3dc1f8091aeff7aae82cb2112ce53c75"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "8102d0ed5ea2709ade1243798785888175f6e415"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "61164e49940b423ba1f12ddbdf01632ac793e5e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "1f6da4a72e57d4e7edd4a7295a585e0a3999a2d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.2-102-ga4e8a92",
|
|
||||||
"Rev": "a4e8a92a13bce92db7598323b55625f4ea25f413"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "45cbfd3bae250c7676c077fb275be1a2968e066a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "743b1afe5ee3f6d5ba71a0d50673fa0ba2123d6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "19e280b056f3742e535ea12ae92a37ea7767ea82"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/digitalocean",
|
|
||||||
"Rev": "e966f00c2d9de5743e87697ab77c7278f5998914"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "2a807d118c9e52e94819f414a6ec0293b45cad01"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "5b02e7e9ffee9869f81393e80db138f6ff726260"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-647-gefb1971",
|
|
||||||
"Rev": "efb1971cbd1d39f6fc762a86cccccfad387019e6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "6b8e5b55d20d01ad47ecfe98e5171688397c61e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-36-g0031956",
|
|
||||||
"Rev": "00319560eeca5e6ffef3ba048c97c126a465854f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "2f3083f6163ef51179ad42ed523a18c9a1141467"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "1bc0720082d79ce7ffc6ef6e523d00d46b0dee45"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "8914e5017ca260f2a3a1575b1e6868874050d95e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "e34a32f9b0ecbc0784865fb2d47f3818c09521d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "e34a32f9b0ecbc0784865fb2d47f3818c09521d4"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,385 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "code.google.com/p/go-uuid/uuid",
|
|
||||||
"Comment": "null-15",
|
|
||||||
"Rev": "35bc42037350f0078e3c974c6ea690f1926603ab"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-222-g99b5c36",
|
|
||||||
"Rev": "99b5c364c7be7088d138aef0afce0b5a70855b03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-222-g99b5c36",
|
|
||||||
"Rev": "99b5c364c7be7088d138aef0afce0b5a70855b03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-222-g99b5c36",
|
|
||||||
"Rev": "99b5c364c7be7088d138aef0afce0b5a70855b03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-222-g99b5c36",
|
|
||||||
"Rev": "99b5c364c7be7088d138aef0afce0b5a70855b03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/go-pkcs12",
|
|
||||||
"Rev": "a635c0684cd517745ca5c9552a312627791d5ba0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "f092b4f207b6e5cce0569056fba9e1a2735cb6cf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/endpoints",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/ec2query",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/json/jsonutil",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/jsonrpc",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/query",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/rest",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restjson",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restxml",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws/credentials/ec2rolecreds",
|
|
||||||
"Comment": "v0.7.3-11-gccb4ffd",
|
|
||||||
"Rev": "ccb4ffd37cbd0ea218deb2e3edefb69ff2c001e2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "594d483b9b6a8ddc7cd2f1e3e7d1de92fa2de665"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "5c1d07d4afa5f11e38225906fb01cb46c24584e8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-73-gd1d08e8",
|
|
||||||
"Rev": "d1d08e8e25f0659388ede7bb8157aaa4895f5347"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-73-gd1d08e8",
|
|
||||||
"Rev": "d1d08e8e25f0659388ede7bb8157aaa4895f5347"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.2-206-g00e35cd",
|
|
||||||
"Rev": "00e35cdc416d7a3ab997dd8b930c63bd0e8b93f8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "88326f6851319068e7b34981032128c0b1a6524d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "56912fb08d85084aa318edcf2bba735b97cf35c5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "999359b6b7a041ce16e695d51e92145b83f01087"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "54864211433d45cb780682431585b3e573b49e4a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "8e00b30457b1486b012f204b82ec92ae6b547de8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-5-g61a5285",
|
|
||||||
"Rev": "61a52852277811e93e06d28e0d0c396284a7730b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "23128e7b3dc1f8091aeff7aae82cb2112ce53c75"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "23128e7b3dc1f8091aeff7aae82cb2112ce53c75"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "8102d0ed5ea2709ade1243798785888175f6e415"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "61164e49940b423ba1f12ddbdf01632ac793e5e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "1f6da4a72e57d4e7edd4a7295a585e0a3999a2d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.5",
|
|
||||||
"Rev": "60bbe850ef0b7fec19eba1929d83e7267ca1572b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "45cbfd3bae250c7676c077fb275be1a2968e066a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "743b1afe5ee3f6d5ba71a0d50673fa0ba2123d6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "19e280b056f3742e535ea12ae92a37ea7767ea82"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/digitalocean",
|
|
||||||
"Rev": "e966f00c2d9de5743e87697ab77c7278f5998914"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "2a807d118c9e52e94819f414a6ec0293b45cad01"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "5b02e7e9ffee9869f81393e80db138f6ff726260"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-647-gefb1971",
|
|
||||||
"Rev": "efb1971cbd1d39f6fc762a86cccccfad387019e6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "6b8e5b55d20d01ad47ecfe98e5171688397c61e9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-36-g0031956",
|
|
||||||
"Rev": "00319560eeca5e6ffef3ba048c97c126a465854f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "83f1503f771a82af8a31f358eb825e9efb5dae6c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "4a71d182556e05375344f3da665304f3d5784ab4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "8914e5017ca260f2a3a1575b1e6868874050d95e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "0a735f7ec81c85ce7ec31bf7a67e125ef62266ec"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "e34a32f9b0ecbc0784865fb2d47f3818c09521d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "e34a32f9b0ecbc0784865fb2d47f3818c09521d4"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,440 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-rundeck-api/rundeck",
|
|
||||||
"Comment": "v0.0.1",
|
|
||||||
"Rev": "cddcfbabbe903e9c8df35ff9569dbb8d67789200"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "bbbad097214e2918d8543d5201d12bfd7bca254d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/endpoints",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/ec2query",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/json/jsonutil",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/jsonrpc",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/query",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/rest",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restjson",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restxml",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/directoryservice",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/efs",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/glacier",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/opsworks",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.9.14-3-g308eaa6",
|
|
||||||
"Rev": "308eaa65c0ddf03c701d511b7d73b3f3620452a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "8344c6a3e281a99a693f5b71186249a8620eeb6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "09604abc82243886001c3f56fd709d4ba603cead"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-77-g85a782d",
|
|
||||||
"Rev": "85a782d724b87fcd19db1c4aef9d5337a9bb7a0f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-77-g85a782d",
|
|
||||||
"Rev": "85a782d724b87fcd19db1c4aef9d5337a9bb7a0f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.2-325-g5d9530d",
|
|
||||||
"Rev": "5d9530d7def3be989ba141382f1b9d82583418f4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "528ab62f37fa83d4360e8ab2b2c425d6692ef533"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "2b9865f60ce11e527bd1255ba82036d465570aa3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "4de51957ef8d4aba6e285ddfc587633bbfc7c0e8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/logutils",
|
|
||||||
"Rev": "0dc08b1671f34c4250ce212759ebd880f743d883"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "ddcd0a6ec7c55e29f235e27935bf98d302281bd3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-5-g61a5285",
|
|
||||||
"Rev": "61a52852277811e93e06d28e0d0c396284a7730b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "b280be362a0c6af26fbaaa055924fb9c4830b006"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "b280be362a0c6af26fbaaa055924fb9c4830b006"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "8102d0ed5ea2709ade1243798785888175f6e415"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "8631ce90f28644f54aeedcb3e389a85174e067d1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "df55a15e5ce646808815381b3db47a8c66ea62f4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.6-76-g88386bc",
|
|
||||||
"Rev": "88386bc9db1c850306e5c3737f14bef3a2c4050d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "1655d88c8ff7495ae9d2c19fd8f445f4657e22b0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "743b1afe5ee3f6d5ba71a0d50673fa0ba2123d6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packethost/packngo",
|
|
||||||
"Rev": "496f5c8895c06505fae527830a9e554dc65325f4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pborman/uuid",
|
|
||||||
"Rev": "cccd189d45f7ac3368a0d127efb7f4d08ae0b655"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "19e280b056f3742e535ea12ae92a37ea7767ea82"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/digitalocean",
|
|
||||||
"Rev": "e966f00c2d9de5743e87697ab77c7278f5998914"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "2a807d118c9e52e94819f414a6ec0293b45cad01"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "5b02e7e9ffee9869f81393e80db138f6ff726260"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-681-g8d032cb",
|
|
||||||
"Rev": "8d032cb1e835a0018269de3d6b53bb24fc77a8c0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "08f0718b61e95ddba0ade3346725fe0e4bf28ca6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vmware/govmomi",
|
|
||||||
"Comment": "v0.2.0-28-g6037863",
|
|
||||||
"Rev": "603786323c18c13dd8b3da3d4f86b1dce4adf126"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-48-g0e6e56f",
|
|
||||||
"Rev": "0e6e56fc0db3f48f060273f2e2ffe5d8d41b0112"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/curve25519",
|
|
||||||
"Rev": "c8b9e6388ef638d5a8a9d865c634befdc46a6784"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/pkcs12",
|
|
||||||
"Rev": "c8b9e6388ef638d5a8a9d865c634befdc46a6784"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "c8b9e6388ef638d5a8a9d865c634befdc46a6784"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "21c3935a8fc0f954d03e6b8a560c9600ffee38d2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "ef4eca6b097fad7cec79afcc278d213a6de1c960"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "e2903ca9e33d6cbaedda541d96996219056e8214"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "e2903ca9e33d6cbaedda541d96996219056e8214"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "e2903ca9e33d6cbaedda541d96996219056e8214"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "e2903ca9e33d6cbaedda541d96996219056e8214"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/internal",
|
|
||||||
"Rev": "e2903ca9e33d6cbaedda541d96996219056e8214"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "e2903ca9e33d6cbaedda541d96996219056e8214"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "4bea1598a0936d6d116506b59a8e1aa962b585c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "4bea1598a0936d6d116506b59a8e1aa962b585c3"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,476 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-rundeck-api/rundeck",
|
|
||||||
"Comment": "v0.0.1",
|
|
||||||
"Rev": "cddcfbabbe903e9c8df35ff9569dbb8d67789200"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "bbbad097214e2918d8543d5201d12bfd7bca254d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/endpoints",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/ec2query",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/json/jsonutil",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/jsonrpc",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/query",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/rest",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restjson",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restxml",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/directoryservice",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/efs",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/glacier",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/opsworks",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.9.15",
|
|
||||||
"Rev": "7ab6754ddaaa7972ac1c896ddd7f796cc726e79d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/client",
|
|
||||||
"Comment": "v2.2.0-246-g8d3ed01",
|
|
||||||
"Rev": "8d3ed0176c41a5585e040368455fe803fa95511b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/pathutil",
|
|
||||||
"Comment": "v2.2.0-246-g8d3ed01",
|
|
||||||
"Rev": "8d3ed0176c41a5585e040368455fe803fa95511b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/types",
|
|
||||||
"Comment": "v2.2.0-246-g8d3ed01",
|
|
||||||
"Rev": "8d3ed0176c41a5585e040368455fe803fa95511b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "8344c6a3e281a99a693f5b71186249a8620eeb6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/digitalocean/godo",
|
|
||||||
"Comment": "v0.9.0-2-gc03bb09",
|
|
||||||
"Rev": "c03bb099b8dc38e87581902a56885013a0865703"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "412c004d923b7b89701e7a1632de83f843657a03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/google/go-querystring/query",
|
|
||||||
"Rev": "547ef5ac979778feb2f760cdb5f4eae1a2207b86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-79-gabffe75",
|
|
||||||
"Rev": "abffe75c7dff7f6c3344727348a95fe70c519696"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-79-gabffe75",
|
|
||||||
"Rev": "abffe75c7dff7f6c3344727348a95fe70c519696"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.2-461-g158eabd",
|
|
||||||
"Rev": "158eabdd6f2408067c1d7656fa10e49434f96480"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "ee53b27929ebf0a6d217c96d2107c6c09b8bebb3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-getter",
|
|
||||||
"Rev": "2463fe5ef95a59a4096482fb9390b5683a5c380a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "2b9865f60ce11e527bd1255ba82036d465570aa3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "4de51957ef8d4aba6e285ddfc587633bbfc7c0e8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/logutils",
|
|
||||||
"Rev": "0dc08b1671f34c4250ce212759ebd880f743d883"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "ddcd0a6ec7c55e29f235e27935bf98d302281bd3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-5-g61a5285",
|
|
||||||
"Rev": "61a52852277811e93e06d28e0d0c396284a7730b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/kardianos/osext",
|
|
||||||
"Rev": "6e7f843663477789fac7c02def0d0909e969b4e5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "e3e57d617b7d9573db6c98567a261916ff53cfb3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "e3e57d617b7d9573db6c98567a261916ff53cfb3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "8102d0ed5ea2709ade1243798785888175f6e415"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "8631ce90f28644f54aeedcb3e389a85174e067d1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "df55a15e5ce646808815381b3db47a8c66ea62f4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "5e2d6d41470f99c881826dedd8c526728b783c9c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.6-114-gd66268f",
|
|
||||||
"Rev": "d66268f5f92dc3f785616f9d10f233ece8636e9c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "1655d88c8ff7495ae9d2c19fd8f445f4657e22b0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "3d184cea22ee1c41ec1697e0d830ff0c78f7ea97"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packethost/packngo",
|
|
||||||
"Rev": "f03d7dc788a8b57b62d301ccb98c950c325756f8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pborman/uuid",
|
|
||||||
"Rev": "cccd189d45f7ac3368a0d127efb7f4d08ae0b655"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "922f1c75017c54430fb706364d29eff10f64c56d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "59fa6243d3d5ac56ab0df76be4c6da30821154b0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "5b02e7e9ffee9869f81393e80db138f6ff726260"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-683-gdc139e8",
|
|
||||||
"Rev": "dc139e8a4612310304c1c71aa2b07d94ab7bdeaf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "08f0718b61e95ddba0ade3346725fe0e4bf28ca6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/tent/http-link-go",
|
|
||||||
"Rev": "ac974c61c2f990f4115b119354b5e0b47550e888"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ugorji/go/codec",
|
|
||||||
"Rev": "8a2a3a8c488c3ebd98f422a965260278267a0551"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vmware/govmomi",
|
|
||||||
"Comment": "v0.2.0-32-gc33a28e",
|
|
||||||
"Rev": "c33a28ed780856865047dda04412c67f2d55de8e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-48-g0e6e56f",
|
|
||||||
"Rev": "0e6e56fc0db3f48f060273f2e2ffe5d8d41b0112"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/curve25519",
|
|
||||||
"Rev": "c8b9e6388ef638d5a8a9d865c634befdc46a6784"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/pkcs12",
|
|
||||||
"Rev": "c8b9e6388ef638d5a8a9d865c634befdc46a6784"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "c8b9e6388ef638d5a8a9d865c634befdc46a6784"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "9946ad7d5eae91d8edca4f54d1a1e130a052e823"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "ef4eca6b097fad7cec79afcc278d213a6de1c960"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/internal",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "2400193c85c3561d13880d34e0e10c4315bb02af"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "2400193c85c3561d13880d34e0e10c4315bb02af"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,489 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.4.2",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-261-g3dcabb6",
|
|
||||||
"Rev": "3dcabb61c225af4013db7af20d4fe430fd09e311"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-cidr/cidr",
|
|
||||||
"Rev": "a3ebdb999b831ecb6ab8a226e31b07b2b9061c47"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-rundeck-api/rundeck",
|
|
||||||
"Comment": "v0.0.1",
|
|
||||||
"Rev": "cddcfbabbe903e9c8df35ff9569dbb8d67789200"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "bbbad097214e2918d8543d5201d12bfd7bca254d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/endpoints",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/ec2query",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/json/jsonutil",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/jsonrpc",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/query",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/rest",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restjson",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/restxml",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/internal/signer/v4",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/codedeploy",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/directoryservice",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/efs",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/glacier",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/opsworks",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/awslabs/aws-sdk-go/aws",
|
|
||||||
"Comment": "v0.9.16-1-g66c840e",
|
|
||||||
"Rev": "66c840e9981dd121a4239fc25e33b6c1c1caa781"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/client",
|
|
||||||
"Comment": "v2.2.0-261-gae62a77",
|
|
||||||
"Rev": "ae62a77de61d70f434ed848ba48b44247cb54c94"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/pathutil",
|
|
||||||
"Comment": "v2.2.0-261-gae62a77",
|
|
||||||
"Rev": "ae62a77de61d70f434ed848ba48b44247cb54c94"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/types",
|
|
||||||
"Comment": "v2.2.0-261-gae62a77",
|
|
||||||
"Rev": "ae62a77de61d70f434ed848ba48b44247cb54c94"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "8344c6a3e281a99a693f5b71186249a8620eeb6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/digitalocean/godo",
|
|
||||||
"Comment": "v0.9.0-2-gc03bb09",
|
|
||||||
"Rev": "c03bb099b8dc38e87581902a56885013a0865703"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "44f75219dec4d25d3ac5483d38d3ada7eaf047ab"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/google/go-querystring/query",
|
|
||||||
"Rev": "547ef5ac979778feb2f760cdb5f4eae1a2207b86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-81-g6c9afe8",
|
|
||||||
"Rev": "6c9afe8bb88099b424db07dea18f434371de8199"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-81-g6c9afe8",
|
|
||||||
"Rev": "6c9afe8bb88099b424db07dea18f434371de8199"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.5.2-469-g6a350d5",
|
|
||||||
"Rev": "6a350d5d19a41f94e0c99a933410e8545c4e7a51"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "e4b2dc34c0f698ee04750bf2035d8b9384233e1b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-cleanhttp",
|
|
||||||
"Rev": "5df5ddc69534f1a4697289f1dca2193fbb40213f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-getter",
|
|
||||||
"Rev": "2463fe5ef95a59a4096482fb9390b5683a5c380a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "2b9865f60ce11e527bd1255ba82036d465570aa3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "4de51957ef8d4aba6e285ddfc587633bbfc7c0e8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/logutils",
|
|
||||||
"Rev": "0dc08b1671f34c4250ce212759ebd880f743d883"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "ddcd0a6ec7c55e29f235e27935bf98d302281bd3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-5-g61a5285",
|
|
||||||
"Rev": "61a52852277811e93e06d28e0d0c396284a7730b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/kardianos/osext",
|
|
||||||
"Rev": "6e7f843663477789fac7c02def0d0909e969b4e5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "e3e57d617b7d9573db6c98567a261916ff53cfb3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "e3e57d617b7d9573db6c98567a261916ff53cfb3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "8102d0ed5ea2709ade1243798785888175f6e415"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "8631ce90f28644f54aeedcb3e389a85174e067d1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "df55a15e5ce646808815381b3db47a8c66ea62f4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/osext",
|
|
||||||
"Rev": "5e2d6d41470f99c881826dedd8c526728b783c9c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.6-128-g8e63ce1",
|
|
||||||
"Rev": "8e63ce13028ed6a3204d7ed210c4790ea11d7db9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "1655d88c8ff7495ae9d2c19fd8f445f4657e22b0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "3d184cea22ee1c41ec1697e0d830ff0c78f7ea97"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packethost/packngo",
|
|
||||||
"Rev": "f03d7dc788a8b57b62d301ccb98c950c325756f8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pborman/uuid",
|
|
||||||
"Rev": "cccd189d45f7ac3368a0d127efb7f4d08ae0b655"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "3d4cd12a4c3a7fc29b338b774f7f8b7e3d5afc2e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "78996265f576c7580ff75d0cb2c606a61883ceb8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "b88605989c4141d22a6d874f78800399e5bb7ac2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-685-g63ee53d",
|
|
||||||
"Rev": "63ee53d682169b50b8dfaca88722ba19bd5b17a6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "08f0718b61e95ddba0ade3346725fe0e4bf28ca6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/tent/http-link-go",
|
|
||||||
"Rev": "ac974c61c2f990f4115b119354b5e0b47550e888"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ugorji/go/codec",
|
|
||||||
"Rev": "8a2a3a8c488c3ebd98f422a965260278267a0551"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vaughan0/go-ini",
|
|
||||||
"Rev": "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vmware/govmomi",
|
|
||||||
"Comment": "v0.2.0-36-g6be2410",
|
|
||||||
"Rev": "6be2410334b7be4f6f8962206e49042207f99673"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-48-g0e6e56f",
|
|
||||||
"Rev": "0e6e56fc0db3f48f060273f2e2ffe5d8d41b0112"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/curve25519",
|
|
||||||
"Rev": "c8b9e6388ef638d5a8a9d865c634befdc46a6784"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/pkcs12",
|
|
||||||
"Rev": "c8b9e6388ef638d5a8a9d865c634befdc46a6784"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "c8b9e6388ef638d5a8a9d865c634befdc46a6784"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "2cba614e8ff920c60240d2677bc019af32ee04e5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "038cb4adce85ed41e285c2e7cc6221a92bfa44aa"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/internal",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "c83ee8e9b7e6c40a486c0992a963ea8b6911de67"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "2400193c85c3561d13880d34e0e10c4315bb02af"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "2400193c85c3561d13880d34e0e10c4315bb02af"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,525 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.5.1",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-275-g3b480ea",
|
|
||||||
"Rev": "3b480eaaf6b4236d43a3c06cba969da6f53c8b66"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-275-g3b480ea",
|
|
||||||
"Rev": "3b480eaaf6b4236d43a3c06cba969da6f53c8b66"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-275-g3b480ea",
|
|
||||||
"Rev": "3b480eaaf6b4236d43a3c06cba969da6f53c8b66"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-275-g3b480ea",
|
|
||||||
"Rev": "3b480eaaf6b4236d43a3c06cba969da6f53c8b66"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-cidr/cidr",
|
|
||||||
"Rev": "a3ebdb999b831ecb6ab8a226e31b07b2b9061c47"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-rundeck-api/rundeck",
|
|
||||||
"Comment": "v0.0.1",
|
|
||||||
"Rev": "cddcfbabbe903e9c8df35ff9569dbb8d67789200"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "bbbad097214e2918d8543d5201d12bfd7bca254d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/endpoints",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/ec2query",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/query",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/rest",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/restjson",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/restxml",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/signer/v4",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/waiter",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudformation",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudtrail",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/codecommit",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/codedeploy",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/directoryservice",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/efs",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/firehose",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/glacier",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/opsworks",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v1.0.0-1-g328e030",
|
|
||||||
"Rev": "328e030f73f66922cb9c1357de794ee1bf0ca2b5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/client",
|
|
||||||
"Comment": "v2.3.0-alpha.0-90-gd435d44",
|
|
||||||
"Rev": "d435d443bb7659a2ff400c185fe5c6eea9fc81ed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/pathutil",
|
|
||||||
"Comment": "v2.3.0-alpha.0-90-gd435d44",
|
|
||||||
"Rev": "d435d443bb7659a2ff400c185fe5c6eea9fc81ed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/types",
|
|
||||||
"Comment": "v2.3.0-alpha.0-90-gd435d44",
|
|
||||||
"Rev": "d435d443bb7659a2ff400c185fe5c6eea9fc81ed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "8344c6a3e281a99a693f5b71186249a8620eeb6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/digitalocean/godo",
|
|
||||||
"Comment": "v0.9.0-10-g4ac7bea",
|
|
||||||
"Rev": "4ac7bea157899131b3f94085219a4c650e19f696"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "0f5764b4d2f5b8928a05db1226a508817a9a01dd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/go-ini/ini",
|
|
||||||
"Comment": "v0-54-g2e44421",
|
|
||||||
"Rev": "2e44421e256d82ebbf3d4d4fcabe8930b905eff3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/google/go-querystring/query",
|
|
||||||
"Rev": "2a60fc2ba6c19de80291203597d752e9ba58e4c0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-81-g6c9afe8",
|
|
||||||
"Rev": "6c9afe8bb88099b424db07dea18f434371de8199"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-81-g6c9afe8",
|
|
||||||
"Rev": "6c9afe8bb88099b424db07dea18f434371de8199"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.6.0-rc2-8-g4d42ff6",
|
|
||||||
"Rev": "4d42ff66e304e3f09eaae621ea4b0792e435064a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "e4b2dc34c0f698ee04750bf2035d8b9384233e1b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-cleanhttp",
|
|
||||||
"Rev": "5df5ddc69534f1a4697289f1dca2193fbb40213f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-getter",
|
|
||||||
"Rev": "c5e245982bdb4708f89578c8e0054d82b5197401"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "2b9865f60ce11e527bd1255ba82036d465570aa3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "1688f22977e3b0bbdf1aaa5e2528cf10c2e93e78"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/logutils",
|
|
||||||
"Rev": "0dc08b1671f34c4250ce212759ebd880f743d883"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/serf/coordinate",
|
|
||||||
"Comment": "v0.6.4-145-ga72c045",
|
|
||||||
"Rev": "a72c0453da2ba628a013e98bf323a76be4aa1443"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "ddcd0a6ec7c55e29f235e27935bf98d302281bd3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-8-gbb554f9",
|
|
||||||
"Rev": "bb554f9fd6ee4cd190eef868de608ced813aeda1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/jmespath/go-jmespath",
|
|
||||||
"Comment": "0.2.2",
|
|
||||||
"Rev": "3433f3ea46d9f8019119e7dd41274e112a2359a9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/kardianos/osext",
|
|
||||||
"Rev": "345163ffe35aa66560a4cd7dddf00f3ae21c9fda"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "06208eee5d76e4a422494e25629cefec42b9b3ac"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "06208eee5d76e4a422494e25629cefec42b9b3ac"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "8102d0ed5ea2709ade1243798785888175f6e415"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "8631ce90f28644f54aeedcb3e389a85174e067d1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "d682a8f0cf139663a984ff12528da460ca963de9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.6-228-g25108c8",
|
|
||||||
"Rev": "25108c8d13912434d0f32faaf1ea13cdc537b21e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "89dc8accc8fec9dfa9b8e1ffdd6793265253de16"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nesv/go-dynect/dynect",
|
|
||||||
"Comment": "v0.2.0-8-g841842b",
|
|
||||||
"Rev": "841842b16b39cf2b5007278956976d7d909bd98b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "3d184cea22ee1c41ec1697e0d830ff0c78f7ea97"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packethost/packngo",
|
|
||||||
"Rev": "f03d7dc788a8b57b62d301ccb98c950c325756f8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pborman/uuid",
|
|
||||||
"Rev": "cccd189d45f7ac3368a0d127efb7f4d08ae0b655"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "3d4cd12a4c3a7fc29b338b774f7f8b7e3d5afc2e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "78996265f576c7580ff75d0cb2c606a61883ceb8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "b88605989c4141d22a6d874f78800399e5bb7ac2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-757-g761cff8",
|
|
||||||
"Rev": "761cff8afb6a8e7f42c5554a90dae72f341bb481"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "d41af8bb6a7704f00bc3b7cba9355ae6a5a80048"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/tent/http-link-go",
|
|
||||||
"Rev": "ac974c61c2f990f4115b119354b5e0b47550e888"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ugorji/go/codec",
|
|
||||||
"Rev": "ea9cd21fa0bc41ee4bdd50ac7ed8cbc7ea2ed960"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vmware/govmomi",
|
|
||||||
"Comment": "v0.2.0-94-gdaf6c9c",
|
|
||||||
"Rev": "daf6c9cce2d14cdd05fc38319ad58a5e0d3f7654"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-48-g0e6e56f",
|
|
||||||
"Rev": "0e6e56fc0db3f48f060273f2e2ffe5d8d41b0112"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/curve25519",
|
|
||||||
"Rev": "beef0f4390813b96e8e68fd78570396d0f4751fc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/pkcs12",
|
|
||||||
"Rev": "beef0f4390813b96e8e68fd78570396d0f4751fc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "beef0f4390813b96e8e68fd78570396d0f4751fc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "4f2fc6c1e69d41baf187332ee08fbd2b296f21ed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "442624c9ec9243441e83b374a9e22ac549b5c51d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "030d584ade5f79aa2ed0ce067e8f7da50c9a10d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "030d584ade5f79aa2ed0ce067e8f7da50c9a10d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "030d584ade5f79aa2ed0ce067e8f7da50c9a10d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/gensupport",
|
|
||||||
"Rev": "030d584ade5f79aa2ed0ce067e8f7da50c9a10d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "030d584ade5f79aa2ed0ce067e8f7da50c9a10d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/sqladmin/v1beta4",
|
|
||||||
"Rev": "030d584ade5f79aa2ed0ce067e8f7da50c9a10d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "030d584ade5f79aa2ed0ce067e8f7da50c9a10d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "975617b05ea8a58727e6c1a06b6161ff4185a9f2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "975617b05ea8a58727e6c1a06b6161ff4185a9f2"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,529 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.5.1",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-277-g8484320",
|
|
||||||
"Rev": "84843207ea0c77c8c8aecbe2e16ac77caa8ce9cc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-277-g8484320",
|
|
||||||
"Rev": "84843207ea0c77c8c8aecbe2e16ac77caa8ce9cc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-277-g8484320",
|
|
||||||
"Rev": "84843207ea0c77c8c8aecbe2e16ac77caa8ce9cc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-277-g8484320",
|
|
||||||
"Rev": "84843207ea0c77c8c8aecbe2e16ac77caa8ce9cc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/DreamItGetIT/statuscake",
|
|
||||||
"Rev": "8cbe86575f00210a6df2c19cb2f59b00cd181de3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-cidr/cidr",
|
|
||||||
"Rev": "a3ebdb999b831ecb6ab8a226e31b07b2b9061c47"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-rundeck-api/rundeck",
|
|
||||||
"Comment": "v0.0.1",
|
|
||||||
"Rev": "cddcfbabbe903e9c8df35ff9569dbb8d67789200"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "bbbad097214e2918d8543d5201d12bfd7bca254d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/endpoints",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/ec2query",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/query",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/rest",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/restjson",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/restxml",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/signer/v4",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/waiter",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudformation",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudtrail",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/codecommit",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/codedeploy",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/directoryservice",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/efs",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/firehose",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/glacier",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/opsworks",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v1.0.2-4-geac6a33",
|
|
||||||
"Rev": "eac6a331d353c78ab5815fc6a59c1ffe8e92afba"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/client",
|
|
||||||
"Comment": "v2.3.0-alpha.0-125-gdd733ca",
|
|
||||||
"Rev": "dd733ca51d5f4c60def1403739b5701a7a7751c4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/pathutil",
|
|
||||||
"Comment": "v2.3.0-alpha.0-125-gdd733ca",
|
|
||||||
"Rev": "dd733ca51d5f4c60def1403739b5701a7a7751c4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/types",
|
|
||||||
"Comment": "v2.3.0-alpha.0-125-gdd733ca",
|
|
||||||
"Rev": "dd733ca51d5f4c60def1403739b5701a7a7751c4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "8344c6a3e281a99a693f5b71186249a8620eeb6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/digitalocean/godo",
|
|
||||||
"Comment": "v0.9.0-12-gccd7d9b",
|
|
||||||
"Rev": "ccd7d9b6bbf2361014a8334ad3c9280b88299ef9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "3e9661c52c45dab9a8528966a23d421922fca9b9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "dc4295a98977ab5b1983051bc169b784c4b423df"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/go-ini/ini",
|
|
||||||
"Comment": "v0-56-g03e0e7d",
|
|
||||||
"Rev": "03e0e7d51a13a91c765d8d0161246bc14a38001a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/google/go-querystring/query",
|
|
||||||
"Rev": "2a60fc2ba6c19de80291203597d752e9ba58e4c0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-81-g6c9afe8",
|
|
||||||
"Rev": "6c9afe8bb88099b424db07dea18f434371de8199"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-81-g6c9afe8",
|
|
||||||
"Rev": "6c9afe8bb88099b424db07dea18f434371de8199"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.6.0-rc2-29-g6db8acc",
|
|
||||||
"Rev": "6db8acc6585e318168e2bf3c886d49a28a75d114"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "e4b2dc34c0f698ee04750bf2035d8b9384233e1b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-cleanhttp",
|
|
||||||
"Rev": "5df5ddc69534f1a4697289f1dca2193fbb40213f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-getter",
|
|
||||||
"Rev": "c5e245982bdb4708f89578c8e0054d82b5197401"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "2b9865f60ce11e527bd1255ba82036d465570aa3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "c40ec20b1285f01e9e75ec39f2bf2cff132891d3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/logutils",
|
|
||||||
"Rev": "0dc08b1671f34c4250ce212759ebd880f743d883"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/serf/coordinate",
|
|
||||||
"Comment": "v0.6.4-145-ga72c045",
|
|
||||||
"Rev": "a72c0453da2ba628a013e98bf323a76be4aa1443"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "df949784da9ed028ee76df44652e42d37a09d7e4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-8-gbb554f9",
|
|
||||||
"Rev": "bb554f9fd6ee4cd190eef868de608ced813aeda1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/jmespath/go-jmespath",
|
|
||||||
"Comment": "0.2.2",
|
|
||||||
"Rev": "3433f3ea46d9f8019119e7dd41274e112a2359a9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/kardianos/osext",
|
|
||||||
"Rev": "10da29423eb9a6269092eebdc2be32209612d9d2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "06208eee5d76e4a422494e25629cefec42b9b3ac"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "06208eee5d76e4a422494e25629cefec42b9b3ac"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "8102d0ed5ea2709ade1243798785888175f6e415"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "8631ce90f28644f54aeedcb3e389a85174e067d1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "d682a8f0cf139663a984ff12528da460ca963de9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.6-230-g400d1e5",
|
|
||||||
"Rev": "400d1e560009fac403a776532549841e40f3a4b8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "89dc8accc8fec9dfa9b8e1ffdd6793265253de16"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "89d9b535996bf0a185f85b59578f2e245f9e1724"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nesv/go-dynect/dynect",
|
|
||||||
"Comment": "v0.2.0-8-g841842b",
|
|
||||||
"Rev": "841842b16b39cf2b5007278956976d7d909bd98b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "3d184cea22ee1c41ec1697e0d830ff0c78f7ea97"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packethost/packngo",
|
|
||||||
"Rev": "f03d7dc788a8b57b62d301ccb98c950c325756f8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pborman/uuid",
|
|
||||||
"Rev": "cccd189d45f7ac3368a0d127efb7f4d08ae0b655"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "3d4cd12a4c3a7fc29b338b774f7f8b7e3d5afc2e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "78996265f576c7580ff75d0cb2c606a61883ceb8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "b88605989c4141d22a6d874f78800399e5bb7ac2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-757-g761cff8",
|
|
||||||
"Rev": "761cff8afb6a8e7f42c5554a90dae72f341bb481"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "d41af8bb6a7704f00bc3b7cba9355ae6a5a80048"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/tent/http-link-go",
|
|
||||||
"Rev": "ac974c61c2f990f4115b119354b5e0b47550e888"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ugorji/go/codec",
|
|
||||||
"Rev": "357a44b2b13e2711a45e30016508134101477610"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vmware/govmomi",
|
|
||||||
"Comment": "v0.2.0-109-g699ac63",
|
|
||||||
"Rev": "699ac6397b74781d2d6519ad2ae408298075e205"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-50-g104168f",
|
|
||||||
"Rev": "104168fa792713f5e04b76e2862779dc2ad85bcc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/curve25519",
|
|
||||||
"Rev": "7b85b097bf7527677d54d3220065e966a0e3b613"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/pkcs12",
|
|
||||||
"Rev": "7b85b097bf7527677d54d3220065e966a0e3b613"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "7b85b097bf7527677d54d3220065e966a0e3b613"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "195180cfebf7362bd243a52477697895128c8777"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "442624c9ec9243441e83b374a9e22ac549b5c51d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "ece7143efeb53ec1839b960a0849db4e57d3cfa2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "ece7143efeb53ec1839b960a0849db4e57d3cfa2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "ece7143efeb53ec1839b960a0849db4e57d3cfa2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/gensupport",
|
|
||||||
"Rev": "ece7143efeb53ec1839b960a0849db4e57d3cfa2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "ece7143efeb53ec1839b960a0849db4e57d3cfa2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/sqladmin/v1beta4",
|
|
||||||
"Rev": "ece7143efeb53ec1839b960a0849db4e57d3cfa2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "ece7143efeb53ec1839b960a0849db4e57d3cfa2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "2375e186ca77be721a7c9c7b13a659738a8511d2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "2375e186ca77be721a7c9c7b13a659738a8511d2"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,643 +0,0 @@
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/terraform",
|
|
||||||
"GoVersion": "go1.5",
|
|
||||||
"Packages": [
|
|
||||||
"./..."
|
|
||||||
],
|
|
||||||
"Deps": [
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/compute",
|
|
||||||
"Comment": "v1.2-304-g01f39a2",
|
|
||||||
"Rev": "01f39a2ee8de1e51edeeb4975d406c3901723f86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/network",
|
|
||||||
"Comment": "v1.2-304-g01f39a2",
|
|
||||||
"Rev": "01f39a2ee8de1e51edeeb4975d406c3901723f86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/resources",
|
|
||||||
"Comment": "v1.2-304-g01f39a2",
|
|
||||||
"Rev": "01f39a2ee8de1e51edeeb4975d406c3901723f86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/scheduler",
|
|
||||||
"Comment": "v1.2-304-g01f39a2",
|
|
||||||
"Rev": "01f39a2ee8de1e51edeeb4975d406c3901723f86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/arm/storage",
|
|
||||||
"Comment": "v1.2-304-g01f39a2",
|
|
||||||
"Rev": "01f39a2ee8de1e51edeeb4975d406c3901723f86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/http",
|
|
||||||
"Comment": "v1.2-304-g01f39a2",
|
|
||||||
"Rev": "01f39a2ee8de1e51edeeb4975d406c3901723f86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/core/tls",
|
|
||||||
"Comment": "v1.2-304-g01f39a2",
|
|
||||||
"Rev": "01f39a2ee8de1e51edeeb4975d406c3901723f86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/management",
|
|
||||||
"Comment": "v1.2-304-g01f39a2",
|
|
||||||
"Rev": "01f39a2ee8de1e51edeeb4975d406c3901723f86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/azure-sdk-for-go/storage",
|
|
||||||
"Comment": "v1.2-304-g01f39a2",
|
|
||||||
"Rev": "01f39a2ee8de1e51edeeb4975d406c3901723f86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/Azure/go-autorest/autorest",
|
|
||||||
"Comment": "v2.1.0-2-gbdba0a8",
|
|
||||||
"Rev": "bdba0a8422e534e5b680cbd3453840a49f7736c6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/DreamItGetIT/statuscake",
|
|
||||||
"Rev": "8cbe86575f00210a6df2c19cb2f59b00cd181de3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/CenturyLinkCloud/clc-sdk",
|
|
||||||
"Rev": "74abd779894192c559ad29f0183a1716370490ad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-cidr/cidr",
|
|
||||||
"Rev": "a3ebdb999b831ecb6ab8a226e31b07b2b9061c47"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/apparentlymart/go-rundeck-api/rundeck",
|
|
||||||
"Comment": "v0.0.1",
|
|
||||||
"Rev": "cddcfbabbe903e9c8df35ff9569dbb8d67789200"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/armon/circbuf",
|
|
||||||
"Rev": "bbbad097214e2918d8543d5201d12bfd7bca254d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/aws",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/endpoints",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/ec2query",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/query",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/rest",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/restjson",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/restxml",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/signer/v4",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/private/waiter",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudformation",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudtrail",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatch",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/cloudwatchlogs",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/codecommit",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/codedeploy",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/directoryservice",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/dynamodb",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ec2",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecr",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/ecs",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/efs",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticache",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elasticsearchservice",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/elb",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/firehose",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/glacier",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/iam",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/kinesis",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/lambda",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/opsworks",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/rds",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/route53",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/s3",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sns",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/aws/aws-sdk-go/service/sqs",
|
|
||||||
"Comment": "v1.0.7-18-gf5560d9",
|
|
||||||
"Rev": "f5560d971c22b44673247c6b77de26fe22e89189"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/bgentry/speakeasy",
|
|
||||||
"Rev": "36e9cfdd690967f4f690c6edcc9ffacd006014a0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/client",
|
|
||||||
"Comment": "v2.3.0-alpha.0-416-gcb3ca4f",
|
|
||||||
"Rev": "cb3ca4f8fbc58a900e3b606c40b84d137a9b7abf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/pathutil",
|
|
||||||
"Comment": "v2.3.0-alpha.0-416-gcb3ca4f",
|
|
||||||
"Rev": "cb3ca4f8fbc58a900e3b606c40b84d137a9b7abf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/coreos/etcd/pkg/types",
|
|
||||||
"Comment": "v2.3.0-alpha.0-416-gcb3ca4f",
|
|
||||||
"Rev": "cb3ca4f8fbc58a900e3b606c40b84d137a9b7abf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/cyberdelia/heroku-go/v3",
|
|
||||||
"Rev": "8344c6a3e281a99a693f5b71186249a8620eeb6b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dgrijalva/jwt-go",
|
|
||||||
"Comment": "v2.4.0-4-gafef698",
|
|
||||||
"Rev": "afef698c326bfd906b11659432544e5aae441d44"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/digitalocean/godo",
|
|
||||||
"Comment": "v0.9.0-16-g2688c11",
|
|
||||||
"Rev": "2688c11a02dc3deac65645c82c3c812f95e417bf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/iso8601",
|
|
||||||
"Rev": "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/dylanmei/winrmtest",
|
|
||||||
"Rev": "025617847eb2cf9bd1d851bc3b22ed28e6245ce5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/fsouza/go-dockerclient",
|
|
||||||
"Rev": "175e1df973274f04e9b459a62cffc49808f1a649"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/go-chef/chef",
|
|
||||||
"Comment": "0.0.1-42-gea19666",
|
|
||||||
"Rev": "ea196660dd8700ad18911681b223fe6bfc29cd69"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/go-ini/ini",
|
|
||||||
"Comment": "v1.8.6",
|
|
||||||
"Rev": "afbd495e5aaea13597b5e14fe514ddeaa4d76fc3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/golang/protobuf/proto",
|
|
||||||
"Rev": "2402d76f3d41f928c7902a765dfc872356dd3aad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/google/go-querystring/query",
|
|
||||||
"Rev": "2a60fc2ba6c19de80291203597d752e9ba58e4c0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/archive",
|
|
||||||
"Comment": "20141209094003-84-gb66e377",
|
|
||||||
"Rev": "b66e377f52e316206efe71abba20e276d8790d86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/atlas-go/v1",
|
|
||||||
"Comment": "20141209094003-84-gb66e377",
|
|
||||||
"Rev": "b66e377f52e316206efe71abba20e276d8790d86"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/consul/api",
|
|
||||||
"Comment": "v0.6.1-7-g81cac9a",
|
|
||||||
"Rev": "81cac9aaa5c56aa42fe33e031dc65260ba31a373"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/errwrap",
|
|
||||||
"Rev": "7554cd9344cec97297fa6649b055a8c98c2a1e55"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-checkpoint",
|
|
||||||
"Rev": "e4b2dc34c0f698ee04750bf2035d8b9384233e1b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-cleanhttp",
|
|
||||||
"Rev": "ce617e79981a8fff618bb643d155133a8f38db96"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-getter",
|
|
||||||
"Rev": "c5e245982bdb4708f89578c8e0054d82b5197401"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-multierror",
|
|
||||||
"Rev": "d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-retryablehttp",
|
|
||||||
"Rev": "24fda80b7c713c52649e57ce20100d453f7bdb24"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/go-version",
|
|
||||||
"Rev": "2b9865f60ce11e527bd1255ba82036d465570aa3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/hcl",
|
|
||||||
"Rev": "197e8d3cf42199cfd53cd775deb37f3637234635"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/logutils",
|
|
||||||
"Rev": "0dc08b1671f34c4250ce212759ebd880f743d883"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/serf/coordinate",
|
|
||||||
"Comment": "v0.7.0-1-g39c7c06",
|
|
||||||
"Rev": "39c7c06298b480560202bec00c2c77e974e88792"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hashicorp/yamux",
|
|
||||||
"Rev": "df949784da9ed028ee76df44652e42d37a09d7e4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/hmrc/vmware-govcd",
|
|
||||||
"Comment": "v0.0.2-29-g8d41785",
|
|
||||||
"Rev": "8d41785649f2bd8e90f8fd34183e9f2c64322a83"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/imdario/mergo",
|
|
||||||
"Comment": "0.2.0-10-gbc0f156",
|
|
||||||
"Rev": "bc0f15622cd2a38ef83388501e4cd6747665b164"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/jmespath/go-jmespath",
|
|
||||||
"Comment": "0.2.2-2-gc01cf91",
|
|
||||||
"Rev": "c01cf91b011868172fdcd9f41838e80c9d716264"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/kardianos/osext",
|
|
||||||
"Rev": "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/lib/pq",
|
|
||||||
"Comment": "go1.0-cutoff-63-g11fc39a",
|
|
||||||
"Rev": "11fc39a580a008f1f39bb3d11d984fb34ed778d9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/lusis/go-artifactory/src/artifactory.v401",
|
|
||||||
"Rev": "11648aea3ce529414641a1f0e4f48de844d8befe"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/simplexml/dom",
|
|
||||||
"Rev": "95ba30457eb1121fa27753627c774c7cd4e90083"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/soap",
|
|
||||||
"Rev": "54ea5d01478cfc2afccec1504bd0dfcd8c260cfa"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/winrm/winrm",
|
|
||||||
"Rev": "54ea5d01478cfc2afccec1504bd0dfcd8c260cfa"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/masterzen/xmlpath",
|
|
||||||
"Rev": "13f4951698adc0fa9c1dda3e275d489a24201161"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mattn/go-isatty",
|
|
||||||
"Rev": "56b76bdf51f7708750eac80fa38b952bb9f32639"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/cli",
|
|
||||||
"Rev": "43a4bc367e0d53f561d3d985b9dca84e15bd0554"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/colorstring",
|
|
||||||
"Rev": "8631ce90f28644f54aeedcb3e389a85174e067d1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/copystructure",
|
|
||||||
"Rev": "6fc66267e9da7d155a9d3bd489e00dad02666dc6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-homedir",
|
|
||||||
"Rev": "d682a8f0cf139663a984ff12528da460ca963de9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/go-linereader",
|
|
||||||
"Rev": "07bab5fdd9580500aea6ada0e09df4aa28e68abd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/mapstructure",
|
|
||||||
"Rev": "281073eb9eb092240d33ef253c404f1cca550309"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/packer/common/uuid",
|
|
||||||
"Comment": "v0.8.6-266-gd507b18",
|
|
||||||
"Rev": "d507b18eb4cf00b7d832c8c3fc7bb46b6377b551"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/panicwrap",
|
|
||||||
"Rev": "a1e50bc201f387747a45ffff020f1af2d8759e88"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/prefixedio",
|
|
||||||
"Rev": "6e6954073784f7ee67b28f2d22749d6479151ed7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/mitchellh/reflectwalk",
|
|
||||||
"Rev": "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nesv/go-dynect/dynect",
|
|
||||||
"Comment": "v0.2.0-8-g841842b",
|
|
||||||
"Rev": "841842b16b39cf2b5007278956976d7d909bd98b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/nu7hatch/gouuid",
|
|
||||||
"Rev": "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packer-community/winrmcp/winrmcp",
|
|
||||||
"Rev": "3d184cea22ee1c41ec1697e0d830ff0c78f7ea97"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/packethost/packngo",
|
|
||||||
"Rev": "f03d7dc788a8b57b62d301ccb98c950c325756f8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pborman/uuid",
|
|
||||||
"Rev": "dee7705ef7b324f27ceb85a121c61f2c2e8ce988"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/cloudflare",
|
|
||||||
"Rev": "765ac1828a78ba49e6dc48309d56415c61806ac3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/dnsimple",
|
|
||||||
"Rev": "78996265f576c7580ff75d0cb2c606a61883ceb8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/pearkes/mailgun",
|
|
||||||
"Rev": "b88605989c4141d22a6d874f78800399e5bb7ac2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/rackspace/gophercloud",
|
|
||||||
"Comment": "v1.0.0-772-gc70720d",
|
|
||||||
"Rev": "c70720d7929fb03f6d2b329db5ad14d2ddefc418"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/satori/go.uuid",
|
|
||||||
"Rev": "d41af8bb6a7704f00bc3b7cba9355ae6a5a80048"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/soniah/dnsmadeeasy",
|
|
||||||
"Comment": "v1.1-2-g5578a8c",
|
|
||||||
"Rev": "5578a8c15e33958c61cf7db720b6181af65f4a9e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/sthulb/mime/multipart",
|
|
||||||
"Rev": "698462dc9685d7743511c26da726c1b0c1cfb111"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/tent/http-link-go",
|
|
||||||
"Rev": "ac974c61c2f990f4115b119354b5e0b47550e888"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ugorji/go/codec",
|
|
||||||
"Rev": "646ae4a518c1c3be0739df898118d9bccf993858"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/vmware/govmomi",
|
|
||||||
"Comment": "v0.2.0-136-g6cecd8a",
|
|
||||||
"Rev": "6cecd8ad370459553e779632e33f9af1e4f5a3f0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/go-cloudstack/cloudstack",
|
|
||||||
"Comment": "v1.2.0-53-geaf4e42",
|
|
||||||
"Rev": "eaf4e42852ca95fdd2ad70e18abad8ccb55bb611"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/xanzy/ssh-agent",
|
|
||||||
"Rev": "ba9c9e33906f58169366275e3450db66139a31a9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ziutek/mymysql/mysql",
|
|
||||||
"Comment": "v1.5.4-13-g75ce5fb",
|
|
||||||
"Rev": "75ce5fbba34b1912a3641adbd58cf317d7315821"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ziutek/mymysql/native",
|
|
||||||
"Comment": "v1.5.4-13-g75ce5fb",
|
|
||||||
"Rev": "75ce5fbba34b1912a3641adbd58cf317d7315821"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "github.com/ziutek/mymysql/thrsafe",
|
|
||||||
"Comment": "v1.5.4-13-g75ce5fb",
|
|
||||||
"Rev": "75ce5fbba34b1912a3641adbd58cf317d7315821"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/curve25519",
|
|
||||||
"Rev": "f23ba3a5ee43012fcb4b92e1a2a405a92554f4f2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/pkcs12",
|
|
||||||
"Rev": "f23ba3a5ee43012fcb4b92e1a2a405a92554f4f2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/crypto/ssh",
|
|
||||||
"Rev": "f23ba3a5ee43012fcb4b92e1a2a405a92554f4f2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/net/context",
|
|
||||||
"Rev": "f1d3149ecb40ffadf4a28d39a30f9a125fe57bdf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/oauth2",
|
|
||||||
"Rev": "2baa8a1b9338cf13d9eeb27696d761155fa480be"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "golang.org/x/sys/unix",
|
|
||||||
"Rev": "833a04a10549a95dc34458c195cbad61bbb6cb4d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/compute/v1",
|
|
||||||
"Rev": "77e7d383beb96054547729f49c372b3d01e196ff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/container/v1",
|
|
||||||
"Rev": "77e7d383beb96054547729f49c372b3d01e196ff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/dns/v1",
|
|
||||||
"Rev": "77e7d383beb96054547729f49c372b3d01e196ff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/gensupport",
|
|
||||||
"Rev": "77e7d383beb96054547729f49c372b3d01e196ff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/googleapi",
|
|
||||||
"Rev": "77e7d383beb96054547729f49c372b3d01e196ff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/pubsub/v1",
|
|
||||||
"Rev": "77e7d383beb96054547729f49c372b3d01e196ff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/sqladmin/v1beta4",
|
|
||||||
"Rev": "77e7d383beb96054547729f49c372b3d01e196ff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/api/storage/v1",
|
|
||||||
"Rev": "77e7d383beb96054547729f49c372b3d01e196ff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/appengine",
|
|
||||||
"Rev": "54bf9150c922186bfc45a00bf9dfcb91a5063275"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/compute/metadata",
|
|
||||||
"Rev": "1bff51b8fae8d33cb3dab8f7858c266ce001ee3e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ImportPath": "google.golang.org/cloud/internal",
|
|
||||||
"Rev": "1bff51b8fae8d33cb3dab8f7858c266ce001ee3e"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
// This package is a wrapper around the GCE metadata service,
|
// This package is a wrapper around the GCE metadata service,
|
||||||
// as documented at https://developers.google.com/compute/docs/metadata.
|
// as documented at https://developers.google.com/compute/docs/metadata.
|
||||||
package metadata
|
package metadata // import "cloud.google.com/go/compute/metadata"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
@ -27,11 +27,27 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"google.golang.org/cloud/internal"
|
"golang.org/x/net/context"
|
||||||
|
"golang.org/x/net/context/ctxhttp"
|
||||||
|
|
||||||
|
"cloud.google.com/go/internal"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
// metadataIP is the documented metadata server IP address.
|
||||||
|
metadataIP = "169.254.169.254"
|
||||||
|
|
||||||
|
// metadataHostEnv is the environment variable specifying the
|
||||||
|
// GCE metadata hostname. If empty, the default value of
|
||||||
|
// metadataIP ("169.254.169.254") is used instead.
|
||||||
|
// This is variable name is not defined by any spec, as far as
|
||||||
|
// I know; it was made up for the Go package.
|
||||||
|
metadataHostEnv = "GCE_METADATA_HOST"
|
||||||
)
|
)
|
||||||
|
|
||||||
type cachedValue struct {
|
type cachedValue struct {
|
||||||
|
@ -47,17 +63,29 @@ var (
|
||||||
instID = &cachedValue{k: "instance/id", trim: true}
|
instID = &cachedValue{k: "instance/id", trim: true}
|
||||||
)
|
)
|
||||||
|
|
||||||
var metaClient = &http.Client{
|
var (
|
||||||
Transport: &internal.Transport{
|
metaClient = &http.Client{
|
||||||
Base: &http.Transport{
|
Transport: &internal.Transport{
|
||||||
Dial: (&net.Dialer{
|
Base: &http.Transport{
|
||||||
Timeout: 750 * time.Millisecond,
|
Dial: (&net.Dialer{
|
||||||
KeepAlive: 30 * time.Second,
|
Timeout: 2 * time.Second,
|
||||||
}).Dial,
|
KeepAlive: 30 * time.Second,
|
||||||
ResponseHeaderTimeout: 750 * time.Millisecond,
|
}).Dial,
|
||||||
|
ResponseHeaderTimeout: 2 * time.Second,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
}
|
||||||
}
|
subscribeClient = &http.Client{
|
||||||
|
Transport: &internal.Transport{
|
||||||
|
Base: &http.Transport{
|
||||||
|
Dial: (&net.Dialer{
|
||||||
|
Timeout: 2 * time.Second,
|
||||||
|
KeepAlive: 30 * time.Second,
|
||||||
|
}).Dial,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
// NotDefinedError is returned when requested metadata is not defined.
|
// NotDefinedError is returned when requested metadata is not defined.
|
||||||
//
|
//
|
||||||
|
@ -80,31 +108,31 @@ func (suffix NotDefinedError) Error() string {
|
||||||
// If the requested metadata is not defined, the returned error will
|
// If the requested metadata is not defined, the returned error will
|
||||||
// be of type NotDefinedError.
|
// be of type NotDefinedError.
|
||||||
func Get(suffix string) (string, error) {
|
func Get(suffix string) (string, error) {
|
||||||
val, _, err := getETag(suffix)
|
val, _, err := getETag(metaClient, suffix)
|
||||||
return val, err
|
return val, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// getETag returns a value from the metadata service as well as the associated
|
// getETag returns a value from the metadata service as well as the associated
|
||||||
// ETag. This func is otherwise equivalent to Get.
|
// ETag using the provided client. This func is otherwise equivalent to Get.
|
||||||
func getETag(suffix string) (value, etag string, err error) {
|
func getETag(client *http.Client, suffix string) (value, etag string, err error) {
|
||||||
// Using a fixed IP makes it very difficult to spoof the metadata service in
|
// Using a fixed IP makes it very difficult to spoof the metadata service in
|
||||||
// a container, which is an important use-case for local testing of cloud
|
// a container, which is an important use-case for local testing of cloud
|
||||||
// deployments. To enable spoofing of the metadata service, the environment
|
// deployments. To enable spoofing of the metadata service, the environment
|
||||||
// variable GCE_METADATA_HOST is first inspected to decide where metadata
|
// variable GCE_METADATA_HOST is first inspected to decide where metadata
|
||||||
// requests shall go.
|
// requests shall go.
|
||||||
host := os.Getenv("GCE_METADATA_HOST")
|
host := os.Getenv(metadataHostEnv)
|
||||||
if host == "" {
|
if host == "" {
|
||||||
// Using 169.254.169.254 instead of "metadata" here because Go
|
// Using 169.254.169.254 instead of "metadata" here because Go
|
||||||
// binaries built with the "netgo" tag and without cgo won't
|
// binaries built with the "netgo" tag and without cgo won't
|
||||||
// know the search suffix for "metadata" is
|
// know the search suffix for "metadata" is
|
||||||
// ".google.internal", and this IP address is documented as
|
// ".google.internal", and this IP address is documented as
|
||||||
// being stable anyway.
|
// being stable anyway.
|
||||||
host = "169.254.169.254"
|
host = metadataIP
|
||||||
}
|
}
|
||||||
url := "http://" + host + "/computeMetadata/v1/" + suffix
|
url := "http://" + host + "/computeMetadata/v1/" + suffix
|
||||||
req, _ := http.NewRequest("GET", url, nil)
|
req, _ := http.NewRequest("GET", url, nil)
|
||||||
req.Header.Set("Metadata-Flavor", "Google")
|
req.Header.Set("Metadata-Flavor", "Google")
|
||||||
res, err := metaClient.Do(req)
|
res, err := client.Do(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", "", err
|
return "", "", err
|
||||||
}
|
}
|
||||||
|
@ -145,33 +173,103 @@ func (c *cachedValue) get() (v string, err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var onGCE struct {
|
var (
|
||||||
sync.Mutex
|
onGCEOnce sync.Once
|
||||||
set bool
|
onGCE bool
|
||||||
v bool
|
)
|
||||||
}
|
|
||||||
|
|
||||||
// OnGCE reports whether this process is running on Google Compute Engine.
|
// OnGCE reports whether this process is running on Google Compute Engine.
|
||||||
func OnGCE() bool {
|
func OnGCE() bool {
|
||||||
defer onGCE.Unlock()
|
onGCEOnce.Do(initOnGCE)
|
||||||
onGCE.Lock()
|
return onGCE
|
||||||
if onGCE.set {
|
}
|
||||||
return onGCE.v
|
|
||||||
}
|
|
||||||
onGCE.set = true
|
|
||||||
|
|
||||||
// We use the DNS name of the metadata service here instead of the IP address
|
func initOnGCE() {
|
||||||
// because we expect that to fail faster in the not-on-GCE case.
|
onGCE = testOnGCE()
|
||||||
res, err := metaClient.Get("http://metadata.google.internal")
|
}
|
||||||
if err != nil {
|
|
||||||
|
func testOnGCE() bool {
|
||||||
|
// The user explicitly said they're on GCE, so trust them.
|
||||||
|
if os.Getenv(metadataHostEnv) != "" {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
|
defer cancel()
|
||||||
|
|
||||||
|
resc := make(chan bool, 2)
|
||||||
|
|
||||||
|
// Try two strategies in parallel.
|
||||||
|
// See https://github.com/GoogleCloudPlatform/google-cloud-go/issues/194
|
||||||
|
go func() {
|
||||||
|
res, err := ctxhttp.Get(ctx, metaClient, "http://"+metadataIP)
|
||||||
|
if err != nil {
|
||||||
|
resc <- false
|
||||||
|
return
|
||||||
|
}
|
||||||
|
defer res.Body.Close()
|
||||||
|
resc <- res.Header.Get("Metadata-Flavor") == "Google"
|
||||||
|
}()
|
||||||
|
|
||||||
|
go func() {
|
||||||
|
addrs, err := net.LookupHost("metadata.google.internal")
|
||||||
|
if err != nil || len(addrs) == 0 {
|
||||||
|
resc <- false
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resc <- strsContains(addrs, metadataIP)
|
||||||
|
}()
|
||||||
|
|
||||||
|
tryHarder := systemInfoSuggestsGCE()
|
||||||
|
if tryHarder {
|
||||||
|
res := <-resc
|
||||||
|
if res {
|
||||||
|
// The first strategy succeeded, so let's use it.
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
// Wait for either the DNS or metadata server probe to
|
||||||
|
// contradict the other one and say we are running on
|
||||||
|
// GCE. Give it a lot of time to do so, since the system
|
||||||
|
// info already suggests we're running on a GCE BIOS.
|
||||||
|
timer := time.NewTimer(5 * time.Second)
|
||||||
|
defer timer.Stop()
|
||||||
|
select {
|
||||||
|
case res = <-resc:
|
||||||
|
return res
|
||||||
|
case <-timer.C:
|
||||||
|
// Too slow. Who knows what this system is.
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// There's no hint from the system info that we're running on
|
||||||
|
// GCE, so use the first probe's result as truth, whether it's
|
||||||
|
// true or false. The goal here is to optimize for speed for
|
||||||
|
// users who are NOT running on GCE. We can't assume that
|
||||||
|
// either a DNS lookup or an HTTP request to a blackholed IP
|
||||||
|
// address is fast. Worst case this should return when the
|
||||||
|
// metaClient's Transport.ResponseHeaderTimeout or
|
||||||
|
// Transport.Dial.Timeout fires (in two seconds).
|
||||||
|
return <-resc
|
||||||
|
}
|
||||||
|
|
||||||
|
// systemInfoSuggestsGCE reports whether the local system (without
|
||||||
|
// doing network requests) suggests that we're running on GCE. If this
|
||||||
|
// returns true, testOnGCE tries a bit harder to reach its metadata
|
||||||
|
// server.
|
||||||
|
func systemInfoSuggestsGCE() bool {
|
||||||
|
if runtime.GOOS != "linux" {
|
||||||
|
// We don't have any non-Linux clues available, at least yet.
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
onGCE.v = res.Header.Get("Metadata-Flavor") == "Google"
|
slurp, _ := ioutil.ReadFile("/sys/class/dmi/id/product_name")
|
||||||
return onGCE.v
|
name := strings.TrimSpace(string(slurp))
|
||||||
|
return name == "Google" || name == "Google Compute Engine"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Subscribe subscribes to a value from the metadata service.
|
// Subscribe subscribes to a value from the metadata service.
|
||||||
// The suffix is appended to "http://${GCE_METADATA_HOST}/computeMetadata/v1/".
|
// The suffix is appended to "http://${GCE_METADATA_HOST}/computeMetadata/v1/".
|
||||||
|
// The suffix may contain query parameters.
|
||||||
//
|
//
|
||||||
// Subscribe calls fn with the latest metadata value indicated by the provided
|
// Subscribe calls fn with the latest metadata value indicated by the provided
|
||||||
// suffix. If the metadata value is deleted, fn is called with the empty string
|
// suffix. If the metadata value is deleted, fn is called with the empty string
|
||||||
|
@ -182,7 +280,7 @@ func Subscribe(suffix string, fn func(v string, ok bool) error) error {
|
||||||
const failedSubscribeSleep = time.Second * 5
|
const failedSubscribeSleep = time.Second * 5
|
||||||
|
|
||||||
// First check to see if the metadata value exists at all.
|
// First check to see if the metadata value exists at all.
|
||||||
val, lastETag, err := getETag(suffix)
|
val, lastETag, err := getETag(subscribeClient, suffix)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -192,9 +290,13 @@ func Subscribe(suffix string, fn func(v string, ok bool) error) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
ok := true
|
ok := true
|
||||||
suffix += "?wait_for_change=true&last_etag="
|
if strings.ContainsRune(suffix, '?') {
|
||||||
|
suffix += "&wait_for_change=true&last_etag="
|
||||||
|
} else {
|
||||||
|
suffix += "?wait_for_change=true&last_etag="
|
||||||
|
}
|
||||||
for {
|
for {
|
||||||
val, etag, err := getETag(suffix + url.QueryEscape(lastETag))
|
val, etag, err := getETag(subscribeClient, suffix+url.QueryEscape(lastETag))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if _, deleted := err.(NotDefinedError); !deleted {
|
if _, deleted := err.(NotDefinedError); !deleted {
|
||||||
time.Sleep(failedSubscribeSleep)
|
time.Sleep(failedSubscribeSleep)
|
||||||
|
@ -325,3 +427,12 @@ func Scopes(serviceAccount string) ([]string, error) {
|
||||||
}
|
}
|
||||||
return lines("instance/service-accounts/" + serviceAccount + "/scopes")
|
return lines("instance/service-accounts/" + serviceAccount + "/scopes")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func strsContains(ss []string, s string) bool {
|
||||||
|
for _, v := range ss {
|
||||||
|
if v == s {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
|
@ -0,0 +1,64 @@
|
||||||
|
// Copyright 2014 Google Inc. All Rights Reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
// Package internal provides support for the cloud packages.
|
||||||
|
//
|
||||||
|
// Users should not import this package directly.
|
||||||
|
package internal
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"net/http"
|
||||||
|
)
|
||||||
|
|
||||||
|
const userAgent = "gcloud-golang/0.1"
|
||||||
|
|
||||||
|
// Transport is an http.RoundTripper that appends Google Cloud client's
|
||||||
|
// user-agent to the original request's user-agent header.
|
||||||
|
type Transport struct {
|
||||||
|
// TODO(bradfitz): delete internal.Transport. It's too wrappy for what it does.
|
||||||
|
// Do User-Agent some other way.
|
||||||
|
|
||||||
|
// Base is the actual http.RoundTripper
|
||||||
|
// requests will use. It must not be nil.
|
||||||
|
Base http.RoundTripper
|
||||||
|
}
|
||||||
|
|
||||||
|
// RoundTrip appends a user-agent to the existing user-agent
|
||||||
|
// header and delegates the request to the base http.RoundTripper.
|
||||||
|
func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||||
|
req = cloneRequest(req)
|
||||||
|
ua := req.Header.Get("User-Agent")
|
||||||
|
if ua == "" {
|
||||||
|
ua = userAgent
|
||||||
|
} else {
|
||||||
|
ua = fmt.Sprintf("%s %s", ua, userAgent)
|
||||||
|
}
|
||||||
|
req.Header.Set("User-Agent", ua)
|
||||||
|
return t.Base.RoundTrip(req)
|
||||||
|
}
|
||||||
|
|
||||||
|
// cloneRequest returns a clone of the provided *http.Request.
|
||||||
|
// The clone is a shallow copy of the struct and its Header map.
|
||||||
|
func cloneRequest(r *http.Request) *http.Request {
|
||||||
|
// shallow copy of the struct
|
||||||
|
r2 := new(http.Request)
|
||||||
|
*r2 = *r
|
||||||
|
// deep copy of the Header
|
||||||
|
r2.Header = make(http.Header)
|
||||||
|
for k, s := range r.Header {
|
||||||
|
r2.Header[k] = s
|
||||||
|
}
|
||||||
|
return r2
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
// Copyright 2016 Google Inc. All Rights Reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package internal
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"time"
|
||||||
|
|
||||||
|
gax "github.com/googleapis/gax-go"
|
||||||
|
|
||||||
|
"golang.org/x/net/context"
|
||||||
|
)
|
||||||
|
|
||||||
|
// Retry calls the supplied function f repeatedly according to the provided
|
||||||
|
// backoff parameters. It returns when one of the following occurs:
|
||||||
|
// When f's first return value is true, Retry immediately returns with f's second
|
||||||
|
// return value.
|
||||||
|
// When the provided context is done, Retry returns with ctx.Err().
|
||||||
|
func Retry(ctx context.Context, bo gax.Backoff, f func() (stop bool, err error)) error {
|
||||||
|
return retry(ctx, bo, f, gax.Sleep)
|
||||||
|
}
|
||||||
|
|
||||||
|
func retry(ctx context.Context, bo gax.Backoff, f func() (stop bool, err error),
|
||||||
|
sleep func(context.Context, time.Duration) error) error {
|
||||||
|
var lastErr error
|
||||||
|
for {
|
||||||
|
stop, err := f()
|
||||||
|
if stop {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
// Remember the last "real" error from f.
|
||||||
|
if err != nil && err != context.Canceled && err != context.DeadlineExceeded {
|
||||||
|
lastErr = err
|
||||||
|
}
|
||||||
|
p := bo.Pause()
|
||||||
|
if cerr := sleep(ctx, p); cerr != nil {
|
||||||
|
if lastErr != nil {
|
||||||
|
return fmt.Errorf("%v; last function err: %v", cerr, lastErr)
|
||||||
|
}
|
||||||
|
return cerr
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
|
@ -0,0 +1,12 @@
|
||||||
|
# go-ansiterm
|
||||||
|
|
||||||
|
This is a cross platform Ansi Terminal Emulation library. It reads a stream of Ansi characters and produces the appropriate function calls. The results of the function calls are platform dependent.
|
||||||
|
|
||||||
|
For example the parser might receive "ESC, [, A" as a stream of three characters. This is the code for Cursor Up (http://www.vt100.net/docs/vt510-rm/CUU). The parser then calls the cursor up function (CUU()) on an event handler. The event handler determines what platform specific work must be done to cause the cursor to move up one position.
|
||||||
|
|
||||||
|
The parser (parser.go) is a partial implementation of this state machine (http://vt100.net/emu/vt500_parser.png). There are also two event handler implementations, one for tests (test_event_handler.go) to validate that the expected events are being produced and called, the other is a Windows implementation (winterm/win_event_handler.go).
|
||||||
|
|
||||||
|
See parser_test.go for examples exercising the state machine and generating appropriate function calls.
|
||||||
|
|
||||||
|
-----
|
||||||
|
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
@ -0,0 +1,188 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
const LogEnv = "DEBUG_TERMINAL"
|
||||||
|
|
||||||
|
// ANSI constants
|
||||||
|
// References:
|
||||||
|
// -- http://www.ecma-international.org/publications/standards/Ecma-048.htm
|
||||||
|
// -- http://man7.org/linux/man-pages/man4/console_codes.4.html
|
||||||
|
// -- http://manpages.ubuntu.com/manpages/intrepid/man4/console_codes.4.html
|
||||||
|
// -- http://en.wikipedia.org/wiki/ANSI_escape_code
|
||||||
|
// -- http://vt100.net/emu/dec_ansi_parser
|
||||||
|
// -- http://vt100.net/emu/vt500_parser.svg
|
||||||
|
// -- http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
|
||||||
|
// -- http://www.inwap.com/pdp10/ansicode.txt
|
||||||
|
const (
|
||||||
|
// ECMA-48 Set Graphics Rendition
|
||||||
|
// Note:
|
||||||
|
// -- Constants leading with an underscore (e.g., _ANSI_xxx) are unsupported or reserved
|
||||||
|
// -- Fonts could possibly be supported via SetCurrentConsoleFontEx
|
||||||
|
// -- Windows does not expose the per-window cursor (i.e., caret) blink times
|
||||||
|
ANSI_SGR_RESET = 0
|
||||||
|
ANSI_SGR_BOLD = 1
|
||||||
|
ANSI_SGR_DIM = 2
|
||||||
|
_ANSI_SGR_ITALIC = 3
|
||||||
|
ANSI_SGR_UNDERLINE = 4
|
||||||
|
_ANSI_SGR_BLINKSLOW = 5
|
||||||
|
_ANSI_SGR_BLINKFAST = 6
|
||||||
|
ANSI_SGR_REVERSE = 7
|
||||||
|
_ANSI_SGR_INVISIBLE = 8
|
||||||
|
_ANSI_SGR_LINETHROUGH = 9
|
||||||
|
_ANSI_SGR_FONT_00 = 10
|
||||||
|
_ANSI_SGR_FONT_01 = 11
|
||||||
|
_ANSI_SGR_FONT_02 = 12
|
||||||
|
_ANSI_SGR_FONT_03 = 13
|
||||||
|
_ANSI_SGR_FONT_04 = 14
|
||||||
|
_ANSI_SGR_FONT_05 = 15
|
||||||
|
_ANSI_SGR_FONT_06 = 16
|
||||||
|
_ANSI_SGR_FONT_07 = 17
|
||||||
|
_ANSI_SGR_FONT_08 = 18
|
||||||
|
_ANSI_SGR_FONT_09 = 19
|
||||||
|
_ANSI_SGR_FONT_10 = 20
|
||||||
|
_ANSI_SGR_DOUBLEUNDERLINE = 21
|
||||||
|
ANSI_SGR_BOLD_DIM_OFF = 22
|
||||||
|
_ANSI_SGR_ITALIC_OFF = 23
|
||||||
|
ANSI_SGR_UNDERLINE_OFF = 24
|
||||||
|
_ANSI_SGR_BLINK_OFF = 25
|
||||||
|
_ANSI_SGR_RESERVED_00 = 26
|
||||||
|
ANSI_SGR_REVERSE_OFF = 27
|
||||||
|
_ANSI_SGR_INVISIBLE_OFF = 28
|
||||||
|
_ANSI_SGR_LINETHROUGH_OFF = 29
|
||||||
|
ANSI_SGR_FOREGROUND_BLACK = 30
|
||||||
|
ANSI_SGR_FOREGROUND_RED = 31
|
||||||
|
ANSI_SGR_FOREGROUND_GREEN = 32
|
||||||
|
ANSI_SGR_FOREGROUND_YELLOW = 33
|
||||||
|
ANSI_SGR_FOREGROUND_BLUE = 34
|
||||||
|
ANSI_SGR_FOREGROUND_MAGENTA = 35
|
||||||
|
ANSI_SGR_FOREGROUND_CYAN = 36
|
||||||
|
ANSI_SGR_FOREGROUND_WHITE = 37
|
||||||
|
_ANSI_SGR_RESERVED_01 = 38
|
||||||
|
ANSI_SGR_FOREGROUND_DEFAULT = 39
|
||||||
|
ANSI_SGR_BACKGROUND_BLACK = 40
|
||||||
|
ANSI_SGR_BACKGROUND_RED = 41
|
||||||
|
ANSI_SGR_BACKGROUND_GREEN = 42
|
||||||
|
ANSI_SGR_BACKGROUND_YELLOW = 43
|
||||||
|
ANSI_SGR_BACKGROUND_BLUE = 44
|
||||||
|
ANSI_SGR_BACKGROUND_MAGENTA = 45
|
||||||
|
ANSI_SGR_BACKGROUND_CYAN = 46
|
||||||
|
ANSI_SGR_BACKGROUND_WHITE = 47
|
||||||
|
_ANSI_SGR_RESERVED_02 = 48
|
||||||
|
ANSI_SGR_BACKGROUND_DEFAULT = 49
|
||||||
|
// 50 - 65: Unsupported
|
||||||
|
|
||||||
|
ANSI_MAX_CMD_LENGTH = 4096
|
||||||
|
|
||||||
|
MAX_INPUT_EVENTS = 128
|
||||||
|
DEFAULT_WIDTH = 80
|
||||||
|
DEFAULT_HEIGHT = 24
|
||||||
|
|
||||||
|
ANSI_BEL = 0x07
|
||||||
|
ANSI_BACKSPACE = 0x08
|
||||||
|
ANSI_TAB = 0x09
|
||||||
|
ANSI_LINE_FEED = 0x0A
|
||||||
|
ANSI_VERTICAL_TAB = 0x0B
|
||||||
|
ANSI_FORM_FEED = 0x0C
|
||||||
|
ANSI_CARRIAGE_RETURN = 0x0D
|
||||||
|
ANSI_ESCAPE_PRIMARY = 0x1B
|
||||||
|
ANSI_ESCAPE_SECONDARY = 0x5B
|
||||||
|
ANSI_OSC_STRING_ENTRY = 0x5D
|
||||||
|
ANSI_COMMAND_FIRST = 0x40
|
||||||
|
ANSI_COMMAND_LAST = 0x7E
|
||||||
|
DCS_ENTRY = 0x90
|
||||||
|
CSI_ENTRY = 0x9B
|
||||||
|
OSC_STRING = 0x9D
|
||||||
|
ANSI_PARAMETER_SEP = ";"
|
||||||
|
ANSI_CMD_G0 = '('
|
||||||
|
ANSI_CMD_G1 = ')'
|
||||||
|
ANSI_CMD_G2 = '*'
|
||||||
|
ANSI_CMD_G3 = '+'
|
||||||
|
ANSI_CMD_DECPNM = '>'
|
||||||
|
ANSI_CMD_DECPAM = '='
|
||||||
|
ANSI_CMD_OSC = ']'
|
||||||
|
ANSI_CMD_STR_TERM = '\\'
|
||||||
|
|
||||||
|
KEY_CONTROL_PARAM_2 = ";2"
|
||||||
|
KEY_CONTROL_PARAM_3 = ";3"
|
||||||
|
KEY_CONTROL_PARAM_4 = ";4"
|
||||||
|
KEY_CONTROL_PARAM_5 = ";5"
|
||||||
|
KEY_CONTROL_PARAM_6 = ";6"
|
||||||
|
KEY_CONTROL_PARAM_7 = ";7"
|
||||||
|
KEY_CONTROL_PARAM_8 = ";8"
|
||||||
|
KEY_ESC_CSI = "\x1B["
|
||||||
|
KEY_ESC_N = "\x1BN"
|
||||||
|
KEY_ESC_O = "\x1BO"
|
||||||
|
|
||||||
|
FILL_CHARACTER = ' '
|
||||||
|
)
|
||||||
|
|
||||||
|
func getByteRange(start byte, end byte) []byte {
|
||||||
|
bytes := make([]byte, 0, 32)
|
||||||
|
for i := start; i <= end; i++ {
|
||||||
|
bytes = append(bytes, byte(i))
|
||||||
|
}
|
||||||
|
|
||||||
|
return bytes
|
||||||
|
}
|
||||||
|
|
||||||
|
var toGroundBytes = getToGroundBytes()
|
||||||
|
var executors = getExecuteBytes()
|
||||||
|
|
||||||
|
// SPACE 20+A0 hex Always and everywhere a blank space
|
||||||
|
// Intermediate 20-2F hex !"#$%&'()*+,-./
|
||||||
|
var intermeds = getByteRange(0x20, 0x2F)
|
||||||
|
|
||||||
|
// Parameters 30-3F hex 0123456789:;<=>?
|
||||||
|
// CSI Parameters 30-39, 3B hex 0123456789;
|
||||||
|
var csiParams = getByteRange(0x30, 0x3F)
|
||||||
|
|
||||||
|
var csiCollectables = append(getByteRange(0x30, 0x39), getByteRange(0x3B, 0x3F)...)
|
||||||
|
|
||||||
|
// Uppercase 40-5F hex @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
|
||||||
|
var upperCase = getByteRange(0x40, 0x5F)
|
||||||
|
|
||||||
|
// Lowercase 60-7E hex `abcdefghijlkmnopqrstuvwxyz{|}~
|
||||||
|
var lowerCase = getByteRange(0x60, 0x7E)
|
||||||
|
|
||||||
|
// Alphabetics 40-7E hex (all of upper and lower case)
|
||||||
|
var alphabetics = append(upperCase, lowerCase...)
|
||||||
|
|
||||||
|
var printables = getByteRange(0x20, 0x7F)
|
||||||
|
|
||||||
|
var escapeIntermediateToGroundBytes = getByteRange(0x30, 0x7E)
|
||||||
|
var escapeToGroundBytes = getEscapeToGroundBytes()
|
||||||
|
|
||||||
|
// See http://www.vt100.net/emu/vt500_parser.png for description of the complex
|
||||||
|
// byte ranges below
|
||||||
|
|
||||||
|
func getEscapeToGroundBytes() []byte {
|
||||||
|
escapeToGroundBytes := getByteRange(0x30, 0x4F)
|
||||||
|
escapeToGroundBytes = append(escapeToGroundBytes, getByteRange(0x51, 0x57)...)
|
||||||
|
escapeToGroundBytes = append(escapeToGroundBytes, 0x59)
|
||||||
|
escapeToGroundBytes = append(escapeToGroundBytes, 0x5A)
|
||||||
|
escapeToGroundBytes = append(escapeToGroundBytes, 0x5C)
|
||||||
|
escapeToGroundBytes = append(escapeToGroundBytes, getByteRange(0x60, 0x7E)...)
|
||||||
|
return escapeToGroundBytes
|
||||||
|
}
|
||||||
|
|
||||||
|
func getExecuteBytes() []byte {
|
||||||
|
executeBytes := getByteRange(0x00, 0x17)
|
||||||
|
executeBytes = append(executeBytes, 0x19)
|
||||||
|
executeBytes = append(executeBytes, getByteRange(0x1C, 0x1F)...)
|
||||||
|
return executeBytes
|
||||||
|
}
|
||||||
|
|
||||||
|
func getToGroundBytes() []byte {
|
||||||
|
groundBytes := []byte{0x18}
|
||||||
|
groundBytes = append(groundBytes, 0x1A)
|
||||||
|
groundBytes = append(groundBytes, getByteRange(0x80, 0x8F)...)
|
||||||
|
groundBytes = append(groundBytes, getByteRange(0x91, 0x97)...)
|
||||||
|
groundBytes = append(groundBytes, 0x99)
|
||||||
|
groundBytes = append(groundBytes, 0x9A)
|
||||||
|
groundBytes = append(groundBytes, 0x9C)
|
||||||
|
return groundBytes
|
||||||
|
}
|
||||||
|
|
||||||
|
// Delete 7F hex Always and everywhere ignored
|
||||||
|
// C1 Control 80-9F hex 32 additional control characters
|
||||||
|
// G1 Displayable A1-FE hex 94 additional displayable characters
|
||||||
|
// Special A0+FF hex Same as SPACE and DELETE
|
|
@ -0,0 +1,7 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
type ansiContext struct {
|
||||||
|
currentChar byte
|
||||||
|
paramBuffer []byte
|
||||||
|
interBuffer []byte
|
||||||
|
}
|
|
@ -0,0 +1,49 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
type csiEntryState struct {
|
||||||
|
baseState
|
||||||
|
}
|
||||||
|
|
||||||
|
func (csiState csiEntryState) Handle(b byte) (s state, e error) {
|
||||||
|
logger.Infof("CsiEntry::Handle %#x", b)
|
||||||
|
|
||||||
|
nextState, err := csiState.baseState.Handle(b)
|
||||||
|
if nextState != nil || err != nil {
|
||||||
|
return nextState, err
|
||||||
|
}
|
||||||
|
|
||||||
|
switch {
|
||||||
|
case sliceContains(alphabetics, b):
|
||||||
|
return csiState.parser.ground, nil
|
||||||
|
case sliceContains(csiCollectables, b):
|
||||||
|
return csiState.parser.csiParam, nil
|
||||||
|
case sliceContains(executors, b):
|
||||||
|
return csiState, csiState.parser.execute()
|
||||||
|
}
|
||||||
|
|
||||||
|
return csiState, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (csiState csiEntryState) Transition(s state) error {
|
||||||
|
logger.Infof("CsiEntry::Transition %s --> %s", csiState.Name(), s.Name())
|
||||||
|
csiState.baseState.Transition(s)
|
||||||
|
|
||||||
|
switch s {
|
||||||
|
case csiState.parser.ground:
|
||||||
|
return csiState.parser.csiDispatch()
|
||||||
|
case csiState.parser.csiParam:
|
||||||
|
switch {
|
||||||
|
case sliceContains(csiParams, csiState.parser.context.currentChar):
|
||||||
|
csiState.parser.collectParam()
|
||||||
|
case sliceContains(intermeds, csiState.parser.context.currentChar):
|
||||||
|
csiState.parser.collectInter()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (csiState csiEntryState) Enter() error {
|
||||||
|
csiState.parser.clear()
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -0,0 +1,38 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
type csiParamState struct {
|
||||||
|
baseState
|
||||||
|
}
|
||||||
|
|
||||||
|
func (csiState csiParamState) Handle(b byte) (s state, e error) {
|
||||||
|
logger.Infof("CsiParam::Handle %#x", b)
|
||||||
|
|
||||||
|
nextState, err := csiState.baseState.Handle(b)
|
||||||
|
if nextState != nil || err != nil {
|
||||||
|
return nextState, err
|
||||||
|
}
|
||||||
|
|
||||||
|
switch {
|
||||||
|
case sliceContains(alphabetics, b):
|
||||||
|
return csiState.parser.ground, nil
|
||||||
|
case sliceContains(csiCollectables, b):
|
||||||
|
csiState.parser.collectParam()
|
||||||
|
return csiState, nil
|
||||||
|
case sliceContains(executors, b):
|
||||||
|
return csiState, csiState.parser.execute()
|
||||||
|
}
|
||||||
|
|
||||||
|
return csiState, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (csiState csiParamState) Transition(s state) error {
|
||||||
|
logger.Infof("CsiParam::Transition %s --> %s", csiState.Name(), s.Name())
|
||||||
|
csiState.baseState.Transition(s)
|
||||||
|
|
||||||
|
switch s {
|
||||||
|
case csiState.parser.ground:
|
||||||
|
return csiState.parser.csiDispatch()
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -0,0 +1,36 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
type escapeIntermediateState struct {
|
||||||
|
baseState
|
||||||
|
}
|
||||||
|
|
||||||
|
func (escState escapeIntermediateState) Handle(b byte) (s state, e error) {
|
||||||
|
logger.Infof("escapeIntermediateState::Handle %#x", b)
|
||||||
|
nextState, err := escState.baseState.Handle(b)
|
||||||
|
if nextState != nil || err != nil {
|
||||||
|
return nextState, err
|
||||||
|
}
|
||||||
|
|
||||||
|
switch {
|
||||||
|
case sliceContains(intermeds, b):
|
||||||
|
return escState, escState.parser.collectInter()
|
||||||
|
case sliceContains(executors, b):
|
||||||
|
return escState, escState.parser.execute()
|
||||||
|
case sliceContains(escapeIntermediateToGroundBytes, b):
|
||||||
|
return escState.parser.ground, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return escState, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (escState escapeIntermediateState) Transition(s state) error {
|
||||||
|
logger.Infof("escapeIntermediateState::Transition %s --> %s", escState.Name(), s.Name())
|
||||||
|
escState.baseState.Transition(s)
|
||||||
|
|
||||||
|
switch s {
|
||||||
|
case escState.parser.ground:
|
||||||
|
return escState.parser.escDispatch()
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -0,0 +1,47 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
type escapeState struct {
|
||||||
|
baseState
|
||||||
|
}
|
||||||
|
|
||||||
|
func (escState escapeState) Handle(b byte) (s state, e error) {
|
||||||
|
logger.Infof("escapeState::Handle %#x", b)
|
||||||
|
nextState, err := escState.baseState.Handle(b)
|
||||||
|
if nextState != nil || err != nil {
|
||||||
|
return nextState, err
|
||||||
|
}
|
||||||
|
|
||||||
|
switch {
|
||||||
|
case b == ANSI_ESCAPE_SECONDARY:
|
||||||
|
return escState.parser.csiEntry, nil
|
||||||
|
case b == ANSI_OSC_STRING_ENTRY:
|
||||||
|
return escState.parser.oscString, nil
|
||||||
|
case sliceContains(executors, b):
|
||||||
|
return escState, escState.parser.execute()
|
||||||
|
case sliceContains(escapeToGroundBytes, b):
|
||||||
|
return escState.parser.ground, nil
|
||||||
|
case sliceContains(intermeds, b):
|
||||||
|
return escState.parser.escapeIntermediate, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return escState, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (escState escapeState) Transition(s state) error {
|
||||||
|
logger.Infof("Escape::Transition %s --> %s", escState.Name(), s.Name())
|
||||||
|
escState.baseState.Transition(s)
|
||||||
|
|
||||||
|
switch s {
|
||||||
|
case escState.parser.ground:
|
||||||
|
return escState.parser.escDispatch()
|
||||||
|
case escState.parser.escapeIntermediate:
|
||||||
|
return escState.parser.collectInter()
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (escState escapeState) Enter() error {
|
||||||
|
escState.parser.clear()
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -0,0 +1,90 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
type AnsiEventHandler interface {
|
||||||
|
// Print
|
||||||
|
Print(b byte) error
|
||||||
|
|
||||||
|
// Execute C0 commands
|
||||||
|
Execute(b byte) error
|
||||||
|
|
||||||
|
// CUrsor Up
|
||||||
|
CUU(int) error
|
||||||
|
|
||||||
|
// CUrsor Down
|
||||||
|
CUD(int) error
|
||||||
|
|
||||||
|
// CUrsor Forward
|
||||||
|
CUF(int) error
|
||||||
|
|
||||||
|
// CUrsor Backward
|
||||||
|
CUB(int) error
|
||||||
|
|
||||||
|
// Cursor to Next Line
|
||||||
|
CNL(int) error
|
||||||
|
|
||||||
|
// Cursor to Previous Line
|
||||||
|
CPL(int) error
|
||||||
|
|
||||||
|
// Cursor Horizontal position Absolute
|
||||||
|
CHA(int) error
|
||||||
|
|
||||||
|
// Vertical line Position Absolute
|
||||||
|
VPA(int) error
|
||||||
|
|
||||||
|
// CUrsor Position
|
||||||
|
CUP(int, int) error
|
||||||
|
|
||||||
|
// Horizontal and Vertical Position (depends on PUM)
|
||||||
|
HVP(int, int) error
|
||||||
|
|
||||||
|
// Text Cursor Enable Mode
|
||||||
|
DECTCEM(bool) error
|
||||||
|
|
||||||
|
// Origin Mode
|
||||||
|
DECOM(bool) error
|
||||||
|
|
||||||
|
// 132 Column Mode
|
||||||
|
DECCOLM(bool) error
|
||||||
|
|
||||||
|
// Erase in Display
|
||||||
|
ED(int) error
|
||||||
|
|
||||||
|
// Erase in Line
|
||||||
|
EL(int) error
|
||||||
|
|
||||||
|
// Insert Line
|
||||||
|
IL(int) error
|
||||||
|
|
||||||
|
// Delete Line
|
||||||
|
DL(int) error
|
||||||
|
|
||||||
|
// Insert Character
|
||||||
|
ICH(int) error
|
||||||
|
|
||||||
|
// Delete Character
|
||||||
|
DCH(int) error
|
||||||
|
|
||||||
|
// Set Graphics Rendition
|
||||||
|
SGR([]int) error
|
||||||
|
|
||||||
|
// Pan Down
|
||||||
|
SU(int) error
|
||||||
|
|
||||||
|
// Pan Up
|
||||||
|
SD(int) error
|
||||||
|
|
||||||
|
// Device Attributes
|
||||||
|
DA([]string) error
|
||||||
|
|
||||||
|
// Set Top and Bottom Margins
|
||||||
|
DECSTBM(int, int) error
|
||||||
|
|
||||||
|
// Index
|
||||||
|
IND() error
|
||||||
|
|
||||||
|
// Reverse Index
|
||||||
|
RI() error
|
||||||
|
|
||||||
|
// Flush updates from previous commands
|
||||||
|
Flush() error
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
type groundState struct {
|
||||||
|
baseState
|
||||||
|
}
|
||||||
|
|
||||||
|
func (gs groundState) Handle(b byte) (s state, e error) {
|
||||||
|
gs.parser.context.currentChar = b
|
||||||
|
|
||||||
|
nextState, err := gs.baseState.Handle(b)
|
||||||
|
if nextState != nil || err != nil {
|
||||||
|
return nextState, err
|
||||||
|
}
|
||||||
|
|
||||||
|
switch {
|
||||||
|
case sliceContains(printables, b):
|
||||||
|
return gs, gs.parser.print()
|
||||||
|
|
||||||
|
case sliceContains(executors, b):
|
||||||
|
return gs, gs.parser.execute()
|
||||||
|
}
|
||||||
|
|
||||||
|
return gs, nil
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
type oscStringState struct {
|
||||||
|
baseState
|
||||||
|
}
|
||||||
|
|
||||||
|
func (oscState oscStringState) Handle(b byte) (s state, e error) {
|
||||||
|
logger.Infof("OscString::Handle %#x", b)
|
||||||
|
nextState, err := oscState.baseState.Handle(b)
|
||||||
|
if nextState != nil || err != nil {
|
||||||
|
return nextState, err
|
||||||
|
}
|
||||||
|
|
||||||
|
switch {
|
||||||
|
case isOscStringTerminator(b):
|
||||||
|
return oscState.parser.ground, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return oscState, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// See below for OSC string terminators for linux
|
||||||
|
// http://man7.org/linux/man-pages/man4/console_codes.4.html
|
||||||
|
func isOscStringTerminator(b byte) bool {
|
||||||
|
|
||||||
|
if b == ANSI_BEL || b == 0x5C {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
|
@ -0,0 +1,136 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
import (
|
||||||
|
"errors"
|
||||||
|
"io/ioutil"
|
||||||
|
"os"
|
||||||
|
|
||||||
|
"github.com/Sirupsen/logrus"
|
||||||
|
)
|
||||||
|
|
||||||
|
var logger *logrus.Logger
|
||||||
|
|
||||||
|
type AnsiParser struct {
|
||||||
|
currState state
|
||||||
|
eventHandler AnsiEventHandler
|
||||||
|
context *ansiContext
|
||||||
|
csiEntry state
|
||||||
|
csiParam state
|
||||||
|
dcsEntry state
|
||||||
|
escape state
|
||||||
|
escapeIntermediate state
|
||||||
|
error state
|
||||||
|
ground state
|
||||||
|
oscString state
|
||||||
|
stateMap []state
|
||||||
|
}
|
||||||
|
|
||||||
|
func CreateParser(initialState string, evtHandler AnsiEventHandler) *AnsiParser {
|
||||||
|
logFile := ioutil.Discard
|
||||||
|
|
||||||
|
if isDebugEnv := os.Getenv(LogEnv); isDebugEnv == "1" {
|
||||||
|
logFile, _ = os.Create("ansiParser.log")
|
||||||
|
}
|
||||||
|
|
||||||
|
logger = &logrus.Logger{
|
||||||
|
Out: logFile,
|
||||||
|
Formatter: new(logrus.TextFormatter),
|
||||||
|
Level: logrus.InfoLevel,
|
||||||
|
}
|
||||||
|
|
||||||
|
parser := &AnsiParser{
|
||||||
|
eventHandler: evtHandler,
|
||||||
|
context: &ansiContext{},
|
||||||
|
}
|
||||||
|
|
||||||
|
parser.csiEntry = csiEntryState{baseState{name: "CsiEntry", parser: parser}}
|
||||||
|
parser.csiParam = csiParamState{baseState{name: "CsiParam", parser: parser}}
|
||||||
|
parser.dcsEntry = dcsEntryState{baseState{name: "DcsEntry", parser: parser}}
|
||||||
|
parser.escape = escapeState{baseState{name: "Escape", parser: parser}}
|
||||||
|
parser.escapeIntermediate = escapeIntermediateState{baseState{name: "EscapeIntermediate", parser: parser}}
|
||||||
|
parser.error = errorState{baseState{name: "Error", parser: parser}}
|
||||||
|
parser.ground = groundState{baseState{name: "Ground", parser: parser}}
|
||||||
|
parser.oscString = oscStringState{baseState{name: "OscString", parser: parser}}
|
||||||
|
|
||||||
|
parser.stateMap = []state{
|
||||||
|
parser.csiEntry,
|
||||||
|
parser.csiParam,
|
||||||
|
parser.dcsEntry,
|
||||||
|
parser.escape,
|
||||||
|
parser.escapeIntermediate,
|
||||||
|
parser.error,
|
||||||
|
parser.ground,
|
||||||
|
parser.oscString,
|
||||||
|
}
|
||||||
|
|
||||||
|
parser.currState = getState(initialState, parser.stateMap)
|
||||||
|
|
||||||
|
logger.Infof("CreateParser: parser %p", parser)
|
||||||
|
return parser
|
||||||
|
}
|
||||||
|
|
||||||
|
func getState(name string, states []state) state {
|
||||||
|
for _, el := range states {
|
||||||
|
if el.Name() == name {
|
||||||
|
return el
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) Parse(bytes []byte) (int, error) {
|
||||||
|
for i, b := range bytes {
|
||||||
|
if err := ap.handle(b); err != nil {
|
||||||
|
return i, err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return len(bytes), ap.eventHandler.Flush()
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) handle(b byte) error {
|
||||||
|
ap.context.currentChar = b
|
||||||
|
newState, err := ap.currState.Handle(b)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
if newState == nil {
|
||||||
|
logger.Warning("newState is nil")
|
||||||
|
return errors.New("New state of 'nil' is invalid.")
|
||||||
|
}
|
||||||
|
|
||||||
|
if newState != ap.currState {
|
||||||
|
if err := ap.changeState(newState); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) changeState(newState state) error {
|
||||||
|
logger.Infof("ChangeState %s --> %s", ap.currState.Name(), newState.Name())
|
||||||
|
|
||||||
|
// Exit old state
|
||||||
|
if err := ap.currState.Exit(); err != nil {
|
||||||
|
logger.Infof("Exit state '%s' failed with : '%v'", ap.currState.Name(), err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
// Perform transition action
|
||||||
|
if err := ap.currState.Transition(newState); err != nil {
|
||||||
|
logger.Infof("Transition from '%s' to '%s' failed with: '%v'", ap.currState.Name(), newState.Name, err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
// Enter new state
|
||||||
|
if err := newState.Enter(); err != nil {
|
||||||
|
logger.Infof("Enter state '%s' failed with: '%v'", newState.Name(), err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
ap.currState = newState
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -0,0 +1,103 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
import (
|
||||||
|
"strconv"
|
||||||
|
)
|
||||||
|
|
||||||
|
func parseParams(bytes []byte) ([]string, error) {
|
||||||
|
paramBuff := make([]byte, 0, 0)
|
||||||
|
params := []string{}
|
||||||
|
|
||||||
|
for _, v := range bytes {
|
||||||
|
if v == ';' {
|
||||||
|
if len(paramBuff) > 0 {
|
||||||
|
// Completed parameter, append it to the list
|
||||||
|
s := string(paramBuff)
|
||||||
|
params = append(params, s)
|
||||||
|
paramBuff = make([]byte, 0, 0)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
paramBuff = append(paramBuff, v)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Last parameter may not be terminated with ';'
|
||||||
|
if len(paramBuff) > 0 {
|
||||||
|
s := string(paramBuff)
|
||||||
|
params = append(params, s)
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.Infof("Parsed params: %v with length: %d", params, len(params))
|
||||||
|
return params, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func parseCmd(context ansiContext) (string, error) {
|
||||||
|
return string(context.currentChar), nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func getInt(params []string, dflt int) int {
|
||||||
|
i := getInts(params, 1, dflt)[0]
|
||||||
|
logger.Infof("getInt: %v", i)
|
||||||
|
return i
|
||||||
|
}
|
||||||
|
|
||||||
|
func getInts(params []string, minCount int, dflt int) []int {
|
||||||
|
ints := []int{}
|
||||||
|
|
||||||
|
for _, v := range params {
|
||||||
|
i, _ := strconv.Atoi(v)
|
||||||
|
// Zero is mapped to the default value in VT100.
|
||||||
|
if i == 0 {
|
||||||
|
i = dflt
|
||||||
|
}
|
||||||
|
ints = append(ints, i)
|
||||||
|
}
|
||||||
|
|
||||||
|
if len(ints) < minCount {
|
||||||
|
remaining := minCount - len(ints)
|
||||||
|
for i := 0; i < remaining; i++ {
|
||||||
|
ints = append(ints, dflt)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.Infof("getInts: %v", ints)
|
||||||
|
|
||||||
|
return ints
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) modeDispatch(param string, set bool) error {
|
||||||
|
switch param {
|
||||||
|
case "?3":
|
||||||
|
return ap.eventHandler.DECCOLM(set)
|
||||||
|
case "?6":
|
||||||
|
return ap.eventHandler.DECOM(set)
|
||||||
|
case "?25":
|
||||||
|
return ap.eventHandler.DECTCEM(set)
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) hDispatch(params []string) error {
|
||||||
|
if len(params) == 1 {
|
||||||
|
return ap.modeDispatch(params[0], true)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) lDispatch(params []string) error {
|
||||||
|
if len(params) == 1 {
|
||||||
|
return ap.modeDispatch(params[0], false)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func getEraseParam(params []string) int {
|
||||||
|
param := getInt(params, 0)
|
||||||
|
if param < 0 || 3 < param {
|
||||||
|
param = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
return param
|
||||||
|
}
|
|
@ -0,0 +1,122 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
)
|
||||||
|
|
||||||
|
func (ap *AnsiParser) collectParam() error {
|
||||||
|
currChar := ap.context.currentChar
|
||||||
|
logger.Infof("collectParam %#x", currChar)
|
||||||
|
ap.context.paramBuffer = append(ap.context.paramBuffer, currChar)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) collectInter() error {
|
||||||
|
currChar := ap.context.currentChar
|
||||||
|
logger.Infof("collectInter %#x", currChar)
|
||||||
|
ap.context.paramBuffer = append(ap.context.interBuffer, currChar)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) escDispatch() error {
|
||||||
|
cmd, _ := parseCmd(*ap.context)
|
||||||
|
intermeds := ap.context.interBuffer
|
||||||
|
logger.Infof("escDispatch currentChar: %#x", ap.context.currentChar)
|
||||||
|
logger.Infof("escDispatch: %v(%v)", cmd, intermeds)
|
||||||
|
|
||||||
|
switch cmd {
|
||||||
|
case "D": // IND
|
||||||
|
return ap.eventHandler.IND()
|
||||||
|
case "E": // NEL, equivalent to CRLF
|
||||||
|
err := ap.eventHandler.Execute(ANSI_CARRIAGE_RETURN)
|
||||||
|
if err == nil {
|
||||||
|
err = ap.eventHandler.Execute(ANSI_LINE_FEED)
|
||||||
|
}
|
||||||
|
return err
|
||||||
|
case "M": // RI
|
||||||
|
return ap.eventHandler.RI()
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) csiDispatch() error {
|
||||||
|
cmd, _ := parseCmd(*ap.context)
|
||||||
|
params, _ := parseParams(ap.context.paramBuffer)
|
||||||
|
|
||||||
|
logger.Infof("csiDispatch: %v(%v)", cmd, params)
|
||||||
|
|
||||||
|
switch cmd {
|
||||||
|
case "@":
|
||||||
|
return ap.eventHandler.ICH(getInt(params, 1))
|
||||||
|
case "A":
|
||||||
|
return ap.eventHandler.CUU(getInt(params, 1))
|
||||||
|
case "B":
|
||||||
|
return ap.eventHandler.CUD(getInt(params, 1))
|
||||||
|
case "C":
|
||||||
|
return ap.eventHandler.CUF(getInt(params, 1))
|
||||||
|
case "D":
|
||||||
|
return ap.eventHandler.CUB(getInt(params, 1))
|
||||||
|
case "E":
|
||||||
|
return ap.eventHandler.CNL(getInt(params, 1))
|
||||||
|
case "F":
|
||||||
|
return ap.eventHandler.CPL(getInt(params, 1))
|
||||||
|
case "G":
|
||||||
|
return ap.eventHandler.CHA(getInt(params, 1))
|
||||||
|
case "H":
|
||||||
|
ints := getInts(params, 2, 1)
|
||||||
|
x, y := ints[0], ints[1]
|
||||||
|
return ap.eventHandler.CUP(x, y)
|
||||||
|
case "J":
|
||||||
|
param := getEraseParam(params)
|
||||||
|
return ap.eventHandler.ED(param)
|
||||||
|
case "K":
|
||||||
|
param := getEraseParam(params)
|
||||||
|
return ap.eventHandler.EL(param)
|
||||||
|
case "L":
|
||||||
|
return ap.eventHandler.IL(getInt(params, 1))
|
||||||
|
case "M":
|
||||||
|
return ap.eventHandler.DL(getInt(params, 1))
|
||||||
|
case "P":
|
||||||
|
return ap.eventHandler.DCH(getInt(params, 1))
|
||||||
|
case "S":
|
||||||
|
return ap.eventHandler.SU(getInt(params, 1))
|
||||||
|
case "T":
|
||||||
|
return ap.eventHandler.SD(getInt(params, 1))
|
||||||
|
case "c":
|
||||||
|
return ap.eventHandler.DA(params)
|
||||||
|
case "d":
|
||||||
|
return ap.eventHandler.VPA(getInt(params, 1))
|
||||||
|
case "f":
|
||||||
|
ints := getInts(params, 2, 1)
|
||||||
|
x, y := ints[0], ints[1]
|
||||||
|
return ap.eventHandler.HVP(x, y)
|
||||||
|
case "h":
|
||||||
|
return ap.hDispatch(params)
|
||||||
|
case "l":
|
||||||
|
return ap.lDispatch(params)
|
||||||
|
case "m":
|
||||||
|
return ap.eventHandler.SGR(getInts(params, 1, 0))
|
||||||
|
case "r":
|
||||||
|
ints := getInts(params, 2, 1)
|
||||||
|
top, bottom := ints[0], ints[1]
|
||||||
|
return ap.eventHandler.DECSTBM(top, bottom)
|
||||||
|
default:
|
||||||
|
logger.Errorf(fmt.Sprintf("Unsupported CSI command: '%s', with full context: %v", cmd, ap.context))
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) print() error {
|
||||||
|
return ap.eventHandler.Print(ap.context.currentChar)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) clear() error {
|
||||||
|
ap.context = &ansiContext{}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ap *AnsiParser) execute() error {
|
||||||
|
return ap.eventHandler.Execute(ap.context.currentChar)
|
||||||
|
}
|
|
@ -0,0 +1,71 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
type stateID int
|
||||||
|
|
||||||
|
type state interface {
|
||||||
|
Enter() error
|
||||||
|
Exit() error
|
||||||
|
Handle(byte) (state, error)
|
||||||
|
Name() string
|
||||||
|
Transition(state) error
|
||||||
|
}
|
||||||
|
|
||||||
|
type baseState struct {
|
||||||
|
name string
|
||||||
|
parser *AnsiParser
|
||||||
|
}
|
||||||
|
|
||||||
|
func (base baseState) Enter() error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (base baseState) Exit() error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (base baseState) Handle(b byte) (s state, e error) {
|
||||||
|
|
||||||
|
switch {
|
||||||
|
case b == CSI_ENTRY:
|
||||||
|
return base.parser.csiEntry, nil
|
||||||
|
case b == DCS_ENTRY:
|
||||||
|
return base.parser.dcsEntry, nil
|
||||||
|
case b == ANSI_ESCAPE_PRIMARY:
|
||||||
|
return base.parser.escape, nil
|
||||||
|
case b == OSC_STRING:
|
||||||
|
return base.parser.oscString, nil
|
||||||
|
case sliceContains(toGroundBytes, b):
|
||||||
|
return base.parser.ground, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (base baseState) Name() string {
|
||||||
|
return base.name
|
||||||
|
}
|
||||||
|
|
||||||
|
func (base baseState) Transition(s state) error {
|
||||||
|
if s == base.parser.ground {
|
||||||
|
execBytes := []byte{0x18}
|
||||||
|
execBytes = append(execBytes, 0x1A)
|
||||||
|
execBytes = append(execBytes, getByteRange(0x80, 0x8F)...)
|
||||||
|
execBytes = append(execBytes, getByteRange(0x91, 0x97)...)
|
||||||
|
execBytes = append(execBytes, 0x99)
|
||||||
|
execBytes = append(execBytes, 0x9A)
|
||||||
|
|
||||||
|
if sliceContains(execBytes, base.parser.context.currentChar) {
|
||||||
|
return base.parser.execute()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type dcsEntryState struct {
|
||||||
|
baseState
|
||||||
|
}
|
||||||
|
|
||||||
|
type errorState struct {
|
||||||
|
baseState
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
package ansiterm
|
||||||
|
|
||||||
|
import (
|
||||||
|
"strconv"
|
||||||
|
)
|
||||||
|
|
||||||
|
func sliceContains(bytes []byte, b byte) bool {
|
||||||
|
for _, v := range bytes {
|
||||||
|
if v == b {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func convertBytesToInteger(bytes []byte) int {
|
||||||
|
s := string(bytes)
|
||||||
|
i, _ := strconv.Atoi(s)
|
||||||
|
return i
|
||||||
|
}
|
|
@ -0,0 +1,182 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package winterm
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"strconv"
|
||||||
|
"strings"
|
||||||
|
"syscall"
|
||||||
|
|
||||||
|
"github.com/Azure/go-ansiterm"
|
||||||
|
)
|
||||||
|
|
||||||
|
// Windows keyboard constants
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx.
|
||||||
|
const (
|
||||||
|
VK_PRIOR = 0x21 // PAGE UP key
|
||||||
|
VK_NEXT = 0x22 // PAGE DOWN key
|
||||||
|
VK_END = 0x23 // END key
|
||||||
|
VK_HOME = 0x24 // HOME key
|
||||||
|
VK_LEFT = 0x25 // LEFT ARROW key
|
||||||
|
VK_UP = 0x26 // UP ARROW key
|
||||||
|
VK_RIGHT = 0x27 // RIGHT ARROW key
|
||||||
|
VK_DOWN = 0x28 // DOWN ARROW key
|
||||||
|
VK_SELECT = 0x29 // SELECT key
|
||||||
|
VK_PRINT = 0x2A // PRINT key
|
||||||
|
VK_EXECUTE = 0x2B // EXECUTE key
|
||||||
|
VK_SNAPSHOT = 0x2C // PRINT SCREEN key
|
||||||
|
VK_INSERT = 0x2D // INS key
|
||||||
|
VK_DELETE = 0x2E // DEL key
|
||||||
|
VK_HELP = 0x2F // HELP key
|
||||||
|
VK_F1 = 0x70 // F1 key
|
||||||
|
VK_F2 = 0x71 // F2 key
|
||||||
|
VK_F3 = 0x72 // F3 key
|
||||||
|
VK_F4 = 0x73 // F4 key
|
||||||
|
VK_F5 = 0x74 // F5 key
|
||||||
|
VK_F6 = 0x75 // F6 key
|
||||||
|
VK_F7 = 0x76 // F7 key
|
||||||
|
VK_F8 = 0x77 // F8 key
|
||||||
|
VK_F9 = 0x78 // F9 key
|
||||||
|
VK_F10 = 0x79 // F10 key
|
||||||
|
VK_F11 = 0x7A // F11 key
|
||||||
|
VK_F12 = 0x7B // F12 key
|
||||||
|
|
||||||
|
RIGHT_ALT_PRESSED = 0x0001
|
||||||
|
LEFT_ALT_PRESSED = 0x0002
|
||||||
|
RIGHT_CTRL_PRESSED = 0x0004
|
||||||
|
LEFT_CTRL_PRESSED = 0x0008
|
||||||
|
SHIFT_PRESSED = 0x0010
|
||||||
|
NUMLOCK_ON = 0x0020
|
||||||
|
SCROLLLOCK_ON = 0x0040
|
||||||
|
CAPSLOCK_ON = 0x0080
|
||||||
|
ENHANCED_KEY = 0x0100
|
||||||
|
)
|
||||||
|
|
||||||
|
type ansiCommand struct {
|
||||||
|
CommandBytes []byte
|
||||||
|
Command string
|
||||||
|
Parameters []string
|
||||||
|
IsSpecial bool
|
||||||
|
}
|
||||||
|
|
||||||
|
func newAnsiCommand(command []byte) *ansiCommand {
|
||||||
|
|
||||||
|
if isCharacterSelectionCmdChar(command[1]) {
|
||||||
|
// Is Character Set Selection commands
|
||||||
|
return &ansiCommand{
|
||||||
|
CommandBytes: command,
|
||||||
|
Command: string(command),
|
||||||
|
IsSpecial: true,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// last char is command character
|
||||||
|
lastCharIndex := len(command) - 1
|
||||||
|
|
||||||
|
ac := &ansiCommand{
|
||||||
|
CommandBytes: command,
|
||||||
|
Command: string(command[lastCharIndex]),
|
||||||
|
IsSpecial: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
// more than a single escape
|
||||||
|
if lastCharIndex != 0 {
|
||||||
|
start := 1
|
||||||
|
// skip if double char escape sequence
|
||||||
|
if command[0] == ansiterm.ANSI_ESCAPE_PRIMARY && command[1] == ansiterm.ANSI_ESCAPE_SECONDARY {
|
||||||
|
start++
|
||||||
|
}
|
||||||
|
// convert this to GetNextParam method
|
||||||
|
ac.Parameters = strings.Split(string(command[start:lastCharIndex]), ansiterm.ANSI_PARAMETER_SEP)
|
||||||
|
}
|
||||||
|
|
||||||
|
return ac
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ac *ansiCommand) paramAsSHORT(index int, defaultValue int16) int16 {
|
||||||
|
if index < 0 || index >= len(ac.Parameters) {
|
||||||
|
return defaultValue
|
||||||
|
}
|
||||||
|
|
||||||
|
param, err := strconv.ParseInt(ac.Parameters[index], 10, 16)
|
||||||
|
if err != nil {
|
||||||
|
return defaultValue
|
||||||
|
}
|
||||||
|
|
||||||
|
return int16(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ac *ansiCommand) String() string {
|
||||||
|
return fmt.Sprintf("0x%v \"%v\" (\"%v\")",
|
||||||
|
bytesToHex(ac.CommandBytes),
|
||||||
|
ac.Command,
|
||||||
|
strings.Join(ac.Parameters, "\",\""))
|
||||||
|
}
|
||||||
|
|
||||||
|
// isAnsiCommandChar returns true if the passed byte falls within the range of ANSI commands.
|
||||||
|
// See http://manpages.ubuntu.com/manpages/intrepid/man4/console_codes.4.html.
|
||||||
|
func isAnsiCommandChar(b byte) bool {
|
||||||
|
switch {
|
||||||
|
case ansiterm.ANSI_COMMAND_FIRST <= b && b <= ansiterm.ANSI_COMMAND_LAST && b != ansiterm.ANSI_ESCAPE_SECONDARY:
|
||||||
|
return true
|
||||||
|
case b == ansiterm.ANSI_CMD_G1 || b == ansiterm.ANSI_CMD_OSC || b == ansiterm.ANSI_CMD_DECPAM || b == ansiterm.ANSI_CMD_DECPNM:
|
||||||
|
// non-CSI escape sequence terminator
|
||||||
|
return true
|
||||||
|
case b == ansiterm.ANSI_CMD_STR_TERM || b == ansiterm.ANSI_BEL:
|
||||||
|
// String escape sequence terminator
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func isXtermOscSequence(command []byte, current byte) bool {
|
||||||
|
return (len(command) >= 2 && command[0] == ansiterm.ANSI_ESCAPE_PRIMARY && command[1] == ansiterm.ANSI_CMD_OSC && current != ansiterm.ANSI_BEL)
|
||||||
|
}
|
||||||
|
|
||||||
|
func isCharacterSelectionCmdChar(b byte) bool {
|
||||||
|
return (b == ansiterm.ANSI_CMD_G0 || b == ansiterm.ANSI_CMD_G1 || b == ansiterm.ANSI_CMD_G2 || b == ansiterm.ANSI_CMD_G3)
|
||||||
|
}
|
||||||
|
|
||||||
|
// bytesToHex converts a slice of bytes to a human-readable string.
|
||||||
|
func bytesToHex(b []byte) string {
|
||||||
|
hex := make([]string, len(b))
|
||||||
|
for i, ch := range b {
|
||||||
|
hex[i] = fmt.Sprintf("%X", ch)
|
||||||
|
}
|
||||||
|
return strings.Join(hex, "")
|
||||||
|
}
|
||||||
|
|
||||||
|
// ensureInRange adjusts the passed value, if necessary, to ensure it is within
|
||||||
|
// the passed min / max range.
|
||||||
|
func ensureInRange(n int16, min int16, max int16) int16 {
|
||||||
|
if n < min {
|
||||||
|
return min
|
||||||
|
} else if n > max {
|
||||||
|
return max
|
||||||
|
} else {
|
||||||
|
return n
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func GetStdFile(nFile int) (*os.File, uintptr) {
|
||||||
|
var file *os.File
|
||||||
|
switch nFile {
|
||||||
|
case syscall.STD_INPUT_HANDLE:
|
||||||
|
file = os.Stdin
|
||||||
|
case syscall.STD_OUTPUT_HANDLE:
|
||||||
|
file = os.Stdout
|
||||||
|
case syscall.STD_ERROR_HANDLE:
|
||||||
|
file = os.Stderr
|
||||||
|
default:
|
||||||
|
panic(fmt.Errorf("Invalid standard handle identifier: %v", nFile))
|
||||||
|
}
|
||||||
|
|
||||||
|
fd, err := syscall.GetStdHandle(nFile)
|
||||||
|
if err != nil {
|
||||||
|
panic(fmt.Errorf("Invalid standard handle indentifier: %v -- %v", nFile, err))
|
||||||
|
}
|
||||||
|
|
||||||
|
return file, uintptr(fd)
|
||||||
|
}
|
|
@ -0,0 +1,322 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package winterm
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"syscall"
|
||||||
|
"unsafe"
|
||||||
|
)
|
||||||
|
|
||||||
|
//===========================================================================================================
|
||||||
|
// IMPORTANT NOTE:
|
||||||
|
//
|
||||||
|
// The methods below make extensive use of the "unsafe" package to obtain the required pointers.
|
||||||
|
// Beginning in Go 1.3, the garbage collector may release local variables (e.g., incoming arguments, stack
|
||||||
|
// variables) the pointers reference *before* the API completes.
|
||||||
|
//
|
||||||
|
// As a result, in those cases, the code must hint that the variables remain in active by invoking the
|
||||||
|
// dummy method "use" (see below). Newer versions of Go are planned to change the mechanism to no longer
|
||||||
|
// require unsafe pointers.
|
||||||
|
//
|
||||||
|
// If you add or modify methods, ENSURE protection of local variables through the "use" builtin to inform
|
||||||
|
// the garbage collector the variables remain in use if:
|
||||||
|
//
|
||||||
|
// -- The value is not a pointer (e.g., int32, struct)
|
||||||
|
// -- The value is not referenced by the method after passing the pointer to Windows
|
||||||
|
//
|
||||||
|
// See http://golang.org/doc/go1.3.
|
||||||
|
//===========================================================================================================
|
||||||
|
|
||||||
|
var (
|
||||||
|
kernel32DLL = syscall.NewLazyDLL("kernel32.dll")
|
||||||
|
|
||||||
|
getConsoleCursorInfoProc = kernel32DLL.NewProc("GetConsoleCursorInfo")
|
||||||
|
setConsoleCursorInfoProc = kernel32DLL.NewProc("SetConsoleCursorInfo")
|
||||||
|
setConsoleCursorPositionProc = kernel32DLL.NewProc("SetConsoleCursorPosition")
|
||||||
|
setConsoleModeProc = kernel32DLL.NewProc("SetConsoleMode")
|
||||||
|
getConsoleScreenBufferInfoProc = kernel32DLL.NewProc("GetConsoleScreenBufferInfo")
|
||||||
|
setConsoleScreenBufferSizeProc = kernel32DLL.NewProc("SetConsoleScreenBufferSize")
|
||||||
|
scrollConsoleScreenBufferProc = kernel32DLL.NewProc("ScrollConsoleScreenBufferA")
|
||||||
|
setConsoleTextAttributeProc = kernel32DLL.NewProc("SetConsoleTextAttribute")
|
||||||
|
setConsoleWindowInfoProc = kernel32DLL.NewProc("SetConsoleWindowInfo")
|
||||||
|
writeConsoleOutputProc = kernel32DLL.NewProc("WriteConsoleOutputW")
|
||||||
|
readConsoleInputProc = kernel32DLL.NewProc("ReadConsoleInputW")
|
||||||
|
waitForSingleObjectProc = kernel32DLL.NewProc("WaitForSingleObject")
|
||||||
|
)
|
||||||
|
|
||||||
|
// Windows Console constants
|
||||||
|
const (
|
||||||
|
// Console modes
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).aspx.
|
||||||
|
ENABLE_PROCESSED_INPUT = 0x0001
|
||||||
|
ENABLE_LINE_INPUT = 0x0002
|
||||||
|
ENABLE_ECHO_INPUT = 0x0004
|
||||||
|
ENABLE_WINDOW_INPUT = 0x0008
|
||||||
|
ENABLE_MOUSE_INPUT = 0x0010
|
||||||
|
ENABLE_INSERT_MODE = 0x0020
|
||||||
|
ENABLE_QUICK_EDIT_MODE = 0x0040
|
||||||
|
ENABLE_EXTENDED_FLAGS = 0x0080
|
||||||
|
|
||||||
|
ENABLE_PROCESSED_OUTPUT = 0x0001
|
||||||
|
ENABLE_WRAP_AT_EOL_OUTPUT = 0x0002
|
||||||
|
|
||||||
|
// Character attributes
|
||||||
|
// Note:
|
||||||
|
// -- The attributes are combined to produce various colors (e.g., Blue + Green will create Cyan).
|
||||||
|
// Clearing all foreground or background colors results in black; setting all creates white.
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms682088(v=vs.85).aspx#_win32_character_attributes.
|
||||||
|
FOREGROUND_BLUE uint16 = 0x0001
|
||||||
|
FOREGROUND_GREEN uint16 = 0x0002
|
||||||
|
FOREGROUND_RED uint16 = 0x0004
|
||||||
|
FOREGROUND_INTENSITY uint16 = 0x0008
|
||||||
|
FOREGROUND_MASK uint16 = 0x000F
|
||||||
|
|
||||||
|
BACKGROUND_BLUE uint16 = 0x0010
|
||||||
|
BACKGROUND_GREEN uint16 = 0x0020
|
||||||
|
BACKGROUND_RED uint16 = 0x0040
|
||||||
|
BACKGROUND_INTENSITY uint16 = 0x0080
|
||||||
|
BACKGROUND_MASK uint16 = 0x00F0
|
||||||
|
|
||||||
|
COMMON_LVB_MASK uint16 = 0xFF00
|
||||||
|
COMMON_LVB_REVERSE_VIDEO uint16 = 0x4000
|
||||||
|
COMMON_LVB_UNDERSCORE uint16 = 0x8000
|
||||||
|
|
||||||
|
// Input event types
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683499(v=vs.85).aspx.
|
||||||
|
KEY_EVENT = 0x0001
|
||||||
|
MOUSE_EVENT = 0x0002
|
||||||
|
WINDOW_BUFFER_SIZE_EVENT = 0x0004
|
||||||
|
MENU_EVENT = 0x0008
|
||||||
|
FOCUS_EVENT = 0x0010
|
||||||
|
|
||||||
|
// WaitForSingleObject return codes
|
||||||
|
WAIT_ABANDONED = 0x00000080
|
||||||
|
WAIT_FAILED = 0xFFFFFFFF
|
||||||
|
WAIT_SIGNALED = 0x0000000
|
||||||
|
WAIT_TIMEOUT = 0x00000102
|
||||||
|
|
||||||
|
// WaitForSingleObject wait duration
|
||||||
|
WAIT_INFINITE = 0xFFFFFFFF
|
||||||
|
WAIT_ONE_SECOND = 1000
|
||||||
|
WAIT_HALF_SECOND = 500
|
||||||
|
WAIT_QUARTER_SECOND = 250
|
||||||
|
)
|
||||||
|
|
||||||
|
// Windows API Console types
|
||||||
|
// -- See https://msdn.microsoft.com/en-us/library/windows/desktop/ms682101(v=vs.85).aspx for Console specific types (e.g., COORD)
|
||||||
|
// -- See https://msdn.microsoft.com/en-us/library/aa296569(v=vs.60).aspx for comments on alignment
|
||||||
|
type (
|
||||||
|
CHAR_INFO struct {
|
||||||
|
UnicodeChar uint16
|
||||||
|
Attributes uint16
|
||||||
|
}
|
||||||
|
|
||||||
|
CONSOLE_CURSOR_INFO struct {
|
||||||
|
Size uint32
|
||||||
|
Visible int32
|
||||||
|
}
|
||||||
|
|
||||||
|
CONSOLE_SCREEN_BUFFER_INFO struct {
|
||||||
|
Size COORD
|
||||||
|
CursorPosition COORD
|
||||||
|
Attributes uint16
|
||||||
|
Window SMALL_RECT
|
||||||
|
MaximumWindowSize COORD
|
||||||
|
}
|
||||||
|
|
||||||
|
COORD struct {
|
||||||
|
X int16
|
||||||
|
Y int16
|
||||||
|
}
|
||||||
|
|
||||||
|
SMALL_RECT struct {
|
||||||
|
Left int16
|
||||||
|
Top int16
|
||||||
|
Right int16
|
||||||
|
Bottom int16
|
||||||
|
}
|
||||||
|
|
||||||
|
// INPUT_RECORD is a C/C++ union of which KEY_EVENT_RECORD is one case, it is also the largest
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683499(v=vs.85).aspx.
|
||||||
|
INPUT_RECORD struct {
|
||||||
|
EventType uint16
|
||||||
|
KeyEvent KEY_EVENT_RECORD
|
||||||
|
}
|
||||||
|
|
||||||
|
KEY_EVENT_RECORD struct {
|
||||||
|
KeyDown int32
|
||||||
|
RepeatCount uint16
|
||||||
|
VirtualKeyCode uint16
|
||||||
|
VirtualScanCode uint16
|
||||||
|
UnicodeChar uint16
|
||||||
|
ControlKeyState uint32
|
||||||
|
}
|
||||||
|
|
||||||
|
WINDOW_BUFFER_SIZE struct {
|
||||||
|
Size COORD
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
// boolToBOOL converts a Go bool into a Windows int32.
|
||||||
|
func boolToBOOL(f bool) int32 {
|
||||||
|
if f {
|
||||||
|
return int32(1)
|
||||||
|
} else {
|
||||||
|
return int32(0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetConsoleCursorInfo retrieves information about the size and visiblity of the console cursor.
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683163(v=vs.85).aspx.
|
||||||
|
func GetConsoleCursorInfo(handle uintptr, cursorInfo *CONSOLE_CURSOR_INFO) error {
|
||||||
|
r1, r2, err := getConsoleCursorInfoProc.Call(handle, uintptr(unsafe.Pointer(cursorInfo)), 0)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetConsoleCursorInfo sets the size and visiblity of the console cursor.
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686019(v=vs.85).aspx.
|
||||||
|
func SetConsoleCursorInfo(handle uintptr, cursorInfo *CONSOLE_CURSOR_INFO) error {
|
||||||
|
r1, r2, err := setConsoleCursorInfoProc.Call(handle, uintptr(unsafe.Pointer(cursorInfo)), 0)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetConsoleCursorPosition location of the console cursor.
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686025(v=vs.85).aspx.
|
||||||
|
func SetConsoleCursorPosition(handle uintptr, coord COORD) error {
|
||||||
|
r1, r2, err := setConsoleCursorPositionProc.Call(handle, coordToPointer(coord))
|
||||||
|
use(coord)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetConsoleMode gets the console mode for given file descriptor
|
||||||
|
// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms683167(v=vs.85).aspx.
|
||||||
|
func GetConsoleMode(handle uintptr) (mode uint32, err error) {
|
||||||
|
err = syscall.GetConsoleMode(syscall.Handle(handle), &mode)
|
||||||
|
return mode, err
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetConsoleMode sets the console mode for given file descriptor
|
||||||
|
// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).aspx.
|
||||||
|
func SetConsoleMode(handle uintptr, mode uint32) error {
|
||||||
|
r1, r2, err := setConsoleModeProc.Call(handle, uintptr(mode), 0)
|
||||||
|
use(mode)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetConsoleScreenBufferInfo retrieves information about the specified console screen buffer.
|
||||||
|
// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms683171(v=vs.85).aspx.
|
||||||
|
func GetConsoleScreenBufferInfo(handle uintptr) (*CONSOLE_SCREEN_BUFFER_INFO, error) {
|
||||||
|
info := CONSOLE_SCREEN_BUFFER_INFO{}
|
||||||
|
err := checkError(getConsoleScreenBufferInfoProc.Call(handle, uintptr(unsafe.Pointer(&info)), 0))
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return &info, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func ScrollConsoleScreenBuffer(handle uintptr, scrollRect SMALL_RECT, clipRect SMALL_RECT, destOrigin COORD, char CHAR_INFO) error {
|
||||||
|
r1, r2, err := scrollConsoleScreenBufferProc.Call(handle, uintptr(unsafe.Pointer(&scrollRect)), uintptr(unsafe.Pointer(&clipRect)), coordToPointer(destOrigin), uintptr(unsafe.Pointer(&char)))
|
||||||
|
use(scrollRect)
|
||||||
|
use(clipRect)
|
||||||
|
use(destOrigin)
|
||||||
|
use(char)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetConsoleScreenBufferSize sets the size of the console screen buffer.
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686044(v=vs.85).aspx.
|
||||||
|
func SetConsoleScreenBufferSize(handle uintptr, coord COORD) error {
|
||||||
|
r1, r2, err := setConsoleScreenBufferSizeProc.Call(handle, coordToPointer(coord))
|
||||||
|
use(coord)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetConsoleTextAttribute sets the attributes of characters written to the
|
||||||
|
// console screen buffer by the WriteFile or WriteConsole function.
|
||||||
|
// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms686047(v=vs.85).aspx.
|
||||||
|
func SetConsoleTextAttribute(handle uintptr, attribute uint16) error {
|
||||||
|
r1, r2, err := setConsoleTextAttributeProc.Call(handle, uintptr(attribute), 0)
|
||||||
|
use(attribute)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetConsoleWindowInfo sets the size and position of the console screen buffer's window.
|
||||||
|
// Note that the size and location must be within and no larger than the backing console screen buffer.
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686125(v=vs.85).aspx.
|
||||||
|
func SetConsoleWindowInfo(handle uintptr, isAbsolute bool, rect SMALL_RECT) error {
|
||||||
|
r1, r2, err := setConsoleWindowInfoProc.Call(handle, uintptr(boolToBOOL(isAbsolute)), uintptr(unsafe.Pointer(&rect)))
|
||||||
|
use(isAbsolute)
|
||||||
|
use(rect)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// WriteConsoleOutput writes the CHAR_INFOs from the provided buffer to the active console buffer.
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms687404(v=vs.85).aspx.
|
||||||
|
func WriteConsoleOutput(handle uintptr, buffer []CHAR_INFO, bufferSize COORD, bufferCoord COORD, writeRegion *SMALL_RECT) error {
|
||||||
|
r1, r2, err := writeConsoleOutputProc.Call(handle, uintptr(unsafe.Pointer(&buffer[0])), coordToPointer(bufferSize), coordToPointer(bufferCoord), uintptr(unsafe.Pointer(writeRegion)))
|
||||||
|
use(buffer)
|
||||||
|
use(bufferSize)
|
||||||
|
use(bufferCoord)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// ReadConsoleInput reads (and removes) data from the console input buffer.
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms684961(v=vs.85).aspx.
|
||||||
|
func ReadConsoleInput(handle uintptr, buffer []INPUT_RECORD, count *uint32) error {
|
||||||
|
r1, r2, err := readConsoleInputProc.Call(handle, uintptr(unsafe.Pointer(&buffer[0])), uintptr(len(buffer)), uintptr(unsafe.Pointer(count)))
|
||||||
|
use(buffer)
|
||||||
|
return checkError(r1, r2, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// WaitForSingleObject waits for the passed handle to be signaled.
|
||||||
|
// It returns true if the handle was signaled; false otherwise.
|
||||||
|
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms687032(v=vs.85).aspx.
|
||||||
|
func WaitForSingleObject(handle uintptr, msWait uint32) (bool, error) {
|
||||||
|
r1, _, err := waitForSingleObjectProc.Call(handle, uintptr(uint32(msWait)))
|
||||||
|
switch r1 {
|
||||||
|
case WAIT_ABANDONED, WAIT_TIMEOUT:
|
||||||
|
return false, nil
|
||||||
|
case WAIT_SIGNALED:
|
||||||
|
return true, nil
|
||||||
|
}
|
||||||
|
use(msWait)
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
|
||||||
|
// String helpers
|
||||||
|
func (info CONSOLE_SCREEN_BUFFER_INFO) String() string {
|
||||||
|
return fmt.Sprintf("Size(%v) Cursor(%v) Window(%v) Max(%v)", info.Size, info.CursorPosition, info.Window, info.MaximumWindowSize)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (coord COORD) String() string {
|
||||||
|
return fmt.Sprintf("%v,%v", coord.X, coord.Y)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (rect SMALL_RECT) String() string {
|
||||||
|
return fmt.Sprintf("(%v,%v),(%v,%v)", rect.Left, rect.Top, rect.Right, rect.Bottom)
|
||||||
|
}
|
||||||
|
|
||||||
|
// checkError evaluates the results of a Windows API call and returns the error if it failed.
|
||||||
|
func checkError(r1, r2 uintptr, err error) error {
|
||||||
|
// Windows APIs return non-zero to indicate success
|
||||||
|
if r1 != 0 {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Return the error if provided, otherwise default to EINVAL
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return syscall.EINVAL
|
||||||
|
}
|
||||||
|
|
||||||
|
// coordToPointer converts a COORD into a uintptr (by fooling the type system).
|
||||||
|
func coordToPointer(c COORD) uintptr {
|
||||||
|
// Note: This code assumes the two SHORTs are correctly laid out; the "cast" to uint32 is just to get a pointer to pass.
|
||||||
|
return uintptr(*((*uint32)(unsafe.Pointer(&c))))
|
||||||
|
}
|
||||||
|
|
||||||
|
// use is a no-op, but the compiler cannot see that it is.
|
||||||
|
// Calling use(p) ensures that p is kept live until that point.
|
||||||
|
func use(p interface{}) {}
|
|
@ -0,0 +1,100 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package winterm
|
||||||
|
|
||||||
|
import "github.com/Azure/go-ansiterm"
|
||||||
|
|
||||||
|
const (
|
||||||
|
FOREGROUND_COLOR_MASK = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE
|
||||||
|
BACKGROUND_COLOR_MASK = BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE
|
||||||
|
)
|
||||||
|
|
||||||
|
// collectAnsiIntoWindowsAttributes modifies the passed Windows text mode flags to reflect the
|
||||||
|
// request represented by the passed ANSI mode.
|
||||||
|
func collectAnsiIntoWindowsAttributes(windowsMode uint16, inverted bool, baseMode uint16, ansiMode int16) (uint16, bool) {
|
||||||
|
switch ansiMode {
|
||||||
|
|
||||||
|
// Mode styles
|
||||||
|
case ansiterm.ANSI_SGR_BOLD:
|
||||||
|
windowsMode = windowsMode | FOREGROUND_INTENSITY
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_DIM, ansiterm.ANSI_SGR_BOLD_DIM_OFF:
|
||||||
|
windowsMode &^= FOREGROUND_INTENSITY
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_UNDERLINE:
|
||||||
|
windowsMode = windowsMode | COMMON_LVB_UNDERSCORE
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_REVERSE:
|
||||||
|
inverted = true
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_REVERSE_OFF:
|
||||||
|
inverted = false
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_UNDERLINE_OFF:
|
||||||
|
windowsMode &^= COMMON_LVB_UNDERSCORE
|
||||||
|
|
||||||
|
// Foreground colors
|
||||||
|
case ansiterm.ANSI_SGR_FOREGROUND_DEFAULT:
|
||||||
|
windowsMode = (windowsMode &^ FOREGROUND_MASK) | (baseMode & FOREGROUND_MASK)
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_FOREGROUND_BLACK:
|
||||||
|
windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK)
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_FOREGROUND_RED:
|
||||||
|
windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_RED
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_FOREGROUND_GREEN:
|
||||||
|
windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_GREEN
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_FOREGROUND_YELLOW:
|
||||||
|
windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_RED | FOREGROUND_GREEN
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_FOREGROUND_BLUE:
|
||||||
|
windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_BLUE
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_FOREGROUND_MAGENTA:
|
||||||
|
windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_RED | FOREGROUND_BLUE
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_FOREGROUND_CYAN:
|
||||||
|
windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_GREEN | FOREGROUND_BLUE
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_FOREGROUND_WHITE:
|
||||||
|
windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE
|
||||||
|
|
||||||
|
// Background colors
|
||||||
|
case ansiterm.ANSI_SGR_BACKGROUND_DEFAULT:
|
||||||
|
// Black with no intensity
|
||||||
|
windowsMode = (windowsMode &^ BACKGROUND_MASK) | (baseMode & BACKGROUND_MASK)
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_BACKGROUND_BLACK:
|
||||||
|
windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK)
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_BACKGROUND_RED:
|
||||||
|
windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_RED
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_BACKGROUND_GREEN:
|
||||||
|
windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_GREEN
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_BACKGROUND_YELLOW:
|
||||||
|
windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_RED | BACKGROUND_GREEN
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_BACKGROUND_BLUE:
|
||||||
|
windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_BLUE
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_BACKGROUND_MAGENTA:
|
||||||
|
windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_RED | BACKGROUND_BLUE
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_BACKGROUND_CYAN:
|
||||||
|
windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_GREEN | BACKGROUND_BLUE
|
||||||
|
|
||||||
|
case ansiterm.ANSI_SGR_BACKGROUND_WHITE:
|
||||||
|
windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE
|
||||||
|
}
|
||||||
|
|
||||||
|
return windowsMode, inverted
|
||||||
|
}
|
||||||
|
|
||||||
|
// invertAttributes inverts the foreground and background colors of a Windows attributes value
|
||||||
|
func invertAttributes(windowsMode uint16) uint16 {
|
||||||
|
return (COMMON_LVB_MASK & windowsMode) | ((FOREGROUND_MASK & windowsMode) << 4) | ((BACKGROUND_MASK & windowsMode) >> 4)
|
||||||
|
}
|
|
@ -0,0 +1,101 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package winterm
|
||||||
|
|
||||||
|
const (
|
||||||
|
horizontal = iota
|
||||||
|
vertical
|
||||||
|
)
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) getCursorWindow(info *CONSOLE_SCREEN_BUFFER_INFO) SMALL_RECT {
|
||||||
|
if h.originMode {
|
||||||
|
sr := h.effectiveSr(info.Window)
|
||||||
|
return SMALL_RECT{
|
||||||
|
Top: sr.top,
|
||||||
|
Bottom: sr.bottom,
|
||||||
|
Left: 0,
|
||||||
|
Right: info.Size.X - 1,
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return SMALL_RECT{
|
||||||
|
Top: info.Window.Top,
|
||||||
|
Bottom: info.Window.Bottom,
|
||||||
|
Left: 0,
|
||||||
|
Right: info.Size.X - 1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// setCursorPosition sets the cursor to the specified position, bounded to the screen size
|
||||||
|
func (h *windowsAnsiEventHandler) setCursorPosition(position COORD, window SMALL_RECT) error {
|
||||||
|
position.X = ensureInRange(position.X, window.Left, window.Right)
|
||||||
|
position.Y = ensureInRange(position.Y, window.Top, window.Bottom)
|
||||||
|
err := SetConsoleCursorPosition(h.fd, position)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("Cursor position set: (%d, %d)", position.X, position.Y)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) moveCursorVertical(param int) error {
|
||||||
|
return h.moveCursor(vertical, param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) moveCursorHorizontal(param int) error {
|
||||||
|
return h.moveCursor(horizontal, param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) moveCursor(moveMode int, param int) error {
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
position := info.CursorPosition
|
||||||
|
switch moveMode {
|
||||||
|
case horizontal:
|
||||||
|
position.X += int16(param)
|
||||||
|
case vertical:
|
||||||
|
position.Y += int16(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err = h.setCursorPosition(position, h.getCursorWindow(info)); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) moveCursorLine(param int) error {
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
position := info.CursorPosition
|
||||||
|
position.X = 0
|
||||||
|
position.Y += int16(param)
|
||||||
|
|
||||||
|
if err = h.setCursorPosition(position, h.getCursorWindow(info)); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) moveCursorColumn(param int) error {
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
position := info.CursorPosition
|
||||||
|
position.X = int16(param) - 1
|
||||||
|
|
||||||
|
if err = h.setCursorPosition(position, h.getCursorWindow(info)); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -0,0 +1,84 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package winterm
|
||||||
|
|
||||||
|
import "github.com/Azure/go-ansiterm"
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) clearRange(attributes uint16, fromCoord COORD, toCoord COORD) error {
|
||||||
|
// Ignore an invalid (negative area) request
|
||||||
|
if toCoord.Y < fromCoord.Y {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
var err error
|
||||||
|
|
||||||
|
var coordStart = COORD{}
|
||||||
|
var coordEnd = COORD{}
|
||||||
|
|
||||||
|
xCurrent, yCurrent := fromCoord.X, fromCoord.Y
|
||||||
|
xEnd, yEnd := toCoord.X, toCoord.Y
|
||||||
|
|
||||||
|
// Clear any partial initial line
|
||||||
|
if xCurrent > 0 {
|
||||||
|
coordStart.X, coordStart.Y = xCurrent, yCurrent
|
||||||
|
coordEnd.X, coordEnd.Y = xEnd, yCurrent
|
||||||
|
|
||||||
|
err = h.clearRect(attributes, coordStart, coordEnd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
xCurrent = 0
|
||||||
|
yCurrent += 1
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clear intervening rectangular section
|
||||||
|
if yCurrent < yEnd {
|
||||||
|
coordStart.X, coordStart.Y = xCurrent, yCurrent
|
||||||
|
coordEnd.X, coordEnd.Y = xEnd, yEnd-1
|
||||||
|
|
||||||
|
err = h.clearRect(attributes, coordStart, coordEnd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
xCurrent = 0
|
||||||
|
yCurrent = yEnd
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clear remaining partial ending line
|
||||||
|
coordStart.X, coordStart.Y = xCurrent, yCurrent
|
||||||
|
coordEnd.X, coordEnd.Y = xEnd, yEnd
|
||||||
|
|
||||||
|
err = h.clearRect(attributes, coordStart, coordEnd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) clearRect(attributes uint16, fromCoord COORD, toCoord COORD) error {
|
||||||
|
region := SMALL_RECT{Top: fromCoord.Y, Left: fromCoord.X, Bottom: toCoord.Y, Right: toCoord.X}
|
||||||
|
width := toCoord.X - fromCoord.X + 1
|
||||||
|
height := toCoord.Y - fromCoord.Y + 1
|
||||||
|
size := uint32(width) * uint32(height)
|
||||||
|
|
||||||
|
if size <= 0 {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
buffer := make([]CHAR_INFO, size)
|
||||||
|
|
||||||
|
char := CHAR_INFO{ansiterm.FILL_CHARACTER, attributes}
|
||||||
|
for i := 0; i < int(size); i++ {
|
||||||
|
buffer[i] = char
|
||||||
|
}
|
||||||
|
|
||||||
|
err := WriteConsoleOutput(h.fd, buffer, COORD{X: width, Y: height}, COORD{X: 0, Y: 0}, ®ion)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -0,0 +1,118 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package winterm
|
||||||
|
|
||||||
|
// effectiveSr gets the current effective scroll region in buffer coordinates
|
||||||
|
func (h *windowsAnsiEventHandler) effectiveSr(window SMALL_RECT) scrollRegion {
|
||||||
|
top := addInRange(window.Top, h.sr.top, window.Top, window.Bottom)
|
||||||
|
bottom := addInRange(window.Top, h.sr.bottom, window.Top, window.Bottom)
|
||||||
|
if top >= bottom {
|
||||||
|
top = window.Top
|
||||||
|
bottom = window.Bottom
|
||||||
|
}
|
||||||
|
return scrollRegion{top: top, bottom: bottom}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) scrollUp(param int) error {
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
sr := h.effectiveSr(info.Window)
|
||||||
|
return h.scroll(param, sr, info)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) scrollDown(param int) error {
|
||||||
|
return h.scrollUp(-param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) deleteLines(param int) error {
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
start := info.CursorPosition.Y
|
||||||
|
sr := h.effectiveSr(info.Window)
|
||||||
|
// Lines cannot be inserted or deleted outside the scrolling region.
|
||||||
|
if start >= sr.top && start <= sr.bottom {
|
||||||
|
sr.top = start
|
||||||
|
return h.scroll(param, sr, info)
|
||||||
|
} else {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) insertLines(param int) error {
|
||||||
|
return h.deleteLines(-param)
|
||||||
|
}
|
||||||
|
|
||||||
|
// scroll scrolls the provided scroll region by param lines. The scroll region is in buffer coordinates.
|
||||||
|
func (h *windowsAnsiEventHandler) scroll(param int, sr scrollRegion, info *CONSOLE_SCREEN_BUFFER_INFO) error {
|
||||||
|
logger.Infof("scroll: scrollTop: %d, scrollBottom: %d", sr.top, sr.bottom)
|
||||||
|
logger.Infof("scroll: windowTop: %d, windowBottom: %d", info.Window.Top, info.Window.Bottom)
|
||||||
|
|
||||||
|
// Copy from and clip to the scroll region (full buffer width)
|
||||||
|
scrollRect := SMALL_RECT{
|
||||||
|
Top: sr.top,
|
||||||
|
Bottom: sr.bottom,
|
||||||
|
Left: 0,
|
||||||
|
Right: info.Size.X - 1,
|
||||||
|
}
|
||||||
|
|
||||||
|
// Origin to which area should be copied
|
||||||
|
destOrigin := COORD{
|
||||||
|
X: 0,
|
||||||
|
Y: sr.top - int16(param),
|
||||||
|
}
|
||||||
|
|
||||||
|
char := CHAR_INFO{
|
||||||
|
UnicodeChar: ' ',
|
||||||
|
Attributes: h.attributes,
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := ScrollConsoleScreenBuffer(h.fd, scrollRect, scrollRect, destOrigin, char); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) deleteCharacters(param int) error {
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return h.scrollLine(param, info.CursorPosition, info)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) insertCharacters(param int) error {
|
||||||
|
return h.deleteCharacters(-param)
|
||||||
|
}
|
||||||
|
|
||||||
|
// scrollLine scrolls a line horizontally starting at the provided position by a number of columns.
|
||||||
|
func (h *windowsAnsiEventHandler) scrollLine(columns int, position COORD, info *CONSOLE_SCREEN_BUFFER_INFO) error {
|
||||||
|
// Copy from and clip to the scroll region (full buffer width)
|
||||||
|
scrollRect := SMALL_RECT{
|
||||||
|
Top: position.Y,
|
||||||
|
Bottom: position.Y,
|
||||||
|
Left: position.X,
|
||||||
|
Right: info.Size.X - 1,
|
||||||
|
}
|
||||||
|
|
||||||
|
// Origin to which area should be copied
|
||||||
|
destOrigin := COORD{
|
||||||
|
X: position.X - int16(columns),
|
||||||
|
Y: position.Y,
|
||||||
|
}
|
||||||
|
|
||||||
|
char := CHAR_INFO{
|
||||||
|
UnicodeChar: ' ',
|
||||||
|
Attributes: h.attributes,
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := ScrollConsoleScreenBuffer(h.fd, scrollRect, scrollRect, destOrigin, char); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package winterm
|
||||||
|
|
||||||
|
// AddInRange increments a value by the passed quantity while ensuring the values
|
||||||
|
// always remain within the supplied min / max range.
|
||||||
|
func addInRange(n int16, increment int16, min int16, max int16) int16 {
|
||||||
|
return ensureInRange(n+increment, min, max)
|
||||||
|
}
|
|
@ -0,0 +1,726 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package winterm
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"io/ioutil"
|
||||||
|
"os"
|
||||||
|
"strconv"
|
||||||
|
|
||||||
|
"github.com/Azure/go-ansiterm"
|
||||||
|
"github.com/Sirupsen/logrus"
|
||||||
|
)
|
||||||
|
|
||||||
|
var logger *logrus.Logger
|
||||||
|
|
||||||
|
type windowsAnsiEventHandler struct {
|
||||||
|
fd uintptr
|
||||||
|
file *os.File
|
||||||
|
infoReset *CONSOLE_SCREEN_BUFFER_INFO
|
||||||
|
sr scrollRegion
|
||||||
|
buffer bytes.Buffer
|
||||||
|
attributes uint16
|
||||||
|
inverted bool
|
||||||
|
wrapNext bool
|
||||||
|
drewMarginByte bool
|
||||||
|
originMode bool
|
||||||
|
marginByte byte
|
||||||
|
curInfo *CONSOLE_SCREEN_BUFFER_INFO
|
||||||
|
curPos COORD
|
||||||
|
}
|
||||||
|
|
||||||
|
func CreateWinEventHandler(fd uintptr, file *os.File) ansiterm.AnsiEventHandler {
|
||||||
|
logFile := ioutil.Discard
|
||||||
|
|
||||||
|
if isDebugEnv := os.Getenv(ansiterm.LogEnv); isDebugEnv == "1" {
|
||||||
|
logFile, _ = os.Create("winEventHandler.log")
|
||||||
|
}
|
||||||
|
|
||||||
|
logger = &logrus.Logger{
|
||||||
|
Out: logFile,
|
||||||
|
Formatter: new(logrus.TextFormatter),
|
||||||
|
Level: logrus.DebugLevel,
|
||||||
|
}
|
||||||
|
|
||||||
|
infoReset, err := GetConsoleScreenBufferInfo(fd)
|
||||||
|
if err != nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return &windowsAnsiEventHandler{
|
||||||
|
fd: fd,
|
||||||
|
file: file,
|
||||||
|
infoReset: infoReset,
|
||||||
|
attributes: infoReset.Attributes,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
type scrollRegion struct {
|
||||||
|
top int16
|
||||||
|
bottom int16
|
||||||
|
}
|
||||||
|
|
||||||
|
// simulateLF simulates a LF or CR+LF by scrolling if necessary to handle the
|
||||||
|
// current cursor position and scroll region settings, in which case it returns
|
||||||
|
// true. If no special handling is necessary, then it does nothing and returns
|
||||||
|
// false.
|
||||||
|
//
|
||||||
|
// In the false case, the caller should ensure that a carriage return
|
||||||
|
// and line feed are inserted or that the text is otherwise wrapped.
|
||||||
|
func (h *windowsAnsiEventHandler) simulateLF(includeCR bool) (bool, error) {
|
||||||
|
if h.wrapNext {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
h.clearWrap()
|
||||||
|
}
|
||||||
|
pos, info, err := h.getCurrentInfo()
|
||||||
|
if err != nil {
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
sr := h.effectiveSr(info.Window)
|
||||||
|
if pos.Y == sr.bottom {
|
||||||
|
// Scrolling is necessary. Let Windows automatically scroll if the scrolling region
|
||||||
|
// is the full window.
|
||||||
|
if sr.top == info.Window.Top && sr.bottom == info.Window.Bottom {
|
||||||
|
if includeCR {
|
||||||
|
pos.X = 0
|
||||||
|
h.updatePos(pos)
|
||||||
|
}
|
||||||
|
return false, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// A custom scroll region is active. Scroll the window manually to simulate
|
||||||
|
// the LF.
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
logger.Info("Simulating LF inside scroll region")
|
||||||
|
if err := h.scrollUp(1); err != nil {
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
if includeCR {
|
||||||
|
pos.X = 0
|
||||||
|
if err := SetConsoleCursorPosition(h.fd, pos); err != nil {
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true, nil
|
||||||
|
|
||||||
|
} else if pos.Y < info.Window.Bottom {
|
||||||
|
// Let Windows handle the LF.
|
||||||
|
pos.Y++
|
||||||
|
if includeCR {
|
||||||
|
pos.X = 0
|
||||||
|
}
|
||||||
|
h.updatePos(pos)
|
||||||
|
return false, nil
|
||||||
|
} else {
|
||||||
|
// The cursor is at the bottom of the screen but outside the scroll
|
||||||
|
// region. Skip the LF.
|
||||||
|
logger.Info("Simulating LF outside scroll region")
|
||||||
|
if includeCR {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
pos.X = 0
|
||||||
|
if err := SetConsoleCursorPosition(h.fd, pos); err != nil {
|
||||||
|
return false, err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true, nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// executeLF executes a LF without a CR.
|
||||||
|
func (h *windowsAnsiEventHandler) executeLF() error {
|
||||||
|
handled, err := h.simulateLF(false)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if !handled {
|
||||||
|
// Windows LF will reset the cursor column position. Write the LF
|
||||||
|
// and restore the cursor position.
|
||||||
|
pos, _, err := h.getCurrentInfo()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
h.buffer.WriteByte(ansiterm.ANSI_LINE_FEED)
|
||||||
|
if pos.X != 0 {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Info("Resetting cursor position for LF without CR")
|
||||||
|
if err := SetConsoleCursorPosition(h.fd, pos); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) Print(b byte) error {
|
||||||
|
if h.wrapNext {
|
||||||
|
h.buffer.WriteByte(h.marginByte)
|
||||||
|
h.clearWrap()
|
||||||
|
if _, err := h.simulateLF(true); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
pos, info, err := h.getCurrentInfo()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if pos.X == info.Size.X-1 {
|
||||||
|
h.wrapNext = true
|
||||||
|
h.marginByte = b
|
||||||
|
} else {
|
||||||
|
pos.X++
|
||||||
|
h.updatePos(pos)
|
||||||
|
h.buffer.WriteByte(b)
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) Execute(b byte) error {
|
||||||
|
switch b {
|
||||||
|
case ansiterm.ANSI_TAB:
|
||||||
|
logger.Info("Execute(TAB)")
|
||||||
|
// Move to the next tab stop, but preserve auto-wrap if already set.
|
||||||
|
if !h.wrapNext {
|
||||||
|
pos, info, err := h.getCurrentInfo()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
pos.X = (pos.X + 8) - pos.X%8
|
||||||
|
if pos.X >= info.Size.X {
|
||||||
|
pos.X = info.Size.X - 1
|
||||||
|
}
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if err := SetConsoleCursorPosition(h.fd, pos); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
|
||||||
|
case ansiterm.ANSI_BEL:
|
||||||
|
h.buffer.WriteByte(ansiterm.ANSI_BEL)
|
||||||
|
return nil
|
||||||
|
|
||||||
|
case ansiterm.ANSI_BACKSPACE:
|
||||||
|
if h.wrapNext {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
h.clearWrap()
|
||||||
|
}
|
||||||
|
pos, _, err := h.getCurrentInfo()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if pos.X > 0 {
|
||||||
|
pos.X--
|
||||||
|
h.updatePos(pos)
|
||||||
|
h.buffer.WriteByte(ansiterm.ANSI_BACKSPACE)
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
|
||||||
|
case ansiterm.ANSI_VERTICAL_TAB, ansiterm.ANSI_FORM_FEED:
|
||||||
|
// Treat as true LF.
|
||||||
|
return h.executeLF()
|
||||||
|
|
||||||
|
case ansiterm.ANSI_LINE_FEED:
|
||||||
|
// Simulate a CR and LF for now since there is no way in go-ansiterm
|
||||||
|
// to tell if the LF should include CR (and more things break when it's
|
||||||
|
// missing than when it's incorrectly added).
|
||||||
|
handled, err := h.simulateLF(true)
|
||||||
|
if handled || err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return h.buffer.WriteByte(ansiterm.ANSI_LINE_FEED)
|
||||||
|
|
||||||
|
case ansiterm.ANSI_CARRIAGE_RETURN:
|
||||||
|
if h.wrapNext {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
h.clearWrap()
|
||||||
|
}
|
||||||
|
pos, _, err := h.getCurrentInfo()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if pos.X != 0 {
|
||||||
|
pos.X = 0
|
||||||
|
h.updatePos(pos)
|
||||||
|
h.buffer.WriteByte(ansiterm.ANSI_CARRIAGE_RETURN)
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) CUU(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("CUU: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
return h.moveCursorVertical(-param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) CUD(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("CUD: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
return h.moveCursorVertical(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) CUF(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("CUF: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
return h.moveCursorHorizontal(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) CUB(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("CUB: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
return h.moveCursorHorizontal(-param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) CNL(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("CNL: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
return h.moveCursorLine(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) CPL(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("CPL: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
return h.moveCursorLine(-param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) CHA(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("CHA: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
return h.moveCursorColumn(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) VPA(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("VPA: [[%d]]", param)
|
||||||
|
h.clearWrap()
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
window := h.getCursorWindow(info)
|
||||||
|
position := info.CursorPosition
|
||||||
|
position.Y = window.Top + int16(param) - 1
|
||||||
|
return h.setCursorPosition(position, window)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) CUP(row int, col int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("CUP: [[%d %d]]", row, col)
|
||||||
|
h.clearWrap()
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
window := h.getCursorWindow(info)
|
||||||
|
position := COORD{window.Left + int16(col) - 1, window.Top + int16(row) - 1}
|
||||||
|
return h.setCursorPosition(position, window)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) HVP(row int, col int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("HVP: [[%d %d]]", row, col)
|
||||||
|
h.clearWrap()
|
||||||
|
return h.CUP(row, col)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) DECTCEM(visible bool) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("DECTCEM: [%v]", []string{strconv.FormatBool(visible)})
|
||||||
|
h.clearWrap()
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) DECOM(enable bool) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("DECOM: [%v]", []string{strconv.FormatBool(enable)})
|
||||||
|
h.clearWrap()
|
||||||
|
h.originMode = enable
|
||||||
|
return h.CUP(1, 1)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) DECCOLM(use132 bool) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("DECCOLM: [%v]", []string{strconv.FormatBool(use132)})
|
||||||
|
h.clearWrap()
|
||||||
|
if err := h.ED(2); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
targetWidth := int16(80)
|
||||||
|
if use132 {
|
||||||
|
targetWidth = 132
|
||||||
|
}
|
||||||
|
if info.Size.X < targetWidth {
|
||||||
|
if err := SetConsoleScreenBufferSize(h.fd, COORD{targetWidth, info.Size.Y}); err != nil {
|
||||||
|
logger.Info("set buffer failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
window := info.Window
|
||||||
|
window.Left = 0
|
||||||
|
window.Right = targetWidth - 1
|
||||||
|
if err := SetConsoleWindowInfo(h.fd, true, window); err != nil {
|
||||||
|
logger.Info("set window failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if info.Size.X > targetWidth {
|
||||||
|
if err := SetConsoleScreenBufferSize(h.fd, COORD{targetWidth, info.Size.Y}); err != nil {
|
||||||
|
logger.Info("set buffer failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return SetConsoleCursorPosition(h.fd, COORD{0, 0})
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) ED(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("ED: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
|
||||||
|
// [J -- Erases from the cursor to the end of the screen, including the cursor position.
|
||||||
|
// [1J -- Erases from the beginning of the screen to the cursor, including the cursor position.
|
||||||
|
// [2J -- Erases the complete display. The cursor does not move.
|
||||||
|
// Notes:
|
||||||
|
// -- Clearing the entire buffer, versus just the Window, works best for Windows Consoles
|
||||||
|
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
var start COORD
|
||||||
|
var end COORD
|
||||||
|
|
||||||
|
switch param {
|
||||||
|
case 0:
|
||||||
|
start = info.CursorPosition
|
||||||
|
end = COORD{info.Size.X - 1, info.Size.Y - 1}
|
||||||
|
|
||||||
|
case 1:
|
||||||
|
start = COORD{0, 0}
|
||||||
|
end = info.CursorPosition
|
||||||
|
|
||||||
|
case 2:
|
||||||
|
start = COORD{0, 0}
|
||||||
|
end = COORD{info.Size.X - 1, info.Size.Y - 1}
|
||||||
|
}
|
||||||
|
|
||||||
|
err = h.clearRange(h.attributes, start, end)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
// If the whole buffer was cleared, move the window to the top while preserving
|
||||||
|
// the window-relative cursor position.
|
||||||
|
if param == 2 {
|
||||||
|
pos := info.CursorPosition
|
||||||
|
window := info.Window
|
||||||
|
pos.Y -= window.Top
|
||||||
|
window.Bottom -= window.Top
|
||||||
|
window.Top = 0
|
||||||
|
if err := SetConsoleCursorPosition(h.fd, pos); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if err := SetConsoleWindowInfo(h.fd, true, window); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) EL(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("EL: [%v]", strconv.Itoa(param))
|
||||||
|
h.clearWrap()
|
||||||
|
|
||||||
|
// [K -- Erases from the cursor to the end of the line, including the cursor position.
|
||||||
|
// [1K -- Erases from the beginning of the line to the cursor, including the cursor position.
|
||||||
|
// [2K -- Erases the complete line.
|
||||||
|
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
var start COORD
|
||||||
|
var end COORD
|
||||||
|
|
||||||
|
switch param {
|
||||||
|
case 0:
|
||||||
|
start = info.CursorPosition
|
||||||
|
end = COORD{info.Size.X, info.CursorPosition.Y}
|
||||||
|
|
||||||
|
case 1:
|
||||||
|
start = COORD{0, info.CursorPosition.Y}
|
||||||
|
end = info.CursorPosition
|
||||||
|
|
||||||
|
case 2:
|
||||||
|
start = COORD{0, info.CursorPosition.Y}
|
||||||
|
end = COORD{info.Size.X, info.CursorPosition.Y}
|
||||||
|
}
|
||||||
|
|
||||||
|
err = h.clearRange(h.attributes, start, end)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) IL(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("IL: [%v]", strconv.Itoa(param))
|
||||||
|
h.clearWrap()
|
||||||
|
return h.insertLines(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) DL(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("DL: [%v]", strconv.Itoa(param))
|
||||||
|
h.clearWrap()
|
||||||
|
return h.deleteLines(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) ICH(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("ICH: [%v]", strconv.Itoa(param))
|
||||||
|
h.clearWrap()
|
||||||
|
return h.insertCharacters(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) DCH(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("DCH: [%v]", strconv.Itoa(param))
|
||||||
|
h.clearWrap()
|
||||||
|
return h.deleteCharacters(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) SGR(params []int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
strings := []string{}
|
||||||
|
for _, v := range params {
|
||||||
|
strings = append(strings, strconv.Itoa(v))
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.Infof("SGR: [%v]", strings)
|
||||||
|
|
||||||
|
if len(params) <= 0 {
|
||||||
|
h.attributes = h.infoReset.Attributes
|
||||||
|
h.inverted = false
|
||||||
|
} else {
|
||||||
|
for _, attr := range params {
|
||||||
|
|
||||||
|
if attr == ansiterm.ANSI_SGR_RESET {
|
||||||
|
h.attributes = h.infoReset.Attributes
|
||||||
|
h.inverted = false
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
h.attributes, h.inverted = collectAnsiIntoWindowsAttributes(h.attributes, h.inverted, h.infoReset.Attributes, int16(attr))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
attributes := h.attributes
|
||||||
|
if h.inverted {
|
||||||
|
attributes = invertAttributes(attributes)
|
||||||
|
}
|
||||||
|
err := SetConsoleTextAttribute(h.fd, attributes)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) SU(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("SU: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
return h.scrollUp(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) SD(param int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("SD: [%v]", []string{strconv.Itoa(param)})
|
||||||
|
h.clearWrap()
|
||||||
|
return h.scrollDown(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) DA(params []string) error {
|
||||||
|
logger.Infof("DA: [%v]", params)
|
||||||
|
// DA cannot be implemented because it must send data on the VT100 input stream,
|
||||||
|
// which is not available to go-ansiterm.
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) DECSTBM(top int, bottom int) error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Infof("DECSTBM: [%d, %d]", top, bottom)
|
||||||
|
|
||||||
|
// Windows is 0 indexed, Linux is 1 indexed
|
||||||
|
h.sr.top = int16(top - 1)
|
||||||
|
h.sr.bottom = int16(bottom - 1)
|
||||||
|
|
||||||
|
// This command also moves the cursor to the origin.
|
||||||
|
h.clearWrap()
|
||||||
|
return h.CUP(1, 1)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) RI() error {
|
||||||
|
if err := h.Flush(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
logger.Info("RI: []")
|
||||||
|
h.clearWrap()
|
||||||
|
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
sr := h.effectiveSr(info.Window)
|
||||||
|
if info.CursorPosition.Y == sr.top {
|
||||||
|
return h.scrollDown(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
return h.moveCursorVertical(-1)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) IND() error {
|
||||||
|
logger.Info("IND: []")
|
||||||
|
return h.executeLF()
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) Flush() error {
|
||||||
|
h.curInfo = nil
|
||||||
|
if h.buffer.Len() > 0 {
|
||||||
|
logger.Infof("Flush: [%s]", h.buffer.Bytes())
|
||||||
|
if _, err := h.buffer.WriteTo(h.file); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if h.wrapNext && !h.drewMarginByte {
|
||||||
|
logger.Infof("Flush: drawing margin byte '%c'", h.marginByte)
|
||||||
|
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
charInfo := []CHAR_INFO{{UnicodeChar: uint16(h.marginByte), Attributes: info.Attributes}}
|
||||||
|
size := COORD{1, 1}
|
||||||
|
position := COORD{0, 0}
|
||||||
|
region := SMALL_RECT{Left: info.CursorPosition.X, Top: info.CursorPosition.Y, Right: info.CursorPosition.X, Bottom: info.CursorPosition.Y}
|
||||||
|
if err := WriteConsoleOutput(h.fd, charInfo, size, position, ®ion); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
h.drewMarginByte = true
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// cacheConsoleInfo ensures that the current console screen information has been queried
|
||||||
|
// since the last call to Flush(). It must be called before accessing h.curInfo or h.curPos.
|
||||||
|
func (h *windowsAnsiEventHandler) getCurrentInfo() (COORD, *CONSOLE_SCREEN_BUFFER_INFO, error) {
|
||||||
|
if h.curInfo == nil {
|
||||||
|
info, err := GetConsoleScreenBufferInfo(h.fd)
|
||||||
|
if err != nil {
|
||||||
|
return COORD{}, nil, err
|
||||||
|
}
|
||||||
|
h.curInfo = info
|
||||||
|
h.curPos = info.CursorPosition
|
||||||
|
}
|
||||||
|
return h.curPos, h.curInfo, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h *windowsAnsiEventHandler) updatePos(pos COORD) {
|
||||||
|
if h.curInfo == nil {
|
||||||
|
panic("failed to call getCurrentInfo before calling updatePos")
|
||||||
|
}
|
||||||
|
h.curPos = pos
|
||||||
|
}
|
||||||
|
|
||||||
|
// clearWrap clears the state where the cursor is in the margin
|
||||||
|
// waiting for the next character before wrapping the line. This must
|
||||||
|
// be done before most operations that act on the cursor.
|
||||||
|
func (h *windowsAnsiEventHandler) clearWrap() {
|
||||||
|
h.wrapNext = false
|
||||||
|
h.drewMarginByte = false
|
||||||
|
}
|
|
@ -1 +0,0 @@
|
||||||
service_name: travis-ci
|
|
|
@ -1,3 +0,0 @@
|
||||||
*.swp
|
|
||||||
*.cov
|
|
||||||
Godeps/_workspace
|
|
|
@ -1,8 +0,0 @@
|
||||||
language: go
|
|
||||||
|
|
||||||
go:
|
|
||||||
- 1.5
|
|
||||||
|
|
||||||
install: make deps
|
|
||||||
script:
|
|
||||||
- make test
|
|
0
vendor/github.com/CenturyLinkCloud/clc-sdk/cover.sh
generated
vendored
Normal file → Executable file
0
vendor/github.com/CenturyLinkCloud/clc-sdk/cover.sh
generated
vendored
Normal file → Executable file
|
@ -1,24 +0,0 @@
|
||||||
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
|
||||||
*.o
|
|
||||||
*.a
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Folders
|
|
||||||
_obj
|
|
||||||
_test
|
|
||||||
.idea
|
|
||||||
|
|
||||||
# Architecture specific extensions/prefixes
|
|
||||||
*.[568vq]
|
|
||||||
[568vq].out
|
|
||||||
|
|
||||||
*.cgo1.go
|
|
||||||
*.cgo2.c
|
|
||||||
_cgo_defun.c
|
|
||||||
_cgo_gotypes.go
|
|
||||||
_cgo_export.*
|
|
||||||
|
|
||||||
_testmain.go
|
|
||||||
|
|
||||||
*.exe
|
|
||||||
*.iml
|
|
|
@ -1,13 +0,0 @@
|
||||||
language: go
|
|
||||||
|
|
||||||
go:
|
|
||||||
- 1.2
|
|
||||||
- 1.3
|
|
||||||
- 1.4
|
|
||||||
- tip
|
|
||||||
|
|
||||||
install: go get -v -t
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email:
|
|
||||||
- u@gogs.io
|
|
|
@ -1,2 +0,0 @@
|
||||||
macaron.sublime-project
|
|
||||||
macaron.sublime-workspace
|
|
|
@ -1,24 +0,0 @@
|
||||||
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
|
||||||
*.o
|
|
||||||
*.a
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Folders
|
|
||||||
_obj
|
|
||||||
_test
|
|
||||||
|
|
||||||
# Architecture specific extensions/prefixes
|
|
||||||
*.[568vq]
|
|
||||||
[568vq].out
|
|
||||||
|
|
||||||
*.cgo1.go
|
|
||||||
*.cgo2.c
|
|
||||||
_cgo_defun.c
|
|
||||||
_cgo_gotypes.go
|
|
||||||
_cgo_export.*
|
|
||||||
|
|
||||||
_testmain.go
|
|
||||||
|
|
||||||
*.exe
|
|
||||||
*.test
|
|
||||||
*.prof
|
|
|
@ -44,7 +44,7 @@ type JobDetail struct {
|
||||||
* This has to be handle by the user.
|
* This has to be handle by the user.
|
||||||
*/
|
*/
|
||||||
NodesSelectedByDefault bool `xml:"nodesSelectedByDefault"`
|
NodesSelectedByDefault bool `xml:"nodesSelectedByDefault"`
|
||||||
Schedule *JobSchedule `xml:"schedule,omitempty"`
|
Schedule *JobSchedule `xml:"schedule"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type JobSchedule struct {
|
type JobSchedule struct {
|
||||||
|
@ -73,7 +73,7 @@ type JobScheduleYear struct {
|
||||||
|
|
||||||
type JobScheduleWeekDay struct {
|
type JobScheduleWeekDay struct {
|
||||||
XMLName xml.Name `xml:"weekday"`
|
XMLName xml.Name `xml:"weekday"`
|
||||||
Day string `xml:"day,attr"`
|
Day string `xml:"day,attr"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type JobScheduleTime struct {
|
type JobScheduleTime struct {
|
||||||
|
|
|
@ -1,314 +0,0 @@
|
||||||
package rundeck
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
"testing"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestUnmarshalJobDetail(t *testing.T) {
|
|
||||||
testUnmarshalXML(t, []unmarshalTest{
|
|
||||||
unmarshalTest{
|
|
||||||
"with-config",
|
|
||||||
`<job><uuid>baz</uuid><dispatch><rankOrder>ascending</rankOrder></dispatch></job>`,
|
|
||||||
&JobDetail{},
|
|
||||||
func (rv interface {}) error {
|
|
||||||
v := rv.(*JobDetail)
|
|
||||||
if v.ID != "baz" {
|
|
||||||
return fmt.Errorf("got ID %s, but expecting baz", v.ID)
|
|
||||||
}
|
|
||||||
if v.Dispatch.RankOrder != "ascending" {
|
|
||||||
return fmt.Errorf("Dispatch.RankOrder = \"%v\", but expecting \"ascending\"", v.Dispatch.RankOrder)
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
},
|
|
||||||
},
|
|
||||||
unmarshalTest{
|
|
||||||
"with-empty-config",
|
|
||||||
`<JobPlugin type="foo-plugin"><configuration/></JobPlugin>`,
|
|
||||||
&JobPlugin{},
|
|
||||||
func (rv interface {}) error {
|
|
||||||
v := rv.(*JobPlugin)
|
|
||||||
if v.Type != "foo-plugin" {
|
|
||||||
return fmt.Errorf("got Type %s, but expecting foo-plugin", v.Type)
|
|
||||||
}
|
|
||||||
if len(v.Config) != 0 {
|
|
||||||
return fmt.Errorf("got %i Config values, but expecting 0", len(v.Config))
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestMarshalJobPlugin(t *testing.T) {
|
|
||||||
testMarshalXML(t, []marshalTest{
|
|
||||||
marshalTest{
|
|
||||||
"with-config",
|
|
||||||
JobPlugin{
|
|
||||||
Type: "foo-plugin",
|
|
||||||
Config: map[string]string{
|
|
||||||
"woo": "foo",
|
|
||||||
"bar": "baz",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
`<JobPlugin type="foo-plugin"><configuration><entry key="bar" value="baz"></entry><entry key="woo" value="foo"></entry></configuration></JobPlugin>`,
|
|
||||||
},
|
|
||||||
marshalTest{
|
|
||||||
"with-empty-config",
|
|
||||||
JobPlugin{
|
|
||||||
Type: "foo-plugin",
|
|
||||||
Config: map[string]string{},
|
|
||||||
},
|
|
||||||
`<JobPlugin type="foo-plugin"></JobPlugin>`,
|
|
||||||
},
|
|
||||||
marshalTest{
|
|
||||||
"with-zero-value-config",
|
|
||||||
JobPlugin{
|
|
||||||
Type: "foo-plugin",
|
|
||||||
},
|
|
||||||
`<JobPlugin type="foo-plugin"></JobPlugin>`,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestUnmarshalJobPlugin(t *testing.T) {
|
|
||||||
testUnmarshalXML(t, []unmarshalTest{
|
|
||||||
unmarshalTest{
|
|
||||||
"with-config",
|
|
||||||
`<JobPlugin type="foo-plugin"><configuration><entry key="woo" value="foo"/><entry key="bar" value="baz"/></configuration></JobPlugin>`,
|
|
||||||
&JobPlugin{},
|
|
||||||
func (rv interface {}) error {
|
|
||||||
v := rv.(*JobPlugin)
|
|
||||||
if v.Type != "foo-plugin" {
|
|
||||||
return fmt.Errorf("got Type %s, but expecting foo-plugin", v.Type)
|
|
||||||
}
|
|
||||||
if len(v.Config) != 2 {
|
|
||||||
return fmt.Errorf("got %v Config values, but expecting 2", len(v.Config))
|
|
||||||
}
|
|
||||||
if v.Config["woo"] != "foo" {
|
|
||||||
return fmt.Errorf("Config[\"woo\"] = \"%s\", but expecting \"foo\"", v.Config["woo"])
|
|
||||||
}
|
|
||||||
if v.Config["bar"] != "baz" {
|
|
||||||
return fmt.Errorf("Config[\"bar\"] = \"%s\", but expecting \"baz\"", v.Config["bar"])
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
},
|
|
||||||
},
|
|
||||||
unmarshalTest{
|
|
||||||
"with-empty-config",
|
|
||||||
`<JobPlugin type="foo-plugin"><configuration/></JobPlugin>`,
|
|
||||||
&JobPlugin{},
|
|
||||||
func (rv interface {}) error {
|
|
||||||
v := rv.(*JobPlugin)
|
|
||||||
if v.Type != "foo-plugin" {
|
|
||||||
return fmt.Errorf("got Type %s, but expecting foo-plugin", v.Type)
|
|
||||||
}
|
|
||||||
if len(v.Config) != 0 {
|
|
||||||
return fmt.Errorf("got %i Config values, but expecting 0", len(v.Config))
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestMarshalJobCommand(t *testing.T) {
|
|
||||||
testMarshalXML(t, []marshalTest{
|
|
||||||
marshalTest{
|
|
||||||
"with-shell",
|
|
||||||
JobCommand{
|
|
||||||
ShellCommand: "command",
|
|
||||||
},
|
|
||||||
`<JobCommand><exec>command</exec></JobCommand>`,
|
|
||||||
},
|
|
||||||
marshalTest{
|
|
||||||
"with-script",
|
|
||||||
JobCommand{
|
|
||||||
Script: "script",
|
|
||||||
},
|
|
||||||
`<JobCommand><script>script</script></JobCommand>`,
|
|
||||||
},
|
|
||||||
marshalTest{
|
|
||||||
"with-script-interpreter",
|
|
||||||
JobCommand{
|
|
||||||
FileExtension: "sh",
|
|
||||||
Script: "Hello World!",
|
|
||||||
ScriptInterpreter: &JobCommandScriptInterpreter{
|
|
||||||
InvocationString: "sudo",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
`<JobCommand><fileExtension>sh</fileExtension><script>Hello World!</script><scriptinterpreter>sudo</scriptinterpreter></JobCommand>`,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestUnmarshalJobCommand(t *testing.T) {
|
|
||||||
testUnmarshalXML(t, []unmarshalTest{
|
|
||||||
unmarshalTest{
|
|
||||||
"with-shell",
|
|
||||||
`<JobCommand><exec>command</exec></JobCommand>`,
|
|
||||||
&JobCommand{},
|
|
||||||
func (rv interface {}) error {
|
|
||||||
v := rv.(*JobCommand)
|
|
||||||
if v.ShellCommand != "command" {
|
|
||||||
return fmt.Errorf("got ShellCommand %s, but expecting command", v.ShellCommand)
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
},
|
|
||||||
},
|
|
||||||
unmarshalTest{
|
|
||||||
"with-script",
|
|
||||||
`<JobCommand><script>script</script></JobCommand>`,
|
|
||||||
&JobCommand{},
|
|
||||||
func (rv interface {}) error {
|
|
||||||
v := rv.(*JobCommand)
|
|
||||||
if v.Script != "script" {
|
|
||||||
return fmt.Errorf("got Script %s, but expecting script", v.Script)
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
},
|
|
||||||
},
|
|
||||||
unmarshalTest{
|
|
||||||
"with-script-interpreter",
|
|
||||||
`<JobCommand><script>Hello World!</script><fileExtension>sh</fileExtension><scriptinterpreter>sudo</scriptinterpreter></JobCommand>`,
|
|
||||||
&JobCommand{},
|
|
||||||
func (rv interface {}) error {
|
|
||||||
v := rv.(*JobCommand)
|
|
||||||
if v.FileExtension != "sh" {
|
|
||||||
return fmt.Errorf("got FileExtension %s, but expecting sh", v.FileExtension)
|
|
||||||
}
|
|
||||||
if v.Script != "Hello World!" {
|
|
||||||
return fmt.Errorf("got Script %s, but expecting Hello World!", v.Script)
|
|
||||||
}
|
|
||||||
if v.ScriptInterpreter == nil {
|
|
||||||
return fmt.Errorf("got %s, but expecting not nil", v.ScriptInterpreter)
|
|
||||||
}
|
|
||||||
if v.ScriptInterpreter.InvocationString != "sudo" {
|
|
||||||
return fmt.Errorf("got InvocationString %s, but expecting sudo", v.ScriptInterpreter.InvocationString)
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestMarshalScriptInterpreter(t *testing.T) {
|
|
||||||
testMarshalXML(t, []marshalTest{
|
|
||||||
marshalTest{
|
|
||||||
"with-script-interpreter",
|
|
||||||
JobCommandScriptInterpreter{
|
|
||||||
InvocationString: "sudo",
|
|
||||||
},
|
|
||||||
`<scriptinterpreter>sudo</scriptinterpreter>`,
|
|
||||||
},
|
|
||||||
marshalTest{
|
|
||||||
"with-script-interpreter-quoted",
|
|
||||||
JobCommandScriptInterpreter{
|
|
||||||
ArgsQuoted: true,
|
|
||||||
InvocationString: "sudo",
|
|
||||||
},
|
|
||||||
`<scriptinterpreter argsquoted="true">sudo</scriptinterpreter>`,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestUnmarshalScriptInterpreter(t *testing.T) {
|
|
||||||
testUnmarshalXML(t, []unmarshalTest{
|
|
||||||
unmarshalTest{
|
|
||||||
"with-script-interpreter",
|
|
||||||
`<scriptinterpreter>sudo</scriptinterpreter>`,
|
|
||||||
&JobCommandScriptInterpreter{},
|
|
||||||
func (rv interface {}) error {
|
|
||||||
v := rv.(*JobCommandScriptInterpreter)
|
|
||||||
if v.InvocationString != "sudo" {
|
|
||||||
return fmt.Errorf("got InvocationString %s, but expecting sudo", v.InvocationString)
|
|
||||||
}
|
|
||||||
if v.ArgsQuoted {
|
|
||||||
return fmt.Errorf("got ArgsQuoted %s, but expecting false", v.ArgsQuoted)
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
},
|
|
||||||
},
|
|
||||||
unmarshalTest{
|
|
||||||
"with-script-interpreter-quoted",
|
|
||||||
`<scriptinterpreter argsquoted="true">sudo</scriptinterpreter>`,
|
|
||||||
&JobCommandScriptInterpreter{},
|
|
||||||
func (rv interface {}) error {
|
|
||||||
v := rv.(*JobCommandScriptInterpreter)
|
|
||||||
if v.InvocationString != "sudo" {
|
|
||||||
return fmt.Errorf("got InvocationString %s, but expecting sudo", v.InvocationString)
|
|
||||||
}
|
|
||||||
if ! v.ArgsQuoted {
|
|
||||||
return fmt.Errorf("got ArgsQuoted %s, but expecting true", v.ArgsQuoted)
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestMarshalErrorHanlder(t *testing.T) {
|
|
||||||
testMarshalXML(t, []marshalTest{
|
|
||||||
marshalTest{
|
|
||||||
"with-errorhandler",
|
|
||||||
JobCommandSequence{
|
|
||||||
ContinueOnError: true,
|
|
||||||
OrderingStrategy: "step-first",
|
|
||||||
Commands: []JobCommand{
|
|
||||||
JobCommand{
|
|
||||||
Script: "inline_script",
|
|
||||||
ErrorHandler: &JobCommand{
|
|
||||||
ContinueOnError: true,
|
|
||||||
Script: "error_script",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
`<sequence keepgoing="true" strategy="step-first"><command><errorhandler keepgoingOnSuccess="true"><script>error_script</script></errorhandler><script>inline_script</script></command></sequence>`,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
func TestMarshalJobOption(t *testing.T) {
|
|
||||||
testMarshalXML(t, []marshalTest{
|
|
||||||
marshalTest{
|
|
||||||
"with-option-basic",
|
|
||||||
JobOption{
|
|
||||||
Name: "basic",
|
|
||||||
},
|
|
||||||
`<option name="basic"></option>`,
|
|
||||||
},
|
|
||||||
marshalTest{
|
|
||||||
"with-option-multivalued",
|
|
||||||
JobOption{
|
|
||||||
Name: "Multivalued",
|
|
||||||
MultiValueDelimiter: "|",
|
|
||||||
RequirePredefinedChoice: true,
|
|
||||||
AllowsMultipleValues: true,
|
|
||||||
IsRequired: true,
|
|
||||||
ValueChoices: JobValueChoices([]string{"myValues"}),
|
|
||||||
},
|
|
||||||
`<option delimiter="|" enforcedvalues="true" multivalued="true" name="Multivalued" required="true" values="myValues"></option>`,
|
|
||||||
},
|
|
||||||
marshalTest{
|
|
||||||
"with-all-attributes",
|
|
||||||
JobOption{
|
|
||||||
Name: "advanced",
|
|
||||||
MultiValueDelimiter: "|",
|
|
||||||
RequirePredefinedChoice: true,
|
|
||||||
AllowsMultipleValues: true,
|
|
||||||
ValidationRegex: ".+",
|
|
||||||
IsRequired: true,
|
|
||||||
ObscureInput: true,
|
|
||||||
StoragePath: "myKey",
|
|
||||||
DefaultValue: "myValue",
|
|
||||||
ValueIsExposedToScripts: true,
|
|
||||||
ValueChoices: JobValueChoices([]string{"myValues"}),
|
|
||||||
ValueChoicesURL: "myValuesUrl",
|
|
||||||
},
|
|
||||||
`<option delimiter="|" enforcedvalues="true" multivalued="true" name="advanced" regex=".+" required="true" secure="true" storagePath="myKey" value="myValue" valueExposed="true" values="myValues" valuesUrl="myValuesUrl"></option>`,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
|
||||||
*.o
|
|
||||||
*.a
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Folders
|
|
||||||
_obj
|
|
||||||
_test
|
|
||||||
|
|
||||||
# Architecture specific extensions/prefixes
|
|
||||||
*.[568vq]
|
|
||||||
[568vq].out
|
|
||||||
|
|
||||||
*.cgo1.go
|
|
||||||
*.cgo2.c
|
|
||||||
_cgo_defun.c
|
|
||||||
_cgo_gotypes.go
|
|
||||||
_cgo_export.*
|
|
||||||
|
|
||||||
_testmain.go
|
|
||||||
|
|
||||||
*.exe
|
|
|
@ -1,22 +0,0 @@
|
||||||
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
|
||||||
*.o
|
|
||||||
*.a
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Folders
|
|
||||||
_obj
|
|
||||||
_test
|
|
||||||
|
|
||||||
# Architecture specific extensions/prefixes
|
|
||||||
*.[568vq]
|
|
||||||
[568vq].out
|
|
||||||
|
|
||||||
*.cgo1.go
|
|
||||||
*.cgo2.c
|
|
||||||
_cgo_defun.c
|
|
||||||
_cgo_gotypes.go
|
|
||||||
_cgo_export.*
|
|
||||||
|
|
||||||
_testmain.go
|
|
||||||
|
|
||||||
*.exe
|
|
|
@ -1,3 +0,0 @@
|
||||||
language: go
|
|
||||||
go:
|
|
||||||
- tip
|
|
|
@ -0,0 +1,70 @@
|
||||||
|
// Package endpoints validates regional endpoints for services.
|
||||||
|
package endpoints
|
||||||
|
|
||||||
|
//go:generate go run -tags codegen ../model/cli/gen-endpoints/main.go endpoints.json endpoints_map.go
|
||||||
|
//go:generate gofmt -s -w endpoints_map.go
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"regexp"
|
||||||
|
"strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
// NormalizeEndpoint takes and endpoint and service API information to return a
|
||||||
|
// normalized endpoint and signing region. If the endpoint is not an empty string
|
||||||
|
// the service name and region will be used to look up the service's API endpoint.
|
||||||
|
// If the endpoint is provided the scheme will be added if it is not present.
|
||||||
|
func NormalizeEndpoint(endpoint, serviceName, region string, disableSSL, useDualStack bool) (normEndpoint, signingRegion string) {
|
||||||
|
if endpoint == "" {
|
||||||
|
return EndpointForRegion(serviceName, region, disableSSL, useDualStack)
|
||||||
|
}
|
||||||
|
|
||||||
|
return AddScheme(endpoint, disableSSL), ""
|
||||||
|
}
|
||||||
|
|
||||||
|
// EndpointForRegion returns an endpoint and its signing region for a service and region.
|
||||||
|
// if the service and region pair are not found endpoint and signingRegion will be empty.
|
||||||
|
func EndpointForRegion(svcName, region string, disableSSL, useDualStack bool) (endpoint, signingRegion string) {
|
||||||
|
dualStackField := ""
|
||||||
|
if useDualStack {
|
||||||
|
dualStackField = "/dualstack"
|
||||||
|
}
|
||||||
|
|
||||||
|
derivedKeys := []string{
|
||||||
|
region + "/" + svcName + dualStackField,
|
||||||
|
region + "/*" + dualStackField,
|
||||||
|
"*/" + svcName + dualStackField,
|
||||||
|
"*/*" + dualStackField,
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, key := range derivedKeys {
|
||||||
|
if val, ok := endpointsMap.Endpoints[key]; ok {
|
||||||
|
ep := val.Endpoint
|
||||||
|
ep = strings.Replace(ep, "{region}", region, -1)
|
||||||
|
ep = strings.Replace(ep, "{service}", svcName, -1)
|
||||||
|
|
||||||
|
endpoint = ep
|
||||||
|
signingRegion = val.SigningRegion
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return AddScheme(endpoint, disableSSL), signingRegion
|
||||||
|
}
|
||||||
|
|
||||||
|
// Regular expression to determine if the endpoint string is prefixed with a scheme.
|
||||||
|
var schemeRE = regexp.MustCompile("^([^:]+)://")
|
||||||
|
|
||||||
|
// AddScheme adds the HTTP or HTTPS schemes to a endpoint URL if there is no
|
||||||
|
// scheme. If disableSSL is true HTTP will be added instead of the default HTTPS.
|
||||||
|
func AddScheme(endpoint string, disableSSL bool) string {
|
||||||
|
if endpoint != "" && !schemeRE.MatchString(endpoint) {
|
||||||
|
scheme := "https"
|
||||||
|
if disableSSL {
|
||||||
|
scheme = "http"
|
||||||
|
}
|
||||||
|
endpoint = fmt.Sprintf("%s://%s", scheme, endpoint)
|
||||||
|
}
|
||||||
|
|
||||||
|
return endpoint
|
||||||
|
}
|
|
@ -0,0 +1,82 @@
|
||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"endpoints": {
|
||||||
|
"*/*": {
|
||||||
|
"endpoint": "{service}.{region}.amazonaws.com"
|
||||||
|
},
|
||||||
|
"cn-north-1/*": {
|
||||||
|
"endpoint": "{service}.{region}.amazonaws.com.cn",
|
||||||
|
"signatureVersion": "v4"
|
||||||
|
},
|
||||||
|
"cn-north-1/ec2metadata": {
|
||||||
|
"endpoint": "http://169.254.169.254/latest"
|
||||||
|
},
|
||||||
|
"us-gov-west-1/iam": {
|
||||||
|
"endpoint": "iam.us-gov.amazonaws.com"
|
||||||
|
},
|
||||||
|
"us-gov-west-1/sts": {
|
||||||
|
"endpoint": "sts.us-gov-west-1.amazonaws.com"
|
||||||
|
},
|
||||||
|
"us-gov-west-1/s3": {
|
||||||
|
"endpoint": "s3-{region}.amazonaws.com"
|
||||||
|
},
|
||||||
|
"us-gov-west-1/ec2metadata": {
|
||||||
|
"endpoint": "http://169.254.169.254/latest"
|
||||||
|
},
|
||||||
|
"*/budgets": {
|
||||||
|
"endpoint": "budgets.amazonaws.com",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"*/cloudfront": {
|
||||||
|
"endpoint": "cloudfront.amazonaws.com",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"*/cloudsearchdomain": {
|
||||||
|
"endpoint": "",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"*/data.iot": {
|
||||||
|
"endpoint": "",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"*/ec2metadata": {
|
||||||
|
"endpoint": "http://169.254.169.254/latest"
|
||||||
|
},
|
||||||
|
"*/iam": {
|
||||||
|
"endpoint": "iam.amazonaws.com",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"*/importexport": {
|
||||||
|
"endpoint": "importexport.amazonaws.com",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"*/route53": {
|
||||||
|
"endpoint": "route53.amazonaws.com",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"*/sts": {
|
||||||
|
"endpoint": "sts.amazonaws.com",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"*/waf": {
|
||||||
|
"endpoint": "waf.amazonaws.com",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"us-east-1/sdb": {
|
||||||
|
"endpoint": "sdb.amazonaws.com",
|
||||||
|
"signingRegion": "us-east-1"
|
||||||
|
},
|
||||||
|
"*/s3": {
|
||||||
|
"endpoint": "s3-{region}.amazonaws.com"
|
||||||
|
},
|
||||||
|
"*/s3/dualstack": {
|
||||||
|
"endpoint": "s3.dualstack.{region}.amazonaws.com"
|
||||||
|
},
|
||||||
|
"us-east-1/s3": {
|
||||||
|
"endpoint": "s3.amazonaws.com"
|
||||||
|
},
|
||||||
|
"eu-central-1/s3": {
|
||||||
|
"endpoint": "{service}.{region}.amazonaws.com"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
95
vendor/github.com/aws/aws-sdk-go/private/endpoints/endpoints_map.go
generated
vendored
Normal file
95
vendor/github.com/aws/aws-sdk-go/private/endpoints/endpoints_map.go
generated
vendored
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
package endpoints
|
||||||
|
|
||||||
|
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||||
|
|
||||||
|
type endpointStruct struct {
|
||||||
|
Version int
|
||||||
|
Endpoints map[string]endpointEntry
|
||||||
|
}
|
||||||
|
|
||||||
|
type endpointEntry struct {
|
||||||
|
Endpoint string
|
||||||
|
SigningRegion string
|
||||||
|
}
|
||||||
|
|
||||||
|
var endpointsMap = endpointStruct{
|
||||||
|
Version: 2,
|
||||||
|
Endpoints: map[string]endpointEntry{
|
||||||
|
"*/*": {
|
||||||
|
Endpoint: "{service}.{region}.amazonaws.com",
|
||||||
|
},
|
||||||
|
"*/budgets": {
|
||||||
|
Endpoint: "budgets.amazonaws.com",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"*/cloudfront": {
|
||||||
|
Endpoint: "cloudfront.amazonaws.com",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"*/cloudsearchdomain": {
|
||||||
|
Endpoint: "",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"*/data.iot": {
|
||||||
|
Endpoint: "",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"*/ec2metadata": {
|
||||||
|
Endpoint: "http://169.254.169.254/latest",
|
||||||
|
},
|
||||||
|
"*/iam": {
|
||||||
|
Endpoint: "iam.amazonaws.com",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"*/importexport": {
|
||||||
|
Endpoint: "importexport.amazonaws.com",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"*/route53": {
|
||||||
|
Endpoint: "route53.amazonaws.com",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"*/s3": {
|
||||||
|
Endpoint: "s3-{region}.amazonaws.com",
|
||||||
|
},
|
||||||
|
"*/s3/dualstack": {
|
||||||
|
Endpoint: "s3.dualstack.{region}.amazonaws.com",
|
||||||
|
},
|
||||||
|
"*/sts": {
|
||||||
|
Endpoint: "sts.amazonaws.com",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"*/waf": {
|
||||||
|
Endpoint: "waf.amazonaws.com",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"cn-north-1/*": {
|
||||||
|
Endpoint: "{service}.{region}.amazonaws.com.cn",
|
||||||
|
},
|
||||||
|
"cn-north-1/ec2metadata": {
|
||||||
|
Endpoint: "http://169.254.169.254/latest",
|
||||||
|
},
|
||||||
|
"eu-central-1/s3": {
|
||||||
|
Endpoint: "{service}.{region}.amazonaws.com",
|
||||||
|
},
|
||||||
|
"us-east-1/s3": {
|
||||||
|
Endpoint: "s3.amazonaws.com",
|
||||||
|
},
|
||||||
|
"us-east-1/sdb": {
|
||||||
|
Endpoint: "sdb.amazonaws.com",
|
||||||
|
SigningRegion: "us-east-1",
|
||||||
|
},
|
||||||
|
"us-gov-west-1/ec2metadata": {
|
||||||
|
Endpoint: "http://169.254.169.254/latest",
|
||||||
|
},
|
||||||
|
"us-gov-west-1/iam": {
|
||||||
|
Endpoint: "iam.us-gov.amazonaws.com",
|
||||||
|
},
|
||||||
|
"us-gov-west-1/s3": {
|
||||||
|
Endpoint: "s3-{region}.amazonaws.com",
|
||||||
|
},
|
||||||
|
"us-gov-west-1/sts": {
|
||||||
|
Endpoint: "sts.us-gov-west-1.amazonaws.com",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
|
@ -1,2 +0,0 @@
|
||||||
example/example
|
|
||||||
example/example.exe
|
|
|
@ -14,16 +14,18 @@ func Ask(prompt string) (password string, err error) {
|
||||||
return FAsk(os.Stdout, prompt)
|
return FAsk(os.Stdout, prompt)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Same as the Ask function, except it is possible to specify the file to write
|
// FAsk is the same as Ask, except it is possible to specify the file to write
|
||||||
// the prompt to.
|
// the prompt to. If 'nil' is passed as the writer, no prompt will be written.
|
||||||
func FAsk(file *os.File, prompt string) (password string, err error) {
|
func FAsk(wr io.Writer, prompt string) (password string, err error) {
|
||||||
if prompt != "" {
|
if wr != nil && prompt != "" {
|
||||||
fmt.Fprint(file, prompt) // Display the prompt.
|
fmt.Fprint(wr, prompt) // Display the prompt.
|
||||||
}
|
}
|
||||||
password, err = getPassword()
|
password, err = getPassword()
|
||||||
|
|
||||||
// Carriage return after the user input.
|
// Carriage return after the user input.
|
||||||
fmt.Fprintln(file, "")
|
if wr != nil {
|
||||||
|
fmt.Fprintln(wr, "")
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Original code is based on code by RogerV in the golang-nuts thread:
|
// Original code is based on code by RogerV in the golang-nuts thread:
|
||||||
// https://groups.google.com/group/golang-nuts/browse_thread/thread/40cc41e9d9fc9247
|
// https://groups.google.com/group/golang-nuts/browse_thread/thread/40cc41e9d9fc9247
|
||||||
|
|
||||||
// +build darwin freebsd linux netbsd openbsd solaris
|
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
|
||||||
|
|
||||||
package speakeasy
|
package speakeasy
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
package speakeasy
|
package speakeasy
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
|
||||||
"syscall"
|
"syscall"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -12,18 +11,17 @@ import (
|
||||||
const ENABLE_ECHO_INPUT = 0x0004
|
const ENABLE_ECHO_INPUT = 0x0004
|
||||||
|
|
||||||
func getPassword() (password string, err error) {
|
func getPassword() (password string, err error) {
|
||||||
hStdin := syscall.Handle(os.Stdin.Fd())
|
|
||||||
var oldMode uint32
|
var oldMode uint32
|
||||||
|
|
||||||
err = syscall.GetConsoleMode(hStdin, &oldMode)
|
err = syscall.GetConsoleMode(syscall.Stdin, &oldMode)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var newMode uint32 = (oldMode &^ ENABLE_ECHO_INPUT)
|
var newMode uint32 = (oldMode &^ ENABLE_ECHO_INPUT)
|
||||||
|
|
||||||
err = setConsoleMode(hStdin, newMode)
|
err = setConsoleMode(syscall.Stdin, newMode)
|
||||||
defer setConsoleMode(hStdin, oldMode)
|
defer setConsoleMode(syscall.Stdin, oldMode)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
|
||||||
*.o
|
|
||||||
*.a
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Folders
|
|
||||||
_obj
|
|
||||||
_test
|
|
||||||
|
|
||||||
# Architecture specific extensions/prefixes
|
|
||||||
*.[568vq]
|
|
||||||
[568vq].out
|
|
||||||
|
|
||||||
*.cgo1.go
|
|
||||||
*.cgo2.c
|
|
||||||
_cgo_defun.c
|
|
||||||
_cgo_gotypes.go
|
|
||||||
_cgo_export.*
|
|
||||||
|
|
||||||
_testmain.go
|
|
||||||
|
|
||||||
*.exe
|
|
|
@ -1,2 +0,0 @@
|
||||||
language: go
|
|
||||||
go: 1.3.3
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Exponential Backoff [![GoDoc][godoc image]][godoc] [![Build Status][travis image]][travis]
|
# Exponential Backoff [![GoDoc][godoc image]][godoc] [![Build Status][travis image]][travis] [![Coverage Status][coveralls image]][coveralls]
|
||||||
|
|
||||||
This is a Go port of the exponential backoff algorithm from [Google's HTTP Client Library for Java][google-http-java-client].
|
This is a Go port of the exponential backoff algorithm from [Google's HTTP Client Library for Java][google-http-java-client].
|
||||||
|
|
||||||
|
@ -7,108 +7,22 @@ is an algorithm that uses feedback to multiplicatively decrease the rate of some
|
||||||
in order to gradually find an acceptable rate.
|
in order to gradually find an acceptable rate.
|
||||||
The retries exponentially increase and stop increasing when a certain threshold is met.
|
The retries exponentially increase and stop increasing when a certain threshold is met.
|
||||||
|
|
||||||
## How To
|
## Usage
|
||||||
|
|
||||||
We define two functions, `Retry()` and `RetryNotify()`.
|
See https://godoc.org/github.com/cenkalti/backoff#pkg-examples
|
||||||
They receive an `Operation` to execute, a `BackOff` algorithm,
|
|
||||||
and an optional `Notify` error handler.
|
|
||||||
|
|
||||||
The operation will be executed, and will be retried on failure with delay
|
## Contributing
|
||||||
as given by the backoff algorithm. The backoff algorithm can also decide when to stop
|
|
||||||
retrying.
|
|
||||||
In addition, the notify error handler will be called after each failed attempt,
|
|
||||||
except for the last time, whose error should be handled by the caller.
|
|
||||||
|
|
||||||
```go
|
* I would like to keep this library as small as possible.
|
||||||
// An Operation is executing by Retry() or RetryNotify().
|
* Please don't send a PR without opening an issue and discussing it first.
|
||||||
// The operation will be retried using a backoff policy if it returns an error.
|
* If proposed change is not a common use case, I will probably not accept it.
|
||||||
type Operation func() error
|
|
||||||
|
|
||||||
// Notify is a notify-on-error function. It receives an operation error and
|
|
||||||
// backoff delay if the operation failed (with an error).
|
|
||||||
//
|
|
||||||
// NOTE that if the backoff policy stated to stop retrying,
|
|
||||||
// the notify function isn't called.
|
|
||||||
type Notify func(error, time.Duration)
|
|
||||||
|
|
||||||
func Retry(Operation, BackOff) error
|
|
||||||
func RetryNotify(Operation, BackOff, Notify)
|
|
||||||
```
|
|
||||||
|
|
||||||
## Examples
|
|
||||||
|
|
||||||
See more advanced examples in the [godoc][advanced example].
|
|
||||||
|
|
||||||
### Retry
|
|
||||||
|
|
||||||
Simple retry helper that uses the default exponential backoff algorithm:
|
|
||||||
|
|
||||||
```go
|
|
||||||
operation := func() error {
|
|
||||||
// An operation that might fail.
|
|
||||||
return nil // or return errors.New("some error")
|
|
||||||
}
|
|
||||||
|
|
||||||
err := Retry(operation, NewExponentialBackOff())
|
|
||||||
if err != nil {
|
|
||||||
// Handle error.
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
// Operation is successful.
|
|
||||||
return nil
|
|
||||||
```
|
|
||||||
|
|
||||||
### Ticker
|
|
||||||
|
|
||||||
```go
|
|
||||||
operation := func() error {
|
|
||||||
// An operation that might fail
|
|
||||||
return nil // or return errors.New("some error")
|
|
||||||
}
|
|
||||||
|
|
||||||
b := NewExponentialBackOff()
|
|
||||||
ticker := NewTicker(b)
|
|
||||||
|
|
||||||
var err error
|
|
||||||
|
|
||||||
// Ticks will continue to arrive when the previous operation is still running,
|
|
||||||
// so operations that take a while to fail could run in quick succession.
|
|
||||||
for range ticker.C {
|
|
||||||
if err = operation(); err != nil {
|
|
||||||
log.Println(err, "will retry...")
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
ticker.Stop()
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
if err != nil {
|
|
||||||
// Operation has failed.
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
// Operation is successful.
|
|
||||||
return nil
|
|
||||||
```
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# install
|
|
||||||
$ go get github.com/cenkalti/backoff
|
|
||||||
|
|
||||||
# test
|
|
||||||
$ cd $GOPATH/src/github.com/cenkalti/backoff
|
|
||||||
$ go get -t ./...
|
|
||||||
$ go test -v -cover
|
|
||||||
```
|
|
||||||
|
|
||||||
[godoc]: https://godoc.org/github.com/cenkalti/backoff
|
[godoc]: https://godoc.org/github.com/cenkalti/backoff
|
||||||
[godoc image]: https://godoc.org/github.com/cenkalti/backoff?status.png
|
[godoc image]: https://godoc.org/github.com/cenkalti/backoff?status.png
|
||||||
[travis]: https://travis-ci.org/cenkalti/backoff
|
[travis]: https://travis-ci.org/cenkalti/backoff
|
||||||
[travis image]: https://travis-ci.org/cenkalti/backoff.png
|
[travis image]: https://travis-ci.org/cenkalti/backoff.png?branch=master
|
||||||
|
[coveralls]: https://coveralls.io/github/cenkalti/backoff?branch=master
|
||||||
|
[coveralls image]: https://coveralls.io/repos/github/cenkalti/backoff/badge.svg?branch=master
|
||||||
|
|
||||||
[google-http-java-client]: https://github.com/google/google-http-java-client
|
[google-http-java-client]: https://github.com/google/google-http-java-client
|
||||||
[exponential backoff wiki]: http://en.wikipedia.org/wiki/Exponential_backoff
|
[exponential backoff wiki]: http://en.wikipedia.org/wiki/Exponential_backoff
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
// Package backoff implements backoff algorithms for retrying operations.
|
// Package backoff implements backoff algorithms for retrying operations.
|
||||||
//
|
//
|
||||||
// Also has a Retry() helper for retrying operations that may fail.
|
// Use Retry function for retrying operations that may fail.
|
||||||
|
// If Retry does not meet your needs,
|
||||||
|
// copy/paste the function into your project and modify as you wish.
|
||||||
|
//
|
||||||
|
// There is also Ticker type similar to time.Ticker.
|
||||||
|
// You can use it if you need to work with channels.
|
||||||
|
//
|
||||||
|
// See Examples section below for usage examples.
|
||||||
package backoff
|
package backoff
|
||||||
|
|
||||||
import "time"
|
import "time"
|
||||||
|
@ -25,7 +32,7 @@ type BackOff interface {
|
||||||
Reset()
|
Reset()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Indicates that no more retries should be made for use in NextBackOff().
|
// Stop indicates that no more retries should be made for use in NextBackOff().
|
||||||
const Stop time.Duration = -1
|
const Stop time.Duration = -1
|
||||||
|
|
||||||
// ZeroBackOff is a fixed backoff policy whose backoff time is always zero,
|
// ZeroBackOff is a fixed backoff policy whose backoff time is always zero,
|
||||||
|
|
|
@ -89,6 +89,11 @@ func NewExponentialBackOff() *ExponentialBackOff {
|
||||||
MaxElapsedTime: DefaultMaxElapsedTime,
|
MaxElapsedTime: DefaultMaxElapsedTime,
|
||||||
Clock: SystemClock,
|
Clock: SystemClock,
|
||||||
}
|
}
|
||||||
|
if b.RandomizationFactor < 0 {
|
||||||
|
b.RandomizationFactor = 0
|
||||||
|
} else if b.RandomizationFactor > 1 {
|
||||||
|
b.RandomizationFactor = 1
|
||||||
|
}
|
||||||
b.Reset()
|
b.Reset()
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,8 +13,8 @@ type Operation func() error
|
||||||
// the notify function isn't called.
|
// the notify function isn't called.
|
||||||
type Notify func(error, time.Duration)
|
type Notify func(error, time.Duration)
|
||||||
|
|
||||||
// Retry the function f until it does not return error or BackOff stops.
|
// Retry the operation o until it does not return error or BackOff stops.
|
||||||
// f is guaranteed to be run at least once.
|
// o is guaranteed to be run at least once.
|
||||||
// It is the caller's responsibility to reset b after Retry returns.
|
// It is the caller's responsibility to reset b after Retry returns.
|
||||||
//
|
//
|
||||||
// Retry sleeps the goroutine for the duration returned by BackOff after a
|
// Retry sleeps the goroutine for the duration returned by BackOff after a
|
||||||
|
|
|
@ -1,178 +0,0 @@
|
||||||
package archive_test
|
|
||||||
|
|
||||||
import (
|
|
||||||
"bytes"
|
|
||||||
"fmt"
|
|
||||||
"io"
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/cihub/seelog/archive"
|
|
||||||
"github.com/cihub/seelog/archive/gzip"
|
|
||||||
"github.com/cihub/seelog/archive/tar"
|
|
||||||
"github.com/cihub/seelog/archive/zip"
|
|
||||||
"github.com/cihub/seelog/io/iotest"
|
|
||||||
)
|
|
||||||
|
|
||||||
const (
|
|
||||||
gzipType = "gzip"
|
|
||||||
tarType = "tar"
|
|
||||||
zipType = "zip"
|
|
||||||
)
|
|
||||||
|
|
||||||
var types = []string{gzipType, tarType, zipType}
|
|
||||||
|
|
||||||
type file struct {
|
|
||||||
name string
|
|
||||||
contents []byte
|
|
||||||
}
|
|
||||||
|
|
||||||
var (
|
|
||||||
oneFile = []file{
|
|
||||||
{
|
|
||||||
name: "file1",
|
|
||||||
contents: []byte("This is a single log."),
|
|
||||||
},
|
|
||||||
}
|
|
||||||
twoFiles = []file{
|
|
||||||
{
|
|
||||||
name: "file1",
|
|
||||||
contents: []byte("This is a log."),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "file2",
|
|
||||||
contents: []byte("This is another log."),
|
|
||||||
},
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
type testCase struct {
|
|
||||||
srcType, dstType string
|
|
||||||
in []file
|
|
||||||
}
|
|
||||||
|
|
||||||
func copyTests() map[string]testCase {
|
|
||||||
// types X types X files
|
|
||||||
tests := make(map[string]testCase, len(types)*len(types)*2)
|
|
||||||
for _, srct := range types {
|
|
||||||
for _, dstt := range types {
|
|
||||||
tests[fmt.Sprintf("%s to %s: one file", srct, dstt)] = testCase{
|
|
||||||
srcType: srct,
|
|
||||||
dstType: dstt,
|
|
||||||
in: oneFile,
|
|
||||||
}
|
|
||||||
// gzip does not handle more than one file
|
|
||||||
if srct != gzipType && dstt != gzipType {
|
|
||||||
tests[fmt.Sprintf("%s to %s: two files", srct, dstt)] = testCase{
|
|
||||||
srcType: srct,
|
|
||||||
dstType: dstt,
|
|
||||||
in: twoFiles,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return tests
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestCopy(t *testing.T) {
|
|
||||||
srcb, dstb := new(bytes.Buffer), new(bytes.Buffer)
|
|
||||||
for tname, tt := range copyTests() {
|
|
||||||
// Reset buffers between tests
|
|
||||||
srcb.Reset()
|
|
||||||
dstb.Reset()
|
|
||||||
|
|
||||||
// Last file name (needed for gzip.NewReader)
|
|
||||||
var fname string
|
|
||||||
|
|
||||||
// Seed the src
|
|
||||||
srcw := writer(t, tname, srcb, tt.srcType)
|
|
||||||
for _, f := range tt.in {
|
|
||||||
srcw.NextFile(f.name, iotest.FileInfo(t, f.contents))
|
|
||||||
mustCopy(t, tname, srcw, bytes.NewReader(f.contents))
|
|
||||||
fname = f.name
|
|
||||||
}
|
|
||||||
mustClose(t, tname, srcw)
|
|
||||||
|
|
||||||
// Perform the copy
|
|
||||||
srcr := reader(t, tname, srcb, tt.srcType, fname)
|
|
||||||
dstw := writer(t, tname, dstb, tt.dstType)
|
|
||||||
if err := archive.Copy(dstw, srcr); err != nil {
|
|
||||||
t.Fatalf("%s: %v", tname, err)
|
|
||||||
}
|
|
||||||
srcr.Close() // Read-only
|
|
||||||
mustClose(t, tname, dstw)
|
|
||||||
|
|
||||||
// Read back dst to confirm our expectations
|
|
||||||
dstr := reader(t, tname, dstb, tt.dstType, fname)
|
|
||||||
for _, want := range tt.in {
|
|
||||||
buf := new(bytes.Buffer)
|
|
||||||
name, err := dstr.NextFile()
|
|
||||||
if err != nil {
|
|
||||||
t.Fatalf("%s: %v", tname, err)
|
|
||||||
}
|
|
||||||
mustCopy(t, tname, buf, dstr)
|
|
||||||
got := file{
|
|
||||||
name: name,
|
|
||||||
contents: buf.Bytes(),
|
|
||||||
}
|
|
||||||
|
|
||||||
switch {
|
|
||||||
case got.name != want.name:
|
|
||||||
t.Errorf("%s: got file %q but want file %q",
|
|
||||||
tname, got.name, want.name)
|
|
||||||
|
|
||||||
case !bytes.Equal(got.contents, want.contents):
|
|
||||||
t.Errorf("%s: mismatched contents in %q: got %q but want %q",
|
|
||||||
tname, got.name, got.contents, want.contents)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
dstr.Close()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func writer(t *testing.T, tname string, w io.Writer, atype string) archive.WriteCloser {
|
|
||||||
switch atype {
|
|
||||||
case gzipType:
|
|
||||||
return gzip.NewWriter(w)
|
|
||||||
case tarType:
|
|
||||||
return tar.NewWriter(w)
|
|
||||||
case zipType:
|
|
||||||
return zip.NewWriter(w)
|
|
||||||
}
|
|
||||||
t.Fatalf("%s: unrecognized archive type: %s", tname, atype)
|
|
||||||
panic("execution continued after (*testing.T).Fatalf")
|
|
||||||
}
|
|
||||||
|
|
||||||
func reader(t *testing.T, tname string, buf *bytes.Buffer, atype string, fname string) archive.ReadCloser {
|
|
||||||
switch atype {
|
|
||||||
case gzipType:
|
|
||||||
gr, err := gzip.NewReader(buf, fname)
|
|
||||||
if err != nil {
|
|
||||||
t.Fatalf("%s: %v", tname, err)
|
|
||||||
}
|
|
||||||
return gr
|
|
||||||
case tarType:
|
|
||||||
return archive.NopCloser(tar.NewReader(buf))
|
|
||||||
case zipType:
|
|
||||||
zr, err := zip.NewReader(
|
|
||||||
bytes.NewReader(buf.Bytes()),
|
|
||||||
int64(buf.Len()))
|
|
||||||
if err != nil {
|
|
||||||
t.Fatalf("%s: new zip reader: %v", tname, err)
|
|
||||||
}
|
|
||||||
return archive.NopCloser(zr)
|
|
||||||
}
|
|
||||||
t.Fatalf("%s: unrecognized archive type: %s", tname, atype)
|
|
||||||
panic("execution continued after (*testing.T).Fatalf")
|
|
||||||
}
|
|
||||||
|
|
||||||
func mustCopy(t *testing.T, tname string, dst io.Writer, src io.Reader) {
|
|
||||||
if _, err := io.Copy(dst, src); err != nil {
|
|
||||||
t.Fatalf("%s: copy: %v", tname, err)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func mustClose(t *testing.T, tname string, c io.Closer) {
|
|
||||||
if err := c.Close(); err != nil {
|
|
||||||
t.Fatalf("%s: close: %v", tname, err)
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,104 +0,0 @@
|
||||||
package tar_test
|
|
||||||
|
|
||||||
import (
|
|
||||||
"bytes"
|
|
||||||
"io"
|
|
||||||
"io/ioutil"
|
|
||||||
"os"
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/cihub/seelog/archive/tar"
|
|
||||||
"github.com/cihub/seelog/io/iotest"
|
|
||||||
)
|
|
||||||
|
|
||||||
type file struct {
|
|
||||||
name string
|
|
||||||
contents []byte
|
|
||||||
}
|
|
||||||
|
|
||||||
var tarTests = map[string]struct{ want []file }{
|
|
||||||
"one file": {
|
|
||||||
want: []file{
|
|
||||||
{
|
|
||||||
name: "file",
|
|
||||||
contents: []byte("I am a log file"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"multiple files": {
|
|
||||||
want: []file{
|
|
||||||
{
|
|
||||||
name: "file1",
|
|
||||||
contents: []byte("I am log file 1"),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "file2",
|
|
||||||
contents: []byte("I am log file 2"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestWriterAndReader(t *testing.T) {
|
|
||||||
for tname, tt := range tarTests {
|
|
||||||
f, cleanup := iotest.TempFile(t)
|
|
||||||
defer cleanup()
|
|
||||||
writeFiles(t, f, tname, tt.want)
|
|
||||||
readFiles(t, f, tname, tt.want)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// writeFiles iterates through the files we want and writes them as a tarred
|
|
||||||
// file.
|
|
||||||
func writeFiles(t *testing.T, f *os.File, tname string, want []file) {
|
|
||||||
w := tar.NewWriter(f)
|
|
||||||
defer w.Close()
|
|
||||||
|
|
||||||
// Write zipped files
|
|
||||||
for _, fwant := range want {
|
|
||||||
fi := iotest.FileInfo(t, fwant.contents)
|
|
||||||
|
|
||||||
// Write the file
|
|
||||||
err := w.NextFile(fwant.name, fi)
|
|
||||||
switch err {
|
|
||||||
case io.EOF:
|
|
||||||
break
|
|
||||||
default:
|
|
||||||
t.Fatalf("%s: write header for next file: %v", tname, err)
|
|
||||||
case nil: // Proceed below
|
|
||||||
}
|
|
||||||
if _, err := io.Copy(w, bytes.NewReader(fwant.contents)); err != nil {
|
|
||||||
t.Fatalf("%s: copy to writer: %v", tname, err)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// readFiles iterates through tarred files and ensures they are the same.
|
|
||||||
func readFiles(t *testing.T, f *os.File, tname string, want []file) {
|
|
||||||
r := tar.NewReader(f)
|
|
||||||
|
|
||||||
for _, fwant := range want {
|
|
||||||
fname, err := r.NextFile()
|
|
||||||
switch err {
|
|
||||||
case io.EOF:
|
|
||||||
return
|
|
||||||
default:
|
|
||||||
t.Fatalf("%s: read header for next file: %v", tname, err)
|
|
||||||
case nil: // Proceed below
|
|
||||||
}
|
|
||||||
|
|
||||||
if fname != fwant.name {
|
|
||||||
t.Fatalf("%s: incorrect file name: got %q but want %q", tname, fname, fwant.name)
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
gotContents, err := ioutil.ReadAll(r)
|
|
||||||
if err != nil {
|
|
||||||
t.Fatalf("%s: read file: %v", tname, err)
|
|
||||||
}
|
|
||||||
|
|
||||||
if !bytes.Equal(gotContents, fwant.contents) {
|
|
||||||
t.Errorf("%s: %q = %q but want %q", tname, fname, gotContents, fwant.contents)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,99 +0,0 @@
|
||||||
package zip_test
|
|
||||||
|
|
||||||
import (
|
|
||||||
"bytes"
|
|
||||||
"io"
|
|
||||||
"io/ioutil"
|
|
||||||
"os"
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/cihub/seelog/archive/zip"
|
|
||||||
"github.com/cihub/seelog/io/iotest"
|
|
||||||
)
|
|
||||||
|
|
||||||
var zipTests = map[string]struct{ want map[string][]byte }{
|
|
||||||
"one file": {
|
|
||||||
want: map[string][]byte{
|
|
||||||
"file": []byte("I am a log file"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"multiple files": {
|
|
||||||
want: map[string][]byte{
|
|
||||||
"file1": []byte("I am log file 1"),
|
|
||||||
"file2": []byte("I am log file 2"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestWriterAndReader(t *testing.T) {
|
|
||||||
for tname, tt := range zipTests {
|
|
||||||
f, cleanup := iotest.TempFile(t)
|
|
||||||
defer cleanup()
|
|
||||||
writeFiles(t, f, tname, tt.want)
|
|
||||||
readFiles(t, f, tname, tt.want)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// writeFiles iterates through the files we want and writes them as a zipped
|
|
||||||
// file.
|
|
||||||
func writeFiles(t *testing.T, f *os.File, tname string, want map[string][]byte) {
|
|
||||||
w := zip.NewWriter(f)
|
|
||||||
defer w.Close()
|
|
||||||
|
|
||||||
// Write zipped files
|
|
||||||
for fname, fbytes := range want {
|
|
||||||
fi := iotest.FileInfo(t, fbytes)
|
|
||||||
|
|
||||||
// Write the file
|
|
||||||
err := w.NextFile(fname, fi)
|
|
||||||
switch err {
|
|
||||||
case io.EOF:
|
|
||||||
break
|
|
||||||
default:
|
|
||||||
t.Fatalf("%s: write header for next file: %v", tname, err)
|
|
||||||
case nil: // Proceed below
|
|
||||||
}
|
|
||||||
if _, err := io.Copy(w, bytes.NewReader(fbytes)); err != nil {
|
|
||||||
t.Fatalf("%s: copy to writer: %v", tname, err)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// readFiles iterates through zipped files and ensures they are the same.
|
|
||||||
func readFiles(t *testing.T, f *os.File, tname string, want map[string][]byte) {
|
|
||||||
// Get zip Reader
|
|
||||||
fi, err := f.Stat()
|
|
||||||
if err != nil {
|
|
||||||
t.Fatalf("%s: stat zipped file: %v", tname, err)
|
|
||||||
}
|
|
||||||
r, err := zip.NewReader(f, fi.Size())
|
|
||||||
if err != nil {
|
|
||||||
t.Fatalf("%s: %v", tname, err)
|
|
||||||
}
|
|
||||||
|
|
||||||
for {
|
|
||||||
fname, err := r.NextFile()
|
|
||||||
switch err {
|
|
||||||
case io.EOF:
|
|
||||||
return
|
|
||||||
default:
|
|
||||||
t.Fatalf("%s: read header for next file: %v", tname, err)
|
|
||||||
case nil: // Proceed below
|
|
||||||
}
|
|
||||||
|
|
||||||
wantBytes, ok := want[fname]
|
|
||||||
if !ok {
|
|
||||||
t.Errorf("%s: read unwanted file: %v", tname, fname)
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
gotBytes, err := ioutil.ReadAll(r)
|
|
||||||
if err != nil {
|
|
||||||
t.Fatalf("%s: read file: %v", tname, err)
|
|
||||||
}
|
|
||||||
|
|
||||||
if !bytes.Equal(gotBytes, wantBytes) {
|
|
||||||
t.Errorf("%s: %q = %q but want %q", tname, fname, gotBytes, wantBytes)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
FROM google/golang:stable
|
||||||
|
MAINTAINER Guillaume J. Charmes <guillaume@charmes.net>
|
||||||
|
CMD /tmp/a.out
|
||||||
|
ADD . /src
|
||||||
|
RUN cd /src && go build -o /tmp/a.out
|
|
@ -0,0 +1,22 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2014 Guillaume J. Charmes
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
# go-select
|
||||||
|
|
||||||
|
select(2) implementation in Go
|
||||||
|
|
||||||
|
## Supported platforms
|
||||||
|
|
||||||
|
| | 386 | amd64 | arm | arm64 |
|
||||||
|
|---------------|-----|-------|-----|-------|
|
||||||
|
| **linux** | yes | yes | yes | yes |
|
||||||
|
| **darwin** | yes | yes | n/a | ?? |
|
||||||
|
| **freebsd** | yes | yes | yes | ?? |
|
||||||
|
| **openbsd** | yes | yes | yes | ?? |
|
||||||
|
| **netbsd** | yes | yes | yes | ?? |
|
||||||
|
| **dragonfly** | n/a | yes | n/a | ?? |
|
||||||
|
| **solaris** | n/a | no | n/a | ?? |
|
||||||
|
| **plan9** | no | no | n/a | ?? |
|
||||||
|
| **windows** | yes | yes | n/a | ?? |
|
||||||
|
| **android** | n/a | n/a | no | ?? |
|
||||||
|
|
||||||
|
*n/a: platform not supported by Go
|
||||||
|
|
||||||
|
Go on `plan9` and `solaris` do not implement `syscall.Select` not `syscall.SYS_SELECT`.
|
||||||
|
|
||||||
|
## Cross compile
|
||||||
|
|
||||||
|
Using davecheney's https://github.com/davecheney/golang-crosscompile
|
||||||
|
|
||||||
|
```
|
||||||
|
export PLATFORMS="darwin/386 darwin/amd64 freebsd/386 freebsd/amd64 freebsd/arm linux/386 linux/amd64 linux/arm windows/386 windows/amd64 openbsd/386 openbsd/amd64 netbsd/386 netbsd/amd64 dragonfly/amd64 plan9/386 plan9/amd64 solaris/amd64"
|
||||||
|
```
|
|
@ -0,0 +1,33 @@
|
||||||
|
// +build !freebsd,!windows,!plan9
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
import "syscall"
|
||||||
|
|
||||||
|
const FD_SETSIZE = syscall.FD_SETSIZE
|
||||||
|
|
||||||
|
// FDSet wraps syscall.FdSet with convenience methods
|
||||||
|
type FDSet syscall.FdSet
|
||||||
|
|
||||||
|
// Set adds the fd to the set
|
||||||
|
func (fds *FDSet) Set(fd uintptr) {
|
||||||
|
fds.Bits[fd/NFDBITS] |= (1 << (fd % NFDBITS))
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clear remove the fd from the set
|
||||||
|
func (fds *FDSet) Clear(fd uintptr) {
|
||||||
|
fds.Bits[fd/NFDBITS] &^= (1 << (fd % NFDBITS))
|
||||||
|
}
|
||||||
|
|
||||||
|
// IsSet check if the given fd is set
|
||||||
|
func (fds *FDSet) IsSet(fd uintptr) bool {
|
||||||
|
return fds.Bits[fd/NFDBITS]&(1<<(fd%NFDBITS)) != 0
|
||||||
|
}
|
||||||
|
|
||||||
|
// Keep a null set to avoid reinstatiation
|
||||||
|
var nullFdSet = &FDSet{}
|
||||||
|
|
||||||
|
// Zero empties the Set
|
||||||
|
func (fds *FDSet) Zero() {
|
||||||
|
copy(fds.Bits[:], (nullFdSet).Bits[:])
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
// +build darwin openbsd netbsd 386 arm
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
// darwin, netbsd and openbsd uses uint32 on both amd64 and 386
|
||||||
|
|
||||||
|
const (
|
||||||
|
// NFDBITS is the amount of bits per mask
|
||||||
|
NFDBITS = 4 * 8
|
||||||
|
)
|
|
@ -0,0 +1,11 @@
|
||||||
|
// +build !darwin,!netbsd,!openbsd
|
||||||
|
// +build amd64 arm64
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
// darwin, netbsd and openbsd uses uint32 on both amd64 and 386
|
||||||
|
|
||||||
|
const (
|
||||||
|
// NFDBITS is the amount of bits per mask
|
||||||
|
NFDBITS = 8 * 8
|
||||||
|
)
|
|
@ -0,0 +1,93 @@
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
/**
|
||||||
|
From: XCode's MacOSX10.10.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/select.h
|
||||||
|
--
|
||||||
|
// darwin/amd64 / 386
|
||||||
|
sizeof(__int32_t) == 4
|
||||||
|
--
|
||||||
|
|
||||||
|
typedef __int32_t __fd_mask;
|
||||||
|
|
||||||
|
#define FD_SETSIZE 1024
|
||||||
|
#define __NFDBITS (sizeof(__fd_mask) * 8)
|
||||||
|
#define __howmany(x, y) ((((x) % (y)) == 0) ? ((x) / (y)) : (((x) / (y)) + 1))
|
||||||
|
|
||||||
|
typedef struct fd_set {
|
||||||
|
__fd_mask fds_bits[__howmany(__FD_SETSIZE, __NFDBITS)];
|
||||||
|
} fd_set;
|
||||||
|
|
||||||
|
#define __FD_MASK(n) ((__fd_mask)1 << ((n) % __NFDBITS))
|
||||||
|
#define FD_SET(n, p) ((p)->fds_bits[(n)/__NFDBITS] |= __FD_MASK(n))
|
||||||
|
#define FD_CLR(n, p) ((p)->fds_bits[(n)/__NFDBITS] &= ~__FD_MASK(n))
|
||||||
|
#define FD_ISSET(n, p) (((p)->fds_bits[(n)/__NFDBITS] & __FD_MASK(n)) != 0)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
From: /usr/include/i386-linux-gnu/sys/select.h
|
||||||
|
--
|
||||||
|
// linux/i686
|
||||||
|
sizeof(long int) == 4
|
||||||
|
--
|
||||||
|
|
||||||
|
typedef long int __fd_mask;
|
||||||
|
|
||||||
|
#define FD_SETSIZE 1024
|
||||||
|
#define __NFDBITS (sizeof(__fd_mask) * 8)
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct fd_set {
|
||||||
|
__fd_mask fds_bits[__FD_SETSIZE / __NFDBITS];
|
||||||
|
} fd_set;
|
||||||
|
|
||||||
|
#define __FD_MASK(n) ((__fd_mask)1 << ((n) % __NFDBITS))
|
||||||
|
#define FD_SET(n, p) ((p)->fds_bits[(n)/__NFDBITS] |= __FD_MASK(n))
|
||||||
|
#define FD_CLR(n, p) ((p)->fds_bits[(n)/__NFDBITS] &= ~__FD_MASK(n))
|
||||||
|
#define FD_ISSET(n, p) (((p)->fds_bits[(n)/__NFDBITS] & __FD_MASK(n)) != 0)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
From: /usr/include/x86_64-linux-gnu/sys/select.h
|
||||||
|
--
|
||||||
|
// linux/amd64
|
||||||
|
sizeof(long int) == 8
|
||||||
|
--
|
||||||
|
|
||||||
|
typedef long int __fd_mask;
|
||||||
|
|
||||||
|
#define FD_SETSIZE 1024
|
||||||
|
#define __NFDBITS (sizeof(__fd_mask) * 8)
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct fd_set {
|
||||||
|
__fd_mask fds_bits[__FD_SETSIZE / __NFDBITS];
|
||||||
|
} fd_set;
|
||||||
|
|
||||||
|
#define __FD_MASK(n) ((__fd_mask)1 << ((n) % __NFDBITS))
|
||||||
|
#define FD_SET(n, p) ((p)->fds_bits[(n)/__NFDBITS] |= __FD_MASK(n))
|
||||||
|
#define FD_CLR(n, p) ((p)->fds_bits[(n)/__NFDBITS] &= ~__FD_MASK(n))
|
||||||
|
#define FD_ISSET(n, p) (((p)->fds_bits[(n)/__NFDBITS] & __FD_MASK(n)) != 0)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
From: /usr/include/sys/select.h
|
||||||
|
--
|
||||||
|
// freebsd/amd64
|
||||||
|
sizeof(unsigned long) == 8
|
||||||
|
--
|
||||||
|
|
||||||
|
typedef unsigned long __fd_mask;
|
||||||
|
|
||||||
|
#define FD_SETSIZE 1024U
|
||||||
|
#define __NFDBITS (sizeof(__fd_mask) * 8)
|
||||||
|
#define _howmany(x, y) (((x) + ((y) - 1)) / (y))
|
||||||
|
|
||||||
|
typedef struct fd_set {
|
||||||
|
__fd_mask fds_bits[_howmany(FD_SETSIZE, __NFDBITS)];
|
||||||
|
} fd_set;
|
||||||
|
|
||||||
|
#define __FD_MASK(n) ((__fd_mask)1 << ((n) % __NFDBITS))
|
||||||
|
#define FD_SET(n, p) ((p)->fds_bits[(n)/__NFDBITS] |= __FD_MASK(n))
|
||||||
|
#define FD_CLR(n, p) ((p)->fds_bits[(n)/__NFDBITS] &= ~__FD_MASK(n))
|
||||||
|
#define FD_ISSET(n, p) (((p)->fds_bits[(n)/__NFDBITS] & __FD_MASK(n)) != 0)
|
||||||
|
*/
|
|
@ -0,0 +1,33 @@
|
||||||
|
// +build freebsd
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
import "syscall"
|
||||||
|
|
||||||
|
const FD_SETSIZE = syscall.FD_SETSIZE
|
||||||
|
|
||||||
|
// FDSet wraps syscall.FdSet with convenience methods
|
||||||
|
type FDSet syscall.FdSet
|
||||||
|
|
||||||
|
// Set adds the fd to the set
|
||||||
|
func (fds *FDSet) Set(fd uintptr) {
|
||||||
|
fds.X__fds_bits[fd/NFDBITS] |= (1 << (fd % NFDBITS))
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clear remove the fd from the set
|
||||||
|
func (fds *FDSet) Clear(fd uintptr) {
|
||||||
|
fds.X__fds_bits[fd/NFDBITS] &^= (1 << (fd % NFDBITS))
|
||||||
|
}
|
||||||
|
|
||||||
|
// IsSet check if the given fd is set
|
||||||
|
func (fds *FDSet) IsSet(fd uintptr) bool {
|
||||||
|
return fds.X__fds_bits[fd/NFDBITS]&(1<<(fd%NFDBITS)) != 0
|
||||||
|
}
|
||||||
|
|
||||||
|
// Keep a null set to avoid reinstatiation
|
||||||
|
var nullFdSet = &FDSet{}
|
||||||
|
|
||||||
|
// Zero empties the Set
|
||||||
|
func (fds *FDSet) Zero() {
|
||||||
|
copy(fds.X__fds_bits[:], (nullFdSet).X__fds_bits[:])
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
// +build plan9
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
const FD_SETSIZE = 0
|
||||||
|
|
||||||
|
// FDSet wraps syscall.FdSet with convenience methods
|
||||||
|
type FDSet struct{}
|
||||||
|
|
||||||
|
// Set adds the fd to the set
|
||||||
|
func (fds *FDSet) Set(fd uintptr) {}
|
||||||
|
|
||||||
|
// Clear remove the fd from the set
|
||||||
|
func (fds *FDSet) Clear(fd uintptr) {}
|
||||||
|
|
||||||
|
// IsSet check if the given fd is set
|
||||||
|
func (fds *FDSet) IsSet(fd uintptr) bool { return false }
|
||||||
|
|
||||||
|
// Zero empties the Set
|
||||||
|
func (fds *FDSet) Zero() {}
|
|
@ -0,0 +1,57 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
import "syscall"
|
||||||
|
|
||||||
|
const FD_SETSIZE = 64
|
||||||
|
|
||||||
|
// FDSet extracted from mingw libs source code
|
||||||
|
type FDSet struct {
|
||||||
|
fd_count uint
|
||||||
|
fd_array [FD_SETSIZE]uintptr
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set adds the fd to the set
|
||||||
|
func (fds *FDSet) Set(fd uintptr) {
|
||||||
|
var i uint
|
||||||
|
for i = 0; i < fds.fd_count; i++ {
|
||||||
|
if fds.fd_array[i] == fd {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if i == fds.fd_count {
|
||||||
|
if fds.fd_count < FD_SETSIZE {
|
||||||
|
fds.fd_array[i] = fd
|
||||||
|
fds.fd_count++
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clear remove the fd from the set
|
||||||
|
func (fds *FDSet) Clear(fd uintptr) {
|
||||||
|
var i uint
|
||||||
|
for i = 0; i < fds.fd_count; i++ {
|
||||||
|
if fds.fd_array[i] == fd {
|
||||||
|
for i < fds.fd_count-1 {
|
||||||
|
fds.fd_array[i] = fds.fd_array[i+1]
|
||||||
|
i++
|
||||||
|
}
|
||||||
|
fds.fd_count--
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// IsSet check if the given fd is set
|
||||||
|
func (fds *FDSet) IsSet(fd uintptr) bool {
|
||||||
|
if isset, err := __WSAFDIsSet(syscall.Handle(fd), fds); err == nil && isset != 0 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// Zero empties the Set
|
||||||
|
func (fds *FDSet) Zero() {
|
||||||
|
fds.fd_count = 0
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
import (
|
||||||
|
"syscall"
|
||||||
|
"time"
|
||||||
|
)
|
||||||
|
|
||||||
|
// Select wraps syscall.Select with Go types
|
||||||
|
func Select(n int, r, w, e *FDSet, timeout time.Duration) error {
|
||||||
|
var timeval *syscall.Timeval
|
||||||
|
if timeout >= 0 {
|
||||||
|
t := syscall.NsecToTimeval(timeout.Nanoseconds())
|
||||||
|
timeval = &t
|
||||||
|
}
|
||||||
|
|
||||||
|
return sysSelect(n, r, w, e, timeval)
|
||||||
|
}
|
||||||
|
|
||||||
|
// RetrySelect wraps syscall.Select with Go types, and retries a number of times, with a given retryDelay.
|
||||||
|
func RetrySelect(n int, r, w, e *FDSet, timeout time.Duration, retries int, retryDelay time.Duration) (err error) {
|
||||||
|
for i := 0; i < retries; i++ {
|
||||||
|
if err = Select(n, r, w, e, timeout); err != syscall.EINTR {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
time.Sleep(retryDelay)
|
||||||
|
}
|
||||||
|
return err
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
// +build linux
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
import "syscall"
|
||||||
|
|
||||||
|
func sysSelect(n int, r, w, e *FDSet, timeout *syscall.Timeval) error {
|
||||||
|
_, err := syscall.Select(n, (*syscall.FdSet)(r), (*syscall.FdSet)(w), (*syscall.FdSet)(e), timeout)
|
||||||
|
return err
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
// +build !linux,!windows,!plan9,!solaris
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
import "syscall"
|
||||||
|
|
||||||
|
func sysSelect(n int, r, w, e *FDSet, timeout *syscall.Timeval) error {
|
||||||
|
return syscall.Select(n, (*syscall.FdSet)(r), (*syscall.FdSet)(w), (*syscall.FdSet)(e), timeout)
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
// +build plan9 solaris
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"runtime"
|
||||||
|
"syscall"
|
||||||
|
)
|
||||||
|
|
||||||
|
// ErrUnsupported .
|
||||||
|
var ErrUnsupported = fmt.Errorf("Platofrm %s/%s unsupported", runtime.GOOS, runtime.GOARCH)
|
||||||
|
|
||||||
|
func sysSelect(n int, r, w, e *FDSet, timeout *syscall.Timeval) error {
|
||||||
|
return ErrUnsupported
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
import "syscall"
|
||||||
|
|
||||||
|
//sys _select(nfds int, readfds *FDSet, writefds *FDSet, exceptfds *FDSet, timeout *syscall.Timeval) (total int, err error) = ws2_32.select
|
||||||
|
//sys __WSAFDIsSet(handle syscall.Handle, fdset *FDSet) (isset int, err error) = ws2_32.__WSAFDIsSet
|
||||||
|
|
||||||
|
func sysSelect(n int, r, w, e *FDSet, timeout *syscall.Timeval) error {
|
||||||
|
_, err := _select(n, r, w, e, timeout)
|
||||||
|
return err
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
export GOOS=linux; export GOARCH=arm; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=linux; export GOARCH=arm64; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=linux; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=linux; export GOARCH=386; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=darwin; export GOARCH=arm; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=darwin; export GOARCH=arm64; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=darwin; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=darwin; export GOARCH=386; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=freebsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=freebsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=freebsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=openbsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=openbsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=openbsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=netbsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=netbsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
|
||||||
|
export GOOS=netbsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
|
|
@ -0,0 +1,41 @@
|
||||||
|
// MACHINE GENERATED BY 'go generate' COMMAND; DO NOT EDIT
|
||||||
|
|
||||||
|
package goselect
|
||||||
|
|
||||||
|
import "unsafe"
|
||||||
|
import "syscall"
|
||||||
|
|
||||||
|
var _ unsafe.Pointer
|
||||||
|
|
||||||
|
var (
|
||||||
|
modws2_32 = syscall.NewLazyDLL("ws2_32.dll")
|
||||||
|
|
||||||
|
procselect = modws2_32.NewProc("select")
|
||||||
|
proc__WSAFDIsSet = modws2_32.NewProc("__WSAFDIsSet")
|
||||||
|
)
|
||||||
|
|
||||||
|
func _select(nfds int, readfds *FDSet, writefds *FDSet, exceptfds *FDSet, timeout *syscall.Timeval) (total int, err error) {
|
||||||
|
r0, _, e1 := syscall.Syscall6(procselect.Addr(), 5, uintptr(nfds), uintptr(unsafe.Pointer(readfds)), uintptr(unsafe.Pointer(writefds)), uintptr(unsafe.Pointer(exceptfds)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||||
|
total = int(r0)
|
||||||
|
if total == 0 {
|
||||||
|
if e1 != 0 {
|
||||||
|
err = error(e1)
|
||||||
|
} else {
|
||||||
|
err = syscall.EINVAL
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func __WSAFDIsSet(handle syscall.Handle, fdset *FDSet) (isset int, err error) {
|
||||||
|
r0, _, e1 := syscall.Syscall(proc__WSAFDIsSet.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(fdset)), 0)
|
||||||
|
isset = int(r0)
|
||||||
|
if isset == 0 {
|
||||||
|
if e1 != 0 {
|
||||||
|
err = error(e1)
|
||||||
|
} else {
|
||||||
|
err = syscall.EINVAL
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
|
@ -1,4 +1,6 @@
|
||||||
Copyright (c) 2012-2013 Dave Collins <dave@davec.name>
|
ISC License
|
||||||
|
|
||||||
|
Copyright (c) 2012-2016 Dave Collins <dave@davec.name>
|
||||||
|
|
||||||
Permission to use, copy, modify, and distribute this software for any
|
Permission to use, copy, modify, and distribute this software for any
|
||||||
purpose with or without fee is hereby granted, provided that the above
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) 2015 Dave Collins <dave@davec.name>
|
// Copyright (c) 2015-2016 Dave Collins <dave@davec.name>
|
||||||
//
|
//
|
||||||
// Permission to use, copy, modify, and distribute this software for any
|
// Permission to use, copy, modify, and distribute this software for any
|
||||||
// purpose with or without fee is hereby granted, provided that the above
|
// purpose with or without fee is hereby granted, provided that the above
|
||||||
|
@ -13,9 +13,10 @@
|
||||||
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
// NOTE: Due to the following build constraints, this file will only be compiled
|
// NOTE: Due to the following build constraints, this file will only be compiled
|
||||||
// when the code is not running on Google App Engine and "-tags disableunsafe"
|
// when the code is not running on Google App Engine, compiled by GopherJS, and
|
||||||
// is not added to the go build command line.
|
// "-tags safe" is not added to the go build command line. The "disableunsafe"
|
||||||
// +build !appengine,!disableunsafe
|
// tag is deprecated and thus should not be used.
|
||||||
|
// +build !js,!appengine,!safe,!disableunsafe
|
||||||
|
|
||||||
package spew
|
package spew
|
||||||
|
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
// Copyright (c) 2015 Dave Collins <dave@davec.name>
|
|
||||||
//
|
|
||||||
// Permission to use, copy, modify, and distribute this software for any
|
|
||||||
// purpose with or without fee is hereby granted, provided that the above
|
|
||||||
// copyright notice and this permission notice appear in all copies.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
||||||
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
||||||
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
||||||
// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
||||||
// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
||||||
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
||||||
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
|
|
||||||
// NOTE: Due to the following build constraints, this file will only be compiled
|
|
||||||
// when either the code is running on Google App Engine or "-tags disableunsafe"
|
|
||||||
// is added to the go build command line.
|
|
||||||
// +build appengine disableunsafe
|
|
||||||
|
|
||||||
package spew
|
|
||||||
|
|
||||||
import "reflect"
|
|
||||||
|
|
||||||
const (
|
|
||||||
// UnsafeDisabled is a build-time constant which specifies whether or
|
|
||||||
// not access to the unsafe package is available.
|
|
||||||
UnsafeDisabled = true
|
|
||||||
)
|
|
||||||
|
|
||||||
// unsafeReflectValue typically converts the passed reflect.Value into a one
|
|
||||||
// that bypasses the typical safety restrictions preventing access to
|
|
||||||
// unaddressable and unexported data. However, doing this relies on access to
|
|
||||||
// the unsafe package. This is a stub version which simply returns the passed
|
|
||||||
// reflect.Value when the unsafe package is not available.
|
|
||||||
func unsafeReflectValue(v reflect.Value) reflect.Value {
|
|
||||||
return v
|
|
||||||
}
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013 Dave Collins <dave@davec.name>
|
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013 Dave Collins <dave@davec.name>
|
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
@ -64,9 +64,18 @@ type ConfigState struct {
|
||||||
// inside these interface methods. As a result, this option relies on
|
// inside these interface methods. As a result, this option relies on
|
||||||
// access to the unsafe package, so it will not have any effect when
|
// access to the unsafe package, so it will not have any effect when
|
||||||
// running in environments without access to the unsafe package such as
|
// running in environments without access to the unsafe package such as
|
||||||
// Google App Engine or with the "disableunsafe" build tag specified.
|
// Google App Engine or with the "safe" build tag specified.
|
||||||
DisablePointerMethods bool
|
DisablePointerMethods bool
|
||||||
|
|
||||||
|
// DisablePointerAddresses specifies whether to disable the printing of
|
||||||
|
// pointer addresses. This is useful when diffing data structures in tests.
|
||||||
|
DisablePointerAddresses bool
|
||||||
|
|
||||||
|
// DisableCapacities specifies whether to disable the printing of capacities
|
||||||
|
// for arrays, slices, maps and channels. This is useful when diffing
|
||||||
|
// data structures in tests.
|
||||||
|
DisableCapacities bool
|
||||||
|
|
||||||
// ContinueOnMethod specifies whether or not recursion should continue once
|
// ContinueOnMethod specifies whether or not recursion should continue once
|
||||||
// a custom error or Stringer interface is invoked. The default, false,
|
// a custom error or Stringer interface is invoked. The default, false,
|
||||||
// means it will print the results of invoking the custom error or Stringer
|
// means it will print the results of invoking the custom error or Stringer
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013 Dave Collins <dave@davec.name>
|
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
@ -91,6 +91,15 @@ The following configuration options are available:
|
||||||
which only accept pointer receivers from non-pointer variables.
|
which only accept pointer receivers from non-pointer variables.
|
||||||
Pointer method invocation is enabled by default.
|
Pointer method invocation is enabled by default.
|
||||||
|
|
||||||
|
* DisablePointerAddresses
|
||||||
|
DisablePointerAddresses specifies whether to disable the printing of
|
||||||
|
pointer addresses. This is useful when diffing data structures in tests.
|
||||||
|
|
||||||
|
* DisableCapacities
|
||||||
|
DisableCapacities specifies whether to disable the printing of
|
||||||
|
capacities for arrays, slices, maps and channels. This is useful when
|
||||||
|
diffing data structures in tests.
|
||||||
|
|
||||||
* ContinueOnMethod
|
* ContinueOnMethod
|
||||||
Enables recursion into types after invoking error and Stringer interface
|
Enables recursion into types after invoking error and Stringer interface
|
||||||
methods. Recursion after method invocation is disabled by default.
|
methods. Recursion after method invocation is disabled by default.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013 Dave Collins <dave@davec.name>
|
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
@ -129,7 +129,7 @@ func (d *dumpState) dumpPtr(v reflect.Value) {
|
||||||
d.w.Write(closeParenBytes)
|
d.w.Write(closeParenBytes)
|
||||||
|
|
||||||
// Display pointer information.
|
// Display pointer information.
|
||||||
if len(pointerChain) > 0 {
|
if !d.cs.DisablePointerAddresses && len(pointerChain) > 0 {
|
||||||
d.w.Write(openParenBytes)
|
d.w.Write(openParenBytes)
|
||||||
for i, addr := range pointerChain {
|
for i, addr := range pointerChain {
|
||||||
if i > 0 {
|
if i > 0 {
|
||||||
|
@ -282,13 +282,13 @@ func (d *dumpState) dump(v reflect.Value) {
|
||||||
case reflect.Map, reflect.String:
|
case reflect.Map, reflect.String:
|
||||||
valueLen = v.Len()
|
valueLen = v.Len()
|
||||||
}
|
}
|
||||||
if valueLen != 0 || valueCap != 0 {
|
if valueLen != 0 || !d.cs.DisableCapacities && valueCap != 0 {
|
||||||
d.w.Write(openParenBytes)
|
d.w.Write(openParenBytes)
|
||||||
if valueLen != 0 {
|
if valueLen != 0 {
|
||||||
d.w.Write(lenEqualsBytes)
|
d.w.Write(lenEqualsBytes)
|
||||||
printInt(d.w, int64(valueLen), 10)
|
printInt(d.w, int64(valueLen), 10)
|
||||||
}
|
}
|
||||||
if valueCap != 0 {
|
if !d.cs.DisableCapacities && valueCap != 0 {
|
||||||
if valueLen != 0 {
|
if valueLen != 0 {
|
||||||
d.w.Write(spaceBytes)
|
d.w.Write(spaceBytes)
|
||||||
}
|
}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue