MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / FromEntity

Function FromEntity

service/log/model.go:28–40  ·  view source on GitHub ↗
(ov *log_source.LogSource)

Source from the content-addressed store, hash-verified

26}
27
28func FromEntity(ov *log_source.LogSource) *Source {
29 return &Source{
30 ID: ov.UUID,
31 Cluster: ov.Cluster,
32 Driver: ov.Driver,
33 Config: ov.Config,
34 Creator: ov.Creator,
35 Updater: ov.Updater,
36 LastPullTime: ov.LastPullAt,
37 CreateAt: ov.CreateAt,
38 UpdateAt: ov.UpdateAt,
39 }
40}
41
42type InsertLog struct {
43 ID string

Callers 1

GetLogSourceMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected