| 9 | ) |
| 10 | |
| 11 | type FakeServiceKeyRepository struct { |
| 12 | CreateServiceKeyStub func(string, string, map[string]interface{}) error |
| 13 | createServiceKeyMutex sync.RWMutex |
| 14 | createServiceKeyArgsForCall []struct { |
| 15 | arg1 string |
| 16 | arg2 string |
| 17 | arg3 map[string]interface{} |
| 18 | } |
| 19 | createServiceKeyReturns struct { |
| 20 | result1 error |
| 21 | } |
| 22 | createServiceKeyReturnsOnCall map[int]struct { |
| 23 | result1 error |
| 24 | } |
| 25 | DeleteServiceKeyStub func(string) error |
| 26 | deleteServiceKeyMutex sync.RWMutex |
| 27 | deleteServiceKeyArgsForCall []struct { |
| 28 | arg1 string |
| 29 | } |
| 30 | deleteServiceKeyReturns struct { |
| 31 | result1 error |
| 32 | } |
| 33 | deleteServiceKeyReturnsOnCall map[int]struct { |
| 34 | result1 error |
| 35 | } |
| 36 | GetServiceKeyStub func(string, string) (models.ServiceKey, error) |
| 37 | getServiceKeyMutex sync.RWMutex |
| 38 | getServiceKeyArgsForCall []struct { |
| 39 | arg1 string |
| 40 | arg2 string |
| 41 | } |
| 42 | getServiceKeyReturns struct { |
| 43 | result1 models.ServiceKey |
| 44 | result2 error |
| 45 | } |
| 46 | getServiceKeyReturnsOnCall map[int]struct { |
| 47 | result1 models.ServiceKey |
| 48 | result2 error |
| 49 | } |
| 50 | ListServiceKeysStub func(string) ([]models.ServiceKey, error) |
| 51 | listServiceKeysMutex sync.RWMutex |
| 52 | listServiceKeysArgsForCall []struct { |
| 53 | arg1 string |
| 54 | } |
| 55 | listServiceKeysReturns struct { |
| 56 | result1 []models.ServiceKey |
| 57 | result2 error |
| 58 | } |
| 59 | listServiceKeysReturnsOnCall map[int]struct { |
| 60 | result1 []models.ServiceKey |
| 61 | result2 error |
| 62 | } |
| 63 | invocations map[string][][]interface{} |
| 64 | invocationsMutex sync.RWMutex |
| 65 | } |
| 66 | |
| 67 | func (fake *FakeServiceKeyRepository) CreateServiceKey(arg1 string, arg2 string, arg3 map[string]interface{}) error { |
| 68 | fake.createServiceKeyMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected