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

Method ReloadCache

backend/component/iam/manager.go:84–87  ·  view source on GitHub ↗
(_ context.Context)

Source from the content-addressed store, hash-verified

82}
83
84func (m *Manager) ReloadCache(_ context.Context) error {
85 m.store.PurgeGroupCaches()
86 return nil
87}
88
89// GetPermissions returns all permissions for the given role.
90// Role format is roles/{role}.

Callers 11

CreateRoleMethod · 0.80
UpdateRoleMethod · 0.80
DeleteRoleMethod · 0.80
CreateGroupMethod · 0.80
UpdateGroupMethod · 0.80
DeleteGroupMethod · 0.80
syncUserGroupsMethod · 0.80
LeaveWorkspaceMethod · 0.80
SetIamPolicyMethod · 0.80
NewServerFunction · 0.80

Calls 1

PurgeGroupCachesMethod · 0.80

Tested by

no test coverage detected