6b4bdb1882
* Resolve merge conflicts and updates from running a test * move testing/_test.go over to legacy * updates * Add core of plugin test framework Stepwise (#9166) * adding stepwise testing, but there are protocol buff error :/ * move file and update sdk/go.mo * update/sync modules * update from other branch * update sdk/go.mod * some cleanups after feedback * remove enviornments from this PR * update vendor * change from running go mod tidy * change from go mod tidy * Update sdk/testing/stepwise/helpers.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * Update sdk/testing/stepwise/helpers.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * change panic to error * Update sdk/testing/stepwise/helpers.go return `nil` and not `err` at the end Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * Defer close() on successful Open of a file * document the re-creation of steps * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * remove unused BarrierKeys() * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * updates from feedback * fix return with bad arguments * Rename things: - StepOperation -> Operation - StepwiseEnvironment -> Environment - StepCheckFunc -> AssertionFunc - step.Check -> step.Assert * document the environment interface methods * rename EnvironmentOptions to MountOptions * rename Name to RegistryName * remove ExpectError because it's redundant * minor doc update * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * add checkShouldRun function * remove redundant return * remove vestigial PreCheck function * add tt.Helper() to makeRequest * minor code formatting and document 1-based index for log output of Steps Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * minor updates * update sdk * use local reference for api, vault dep * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com> * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com> * cleanup some defer functions * call fatal if environment setup fails, and don't call teardown * defer re-setting client token in makeRequest * Move legacy logicaltest back to testhelpers * update mods and test files with go mod tidy * go mod vendor * remove relative replace directives * restore old logical test location * move declaration to main stepwise file * remove index var and use i+1 * add testing for write, delete paths of makeRequest * update stepwise core testing to do request counting * remove unused methods * Update sdk/testing/stepwise/stepwise.go remove dead line Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * Update sdk/testing/stepwise/stepwise.go fix capitalization in code comment Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * update code comments for SkipTeardown to clarify its use * update stepwise Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
50 lines
1.9 KiB
Modula-2
50 lines
1.9 KiB
Modula-2
module github.com/hashicorp/vault/sdk
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/armon/go-metrics v0.3.3
|
|
github.com/armon/go-radix v1.0.0
|
|
github.com/aws/aws-sdk-go v1.30.27
|
|
github.com/fatih/color v1.9.0 // indirect
|
|
github.com/fatih/structs v1.1.0
|
|
github.com/frankban/quicktest v1.10.0 // indirect
|
|
github.com/go-ldap/ldap/v3 v3.1.10
|
|
github.com/go-test/deep v1.0.2
|
|
github.com/golang/protobuf v1.4.2
|
|
github.com/golang/snappy v0.0.1
|
|
github.com/hashicorp/errwrap v1.0.0
|
|
github.com/hashicorp/go-cleanhttp v0.5.1
|
|
github.com/hashicorp/go-hclog v0.14.1
|
|
github.com/hashicorp/go-immutable-radix v1.1.0
|
|
github.com/hashicorp/go-kms-wrapping/entropy v0.1.0
|
|
github.com/hashicorp/go-multierror v1.1.0
|
|
github.com/hashicorp/go-plugin v1.0.1
|
|
github.com/hashicorp/go-retryablehttp v0.6.6 // indirect
|
|
github.com/hashicorp/go-sockaddr v1.0.2
|
|
github.com/hashicorp/go-uuid v1.0.2
|
|
github.com/hashicorp/go-version v1.2.0
|
|
github.com/hashicorp/golang-lru v0.5.3
|
|
github.com/hashicorp/hcl v1.0.0
|
|
github.com/hashicorp/vault/api v1.0.5-0.20200519221902-385fac77e20f
|
|
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.6 // indirect
|
|
github.com/mitchellh/copystructure v1.0.0
|
|
github.com/mitchellh/go-testing-interface v1.0.0
|
|
github.com/mitchellh/mapstructure v1.3.2
|
|
github.com/mitchellh/reflectwalk v1.0.1 // indirect
|
|
github.com/pierrec/lz4 v2.5.2+incompatible
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/ryanuber/go-glob v1.0.0
|
|
golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9
|
|
golang.org/x/net v0.0.0-20200602114024-627f9648deb9 // indirect
|
|
golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980
|
|
golang.org/x/text v0.3.2 // indirect
|
|
golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1 // indirect
|
|
google.golang.org/grpc v1.29.1
|
|
google.golang.org/protobuf v1.24.0
|
|
gopkg.in/square/go-jose.v2 v2.5.1 // indirect
|
|
gopkg.in/yaml.v2 v2.2.8 // indirect
|
|
)
|