(config coreconfig.Reader, uaaGateway net.Gateway, ccGateway net.Gateway)
| 62 | } |
| 63 | |
| 64 | func NewCloudControllerUserRepository(config coreconfig.Reader, uaaGateway net.Gateway, ccGateway net.Gateway) (repo CloudControllerUserRepository) { |
| 65 | repo.config = config |
| 66 | repo.uaaGateway = uaaGateway |
| 67 | repo.ccGateway = ccGateway |
| 68 | return |
| 69 | } |
| 70 | |
| 71 | func (repo CloudControllerUserRepository) FindByUsername(username string) (user models.UserFields, apiErr error) { |
| 72 | users, apiErr := repo.FindAllByUsername(username) |
no outgoing calls
no test coverage detected