| 9 | ) |
| 10 | |
| 11 | type FakeBuildpackRepository struct { |
| 12 | CreateStub func(string, *int, *bool, *bool) (models.Buildpack, error) |
| 13 | createMutex sync.RWMutex |
| 14 | createArgsForCall []struct { |
| 15 | arg1 string |
| 16 | arg2 *int |
| 17 | arg3 *bool |
| 18 | arg4 *bool |
| 19 | } |
| 20 | createReturns struct { |
| 21 | result1 models.Buildpack |
| 22 | result2 error |
| 23 | } |
| 24 | createReturnsOnCall map[int]struct { |
| 25 | result1 models.Buildpack |
| 26 | result2 error |
| 27 | } |
| 28 | DeleteStub func(string) error |
| 29 | deleteMutex sync.RWMutex |
| 30 | deleteArgsForCall []struct { |
| 31 | arg1 string |
| 32 | } |
| 33 | deleteReturns struct { |
| 34 | result1 error |
| 35 | } |
| 36 | deleteReturnsOnCall map[int]struct { |
| 37 | result1 error |
| 38 | } |
| 39 | FindByNameStub func(string) (models.Buildpack, error) |
| 40 | findByNameMutex sync.RWMutex |
| 41 | findByNameArgsForCall []struct { |
| 42 | arg1 string |
| 43 | } |
| 44 | findByNameReturns struct { |
| 45 | result1 models.Buildpack |
| 46 | result2 error |
| 47 | } |
| 48 | findByNameReturnsOnCall map[int]struct { |
| 49 | result1 models.Buildpack |
| 50 | result2 error |
| 51 | } |
| 52 | FindByNameAndStackStub func(string, string) (models.Buildpack, error) |
| 53 | findByNameAndStackMutex sync.RWMutex |
| 54 | findByNameAndStackArgsForCall []struct { |
| 55 | arg1 string |
| 56 | arg2 string |
| 57 | } |
| 58 | findByNameAndStackReturns struct { |
| 59 | result1 models.Buildpack |
| 60 | result2 error |
| 61 | } |
| 62 | findByNameAndStackReturnsOnCall map[int]struct { |
| 63 | result1 models.Buildpack |
| 64 | result2 error |
| 65 | } |
| 66 | FindByNameWithNilStackStub func(string) (models.Buildpack, error) |
| 67 | findByNameWithNilStackMutex sync.RWMutex |
| 68 | findByNameWithNilStackArgsForCall []struct { |
nothing calls this directly
no outgoing calls
no test coverage detected