MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / FromEntity

Function FromEntity

service/cluster/model.go:21–32  ·  view source on GitHub ↗
(entity *cluster.Cluster)

Source from the content-addressed store, hash-verified

19}
20
21func FromEntity(entity *cluster.Cluster) *Cluster {
22 return &Cluster{
23 Uuid: entity.UUID,
24 Name: entity.Name,
25 Resume: entity.Resume,
26 Cluster: entity.Cluster,
27 Creator: entity.Creator,
28 Updater: entity.Updater,
29 CreateTime: entity.CreateAt,
30 UpdateTime: entity.UpdateAt,
31 }
32}
33
34type Node struct {
35 Uuid string

Callers 3

GetMethod · 0.70
CreateMethod · 0.70
UpdateInfoMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected