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

Function FromEntity

service/plugin-cluster/model.go:27–39  ·  view source on GitHub ↗
(s *plugin.Define)

Source from the content-addressed store, hash-verified

25}
26
27func FromEntity(s *plugin.Define) *PluginDefine {
28 return &PluginDefine{
29 Extend: s.Extend,
30 Name: s.Name,
31 Cname: s.Cname,
32 Desc: s.Description,
33 Kind: s.Kind,
34 Status: s.Status,
35 Config: s.Config,
36 Render: s.Render,
37 Update: s.UpdateTime,
38 }
39}
40
41type ConfigPartition struct {
42 *Config

Callers 2

GetDefineMethod · 0.70
GetConfigMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected