MCPcopy Create free account
hub / github.com/bytebase/bytebase / FindWorkspace

Method FindWorkspace

backend/api/oauth2/token.go:249–249  ·  view source on GitHub ↗
(ctx context.Context, find *store.FindWorkspaceMessage)

Source from the content-addressed store, hash-verified

247type workspaceResolver interface {
248 GetWorkspaceID(ctx context.Context) (string, error)
249 FindWorkspace(ctx context.Context, find *store.FindWorkspaceMessage) (*store.WorkspaceMessage, error)
250}
251
252// resolveBoundWorkspace returns the workspace the issued token should bind to,

Callers 10

resolveBoundWorkspaceFunction · 0.65
RefreshMethod · 0.65
SwitchWorkspaceMethod · 0.65
ResetPasswordMethod · 0.65
GetWorkspaceMethod · 0.65
DeleteWorkspaceMethod · 0.65
LeaveWorkspaceMethod · 0.65

Implementers 2

Storebackend/store/store.go
fakeWorkspaceResolverbackend/api/oauth2/token_test.go

Calls

no outgoing calls

Tested by

no test coverage detected