MCPcopy Index your code
hub / github.com/coder/coder / ConvertAllowList

Function ConvertAllowList

coderd/idpsync/group.go:458–464  ·  view source on GitHub ↗
(allowList []string)

Source from the content-addressed store, hash-verified

456}
457
458func ConvertAllowList(allowList []string) map[string]struct{} {
459 allowMap := make(map[string]struct{}, len(allowList))
460 for _, group := range allowList {
461 allowMap[group] = struct{}{}
462 }
463 return allowMap
464}

Callers 1

FromDeploymentValuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected