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

Function getIamPolicyCacheKey

backend/store/policy.go:26–28  ·  view source on GitHub ↗
(workspace string, resourceType storepb.Policy_Resource, resourceID string)

Source from the content-addressed store, hash-verified

24}
25
26func getIamPolicyCacheKey(workspace string, resourceType storepb.Policy_Resource, resourceID string) string {
27 return fmt.Sprintf("iam/%s/%s/%s", workspace, resourceType, resourceID)
28}
29
30// generateEtag generates etag for the given body.
31func generateEtag(t time.Time) string {

Callers 7

UpdateUserEmailMethod · 0.85
CreatePolicyMethod · 0.85
UpdatePolicyMethod · 0.85
DeletePolicyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected