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

Method InsertCustomRole

coderd/database/querier.go:952–952  ·  view source on GitHub ↗
(ctx context.Context, arg InsertCustomRoleParams)

Source from the content-addressed store, hash-verified

950 InsertChatQueuedMessage(ctx context.Context, arg InsertChatQueuedMessageParams) (ChatQueuedMessage, error)
951 InsertCryptoKey(ctx context.Context, arg InsertCryptoKeyParams) (CryptoKey, error)
952 InsertCustomRole(ctx context.Context, arg InsertCustomRoleParams) (CustomRole, error)
953 InsertDBCryptKey(ctx context.Context, arg InsertDBCryptKeyParams) error
954 InsertDERPMeshKey(ctx context.Context, value string) error
955 InsertDeploymentID(ctx context.Context, value string) error

Callers 11

SetupOrganizationFunction · 0.65
CreateSystemRoleFunction · 0.65
TestReadCustomRolesFunction · 0.65
InsertCustomRoleMethod · 0.65
TestInsertCustomRolesFunction · 0.65
TestSystemRolesFunction · 0.65
InsertCustomRoleMethod · 0.65
TestUserMethod · 0.65
CustomRoleFunction · 0.65
postOrgRolesMethod · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 6

SetupOrganizationFunction · 0.52
TestReadCustomRolesFunction · 0.52
TestInsertCustomRolesFunction · 0.52
TestSystemRolesFunction · 0.52
TestUserMethod · 0.52