Update to use newer sdk

This commit is contained in:
Jeff Mitchell 2019-05-15 09:22:48 -04:00
parent 7c193f53c8
commit faf12b3319
3 changed files with 21 additions and 2 deletions

2
go.mod
View file

@ -81,7 +81,7 @@ require (
github.com/hashicorp/vault-plugin-secrets-gcpkms v0.5.1
github.com/hashicorp/vault-plugin-secrets-kv v0.5.2-0.20190416155133-fd495225dea0
github.com/hashicorp/vault/api v1.0.1
github.com/hashicorp/vault/sdk v0.1.8
github.com/hashicorp/vault/sdk v0.1.11
github.com/influxdata/influxdb v0.0.0-20190411212539-d24b7ba8c4c4
github.com/jackc/fake v0.0.0-20150926172116-812a484cc733 // indirect
github.com/jackc/pgx v3.3.0+incompatible // indirect

19
vendor/github.com/hashicorp/vault/sdk/logical/audit.go generated vendored Normal file
View file

@ -0,0 +1,19 @@
package logical
type LogInput struct {
Type string
Auth *Auth
Request interface{}
Response interface{}
OuterErr error
NonHMACReqDataKeys []string
NonHMACRespDataKeys []string
}
type MarshalOptions struct {
ValueHasher func(string) string
}
type OptMarshaler interface {
MarshalJSONWithOptions(*MarshalOptions) ([]byte, error)
}

2
vendor/modules.txt vendored
View file

@ -348,7 +348,7 @@ github.com/hashicorp/vault-plugin-secrets-gcpkms
github.com/hashicorp/vault-plugin-secrets-kv
# github.com/hashicorp/vault/api v1.0.1 => ./api
github.com/hashicorp/vault/api
# github.com/hashicorp/vault/sdk v0.1.8 => ./sdk
# github.com/hashicorp/vault/sdk v0.1.11 => ./sdk
github.com/hashicorp/vault/sdk/helper/salt
github.com/hashicorp/vault/sdk/helper/strutil
github.com/hashicorp/vault/sdk/helper/wrapping