rebase: IBM key protect integration module dependency update

This commit adds the Key protect client SDK for the Key Protect
KMS integration to the Ceph CSI driver.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal
2021-12-20 17:49:02 +05:30
committed by mergify[bot]
parent 967076e4ba
commit 93e43d1a0f
18 changed files with 3025 additions and 0 deletions

View File

@ -0,0 +1,49 @@
# Contributing to keyprotect-go-client
`keyprotect-go-client` is open for code perusal and contributions. We welcome contributions in the form of feedback, bugs, or patches.
## Bugs and Feature Requests
If you find something that does not work as expected or would like to see a new feature added,
please open a [Github Issue](https://github.com/IBM/keyprotect-go-client/issues)
## Pull Requests
For your pull request to be merged, it must meet the criteria of a "correct patch", and also
be fully reviewed and approved by two Maintainer level contributors.
A correct patch is defined as the following:
- If the patch fixes a bug, it must be the simplest way to fix the issue
- Your patch must come with unit tests
- Unit tests (CI job) must pass
- New feature function should have integration tests as well
# Development
## Compiling the package
```sh
go build ./...
```
The client relies on go modules to pull in required dependencies at build time.
https://github.com/golang/go/wiki/Modules#how-to-use-modules
## Running the test cases
Using `go test`
```sh
go test -v -race ./...
```
The test cases are also runnable through `make`
```sh
make test
# or
make test-integration
```