2021-03-10 09:36:50 +02:00
|
|
|
// Code generated by mockery v2.3.0. DO NOT EDIT.
|
2020-07-22 11:15:48 +02:00
|
|
|
|
|
|
|
package mocks
|
|
|
|
|
|
|
|
import mock "github.com/stretchr/testify/mock"
|
|
|
|
|
|
|
|
// VaultMock is an autogenerated mock type for the vaultClient type
|
|
|
|
type VaultMock struct {
|
|
|
|
mock.Mock
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetKvSecret provides a mock function with given fields: _a0
|
|
|
|
func (_m *VaultMock) GetKvSecret(_a0 string) (map[string]string, error) {
|
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 map[string]string
|
|
|
|
if rf, ok := ret.Get(0).(func(string) map[string]string); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(map[string]string)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(string) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
2021-03-10 09:36:50 +02:00
|
|
|
|
|
|
|
// MustRevokeToken provides a mock function with given fields:
|
|
|
|
func (_m *VaultMock) MustRevokeToken() {
|
|
|
|
_m.Called()
|
|
|
|
}
|