MCPcopy
hub / github.com/cloudfoundry/cli / FindByUsername

Method FindByUsername

cf/api/users.go:42–42  ·  view source on GitHub ↗
(username string)

Source from the content-addressed store, hash-verified

40
41type UserRepository interface {
42 FindByUsername(username string) (user models.UserFields, apiErr error)
43 FindAllByUsername(username string) (users []models.UserFields, apiErr error)
44 ListUsersInOrgForRoleWithNoUAA(orgGUID string, role models.Role) ([]models.UserFields, error)
45 ListUsersInSpaceForRoleWithNoUAA(spaceGUID string, role models.Role) ([]models.UserFields, error)

Callers 2

ExecuteMethod · 0.65
users_test.goFile · 0.65

Implementers 2

FakeUserRepositorycf/api/apifakes/fake_user_repository.g

Calls

no outgoing calls

Tested by

no test coverage detected