MCPcopy
hub / github.com/baetyl/baetyl / SyncResource

Method SyncResource

sync/sync.go:45–45  ·  view source on GitHub ↗
(v1.AppInfo)

Source from the content-addressed store, hash-verified

43 Close()
44 Report(r v1.Report) (v1.Desire, error)
45 SyncResource(v1.AppInfo) error
46 SyncApps(infos []v1.AppInfo) (map[string]v1.Application, error)
47}
48

Callers 4

applyAppMethod · 0.65
TestApplyAppFunction · 0.65
TestReportAndApplyFunction · 0.65
TestEngineImpl_applyAppsFunction · 0.65

Implementers 3

MockSyncmock/sync.go
syncsync/sync.go

Calls

no outgoing calls

Tested by 3

TestApplyAppFunction · 0.52
TestReportAndApplyFunction · 0.52
TestEngineImpl_applyAppsFunction · 0.52