1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/pkg/config/mocks/vaultClient.go
Kevin Stiehl f2b0683880
add token revocation (#2686)
* add token revocation

* update mocks

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-03-10 08:36:50 +01:00

39 lines
820 B
Go

// Code generated by mockery v2.3.0. DO NOT EDIT.
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
}
// MustRevokeToken provides a mock function with given fields:
func (_m *VaultMock) MustRevokeToken() {
_m.Called()
}