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

Method RegisterMatcher

coderd/rbac/regosql/sqltypes/variable.go:20–24  ·  view source on GitHub ↗
(m ...VariableMatcher)

Source from the content-addressed store, hash-verified

18}
19
20func (vc *VariableConverter) RegisterMatcher(m ...VariableMatcher) *VariableConverter {
21 vc.converters = append(vc.converters, m...)
22 // Returns the VariableConverter for easier instantiation
23 return vc
24}
25
26func (vc *VariableConverter) ConvertVariable(rego ast.Ref) (Node, bool) {
27 for _, c := range vc.converters {

Callers 12

TemplateConverterFunction · 0.80
WorkspaceConverterFunction · 0.80
ChatConverterFunction · 0.80
ChatNoACLConverterFunction · 0.80
chatBaseConverterFunction · 0.80
AuditLogConverterFunction · 0.80
ConnectionLogConverterFunction · 0.80
UserConverterFunction · 0.80
NoACLConverterFunction · 0.80
DefaultVariableConverterFunction · 0.80
TestRegoQueriesFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestRegoQueriesFunction · 0.64