open-vault/vendor/github.com/hashicorp/vault-plugin-mock
Jim Kalafut 2c737182e4
Import vault-plugin-mock (#9839)
Support testing of CI and GitHub actions by creating a real dependency
between Vault and a plugin. The plugin itself is a no-op.
2020-08-26 12:51:46 -07:00
..
go.mod Import vault-plugin-mock (#9839) 2020-08-26 12:51:46 -07:00
go.sum Import vault-plugin-mock (#9839) 2020-08-26 12:51:46 -07:00
mock.go Import vault-plugin-mock (#9839) 2020-08-26 12:51:46 -07:00
README.md Import vault-plugin-mock (#9839) 2020-08-26 12:51:46 -07:00

vault-plugin-mock

This is a mock Vault plugin for testing.

It may be imported by the real Vault, so while it is functionally a NOOP, changes can break Vault. In particular:

  • Don't rename the package
  • Don't rename or remove the exported constant
  • Ensure it always compiles