MCPcopy
hub / github.com/PatchMon/PatchMon / GetFirstSettings

Method GetFirstSettings

server-source-code/internal/db/querier.go:231–231  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

229 GetDockerHostsMinimalByIDs(ctx context.Context, dollar_1 []string) ([]GetDockerHostsMinimalByIDsRow, error)
230 GetFirstComplianceProfileByType(ctx context.Context, type_ string) (ComplianceProfile, error)
231 GetFirstSettings(ctx context.Context) (Setting, error)
232 GetHomepageStats(ctx context.Context, since pgtype.Timestamp) (GetHomepageStatsRow, error)
233 GetHostByApiID(ctx context.Context, apiID string) (Host, error)
234 GetHostByID(ctx context.Context, id string) (Host, error)

Callers 10

injectAppLinkMethod · 0.65
IsAlertsEnabledFunction · 0.65
ProcessHostStatusMonitorFunction · 0.65
getSettingsMethod · 0.65
isAlertsEnabledMethod · 0.65
GetFirstMethod · 0.65
ProcessTaskMethod · 0.65
cleanupDBMethod · 0.65
ProcessTaskMethod · 0.65
sendInternalMethod · 0.65

Implementers 1

Queriesserver-source-code/internal/db/db.go

Calls

no outgoing calls

Tested by

no test coverage detected