MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / GetFirst

Method GetFirst

agent/app/repo/app.go:28–28  ·  view source on GitHub ↗
(opts ...DBOption)

Source from the content-addressed store, hash-verified

26
27 Page(page, size int, opts ...DBOption) (int64, []model.App, error)
28 GetFirst(opts ...DBOption) (model.App, error)
29 GetBy(opts ...DBOption) ([]model.App, error)
30 BatchCreate(ctx context.Context, apps []model.App) error
31 Create(ctx context.Context, app *model.App) error

Callers 15

loadAgentAccountFunction · 0.65
UpdateRewriteConfigMethod · 0.65
GetRewriteConfigMethod · 0.65
UpdateMethod · 0.65
DeleteMethod · 0.65
OperateMethod · 0.65
WebsiteBackupMethod · 0.65
WebsiteRecoverMethod · 0.65
handleWebsiteRecoverFunction · 0.65
doWebsiteBackupFunction · 0.65
checkValidOfWebsiteFunction · 0.65
CreateMethod · 0.65

Implementers 1

AppRepoagent/app/repo/app.go

Calls

no outgoing calls

Tested by

no test coverage detected