MCPcopy
hub / github.com/baetyl/baetyl / Link

Interface Link

plugin/link.go:24–30  ·  view source on GitHub ↗

go:generate mockgen -destination=../mock/plugin/link.go -package=plugin -source=link.go Link

Source from the content-addressed store, hash-verified

22//go:generate mockgen -destination=../mock/plugin/link.go -package=plugin -source=link.go Link
23
24type Link interface {
25 State() *v1.Message
26 Receive() (<-chan *v1.Message, <-chan error)
27 Request(msg *v1.Message) (*v1.Message, error)
28 Send(msg *v1.Message) error
29 IsAsyncSupported() bool
30}

Callers 15

receivingMethod · 0.65
TestReportAsyncFunction · 0.65
syncResourceValuesMethod · 0.65
ReportMethod · 0.65
TestSyncResourcesFunction · 0.65
TestReportSyncFunction · 0.65
OnMessageMethod · 0.65
OnTimeoutMethod · 0.65
reportAsyncMethod · 0.65
TestReportSyncFunction · 0.65
TestReportAsyncFunction · 0.65
StartMethod · 0.65

Implementers 5

httpLinkplugin/httplink/http.go
MockLinkmock/plugin/link.go
MockLinkMockRecordermock/plugin/link.go
mockLinksync/sync_test.go
mockLinkinitz/initialize_test.go

Calls

no outgoing calls

Tested by

no test coverage detected