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

Method GetDefaultOrganization

coderd/database/querier.go:459–459  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

457 GetDERPMeshKey(ctx context.Context) (string, error)
458 GetDefaultChatModelConfig(ctx context.Context) (ChatModelConfig, error)
459 GetDefaultOrganization(ctx context.Context) (Organization, error)
460 GetDefaultProxyConfig(ctx context.Context) (GetDefaultProxyConfigRow, error)
461 GetDeploymentID(ctx context.Context) (string, error)
462 GetDeploymentWorkspaceAgentStats(ctx context.Context, createdAt time.Time) (GetDeploymentWorkspaceAgentStatsRow, error)

Callers 15

postFirstUserMethod · 0.65
postUserMethod · 0.65
oauthLoginMethod · 0.65
ExtractOrganizationParamFunction · 0.65
TestTelemetryFunction · 0.65
TestTasksTelemetryFunction · 0.65
TestChatsTelemetryFunction · 0.65
GroupSyncSettingsMethod · 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 11

TestTelemetryFunction · 0.52
TestTasksTelemetryFunction · 0.52
TestChatsTelemetryFunction · 0.52
TestGroupSyncTableFunction · 0.52
TestOrganizationMethod · 0.52
setupFunction · 0.52
TestReconcileAllFunction · 0.52
TestOrganizationSyncFunction · 0.52