More decryption functions and stub test cases for AWS
This commit is contained in:
@@ -8,6 +8,15 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
type mockProvider struct {
|
||||
out []byte
|
||||
err error
|
||||
}
|
||||
|
||||
func (p mockProvider) GetSecret(_ string) ([]byte, error) {
|
||||
return p.out, p.err
|
||||
}
|
||||
|
||||
type testProviderCase struct {
|
||||
Name string
|
||||
Key string
|
||||
|
Reference in New Issue
Block a user