MCPcopy Create free account
hub / github.com/cloudbase/garm / GetUser

Method GetUser

database/common/store.go:85–85  ·  view source on GitHub ↗
(ctx context.Context, user string)

Source from the content-addressed store, hash-verified

83
84type UserStore interface {
85 GetUser(ctx context.Context, user string) (params.User, error)
86 GetUserByID(ctx context.Context, userID string) (params.User, error)
87 GetAdminUser(ctx context.Context) (params.User, error)
88

Callers 4

TestGetUserMethod · 0.65
TestGetUserNotFoundMethod · 0.65
AuthenticateUserMethod · 0.65
CreateGARMTestUserFunction · 0.65

Implementers 3

sqlDatabasedatabase/sql/sql.go
Storedatabase/common/mocks/Store.go
Store_Expecterdatabase/common/mocks/Store.go

Calls

no outgoing calls

Tested by 2

TestGetUserMethod · 0.52
TestGetUserNotFoundMethod · 0.52