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

Function resourceIDMatcher

coderd/rbac/regosql/configs.go:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import "github.com/coder/coder/v2/coderd/rbac/regosql/sqltypes"
4
5func resourceIDMatcher() sqltypes.VariableMatcher {
6 return sqltypes.StringVarMatcher("id :: text", []string{"input", "object", "id"})
7}
8
9func chatResourceIDMatcher() sqltypes.VariableMatcher {
10 return sqltypes.StringVarMatcher("chats_expanded.id :: text", []string{"input", "object", "id"})

Callers 8

TemplateConverterFunction · 0.85
WorkspaceConverterFunction · 0.85
AuditLogConverterFunction · 0.85
ConnectionLogConverterFunction · 0.85
UserConverterFunction · 0.85
NoACLConverterFunction · 0.85
DefaultVariableConverterFunction · 0.85

Calls 1

StringVarMatcherFunction · 0.92

Tested by

no test coverage detected